# Twilio

### Integrate Twilio

1. Begin by selecting *Resources* from your workspace menu and choosing *Integrations*:
2. Choose *+ Add integration* > Select *Twilio* from the dropdown
3. Provide a name for your Twilio integration&#x20;
4. Click the Twilio console link provided. This takes you to your Twilio console where you can find your *Account SID* and your *Auth Token:*&#x20;

<figure><img src="/files/SLEwl5LkQb4W0eLxahUd" alt=""><figcaption></figcaption></figure>

5. Copy these credentials and paste them into the *Account SID* and *Auth Token* fields in NLX
6. If you require Twilio Voice capabilities, proceed to the [Twilio Voice](#twilio-voice) section below
7. Click *Create integration*&#x20;

If desired, at any time you can edit or delete your Twilio integration by expanding the integration name and selecting the edit or delete icons.&#x20;

{% hint style="info" %}
Moving forward, each time you create [Twilio channels for your application](/platform/nlx-platform-guide/ai-applications/deployment/managing-channels.md), NLX will automatically create a Twilio phone number and assign it to your application.
{% endhint %}

### Twilio Voice

For applications not solely experienced through Twilio SMS, you may configure Twilio Flex to provide voice capabilities:

1. Expand the *Twilio Voice settings* section of the Twilio integration modal
2. Deploy the CloudFormation template provided
3. Enter the *Fullfillment Lambda endpoint* into NLX
4. Click *Create integration*

### Next steps

To successfully use your Twilio integration with applications created in your workspace, be sure to complete the following:

1. Create or select an existing [Core application](/platform/nlx-platform-guide/ai-applications/setup.md) in your NLX workspace
2. From your app's *Configuration* tab, add your Twilio channel under the Delivery section
3. Create an application [build and deploy](/platform/nlx-platform-guide/ai-applications/setup.md#deployment)


---

# 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.nlx.ai/platform/nlx-platform-guide/integrations/types/channels/twilio-sms.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.
