Slack app example from 📚 Deploying to Heroku with Bolt for JavaScript
This is a Slack app built with the Bolt for JavaScript framework that showcases deploying to the Heroku platform.
# Initialize Git repository
git init
# Commit this project
git add .
git commit -am "Initial commit"
# Rename master to main (optional)
git branch -m main
heroku create
heroku config:set SLACK_SIGNING_SECRET=<your-signing-secret>
heroku config:set SLACK_BOT_TOKEN=xoxb-<your-bot-token>
# Deploy to Heroku
git push heroku main
# Start web server on Heroku
heroku ps:scale web=1
- Follow the Getting Started with Bolt for JavaScript guide to:
- Create a Slack app
- Add required scopes
- Subscribe to required events
- Follow the Deploying to Heroku with Bolt for JavaScript guide to:
- Update your Request URL for actions and events