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

# Publish your agent on your Widget

> Publish your AI Agent on the Chat widget, so it can answer the chats for you.

When you’ve created an Agent, the first Widget is automatically connected. If you want to add an additional Widget, or disconnected the widget by mistake, follow the steps below to publish your Agent on the Chat Widget.

## Publishing via Agent Profile

**1. Open Agent Settings**

Open your **Agent**. Navigate to **Activate agent**.

![Menu](https://mintcdn.com/watermelon/rGTC2krlLmVrzwYY/images/publish-your-agent/menu.png?fit=max\&auto=format\&n=rGTC2krlLmVrzwYY\&q=85\&s=70596feb6a36530ca7f6e74078fb053a)

**2. Select Widget**

Select the Chat Widget you want to connect in the with **"+"** and click **Activate agent.**

![Publishwidget Connect 1](https://mintcdn.com/watermelon/gSkxawQG6F9zXv0x/images/publishwidget-connect-1.png?fit=max\&auto=format\&n=gSkxawQG6F9zXv0x\&q=85\&s=821f6b622a1360ac7e8d9979bd74506a)

**3. Chat Widget is connected as a channel**

Your Chat Widget is now connected as a channel.

![Publishwidget Connected](https://mintcdn.com/watermelon/gSkxawQG6F9zXv0x/images/publishwidget-connected.png?fit=max\&auto=format\&n=gSkxawQG6F9zXv0x\&q=85\&s=7f25d982d14c3307124df70eeb5d995e)

> [!NOTE]
>
> Make sure your Agent is **Active** so it can answer your incoming messages.


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