> **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)

# Get started

> Connect a channel, receive your agent's first message, and reply from your code.

> [!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.

Photon gives your agent a phone number, an email address, or a phone line, and
one API to reach people through all of them. These guides take you from a new
project to a two-way conversation with your agent.

## Set up with a coding agent

Connect your coding agent to the [Photon MCP server](/docs/beta/ai-tools/mcp.md):

```bash Claude Code
claude mcp add --transport http photon https://mcp.photon.codes/mcp
claude mcp login photon
```

```bash Codex
codex mcp add photon --url https://mcp.photon.codes/mcp
codex mcp login photon
```

For Cursor, VS Code, and other clients, see
[Connect your client](/docs/beta/ai-tools/mcp.md#connect-your-client). Then give your
agent this prompt:

Set up Photon with your coding agent

Set up Photon Beta messaging in this project. Use only the Beta documentation under <https://photon.codes/docs/beta/> and follow these guides in order:
<https://photon.codes/docs/beta/get-started/project.md>
<https://photon.codes/docs/beta/get-started/receive-messages.md>
<https://photon.codes/docs/beta/get-started/send-messages.md>

1. Use the Photon MCP server to find or create my project and connect the channel I choose.
2. Ask me to create a project API key in the dashboard. Read it from the PHOTON_API_KEY environment variable. Never print, log, or commit it.
3. Install the published Photon client and write a receiver that prints each message.received event.
4. Ask me to send a test message from my phone. Once it arrives, reply to it with sendMessage.

## Or set up manually

## 1. Set up your project

Create an API key, install the client, and make your first request.
[Set up your project →](/docs/beta/get-started/project.md)

## 2. Connect a channel

Give your agent a phone number, an email address, or a bot. Choose a
channel [below](#choose-a-channel).

## 3. Receive messages

Get each incoming message as an event in your code.
[Receive messages →](/docs/beta/get-started/receive-messages.md)

## 4. Send messages

Reply in the same conversation.
[Send messages →](/docs/beta/get-started/send-messages.md)

## Choose a channel

[iMessage](/docs/beta/get-started/imessage.md)

Text a shared line from your own phone. No domain or DNS needed.

[Email](/docs/beta/get-started/email.md)

Give your agent an address on your domain. Needs access to its DNS.

[SMS](/docs/beta/get-started/sms.md)

Text from a Photon number. Sending to US numbers needs a 10DLC campaign.

[WhatsApp Business](/docs/beta/get-started/whatsapp-business.md)

Connect a Photon SMS number to WhatsApp Business.

[Telegram](/docs/beta/get-started/telegram.md)

Create a bot for your agent from a chat in Telegram. No bot token needed.

### Voice

Calls reach your voice agent over SIP, not as messages. After
[setting up your project](/docs/beta/get-started/project.md), follow the voice guide.

[Connect a voice agent](/docs/beta/get-started/voice.md)

Route calls to your Photon number to an ElevenLabs agent.

## Keep building

[Chat SDK](/docs/beta/integrations/chat-sdk.md)

Run a Chat SDK bot on every channel in your project.

[Message delivery](/docs/beta/message-delivery/webhook.md)

Receive events with signed webhooks or a WebSocket with replay.

[API clients](/docs/beta/api-client.md)

Authentication, retries, pagination, and errors in each client.

[Handling errors](/docs/beta/api-reference/problems/handling-errors.md)

Read API errors and build recovery into your agent.

Compare [plans and billing](/docs/beta/plans-and-billing/plans.md) to find the right fit for
your team. For help, email <support@photon.codes>
or join [Discord](https://discord.gg/4mr54mqQN).
