- Node (ver 14 recommended)
- Axios
- npm
- yarn (recomended)
Enable
Slash Commands
in the Salck App configuration including the CRUD commands: Create, Retrieve, Update, Delete. You will need your own API URL Endpoint for this (you can get it once you start the server... see following information aboutDev Setup
)
app.js
contains the primary Bolt app. It imports the Bolt package (@slack/bolt
) and starts the Bolt app's server. It's where you'll add your app's listeners..env
is where you'll put your Slack app's authorization token and signing secret.
- You need Auth0 Account and Slack Account (Free account are enough)
- YOu need to create an Slack App using the Slack API
- Clone repository
- Update the values in the .env file using your own tokens
SLACK_BOT_TOKEN=<SLACK_BOT_TOKEN>
SLACK_SIGNING_SECRET=<SLACK_SECRET>
API_URL=<YOUR_API_URL>
MGMT_API_ACCESS_TOKEN=<YOUR_AUTH0_TOKEN>
- Install packages by running the following command:
yarn install
- Start the server.
You can use glitch which is very friendly. However you will need to copy the code manually to glitch's IDE