# Channels

A channel is where customers reach your agent: Telegram, Instagram, Facebook, a web widget on your site, or a phone line. Each channel has one agent that answers it, and every conversation lands in the [inbox](https://docs.neuronai.uz/platform/inbox).

Open **Channels** from the Agents Platform's sidebar, under **Operations**, or go to [my.neuronai.uz/agents/channels](https://my.neuronai.uz/agents/channels).

> **Who can change channels**
>
> Only an organization's owner and admins can add, change, pause or delete channels. Members can see them.

## Add a channel

You need an agent first: see [Create an agent](https://docs.neuronai.uz/platform/agents#create-an-agent).

1. Select **Add channel**.
2. Choose where customers should reach you, and select **Continue**.
3. Connect the channel as described below, and choose its **Agent**.

| Channel | What you need |
| --- | --- |
| Telegram | A bot token from @BotFather |
| Instagram | A business or creator account |
| Facebook | Admin access to a Page |
| Web widget | Access to your site's code |
| Phone | Your own SIP line from a phone provider |

After connecting, the channel's **Overview** asks you to send a test message (or make a test call) to check that it works. **Skip** hides that step.

## Connect Telegram

1. In Telegram, open [@BotFather](https://t.me/BotFather), send `/newbot` and follow the prompts.
2. Copy the token BotFather sends you.
3. Paste it into **Bot token**, choose the agent and select **Connect**.

NeuronAI checks the token with Telegram and names the channel after your bot. To use another token later, open the channel's **Configuration** tab and select **Replace token**.

## Connect Instagram or Facebook

1. Choose the agent and select **Continue with Meta**.
2. Sign in to Meta and allow access.
3. Back in NeuronAI, choose the **Instagram account** or the **Facebook Page**, check the name and agent, and select **Connect**.

If Meta's access expires or is removed, the channel's health says so; select **Reconnect** to sign in again. **Disconnect** in the channel's **Danger zone** ends the connection with Meta but keeps the channel and its conversations.

## Add a web widget

1. Enter a **Website name**, which only your team sees, choose the agent and select **Create widget**.
2. Set it up on the channel's tabs, then select **Save changes**:
   - **Appearance**: colors, the launcher's icon and position, a launcher message and your logo;
   - **Conversation**: the header, welcome message and suggested questions in each language, whether to ask for the visitor's contact details, file attachments and voice messages, and **Business hours**;
   - **Configuration**: the code to install and the sites it may run on.
3. On the **Configuration** tab, under **Install the widget**, copy the code and paste it into your site's pages. **Install guides** has steps for Tilda, WordPress, Google Tag Manager and plain HTML.

To try it before it's on your site, select **Open test page**: a page with your widget, whose chats appear in the inbox marked as tests. **Preview** shows your unsaved changes as you make them. Under **Allowed domains**, list the sites the widget may run on; leave it empty to allow any site.

## Connect a phone line

The Phone channel uses your own SIP line from a phone provider. The agent answers incoming calls.

1. Enter the **Phone number** in international format, starting with `+`.
2. Enter your provider's **SIP host**, **SIP port** (5060 if your provider doesn't say otherwise), **SIP domain** if it has one, **SIP username** and **SIP password**.
3. Choose the agent and select **Connect**.

On the channel's **Configuration** tab, **Phone settings** set the voice, the speech-to-text language, the greeting and what happens when the caller is silent. They belong to the agent, so they apply to every phone line it answers. **Phone line** holds the SIP details: **Save line** saves a change, **Release line** removes the line from the channel.

Calls appear in the inbox with their recordings and transcripts.

## Check a channel's health

The list shows each channel's **Health**: **Connected**, **Needs attention**, **Disconnected**, **Setting up** or **Paused**, with the reason. NeuronAI checks channels every 10 minutes. On a Telegram, Instagram or Facebook channel's page, **Check now** checks at once, and a button beside the reason helps you fix it, such as **Reconnect**.

## Pause, change the agent or delete

- **Pause**: set the channel's **Status** to **Paused** and select **Save changes**. The AI stops replying, but messages still reach the inbox. A paused web widget disappears from your site.
- **Change the agent**: choose another **Agent** on the **Configuration** tab (**Conversation** for a web widget) and select **Save changes**.
- **Delete**: in the **Danger zone**, select **Delete channel** and confirm. The conversations stay in the inbox.

---

Source: https://docs.neuronai.uz/platform/channels
