Skip to content

Slack uses OAuth 2.0 for authentication. You will need to create a Slack app and configure a bearer token for the app.

Go to Slack API and create a new app. Click on "Create New App" and navigate to From scratch -> Give the app a name and select your workspace from the dropdown -> click on "Create App".

2. Configure the App

On the left panel navigate to OAuth & Permissions -> Add the following scopes in Scopes -> Bot Token Scopes -> Add an OAuth Scope -> Add the following scopes:

ScopePurpose
channels:joinAllow the bot to join public channels automatically so it can post messages to them.
chat:writeSend messages as the bot to channels the bot has been added to.
chat:write.publicSend messages to public channels without first joining them.
groups:historyAccess message history in private channels and groups the bot has been added to.
groups:readList private channels and groups the bot has been added to.

3. (Optional) Add Collaborators

To ensure that you do not lose access to the app you created in step 1, consider using Settings -> Collaborators to add additional workspace members as collaborators to the app. Collaborators will have full permissions to manage the app in the event the account first used to create it is terminated for any reason (e.g. an employee leaves).

4. Install the App

On the left panel navigate to Install App -> Click on Install App to Workspace -> Click on Allow.

A Bot User OAuth Access Token will be generated. This is your bearer token. Please copy and save it.

5. Configure the Integration

Secret: The OAuth Token created in step 4.