This setup guide has step-by-step instructions on how to set up a Slack workspace for our Slack apps. We recommend watching the technical walkthrough video for clarity.
This guide can also be used to set up a development Slack and app instance.
- Create a Slack workspace
- Create your app
- Click the deploy button below and follow the instructions (you can skip pipeline part)
- Run this step if you are deploying to prod/staging only. For local development, please see DEVELOPING.md
Get your heroku app URL for slack:
- When Heroku finishes you can click
View
to go to the URL- It should look like
https://app.name.herokuapp.com/
- It should look like
- The URL we need would be
https://app.name.herokuapp.com/slack/events
. Save this for later.
Finish setting up your slack app
- Go your slack app page (
https://api.slack.com/apps/your-app-id
) - Make "App Home" tab like this: https://imgur.com/VSnO7iw
- Go to "Interactivity & Shortcuts"
- Turn on.
- Add your full
/slack/interactivity
heroku URL to "Request URL" - Add the following under Shortcuts:
- (Name) Volunteer Sign Up (Callback ID) volunteer-sign-up
- (Name) Edit Post (Callback ID) edit_post
- (Name) Post Open Request (Location) Global (Callback ID) select_delivery_needed_request
- Go to "Oauth and Permissions"
- Add bot scopes: "
commands
", "users:read
", "users:read.email
" "channels:join
" "channels:read
" "channels:history
" "channels:write
" "chat:write
" "chat:write.public
" "groups:history
" "groups:write
" "groups:read
" "im:write
" "mpim:write
" "usergroups:write
" "usergroups:read
"
- Add bot scopes: "
- Go to "Event Subscriptions"
- Turn on.
- Add your full
/slack/events
heroku URL to "Request URL" - Under "Subscribe to Bot events" add "
app_home_opened
" permission - If payments airbase enabled, add "
message.channels
" as well