> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/integration-guide/readme/others/integrating-with-twilio.md).

# Integrating with Twilio

Sync Twilio usage and communications data into Drivetrain to track operational costs. Covers Account SID and Auth Token setup.

Drivetrain connects to Twilio with your Account SID and Auth Token.

### Before you start

* Access to the Twilio Console for the account you want to connect.

### Twilio setup <a href="#twilio-setup" id="twilio-setup"></a>

1. Log in to the [Twilio Console](https://console.twilio.com).
2. In the **Account Info** panel on the dashboard, copy the **Account SID**.
3. Click **Show** next to **Auth Token** and copy it.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5ff48037b4f7f156ee3e7a0b2cb1eda3d249692d%2Ftwilio-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
Share the Account SID and Auth Token with your customer success manager through a secure channel. They set up the connection. Twilio API keys aren't supported.
{% endhint %}

If you rotate the Auth Token in Twilio, send the new one to your customer success manager, or the connection stops working.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://integrations.drivetrain.ai/integration-guide/readme/others/integrating-with-twilio.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
