# 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="https://2737319166-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHCxYxhIU0Bqkjj942mGk%2Fuploads%2F3c3on7aTqSIIZJx32YXd%2FConsole%20_%20Twilio.png?alt=media&#x26;token=96104dc0-40d1-4ea2-9514-cc961f223112" 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](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/deployment/managing-channels), 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](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/types/core) 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](https://docs.nlx.ai/platform/nlx-platform-guide/ai-applications/types/core#deployment)
