# What if I need to buy a phone number?

Phone number purchase is necessary if you are sending SMSes to **foreign numbers**. Follow the steps here to purchase a number.

{% hint style="danger" %}
This step must be done before setting up your messaging service ID
{% endhint %}

### How to buy a phone number?

On the left console, select `Develop > Phone Numbers > Manage > Buy a number.`

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

Select the phone number that you prefer.

<figure><img src="/files/fGUxwYiwbBKdEpyc86V6" alt=""><figcaption><p>Buy your number</p></figcaption></figure>

#### How to set up messaging service ID with phone number? <a href="#how-to-set-up-messaging-service-id-with-phone-number" id="how-to-set-up-messaging-service-id-with-phone-number"></a>

You need to create a messaging service and tie the phone number that you bought to this messaging service before you can send SMSes.

Go back to your Twilio home page, and select`Set up a Messaging Service`.

<figure><img src="/files/8IiJFlmfSE2rguqmmhgZ" alt=""><figcaption></figcaption></figure>

On the side bar, click `Develop > Messaging > Services > Create Messaging Service.`

<figure><img src="/files/qWHloWHKcNGEOVJQzXPC" alt=""><figcaption><p>Create your messaging service</p></figcaption></figure>

Name your messaging service and indicate the purpose. This will help you better identify your use cases if you have multiple, and will also help Twilio detect your specific use case quicker should you need their help for troubleshooting.

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

Add your `Sender Pool`. Sender Pool is where you configure the sender details such as the phone number you bought, and input your alphanumeric Sender ID.

Click `Add Senders.`

<figure><img src="/files/wSxfhynnlrNaMXF1JVer" alt=""><figcaption><p>Set up sender pool</p></figcaption></figure>

Add the phone number you purchased to this service.

<figure><img src="/files/rOTrj9MJ5Vs21lLGWA71" alt=""><figcaption><p>Select <code>Phone Number</code></p></figcaption></figure>

Select the number you want to associate with this messaging service (if you have more than one).

<figure><img src="/files/Jk5SmQG32s19CtQJ01kt" alt=""><figcaption><p>Select desired number</p></figcaption></figure>

<figure><img src="/files/SPXRBSxNExXYFjtal1WJ" alt=""><figcaption><p>Number selected successfully</p></figcaption></figure>

Then, go back [here](https://postman-v2.guides.gov.sg/postman-v2-admin-portal-for-ui-users-internal/how-do-i-onboard-postman-v2-internal-sms/4.-fill-your-twilio-credentials-on-postman/pages/LvTfD3VzCvJPevFjCPqw#id-4.-message-service-id) to continue the set-up of your alphanumeric Sender ID.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://postman-v2.guides.gov.sg/postman-v2-admin-portal-for-ui-users-internal/how-do-i-onboard-postman-v2-internal-sms/4.-fill-your-twilio-credentials-on-postman/what-if-i-need-to-buy-a-phone-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
