加入我们的 Telegram 社群 (clawdbotCN) 学习分享和了解更多 →
en
Channels
Slack

Slack Configuration

Integrates with Slack through the Bolt SDK.

Quick Start

Configuration

Socket Mode (default):

{
  channels: {
    slack: {
      enabled: true,
      appToken: "xapp-...",
      botToken: "xoxb-..."
    }
  }
}

Or use environment variables:

export SLACK_APP_TOKEN="xapp-..."
export SLACK_BOT_TOKEN="xoxb-..."

Bot Token Scopes

Required scopes:

  • chat:write
  • channels:history
  • groups:history
  • im:history
  • reactions:read/write
  • files:write

Next Steps