-
Notifications
You must be signed in to change notification settings - Fork 3
Slack Installation
To test with Slack you can create yourself a sandbox workspace
Go to Slack
Click Create Workspace
Enter your email
Name your workspace
Create the initial channel
Skip adding invites
Click Let's Go
Go to the Slack app with newly created sandbox workspace
Go to Administration->Manage apps
Click the Build
button in the upper right
Click Basic app setup
Scroll all the way to the bottom and choose Create a classic Slack
app
Name the app
Click Bots
to add a bot
Click Add Legacy Bot User
Name the bot
To make the bot active, we need to install it ot our workspace. Choose
Install App
.
Click Install App to Workspace
Allow
the bot permissions
Once the app is installed you can get the API token. You want the Bot User Oauth Access Token
.
This token should be passed to the bot as the HUBOT_SLACK_TOKEN
via an
environment variable. This can
be done by setting the environment variable, or by using an .env
file
with Docker Compose.
If you start up the bot with this token, it will appear in the workspace and you can interact with it.