> For the complete documentation index, see [llms.txt](https://docs.bird.com/toky-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bird.com/toky-en/how-to-guidestokyapp/connect-my-twilio-hosted-number-to-toky.md).

# Connect my Twilio hosted number to Toky

*Confused about prices for Twilio and Toky combined?* [Check here](https://tokyapp.zendesk.com/hc/en-us/articles/360020816477)*.*

#### Configuring the Trunk <a href="#configuring-the-trunk" id="configuring-the-trunk"></a>

* Login to your Twilio account and go to [Elastic SIP Trunking > Trunks](https://www.twilio.com/console/sip-trunking/trunks)

<figure><img src="/files/sDTJzqqoRaYH4lgxcB8u" alt=""><figcaption></figcaption></figure>

* Create a New SIP Trunk

<figure><img src="/files/poUybrrfCcJHyGBcr30M" alt=""><figcaption></figcaption></figure>

* In the newly created Trunk, go to **Origination**, and click on **Add new Origination URI**

<figure><img src="/files/WECzWubfwYZRTAjBwwk8" alt=""><figcaption></figcaption></figure>

* Enter the URI **sip:inbound-us-east.toky.co:5060** ([check here if you are not in the USA](https://tokyapp.zendesk.com/hc/en-us/articles/4402326249873)) in the field, and click on **Add**

<figure><img src="/files/uJoAH02mjklWzJOdlACS" alt=""><figcaption></figcaption></figure>

* Leave the rest of the fields untouched, and the end result should look like this

<figure><img src="/files/FRNNwEpgwVzljYwf54O7" alt=""><figcaption></figcaption></figure>

#### Configuring the Numbers <a href="#configuring-the-numbers" id="configuring-the-numbers"></a>

* Go to [Phone Numbers](https://www.twilio.com/console/phone-numbers/incoming)
* Look for the number you would like to connect to Toky, and click on it

<figure><img src="/files/XQ0iBWQyybRlyvSe8BuQ" alt=""><figcaption></figcaption></figure>

* Go to **Voice & Fax**, select **Voice Calls > SIP Trunk**, and select the name of the SIP Trunk you created in the steps above

<figure><img src="/files/fQnSlAHeMw4EuVC5AMHv" alt=""><figcaption></figcaption></figure>

* If your number supports messaging, create a new webhook pointing to [**https://api.toky.co/internal/sms/notify\_reception/twilio/**](https://api.toky.co/internal/sms/notify_reception/twilio/)

<figure><img src="/files/beBWw1oSAYesMzRSKFpz" alt=""><figcaption></figcaption></figure>

* Click on **Save**

<figure><img src="/files/gBcpyWZuJRgFghGufqfB" alt=""><figcaption></figcaption></figure>

* Finally, contact our support team after you completed these steps, to enable the calls coming to your number to ring your account.

#### Sending Text Messages from your number

Receiving text messages should already be possible following the steps above, however, for sending texts an extra step is required.

* In your [Twilio Console](https://www.twilio.com/console), get the Account SID and Auth Token

<figure><img src="/files/VDu2wXlVNrfThbK0Cpee" alt=""><figcaption></figcaption></figure>

* Send those values to our support team so we can set your number up for sending texts as well.
