⚡ Slack
Module: Platform
💬

Slack App Setup

Deploy your autonomous AI agent into your enterprise Slack Workspace using Socket Mode and Manifest.

⚠️ Notice: Slack App configuration includes granular permissions and event subscriptions. In this guide, follow each recommended step directly as demonstrated.
Part 1 Create App from Manifest & Socket Mode (xapp-...)
  1. Create a Slack Workspace to host your agent:
    ⚠️ You may use an existing workspace, but exercise caution as your agent will be capable of reading and interacting with workspace channels and messages.
  2. If you are following this guide on a smartphone, please log in first via the web portal at Slack Login ↗.
  3. Navigate to the Slack API: Your Apps ↗ dashboard.
  4. Click Create an App.
    Click Create an App on Slack API
  5. Select From an app manifest and click Continue.
    Choose From an app manifest
  6. Copy the complete JSON Manifest configuration below by clicking "📋 Copy Manifest", and paste it into the JSON tab on Slack:
    App Manifest (JSON)
    {
      "display_information": {
        "name": "AgenticBuildAlong",
        "description": "Full-Powered AI Agent for Agentic Build Along"
      },
      "features": {
        "bot_user": {
          "display_name": "AgenticBuildAlong",
          "always_online": true
        }
      },
      "oauth_config": {
        "scopes": {
          "bot": [
            "app_mentions:read",
            "bookmarks:read",
            "bookmarks:write",
            "channels:history",
            "channels:join",
            "channels:read",
            "chat:write",
            "chat:write.customize",
            "chat:write.public",
            "commands",
            "files:read",
            "files:write",
            "groups:history",
            "groups:read",
            "groups:write",
            "im:history",
            "im:read",
            "im:write",
            "mpim:history",
            "mpim:read",
            "mpim:write",
            "pins:read",
            "pins:write",
            "reactions:read",
            "reactions:write",
            "users.profile:read",
            "users:read",
            "users:read.email"
          ]
        }
      },
      "settings": {
        "event_subscriptions": {
          "bot_events": [
            "app_mention",
            "message.channels",
            "message.groups",
            "message.im",
            "message.mpim",
            "reaction_added",
            "reaction_removed",
            "member_joined_channel",
            "member_left_channel"
          ]
        },
        "socket_mode_enabled": true
      }
    }
    Paste App Manifest into JSON field
  7. Select your target Workspace and click Next.
    Select Workspace on Slack API
  8. Review the scopes and features, then click Create.
    Review and click Create
  9. In your App settings dashboard, scroll down to the App-Level Tokens section and click Generate Token and Scopes.
    Generate Token and Scopes
  10. Provide a Token Name (e.g. AgenticToken), add the connections:write scope, and click Generate.
    Configure App-Level Token modal
  11. Copy your App-Level Token (prefixed with xapp-...) using the Copy button, and click Done.
    Copy App-Level Token
⚪ Enter or paste your App-Level Token (xapp-...)
Part 2 Install App & Copy Bot User OAuth Token (xoxb-...) (4 Steps)
  1. Install to Workspace: On desktop browsers, click Install App in the left sidebar. On smartphone browsers where the button may not be directly reachable, add /install-on-team to the end of the URL in your browser's address bar.
    Type /install-on-team in mobile browser
  2. Click Install to <Your Workspace Name>.
    Click Install to Workspace
  3. Click Allow to grant permissions. Your agent is now installed in your workspace.
    Click Allow to install app
  4. Copy the Bot User OAuth Token (starts with xoxb-...) with the Copy button.
    Copy Bot User OAuth Token
⚪ Enter or paste your Bot User OAuth Token (xoxb-...)
Part 3 Retrieve Your Slack User ID (Member ID: U...) (5 Steps)
  1. Open Slack in a web browser (not the native app) or visit Slack Web Sign-in ↗ and select your workspace.
  2. On Desktop: Click Admin in the left navigation sidebar → select Manage members.
    Select Admin and Manage members on Slack Web
  3. On Smartphone: Tap the menu button in the top-left corner.
    Open menu on smartphone web
  4. Select Members under the People section (if collapsed, tap the small arrow icon next to People to expand it).
    Select Members under People category
  5. In the Workspace members roster, find your name, click/tap on it, and copy your personal User ID (Member ID) (prefixed with U...).
    Find your name and copy User ID
⚪ Enter or paste your Slack Member ID (starts with U)