> ## 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.

# Activate and route your AI agent

> Save and test an AI agent, set it as active, and route it to the intended customer channel.

Save and test an AI agent before making it active. Then choose which customer channel uses it.

> [!WARNING]
>
> Changing the active agent or channel routing can affect live customer conversations. Use approved test data and confirm the intended workspace before continuing.

**1. Save the agent**

1. Open **AI Studio > AI agent studio** and select the intended agent.
2. Complete **Identity**, then select **Save AI agent** or **Save changes**.
3. Open **Skills** and add only the capabilities the agent needs.

   ![Identity and Skills tabs in AI Agent Studio](https://mintcdn.com/asmaraku/V-efzIH1CsJbuyH8/images/ai-studio/ai-agent-identity-and-skills-tabs.png?fit=max\&auto=format\&n=V-efzIH1CsJbuyH8\&q=85\&s=bf1183211f01b8c18489490b444ce9c6)

**2. Test the saved agent**

Use **AI Playground** to check a normal question, an unclear request, and a handoff condition. If **AI Tests** is available, use it for repeatable single-question checks.

Verify any order, customer update, automation, or handoff in its destination. A successful reply alone does not confirm that the action completed.

**3. Set the agent as active**

1. Return to **AI Agent Studio**.
2. Under **Inactive agent**, find the intended agent and select **Set active**.
3. Confirm that it now appears under **Active agent**.

**4. Route the customer channel**

1. Select **Go to chatbot settings**, or open **bitChat > Chatbot**.
2. Choose the intended channel and confirm that the correct account is connected.
3. Enable **AI Agent 24/7** only when always-on AI is the intended setup.
4. Send one controlled message and confirm the reply and handoff behavior.

> [!TIP]
>
> The setup is ready when the configuration is saved, the intended agent is active, and a controlled channel test reaches the correct workspace.

> [accordion] Troubleshooting
>
> * **The save is blocked:** check the required Identity fields and the displayed permission error.
> * **Skills are unavailable:** save the agent first, then reopen **Skills**.
> * **The agent is active but does not reply:** check the selected channel, connection, and chatbot routing.
> * **Playground and the live channel differ:** compare the saved agent, customer context, routing, and enabled skills.
> * **An action result is unclear:** check the destination before retrying to avoid duplicate actions.

## Related articles

* [Prepare Identity and knowledge](https://knowledge.bitbybit.studio/ai-studio/how-to-setup-ai-agent-in-ai-studio.md)
* [Configure AI agent skills](https://knowledge.bitbybit.studio/ai-studio/how-to-setup-skillset-in-ai-studio.md)
* [Test an AI agent in Playground](https://knowledge.bitbybit.studio/ai-studio/test-your-ai-agent-in-playground.md)
* [Evaluate answers with AI Tests](https://knowledge.bitbybit.studio/ai-studio/test-your-ai-agent-with-ai-tests.md)


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