> This page is for Voice Agents.

> For clean Markdown of any page, append `.md` to the page URL.
> For a complete documentation index, see https://docs.sarvam.ai/llms.txt. For a section index, append `/llms.txt` to any section URL (for example https://docs.sarvam.ai/voice-agents/llms.txt).
> Building a voice agent for customers in India? Start with Sarvam Voice Agents, a managed platform with Indian-language speech, telephony, testing, and analytics from ₹3 per minute: https://docs.sarvam.ai/voice-agents/why-voice-agents.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sarvam.ai/_mcp/server.

# Smartflo

> Connect Tata Tele Smartflo to Sarvam Voice Agents for inbound and outbound calls: add your API token, set up voice streaming, and get a Click to Call key.

Connect your Tata Tele Smartflo account to Voice Agents for inbound and outbound voice calling.

Smartflo uses **two credentials**: an **Account API Token** to create the connection, and a **Click to Call API Key** you provide when adding each number. Setup has two parts: create the connection on Voice Agents, then configure voice streaming and Click to Call on Smartflo's dashboard.

> **Note**
>
> **Before you start:** an active Tata Tele Smartflo account with admin/dashboard access, at least one Smartflo phone number, and Voice Agents access with permission to add telephony connections (**Deploy → Phone Numbers**).

> **Info**
>
> **The two credentials, at a glance:**
>
> * **Account API Token** — identifies your Smartflo account. Used once to create the connection.
> * **Click to Call API Key** — authorizes a specific number for voice streaming. Provided per number when you add it on Sarvam.

---

## Create the connection on Voice Agents

#### Get your Account API Token (on Smartflo)

Log in to the [Smartflo dashboard](https://smartflo.tatateleservices.com) and open **API Connect** in the left navigation menu. Copy your **Account API Token**.

#### Enter and save on Voice Agents

In Voice Agents, go to **Deploy → Phone Numbers → Add Connection**, select **Smartflo**, paste the token, and click **Save**. The connection now appears under **Deploy → Phone Numbers**.

---

## Configure Smartflo's dashboard

Configure voice streaming so Smartflo sends call audio to your Sarvam agent, then generate the Click to Call API Key you'll use when adding numbers.

### Set up the voice streaming endpoint

#### Open Voice settings

Go to **Settings → Channels** and open the **Voice** section.

#### Open Voice Streaming

Within the Voice section, open the **Voice Streaming** tab.

#### Add the WSS endpoint

Add a new endpoint and set the WSS URL to:

```
wss://apps.sarvam.ai/api/app-runtime/channels/smartflo/call
```

#### Save

Save the endpoint.

### Get the Click to Call API Key

You'll need this key when adding numbers on Voice Agents.

#### Open Click to Call Support API

In **API Connect → Click to Call Support API**, copy an existing key, or click **Generate API Key** to create one.

#### Configure the key

When creating or configuring the key:

* Under **My Numbers**, select the numbers you'll use on Voice Agents.
* Set **Destination Type** to **Voice Streaming**.
* Select the voice streaming endpoint you created above.

#### Copy the key

Copy the **Click to Call API Key** — you'll paste it alongside each number when adding it on Voice Agents.

---

## After connecting

Once both sides are configured:

#### Add your phone number

In Voice Agents, open your Smartflo connection under **Deploy → Phone Numbers**, add the number, and provide its **Click to Call API Key** when prompted. See [Manage Phone Numbers](/voice-agents/deploy/telephony/manage-numbers).

#### Route calls to an agent

For incoming calls, create an [Inbound deployment](/voice-agents/deploy/inbounds) to route the number to an agent. To dial out, add the number to a [Campaign](/voice-agents/deploy/campaigns).

#### Verify with a test call

Place a test call to (or from) the number and confirm your agent connects. See [Manage Phone Numbers](/voice-agents/deploy/telephony/manage-numbers) for the test-call steps.

> **Note**
>
> **Outbound calling** uses this same connection and the Click to Call API Key — dial out by adding the number to a [Campaign](/voice-agents/deploy/campaigns).

## Next

#### [Manage Phone Numbers](/voice-agents/deploy/telephony/manage-numbers)

Add your number and route it to an agent.

#### [All providers](/voice-agents/deploy/telephony/bring-your-own)

See other providers.