Serverless Slack Chatbot

npm install serverless -g
serverless create --template aws-nodejs --path serverless-slack-chatbot 
serverless framework project created
npm init
npm i @slack/bolt @slack/web-api @slack/webhook serverless-http
SLACK_CLIENT_ID=abc
SLACK_API_TOKEN=abc
SLACK_CLIENT_SECRET=abc
SLACK_BOT_TOKEN=xoxb-
SLACK_SIGNING_SECRET=abc
sls deploy -v 
slack slash commands
slack slash commands
Nadtakan Futhoem — Sr. Software Engineer

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store