Slack prerequisites¶
Introduction¶
These are the prerequisites for using the Slack connector. You first create a Slack app in the selected workspace, and then add scopes to the created app. These steps include instructions for generating a bot token (recommended).
Note
The connection configuration alternatively accepts a user token instead of a bot token.
Create a Slack app¶
Follow these steps to create a Slack app in the selected workspace:
-
On the Slack API website, click Create an App and then click From scratch:
-
Provide a name for your app and select a workspace, then click Create App:
-
In the Add features and functionality section, click Incoming Webhooks:
-
Toggle the Activate Incoming Webhooks option to On, then click Add New Webhook to Workspace:
-
From the menu, select the Slack channel where you want to post messages and click Allow:
Note
Approval may be required from someone who manages apps in your workspace. Use the Request to Add New Webhook button to send a request for approval.
-
In the sidebar's Features section, click OAuth & Permissions.
-
Under OAuth Tokens for Your Workspace, copy the Bot User OAuth Token, and retain the value (to be used in during connection configuration):
Add scopes¶
Follow these steps to add the required scopes to the created app:
-
On the OAuth & Permissions page, navigate to the Scopes section and click Add an OAuth Scope under the Bot Token Scopes section:
-
Add the
calls:read
andchat:write
scopes.