Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (27 loc) · 1.8 KB

CONFIGURE_SLACK.md

File metadata and controls

48 lines (27 loc) · 1.8 KB
layout title nav_order parent
default
Configure Slack(Bolt)
2
Slack

Configure Slack

In order to configure AccessBot integration with Slack follow the next steps:

  1. Go to https://api.slack.com/apps and create an app from a manifest

image

  1. Enter the content of slack-manifest.yaml

image

NOTE: Adjust the YAML config according to your needs

  1. Install App

image

  1. Assign a channel and click the "Allow" button:

image

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

image

NOTE: Use scope: connections:write

  1. Copy the generated SLACK_APP_TOKEN

image

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

image

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.