Surface real-time suggestions for your customer service agents by integrating UI modules with Twilio.

## Before you begin

To integrate UI modules with Twilio Flex, you need access to the following resources:

- [Agent Assist integrations repository](https://github.com/GoogleCloudPlatform/agent-assist-integrations)
- Provisioned Twilio [Flex](https://www.twilio.com/docs/flex) instance

## Configure your integration

Follow these steps to configure your integration.

1. Clone the git repository.
2. Push the Twilio Flex folder to its own repository so that the GitHub folder is in the root directory.
3. Create an environment and store the following variables in the settings of the repository to use as part of the GitHub action pipeline:
   - `TF_ENCRYPTION_KEY`: This can be any string of text.
   - `TWILIO_ACCOUNT_SID`: You can find this on your account dashboard.
   - `TWILIO_API_KEY`: Create an API key in your Twilio console.
   - `TWILIO_API_SECRET`: Obtain the secret when creating the API key.
4. Click **Actions** \> **Deploy Flex** \> **Run Workflow**.
5. Choose your options and click **Run Workflow** again.
6. After it runs, click **Settings** to open the administrative console and apply your settings, such as conversation profile and endpoint configurations.

## What's next

- [Deploy Twilio Flex](https://docs.cloud.google.com/agent-assist/docs/twilio-flex)