So you want to build a Slack app with Node.js? We’ve got you covered. Slack Developer Kit for Node.js is aimed at making building Slack apps ridiculously easy. This module will help you build on all aspects of the Slack platform, from dropping notifications in channels to fully interactive bots.
This library provides the low level functionality you need to build reliable apps and projects on top of Slack’s APIs. It:
This library does not attempt to provide application level support, e.g. regex matching and filtering of the conversation stream.
Of course, you’ll need Node.js, as well as NPM. NPM has a great tutorial to help you get started if you don’t have these tools installed.
To install, you will first want to create a new Node.js project. The simplest way is to use your computer’s terminal app to invoke
This script will prompt you to describe the app you are going to build, and create a file that NPM can use to help manage your project.
Once you have a working project, you can install Slack Developer Kit for Node.js as a dependency by invoking
npm install @slack/client --save
Once you’ve installed Slack Developer Kit for Node.js as a dependency you can start using it in your code. Look at Basic Usage to get started.
If you get stuck, we’re here to help. The following are the best ways to get assistance working through your issue: