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

# Choose where your AI agent answers

> Turn your AI agent on or off for each connected channel and choose whether it answers at all times, during, or outside your operational hours.

Use **AI channels** to choose which connected channels your active AI agent answers on, and when. You can set each channel on its own, so WhatsApp can answer at all times while Instagram answers only when your team is away.

## Prerequisites

* You have an active AI agent. See [Activate and route your AI agent](https://knowledge.bitbybit.studio/ai-studio/getting-started-with-your-ai-agent.md).
* The channel is connected in bitbybit. A channel that is not connected shows **Connect** instead of a switch.
* For **During operational hours** or **Outside operational hours**, your [operational hours](https://knowledge.bitbybit.studio/bitchat/how-to-set-and-customize-your-operational-hours.md) are set up.

> [!WARNING]
>
> Changing a channel can affect live customer conversations. Test with a controlled message after each change.

## Choose when your agent answers

| Option | What the agent does |
| - | - |
| **Always on** | Answers on this channel at any time. |
| **Outside operational hours** | Answers customers who message outside your operational hours. Your team handles messages inside them. |
| **During operational hours** | Answers customers who message inside your operational hours. Outside them, your team handles messages, or your away action if you set one up. |

Operational hours are one schedule for your whole workspace. Every channel set to **During operational hours** or **Outside operational hours** follows the same schedule.

Until your operational hours are set up, **During operational hours** and **Outside operational hours** can't be selected. Select **Set operational hours** in the alert to set them up.

> [!WARNING]
>
> If the channel already has an active chatbot for the option you choose, the AI agent replaces it. The dialog shows this before you save.

**1. Open AI channels**

Open **AI Studio**, then select **AI channels**. The **Your channels** card lists each channel and how many are on.

**2. Turn on the AI agent for a channel**

* Find the channel and switch it on.
* In **Turn on the AI agent**, choose **Always on**, **Outside operational hours**, or **During operational hours**.
* Select **Turn on**.

**3. Test the channel**

Send one controlled message on that channel. If you chose **Outside operational hours**, send it outside your hours. If you chose **During operational hours**, send it inside them.

> [!TIP]
>
> The channel row shows the agent name and the option you chose, for example **Outside operational hours**.

## Change when the agent answers

1. Open **AI Studio > AI channels**.
2. On the channel row, select **Change**.
3. In **Change handling strategy**, choose another option, then select **Save**.

## Turn off the AI agent on a channel

1. Open **AI Studio > AI channels**.
2. Switch the channel off.
3. Confirm with **Turn off**.

Customers on that channel wait for your team until you turn the agent on again.

## Turn on the AI agent on your Chat Widget

The **Live chat widget** row turns the AI agent on for your store's [Chat Widget](https://knowledge.bitbybit.studio/bitchat/how-to-add-chat-widget-to-your-store.md). On this row the agent is always on, so it has no **Change** option.

* If the row shows **Chat widget not detected**, select **Turn on chat widget** to open the Chat Widget settings and add it to your store first.
* If the row shows **No active agent. Choose one in Active agent.**, choose an agent in the **Active agent** card.

## Change the active agent

Select **Change** in the **Active agent** card, pick another agent, and select **Save**. The change applies to all your channels right away.

> [accordion] Troubleshooting
>
> * **During or Outside operational hours can't be selected:** set up your operational hours, then return to **AI channels**.
> * **The agent does not answer outside hours:** check that your operational hours are turned on and saved.
> * **A channel shows Not connected:** connect the channel first, then return to **AI channels**.
> * **The agent answers when you expect your team to:** check whether the channel is set to **Always on**.

## Related articles

* [Activate and route your AI agent](https://knowledge.bitbybit.studio/ai-studio/getting-started-with-your-ai-agent.md)
* [Set operational hours](https://knowledge.bitbybit.studio/bitchat/how-to-set-and-customize-your-operational-hours.md)
* [Set up an away action](https://knowledge.bitbybit.studio/bitchat/how-to-create-and-activate-away-message.md)
* [Add the Chat Widget to your store](https://knowledge.bitbybit.studio/bitchat/how-to-add-chat-widget-to-your-store.md)


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