Code for San Jose On Boarding Slack Bot
I began following this tutorial posted by Slack: https://api.slack.com/best-practices/blueprints/new-user-notification And ended up forking this project https://github.com/slackapi/template-terms-of-service
The onboarding-slack-bot's goal is to automate the Code for San Jose onboarding process as much as possible.
- Get the code
- Either clone this repo and run
npm install
- Either clone this repo and run
- Set the following environment variables to
.env(see.env.sample):SLACK_ACCESS_TOKEN: Your app'sxoxb-token (available on the Install App page, after you install the app to a workspace once.)SLACK_SIGNING_SECRET: Your app's Signing Secret (available on the Basic Information page)
- If you're running the app locally:
- Start the app (
npm start)
- Start the app (
This project exists as a Heroku application on https://cfsj-onboarding-slack-bot.herokuapp.com. In order to directly edit prod, please contact the codeforsanjose@gmail.com for getting added to the Heroku repo
- Make sure you can run the app locally either by following the steps above or testing through
heroku local git init- If creating the app for the first time,
heroku create git push heroku master
- Go back to the app settings and click on Events Subscriptions
- Set the Request URL to your server (e.g.
https://yourname.ngrok.com) +/events - On the same page, subscribe to the
team_jointeam events
- In the app settings, click on Interactive Messages
- Set the Request URL to your server +
/interactive