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

# Connect Slack with Bot Token – StackOne Hub

> Link a Slack account in the StackOne Hub using Bot Token. End-user guide to authorize the integration and start using Slack actions.

> [!WARNING]
>
> This token acts as your app (a bot user). Leave token rotation turned off — this authentication method has no refresh flow, so a rotating token stops working within 12 hours.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Create a Slack app

Create a Slack app in the workspace you want to connect.

**1. Sign in to Slack**

Sign in to your [Slack account](https://api.slack.com/apps).

<ul>
  <li>On the **Your Apps** page, click **Create New App**.</li>
</ul>

![The Your Apps page with the Create New App button highlighted](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-create-new-app.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=c0f66162ecff9ae89350b88a951b7a1c)

**2. Choose a blank app**

In the **Create new app** dialog, under **Or start your own way**, select **Blank app**.

<ul>
  <li>Click **Continue**.</li>
</ul>

![The Create new app dialog with Blank app and Continue highlighted](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-blank-app.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=4626763319882ed68ab6ecf178aa3922)

**3. Name the app and pick a workspace**

In the **Create from scratch** dialog, enter the app details.

<ul>
  <li>App name: `StackOne Integration`</li>
  <li>Select your workspace from the **Workspace** dropdown.</li>
  <li>Click **Create**. Slack opens the **OAuth & Permissions** page of your new app.</li>
</ul>

![The Create from scratch dialog with the App name, Workspace and Create controls highlighted](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-name-workspace.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=34cf801524915b0e3dcc7b439dba7abf)

## Add scopes and install the app

Grant the scopes StackOne needs, then install the app to generate the token.

**1. Add bot token scopes**

Enables actions: Add Bookmark, Archive Conversation, Close Conversation, Complete File Upload, Create Canvas, Create Channel Canvas, Create Conversation, Create List, Create List Item, Create User Group, Delete Canvas, Delete Canvas Access, Delete File, Delete List Access, Delete List Item, Delete List Items, Delete Message, Delete Scheduled Message, Disable User Group, Edit Bookmark, Edit Canvas, Enable User Group, Get Canvas Content, Get Conversation, Get File, Get File Upload URL, Get List Download, Get List Item, Get Message Permalink, Get Unified Group, Get Unified Organization, Get Unified User, Get User, Get User By Email, Get User Presence, Get User Profile, Invite Shared Conversation, Invite Users To Conversation, Join Conversation, Leave Conversation, List Bookmarks, List Conversation Members, List Conversations, List Files, List List Items, List Messages, List Scheduled Messages, List Slack Connect Invites, List Thread Replies, List Unified Groups, List Unified Organizations, List Unified Users, List User Conversations, List User Group Users, List User Groups, List Users, Lookup Canvas Sections, Lookup Discoverable Contact, Mark Conversation Read, Open Conversation, Remove Bookmark, Remove User From Conversation, Rename Conversation, Schedule Message, Send Ephemeral Message, Send Message, Set Canvas Access, Set Conversation Purpose, Set Conversation Topic, Set List Access, Set User Presence, Start List Download, Unarchive Conversation, Update List, Update List Item, Update Message, Update User Group, Update User Group Members

On the **OAuth & Permissions** page, scroll to **Scopes**. Under **Bot Token Scopes**, click **Add an OAuth Scope** and add each scope StackOne needs, one at a time. At minimum add `users:read`, which StackOne uses to verify the connection:

![The Bot Token Scopes section with the Add an OAuth Scope picker highlighted](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-bot-scopes.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=7c1b49d33f5980f57c254cd8c4d9d3fb)

<ul>
  <li>
    bookmarks:read
  </li>

  <li>
    bookmarks:write
  </li>

  <li>
    canvases:read
  </li>

  <li>
    canvases:write
  </li>

  <li>
    channels:history
  </li>

  <li>
    channels:join
  </li>

  <li>
    channels:manage
  </li>

  <li>
    channels:read
  </li>

  <li>
    channels:write.invites
  </li>

  <li>
    chat:write
  </li>

  <li>
    conversations.connect:manage
  </li>

  <li>
    conversations.connect:write
  </li>

  <li>
    files:read
  </li>

  <li>
    files:write
  </li>

  <li>
    groups:history
  </li>

  <li>
    groups:read
  </li>

  <li>
    groups:write
  </li>

  <li>
    groups:write.invites
  </li>

  <li>
    im:history
  </li>

  <li>
    im:read
  </li>

  <li>
    im:write
  </li>

  <li>
    lists:read
  </li>

  <li>
    lists:write
  </li>

  <li>
    mpim:history
  </li>

  <li>
    mpim:read
  </li>

  <li>
    mpim:write
  </li>

  <li>
    team:read
  </li>

  <li>
    usergroups:read
  </li>

  <li>
    usergroups:write
  </li>

  <li>
    users.profile:read
  </li>

  <li>
    users:read
  </li>

  <li>
    users:read.email
  </li>

  <li>
    users:write
  </li>
</ul>

**2. Check that token rotation is off**

Scroll to the top of the **OAuth & Permissions** page. Under **Advanced token security via token rotation**, the **Opt In** button must still be shown. Don't click it.

<ul>
  <li>Once turned on, token rotation cannot be turned off. If your app already uses it, create a new app instead.</li>
</ul>

![The Advanced token security via token rotation section showing the Opt In button](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-token-rotation.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=c3328c3823a053c88da2bd82b43caee7)

**3. Install the app**

Under **OAuth Tokens**, click the **Install to** button, which is followed by your workspace name.

<ul>
  <li>The button stays disabled until at least one scope has been added.</li>
</ul>

![The OAuth Tokens section with the Install to workspace button highlighted](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-install.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=55d6bf474de52f380c71e34621927d26)

**4. Approve the app**

On the **Allow the "StackOne Integration" app to access Slack** page, review the permissions and click **Allow**.

![The Slack app permission page with the Allow button highlighted](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-allow.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=90411fbea66cc6d187c9338683a5c0c0)

**5. Copy the Bot User OAuth Token**

Slack returns to **OAuth & Permissions**. Under **OAuth Tokens**, click **Copy** next to **Bot User OAuth Token** and paste it into the **Bot User OAuth Token** field in StackOne Hub.

<ul>
  <li>Format: `xoxb-...` — a token that starts with `xoxe.` means token rotation is on and won't work here</li>
  <li>Treat the token like a password and store it securely. Anyone who has it can call Slack as your app.</li>
  <li>If you add or change scopes later, click **Reinstall to** followed by your workspace name, then copy the new token.</li>
</ul>

![The OAuth Tokens section with the Copy button next to Bot User OAuth Token highlighted and token values hidden](https://mintcdn.com/stackone-60/QHdZxqlnLcg6D5AC/connectors/slack/images/bot_access_token-config-copy-token.png?fit=max\&auto=format\&n=QHdZxqlnLcg6D5AC\&q=85\&s=1ad69161514bcb16fcbbb17762870302)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.