- Create a Slack app.
- Select the workspace that you need to access using Slack Web API.
- Navigate to Permission and configure the Workspace URL in Redirect URL.
- Navigate to Scopes and add the below scopes to User Token Scopes:
- users:read
- files:read
- groups:read
- im:read
- channels:read
- dnd:read
- emoji:read
- pins:read
- reactions:read
- reminders:read
- stars:read
- usergroups:read
- mpim:history
- mpim:read
- im:history
- groups:history
- channels:history
- Click on Install app to Workspace.
The OAuth token will be generated. Please copy and save the OAuth token to be added in the plugin configuration file.