> 📍 **Where to find it:** Settings → "Conversation" group → "Bots"

An agent bot is an external program (via webhook) that can receive the messages of an inbox and reply to them automatically, for example for a custom scenario built by a provider.

## How it works

You declare a bot by giving it a name, a description and a webhook URL. Madyis Hub generates an access token and a secret that your developer uses to secure the exchanges. The messages from the linked inbox are sent to the bot's URL, which can return replies in the conversation.

## Step by step

1. Go to "Settings" → "Conversation" group → "Bots".
2. Click to create a bot: name, description and webhook URL (provided by your developer).
3. Save: copy the access token and the secret displayed (to pass on to the developer).
4. Link the bot to the desired inbox in that inbox's settings.

## Good to know

- Requires a specifically built external service: this is not the built-in AI Agent of Madyis Hub.
- For a simple automatic reply without code, use the AI Agents instead.
- Keep the secret in a safe place; you can reset it from the bot's profile.
