> **Photon Beta documentation**
> Browse all pages: https://photon.codes/docs/beta/llms.txt
> Search Beta docs via MCP: https://photon.codes/docs/beta/mcp (OAuth REST API MCP: https://mcp.photon.codes/mcp)

# Connect SMS

> Get a Photon SMS number and text your agent its first message.

> [!WARNING]
>
> **Beta is a preview.** The Beta (2.0) platform does not have all the features
> of [Stable](https://photon.codes/docs/spectrum-ts/introduction) yet. For example, iMessage on Beta
> supports text, attachments, voice messages, replies, read receipts, and typing
> indicators, but tapbacks, polls, and message effects are
> [only on Stable](https://photon.codes/docs/spectrum-ts/providers/imessage/messaging-features) for now.
> Use Stable for production agents, and confirm that Beta supports the features
> you need before you buy a plan.

Give your agent a US local phone number that people can text. You get the
number in the dashboard, and carriers activate it. Then you text it from your
phone, and the message reaches your project.

## Prerequisites

You need:

* A project from [Set up your project](/docs/beta/get-started/project.md).
* Write access, to buy a number.
* A payment method for your organization. A number costs $2 per month on
  every plan, paid in advance. See [billing](/docs/beta/plans-and-billing/billing.md).
* A phone that can text a US number.

## 1. Get a number

Open [**SMS**](https://app.beta.photon.codes/project/platforms/sms) in your
project. Under **Get a number**, choose an area code, or keep **Any area
code**. Then select **Get a number**.

The checkout shows the number and its price. Select **Get a number** again
to buy it. If your organization has no card on file, an owner or admin adds
one under **Add a card**.

While Photon picks the number, **Numbers** shows **Getting a number…**.
This usually takes a few seconds. A chosen area code can take longer.

To buy a number from code instead, see
[Purchase SMS number](/docs/beta/api-client/sdk/projects/platforms/purchase-sms-number.md).

## 2. Wait for carriers to activate it

Under **Numbers**, select your number to open its page. A new number shows
**Activating with carriers**. Carriers usually start to deliver texts to a
new number within 15 minutes. Texts sent before then may never arrive.

Wait until the notice clears before you send a text.

## 3. Text your agent's number

The number is at the top of its page and under **Number**. This is your
agent's number.

From your phone, send any text to that number, such as "hi".

## 4. Check that it arrived

On the number's page, your text appears under **Recent messages**. Select
**Inbox** to open the conversation. From now on, texts to the agent's
number reach your project.

## Receiving and sending texts

* Your number receives texts as soon as carriers activate it. You don't need
  a 10DLC campaign to receive them.
* To send texts to US numbers, the number needs an approved 10DLC campaign.
  Register a brand and a campaign for your organization. Then assign the
  campaign on the number's page, under **Register with carriers**. If a review
  rejects the campaign, see [Fix a rejected 10DLC campaign](/docs/beta/messaging/sms/10dlc.md).
* The number can't receive texts from short codes or send texts to them. See
  [SMS best practices](/docs/beta/messaging/sms/best-practices.md).

## If your message doesn't arrive

| What you see | What to check |
| - | - |
| **SMS isn't available here** | The project's plan doesn't include SMS yet. See [plans and billing](/docs/beta/plans-and-billing/plans.md). |
| You can't find **Get a number** | You need write access to buy a number. |
| **This organization has no card on file.** | Ask an owner or admin to add a card. Then try again. |
| You texted while **Activating with carriers** showed | Carriers weren't delivering to the number yet. Wait until the notice clears, then text again. |
| The notice cleared, but your text doesn't arrive | Check that you texted the right number. The notice clears after a fixed 15 minutes, which doesn't confirm that carriers are ready. Text again a little later. |
| The message doesn't reach your code | The API key belongs to another project, or lacks `project:read`. |

## Next: receive messages

[Receive messages](/docs/beta/get-started/receive-messages.md)

Get each message to your agent's number as an event in your code.
