> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Twilio SIP Integration Guide

> Step-by-step guide to integrating Twilio as a SIP provider with Zero Runtime by importing your Twilio number from the dashboard.

This guide walks you through connecting Twilio as your SIP provider to Zero Runtime for both inbound and outbound calling.

## Prerequisites

Before importing your Twilio number into Zero Runtime, make sure the following are in place:

* **A purchased Twilio phone number.** You must have an active phone number in your Twilio account. If you don't already have one, purchase a number from the Twilio Console before continuing.
* **Twilio Account SID and Auth Token.** These are available from your Twilio Console dashboard.
* **No existing SIP trunk (free trial accounts).** Twilio's free trial allows only **one** SIP trunk per account. Since Zero Runtime creates a fresh trunk during the import, you must delete any existing trunk in your Twilio account first. Go to **Twilio Console > Elastic SIP Trunking > Trunks** and remove any existing trunk before proceeding.

<Info>
  On paid Twilio accounts, the trunk limit is higher, but Zero Runtime will still create a new dedicated trunk for the imported number.
</Info>

## Import Twilio Number from Dashboard

Import your Twilio number directly from the Zero Runtime Dashboard. Zero Runtime will automatically create both inbound and outbound gateways on your behalf. No manual SIP trunk setup required.

### Steps

1. Open the Zero Runtime Dashboard.
2. Go to **Phone Numbers**.
3. Click the **Add Number** button.
4. Choose **Import Numbers** and select **Twilio**.
5. Enter the following details:
   * **Twilio Number** in E.164 format (e.g., `+14155552671`)
   * **Twilio Account SID**
   * **Twilio Auth Token**
6. Submit the form.

Zero Runtime will validate the credentials and automatically configure both the inbound and outbound gateways for the imported number.

<Frame>
  <video autoPlay muted loop controls className="w-full aspect-video rounded-xl" src="https://cdn.zeroruntime.ai/zrt/website-content/telephony/integration-twilio.mp4" />
</Frame>

With these steps, your Twilio integration with Zero Runtime is fully configured for both inbound and outbound calls.
