[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis guide explains how to integrate UI modules with Twilio Flex to enable real-time suggestions.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, you'll need a Twilio account, a provisioned Flex instance, and access to the Agent Assist integrations repository, as well as its backend partner repository.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves deploying the backend module with \u003ccode\u003eAUTH_OPTION\u003c/code\u003e set to \u003ccode\u003eTwilio\u003c/code\u003e, cloning the git repository, and installing the Twilio CLI, ensuring you have Node 18 installed.\u003c/p\u003e\n"],["\u003cp\u003eYou'll then need to install the Flex and serverless plugins for the Twilio CLI using specific commands.\u003c/p\u003e\n"],["\u003cp\u003eLastly, create a Twilio CLI profile named \u003ccode\u003edev\u003c/code\u003e using your account SID and auth token to manage commands, followed by activating the profile.\u003c/p\u003e\n"]]],[],null,["# Twilio integration basics\n\nSurface real-time suggestions for your customer service agents by integrating UI modules with Twilio.\n\nBefore you begin\n----------------\n\nTo integrate UI modules with Twilio Flex, you need access to the following resources:\n\n- [Agent Assist integrations repository](https://github.com/GoogleCloudPlatform/agent-assist-integrations)\n- Provisioned Twilio [Flex](https://www.twilio.com/docs/flex) instance\n\nConfigure your integration\n--------------------------\n\nFollow these steps to configure your integration.\n\n1. Clone the git repository.\n2. Push the Twilio Flex folder to its own repository so that the GitHub folder is in the root directory.\n3. Create an environment and store the following variables in the settings of the repository to use as part of the GitHub action pipeline:\n - `TF_ENCRYPTION_KEY`: This can be any string of text.\n - `TWILIO_ACCOUNT_SID`: You can find this on your account dashboard.\n - `TWILIO_API_KEY`: Create an API key in your Twilio console.\n - `TWILIO_API_SECRET`: Obtain the secret when creating the API key.\n4. Click **Actions** \\\u003e **Deploy Flex** \\\u003e **Run Workflow**.\n5. Choose your options and click **Run Workflow** again.\n6. After it runs, click **Settings** to open the administrative console and apply your settings, such as conversation profile and endpoint configurations.\n\nWhat's next\n-----------\n\n- [Deploy Twilio Flex](/agent-assist/docs/twilio-flex)"]]