Set up a Slack app and connect it to your AI team.

Connecting Slack

Connect a Slack app so your AI team can respond to messages in your Slack workspace.

Setting Up the App

1. Create a Slack App

  1. Go to Slack API: Your Apps
  2. Click Create New App > From scratch
  3. Name your app and select the workspace
  4. Go to OAuth & Permissions and add the following bot token scopes:
    • chat:write
    • app_mentions:read
    • im:history
    • im:read
    • im:write
  5. Install the app to your workspace and copy the Bot Token (xoxb-...)

2. Enable Socket Mode

  1. Go to Socket Mode in the sidebar and enable it
  2. Generate an App-Level Token with the connections:write scope
  3. Copy the App Token (xapp-...)

3. Enable Events

  1. Go to Event Subscriptions and enable events
  2. Subscribe to bot events: app_mention, message.im

4. Add a Slack Channel in Workspace

  1. Open your team in the editor
  2. Click Add Block and select Channel
  3. Choose Slack from the channel type dropdown
  4. Paste the Bot Token (xoxb-...)
  5. Paste the App Token (xapp-...)
  6. Save and start (or restart) the team

5. Start Chatting

Mention the app in a channel or send it a direct message in Slack. Your team will respond.

Both the Bot Token and the App Token are required. The App Token enables Socket Mode, which allows the bot to receive events without exposing a public URL.