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

# Messaging Channels

> Connect your bot to Discord, Telegram, WhatsApp, Slack, and more.

OpenClaw supports multiple messaging platforms out of the box. You configure channels during bot creation (Step 5 of the wizard) and can update them any time from the **Config** tab on the bot detail page.

## Available channels

| Channel                | Type           | Notes                                               |
| ---------------------- | -------------- | --------------------------------------------------- |
| **Discord**            | Bot token      | Requires a Discord application with bot permissions |
| **Telegram**           | Bot token      | Create via [@BotFather](https://t.me/BotFather)     |
| **WhatsApp**           | Facebook login | Logs into Meta Business Suite via Chrome            |
| **Slack**              | OAuth token    | Requires a Slack app with appropriate scopes        |
| **Facebook Messenger** | Facebook login | Same Chrome session as WhatsApp                     |
| **Instagram DM**       | Facebook login | Same Chrome session as WhatsApp                     |

<Info>
  You can enable multiple channels on a single bot. Each channel runs independently on the same OpenClaw instance.
</Info>

## Discord

1. Go to the [Discord Developer Portal](https://discord.com/developers/applications) and create a new application.
2. Under **Bot**, create a bot user and copy the token.
3. Enable the **Message Content Intent** under **Privileged Gateway Intents**.
4. Invite the bot to your server using the OAuth2 URL generator (scopes: `bot`; permissions: `Send Messages`, `Read Message History`).
5. Paste the token into the **Discord Bot Token** field when creating or configuring your bot.

## Telegram

1. Open Telegram and message [@BotFather](https://t.me/BotFather).
2. Send `/newbot` and follow the prompts to name your bot.
3. Copy the API token BotFather provides.
4. Paste it into the **Telegram Bot Token** field when creating or configuring your bot.

## WhatsApp / Facebook / Instagram

These channels use a persistent Chrome browser session stored in your bot's data volume.

1. Enable the **WhatsApp**, **Facebook Messenger**, or **Instagram DM** toggle when creating your bot.
2. After the bot starts, open the **Devices** tab and click **Connect WhatsApp** (or the relevant channel) to get a QR code or login link.
3. Complete the Facebook/Meta login in your browser. The session is saved and survives bot restarts.

<Warning>
  WhatsApp, Facebook Messenger, and Instagram DM rely on unofficial browser automation. Meta may require periodic re-authentication if the session expires.
</Warning>

## Slack

1. Go to [api.slack.com/apps](https://api.slack.com/apps) and create a new app.
2. Under **OAuth & Permissions**, add the following bot token scopes: `chat:write`, `im:history`, `im:read`.
3. Install the app to your workspace and copy the **Bot User OAuth Token**.
4. Paste it into the **Slack Bot Token** field when creating or configuring your bot.

## Updating channel config

You can add or remove channels after your bot is created:

1. Go to your bot's detail page and click the **Config** tab.
2. Toggle channels on or off and provide any required tokens.
3. Click **Save**.
4. **Stop and Start** the bot for channel changes to take effect.

<Tip>
  Token changes (like rotating a Discord token) also require a Stop → Start cycle to reload the configuration.
</Tip>
