Configure Slack
In order to configure AccessBot integration with Slack follow the next steps:
- Go to https://api.slack.com/apps and create an app from a manifest

- Enter the content of slack-manifest.yaml

NOTE: Adjust the YAML config according to your needs
- Install App

- Assign a channel and click the “Allow” button:

- On the Basic Information page, scroll down to the App-Level Tokens section and click the Generate Tokens and Scopes button:

NOTE: Use scope: connections:write
- Copy the generated
SLACK_APP_TOKEN

- On the left side, click OAuth & Permissions, and copy the Bot User OAuth Token:

Use “App-Level Token” for SLACK_APP_TOKEN and “Bot User OAuth Token” for SLACK_BOT_TOKEN variables
Implementation details
- Slack Bolt API imposes a rate limit. For that reason, users and channels are cached for 4 hours. If a user or channel is not found in the cache, the bot recreates the cache once.