Template

Slack app (Node.js, Bolt)

Slash command, threaded replies to mentions and an App Home tab, in Socket Mode or HTTP mode with signature verification.

Download ZIP (5.2 KB)

SHA-256: ddfddc6acc31522ca8354ea8eab986d53e3f4a1d47fa7f8b022c078148da0e6a (checksum file)

Stack: Node.js 20+, @slack/bolt 4 · License: MIT · Files: 10

What it includes

Slash command, threaded replies to mentions and an App Home tab, in Socket Mode or HTTP mode with signature verification.

File tree

slack-bolt-node/
├── src/
│   ├── app.js
│   └── logic.js
├── tests/
│   └── logic.test.js
├── .dockerignore
├── .env.example
├── .gitignore
├── Dockerfile
├── LICENSE
├── package.json
└── README.md

Setup

unzip slack-bolt-node.zip && cd slack-bolt-node
npm install
cp .env.example .env
npm run dev
npm test

Fill in .env with credentials from the platform's official developer console. Never commit it: the included .gitignore excludes it.

Run with Docker

docker build -t slack-bolt-node .
docker run --rm --env-file .env slack-bolt-node

Official documentation

https://tools.slack.dev/bolt-js/

All templates