Skip to main content
Connect a phone number hosted in your Twilio account to your PolyAI agent. This routes incoming calls from your Twilio number to your agent using SIP (Session Initiation Protocol).

Prerequisites

  • A Twilio account with at least one phone number
  • A PolyAI agent project

Integration steps

1

Generate a SIP address in Agent Studio

  1. Go to your agent page and click Configure > Numbers in the sidebar.
  2. Scroll to Connect Twilio Phone Number.
  3. Click Generate SIP to create a SIP address for your agent.
  4. Copy the generated SIP address — you will need it in the next step.
2

Configure the number in Twilio

  1. Log in to your Twilio console.
  2. Navigate to Phone Numbers > Manage > Active Numbers.
  3. Select the phone number you want to connect.
  4. Under Voice configuration, set the incoming call routing to use the SIP address you generated in Agent Studio.
  5. Save your changes.
3

Test the connection

Call your Twilio number and confirm the call reaches your PolyAI agent. Review the conversation in Analytics > Conversations to verify the call was handled correctly.

Next steps

Last modified on March 17, 2026