> ## Documentation Index
> Fetch the complete documentation index at: https://docs.insighto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to deploy your AI assistant to a Twilio SMS number and handle inbound text messages automatically.

# SMS Widget

This guide will walk you through deploying your AI chat assistant on an SMS number, enabling it to respond to inbound text messages automatically. Once set up, the assistant will handle user queries received via SMS in real time.

⚠ Note: SMS deployment supports inbound messages only. Your assistant cannot send an initial message unless triggered by a user.

#

🧩 Prerequisite:

1. Follow the SMS Tool Setup Guide

[Set Up SMS Tool with Twilio →](https://docs.insighto.ai/SMS-Tool)

Once done, return to this guide to continue with deploying your assistant using an SMS widget.

### Create SMS Widget

2. Click on Widgets from the Left Panel

In the Assistants section of the left panel, click on Widgets. This will take you to the widget setup page where you can deploy your AI assistant.

🔔 Note:\
Ensure you have already created an AI chat assistant before proceeding. If you haven’t, please follow the previous guides to create and configure your assistant first.

<img src="https://mintcdn.com/insightoai-bc61fe99/822pOMc1YSJPLOn9/images/sms/2.png?fit=max&auto=format&n=822pOMc1YSJPLOn9&q=85&s=7919a4789afd2296d666bfa201c6b121" alt="" width="1526" height="962" data-path="images/sms/2.png" />

3. Create New Widget

Click Create New Widget to start the setup process.

<img src="https://mintcdn.com/insightoai-bc61fe99/822pOMc1YSJPLOn9/images/sms/3.png?fit=max&auto=format&n=822pOMc1YSJPLOn9&q=85&s=0c172d53fc7597202b25aee6306d8411" alt="" width="1526" height="962" data-path="images/sms/3.png" />

4. Select Twilio as the Provider Type and Click Next

In the widget setup screen, choose Twilio as the provider type. Once selected, click Next to proceed.

<img src="https://mintcdn.com/insightoai-bc61fe99/822pOMc1YSJPLOn9/images/sms/4.png?fit=max&auto=format&n=822pOMc1YSJPLOn9&q=85&s=c4d333809b572fbd325915fbb891c7d5" alt="" width="1526" height="962" data-path="images/sms/4.png" />

5. Select Widget Type, Name, and Describe Your Widget

Widget Type: Choose the SMS type.

Name: Choose a descriptive name for easy identification (e.g., Customer Support Chat).

Description: Provide a brief description of the widget’s purpose (e.g., Handles customer support inquiries via WhatsApp).

Once you’ve filled in these details, click Next to move on.

<img src="https://mintcdn.com/insightoai-bc61fe99/822pOMc1YSJPLOn9/images/sms/5.png?fit=max&auto=format&n=822pOMc1YSJPLOn9&q=85&s=74c3313080cbd64e7e62365e6affb8d4" alt="" width="1526" height="962" data-path="images/sms/5.png" />

6. Select Your Chat Assistant from the Dropdown

In this step, select the AI chat assistant you created earlier from the dropdown list.

<img src="https://mintcdn.com/insightoai-bc61fe99/822pOMc1YSJPLOn9/images/sms/6.png?fit=max&auto=format&n=822pOMc1YSJPLOn9&q=85&s=794c73ce01356d774f41ed2c92850294" alt="" width="1526" height="962" data-path="images/sms/6.png" />

7. Configure Twilio SMS Widget

In this step, set the behavior for your Twilio-powered SMS assistant:

Select Your Twilio Account from the dropdown\
Choose a Phone Number associated with that account\
Once done, click Finish to complete deployment.

<img src="https://mintcdn.com/insightoai-bc61fe99/822pOMc1YSJPLOn9/images/sms/7.png?fit=max&auto=format&n=822pOMc1YSJPLOn9&q=85&s=b90d03d84959cdb4f5f11a9c080d995a" alt="" width="1526" height="962" data-path="images/sms/7.png" />

8. Test Your SMS Assistant

Send a message to Twilio number you just configured to test your AI chat assistant in action.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/insightoai-bc61fe99/images/sms/8.png" alt="" />
