> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Connect SMS

> Let your agent text callers during and after a call. It works on a shared number with nothing connected, or connect your own number.

To let your agent text callers, switch on its **Send Message** tool. It works straight away on a shared SmartAlex number with nothing connected, and you can connect your own number so texts come from it instead.

* **You will have:** an agent that texts callers during or after a call, from the shared number or from your own.
* **Time:** one minute for the shared number, a few more to connect your own.
* **You need:** nothing for the shared number. For your own number, a sending account with its **Account SID** and **Auth token**, and a number in that account (see [Phone numbers](https://docs.getsmartalex.com/essentials/phone-numbers.md)). You also need permission to connect messaging in your workspace.

> [!NOTE]
>
> In the app: **Sidebar → Agent Settings → Connectors** (`/home?settings=connectors`), then **SMS** under **Messaging**. You can also reach it from an agent's **Send Message** tool, under **Text message**.

## What does SMS give my agent?

The diagram shows where a text comes from. With no own number connected it goes from the shared number, and with one connected it goes from yours.

```mermaid theme={null}
flowchart LR
    C[Caller asks for the details by text] --> A[Agent uses Send Message]
    A --> N{Own number connected?}
    N -- No --> S[Text goes from the shared number]
    N -- Yes --> O[Text goes from your number]
    S --> P[Caller's phone]
    O --> P
```

| Option | What happens |
| - | - |
| **Shared number** (default) | Texts go from a SmartAlex number. Nothing to set up. The tool shows **Shared number** and is ready. |
| **Your number** | Texts go from a number you own. The tool shows **Your number**. |

Either way, each text is charged to your wallet, at a price that depends on the country it goes to. See [Pricing](https://docs.getsmartalex.com/pricing.md#messaging-chat-and-social) for the cost of a text to each country.

### Which countries can the shared number text?

The shared number can text people in the United States, Canada, South Africa, Spain, the Netherlands and Switzerland. To text anywhere else, connect your own number in that country. If an agent tries a country the shared number cannot reach, the text is not sent. Numbers on premium or toll ranges, and some other destinations, are blocked for every workspace.

## How do I switch on texting for an agent?

**1. Open Tools**

In the sidebar, click **Agent Settings** with the agent selected. In the drawer's left rail, click **Tools** (`/home?settings=tools`).

**2. Switch on Send Message**

Find **Send Message** and switch it on. It saves straight away: you see "Send Message turned on", or "Send Message saved. It applies on the next call."

**3. Check the shared number**

Click **Send Message** to open it. Under **Send through** you see **Text message** with the badge **Shared number**, so texting works with nothing else connected.

## How do I connect my own number?

**1. Open SMS**

Click **Agent Settings** in the sidebar, then **Connectors**, find **SMS** under **Messaging** and click it. Or, in the **Send Message** tool, click **Add own number** next to **Text message**.

![SMS card ready for your own number details](https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/integrations-hub/sms-card-before-connect.webp?fit=max\&auto=format\&n=1aJfW-RE1YMT8lGO\&q=85\&s=5bd80f5f65b40a532595c568dda0eee6)

Open SMS in Connectors.

**2. Find your details in your sending account**

In your sending account, copy the **Account SID** and **Auth token**, and note the number you want to text from.

**3. Fill in the three fields**

The card reads "Connect your own sending account to text from your number instead of the shared one." Enter the **Account SID**, the **Auth token** and the **Phone number**.

**4. Validate and connect**

Click **Validate and connect**. SmartAlex checks the details first. You see "Connected phone:" and your number, and the card shows **Connected**.

If you see "Webhook may need manual configuration." after the number, replies to your texts may not reach SmartAlex. The number's incoming-message setting has to point at SmartAlex, so ask our support team to check it.

## What do the SMS settings do?

### The SMS card

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Account SID** | Identifies your sending account. | Empty | Fill in when you connect your own number. |
| **Auth token** | Lets SmartAlex send from your account. Stored encrypted. | Empty | Fill in when you connect your own number. |
| **Phone number** | The number texts come from. | Empty | Fill in with the number in your account. |
| **Validate and connect** | Checks the details and saves them. | n/a | Click once all three are filled in. |
| **Disconnect** | Removes your number. Agents go back to the shared number. | n/a | When you want the shared number again. |
| **AI auto-replies** | When someone messages a connected channel, the AI writes and sends a reply for you. Turn it off to silence every automatic reply. | Your workspace's current setting | Switch off if you want to answer every text yourself. |

### The Send Message tool

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Send Message** | Lets the agent text the caller, for example booking details or a link, during the call or after it. | Set per agent | Switch on for agents that should text. |
| **Text message** badge | Shows **Shared number** or **Your number**. | **Shared number** | Click **Add own number** to change it. |

**Send Message** is a built-in tool, not a connector tool, but it counts toward the agent's tool limit. See [How many tools an agent can have](https://docs.getsmartalex.com/integrations/how-connectors-work.md#how-many-tools-an-agent-can-have).

## Check it worked

Call the agent and ask it to text you the details. A text arrives from the shared number, or from your own number once connected. Without your own number, the **Send Message** tool shows **Shared number**. With it, the SMS card shows **Connected** and your number.

## What about opt-outs and Do Not Call?

* **A contact on your Do Not Call list is never texted.** The send fails with "This contact is on the Do Not Call list".
* **Texts your business starts** (not replies) get your business name and "Reply STOP to opt out." added. Replies and texts sent mid-call do not.
* **When someone replies STOP,** or a similar word such as UNSUBSCRIBE, CANCEL, END or QUIT, they are opted out. No more texts go to them. START resubscribes them. Clearly written requests to stop count too.

## What permissions does SMS ask for?

SMS asks for no sign-in. On the shared number you grant nothing. For your own number you paste the sending account's **Account SID** and **Auth token**, which are stored encrypted and checked before saving.

## How do I disconnect SMS?

Open **SMS** and click **Disconnect**. You see "SMS has been disconnected." Agents go back to the shared number, so **Send Message** keeps working.

## If it does not work

| What you see | What to do |
| - | - |
| "Please fill in all fields." | Fill in the Account SID, Auth token and Phone number. |
| "Invalid credentials. Please check your Account SID and Auth Token." | Copy both again from your sending account, in full. |
| "Phone number not found in your account. Please check the number." | Check you typed the number exactly as it is in your account, with the country code. |
| "Failed to save configuration" | Try again in a moment. |
| "SMS to ... needs the workspace's own number in that country; the shared number cannot reach it" | Connect your own number in that country. |
| "This contact is on the Do Not Call list" | That person opted out. Do not text them. |
| "Destination number is not permitted" | The number is on a blocked range. |
| "Monthly spend limit reached for this workspace" | Raise your spend limit, or wait for the new month. |
| "Rate limit exceeded. Please slow down." | Wait a moment before sending more. |

## Questions people ask

> [accordion] Do I need to connect anything to send texts?
>
> No. The **Send Message** tool works on the shared number with nothing connected. Connecting your own number is optional.

> [accordion] Why connect my own number?
>
> Texts come from your number, so callers see a number they know. It also lets you text countries the shared number cannot reach.

> [accordion] Does the agent reply to texts?
>
> The **AI auto-replies** switch under **SMS** controls that. See [Inbox](https://docs.getsmartalex.com/essentials/inbox.md) for the conversations.

> [accordion] Who pays for the texts?
>
> Your wallet is charged for each text, at a price that depends on the country it goes to.

> [accordion] What about WhatsApp?
>
> WhatsApp has its own page: [Connect WhatsApp](https://docs.getsmartalex.com/meta/connect-whatsapp.md). The **Send Message** tool uses WhatsApp when it is available and falls back to text.

## Next

> [card] [Connect Telegram](https://docs.getsmartalex.com/integrations/telegram.md)
>
> Chat with Alex from your phone.

> [card] [How connectors work](https://docs.getsmartalex.com/integrations/how-connectors-work.md)
>
> Connections, tools and safety steps.

> [card] [Phone numbers](https://docs.getsmartalex.com/essentials/phone-numbers.md)
>
> Get a number of your own.

> [card] [Connect WhatsApp](https://docs.getsmartalex.com/meta/connect-whatsapp.md)
>
> Message callers on WhatsApp.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.