Slack Bolt powered by API Gateway and Lambda
Run the app on your local machine
Expose local servers to the internet
http://serveo.net/
https://api.slack.com/apps
- Create a Slack App
- Use these information in "App Credentials"
- Add a Slash Command
/ping
command
- Request URL:
https://{serveo domain}/slack/events
- Add a Bot user
- Enable
bot
permission & add a bot user
- Grab OAuth Token
- Use this token in "Tokens for Your Workspace"
- Bot User OAuth Access Token
$ vi template.yaml # set SLACK_SIGNING_SECRET, SLACK_BOT_TOKEN
$ make install
$ make local
$ vi Makefile # set PROFILE, REGION, BUCKET