# Twilio

#### How to connect Gan.AI with your Twilio account?

{% embed url="<https://app.supademo.com/demo/cm1sq45cl0uk8spgc9xe49ac4>" %}

1. Log in to your Gan.AI account
2. Click on the 'Integrations' & select 'Twilio'
3. Log in to your Twilio account&#x20;
4. Go to your account dashboard&#x20;
5. Under the ‘Account Info’ section, copy the value of ‘Account SID’ & paste the value in your Gan account
6. Copy the value of ‘Auth token’ from your Twilio account & paste the value in the Gan platform
7. Click on ‘Connect to Twilio’ to connect your Gan account to Twilio.

#### How to send video copies to Twilio from Gan.AI?

{% embed url="<https://app.supademo.com/demo/cm1sqc2kn0ul4spgc14nmdzmx>" %}

1. Select the personalised project you want to integrate with Twilio
2. Go to Project settings -> Integrations -> Twilio
3. Turn on the integration button, next to ‘Export video copies to Twilio'
4. Log in to your Twilio account
5. Go to your account dashboard
6. Under the ‘Account Info’ section, copy the ‘Twilio phone number’ through which you want to send your messages
7. Paste the phone number in the Gan platform under ‘Twilio phone number\*’
8. Under ‘SMS delivery country’, search for the region where the Twilio phone number is enabled to send messages (\*this is an optional step)
9. In the Message input box, write the message you want to send through Twilio
10. Use @ to add variables to your message. You can add the following variables to your message:&#x20;

* Voice Variables&#x20;
* Text Variables
* Project URLs (different links associated with a video copy, for example, permalink, thumbnail\_url, video\_url, etc.)&#x20;

11. We recommend adding these values:&#x20;

* perma\_link
* video\_url
* smart\_url&#x20;
* thumbnail\_url&#x20;

12. Once the messages are added, click on ‘Save & close’ to save your settings<br>

**Note:** You can also enable message scheduling through the Twilio messaging service. This is an optional service.

Connecting Gan.AI with Twilio creates a seamless SMS personalization workflow—Gan.AI generates the video, Twilio delivers it instantly. This integration helps you scale mobile engagement with highly targeted, one-to-one video messages.


---

# 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://help.gan.ai/integrations-and-automation/available-integrations/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.
