# Purchase phone number

A step by step guide to buy a number from Retell

This guide will walk through how to purchase a number from Retell. The numbers are managed by Retell, so you don’t have to worry about the telephony infrastructure.

Currently we only support purchase of US numbers and only support making domestic calls from the platform. If you are looking to use numbers from other countries, or to make international calls, or to use your own telephony provider, check out [Custom Telephony guide](https://docs.retellai.com/deploy/custom-telephony).

[**​**](https://docs.retellai.com/deploy/purchase-number#from-dashboard)**From Dashboard**

You can purchase and bind agents to the number from the dashboard. You can optionally specify the area codes you want to purchase from.

<figure><img src="https://project-44.gitbook.io/~gitbook/image?url=https%3A%2F%2Fmintlify.s3.us-west-1.amazonaws.com%2Fretellai%2Fimages%2Fdeploy%2Fpurchase-number%2Fpurchase.jpeg&#x26;width=300&#x26;dpr=4&#x26;quality=100&#x26;sign=1725e9b5&#x26;sv=2" alt=""><figcaption></figcaption></figure>

After the number is purchased, you can change its nickname so that it’s easier for you to find and identify.

<figure><img src="https://project-44.gitbook.io/~gitbook/image?url=https%3A%2F%2Fmintlify.s3.us-west-1.amazonaws.com%2Fretellai%2Fimages%2Fdeploy%2Fpurchase-number%2Frename.jpeg&#x26;width=300&#x26;dpr=4&#x26;quality=100&#x26;sign=91ecf48c&#x26;sv=2" alt=""><figcaption></figcaption></figure>

At this stage, the number should already be ready to accept inbound calls if you have assigned an inbound agent. Give it a try by calling it!

[**​**](https://docs.retellai.com/deploy/purchase-number#from-api)**From API**

Check out [Create Phone Number API Reference](https://docs.retellai.com/api-references/create-phone-number) for all the parameters you can use programmatically.

* Phone numbers are yours once purchased, and can be used indefinitely. Find numbers you own [here](https://docs.retellai.com/api-references/list-phone-numbers).
* You can assign different inbound and outbound agent to the number.
* If you don’t want user to be able to call this number (maybe you are doing outbound and don’t want callbacks), you can leave `inbound_agent_id` unset.

NodePython

Copy

```python
const phoneNumberResponse = await retell.phoneNumber.create({
  inbound_agent_id: "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD", // replace with the agent id you want to assign
  outbound_agent_id: "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD", // replace with the agent id you want to assign
});

console.log(phoneNumberResponse);
```

[**​**](https://docs.retellai.com/deploy/purchase-number#pricing)**Pricing**

Numbers are charged at $2 per month.
