# WhatsApp Twilio

## Set up

To set up the integration of your assistant in WhatsApp through the Twilio provider, you will need the following:

* A Twilio account.
* Buy a phone number on Twilio verified by WhatsApp.

### Create an account

1. Access the [Twilio Developer Console](https://console.twilio.com/).
2. In the main home section, copy the following 'Account SID' and 'Auth Token' keys.\
   ![](/files/kuBEwvlPTY0zzTIb2rEl)
3. Go to the **Messaging** > **Senders** > **WhatsApp Senders** menu section.
4. Click the phone number from the list you purchased for the attendee. If you have not previously purchased one, click 'New WhatsApp Sender' and follow the verification instructions.&#x20;
5. Select 'Use a Webhook' and enter the URL that you will find in the integration options under 'Webhook URL for incoming messages'.\
   ![](/files/Ix8RO2IMlt2A2iEZzeix)

### Activate integration

* In the WhatsApp integration module, enter all the data you previously copied.\
  ![](/files/a5Mz9Wz27K1ikL51wniJ)
* Save the settings.
* Done!:tada: Run tests to verify the operation of your assistant in WhatsApp.

## Limitations

* Messages can have a maximum of 1500 characters.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.1millionbot.com/chatbot/channels/whatsapp-twilio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
