Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 3.13 KB

index.md

File metadata and controls

62 lines (39 loc) · 3.13 KB
title slug
Node Slack SDK
/

The Node Slack SDK is a collection of single-purpose packages aimed at making building Slack apps performant, secure, and scalable.

Just starting out? The Getting Started tutorial will walk you through building your first Slack app using Node.js.

Slack APIs

The Node Slack SDK has corresponding packages for Slack APIs. They are small and powerful when used independently, and work seamlessly when used together, too.

Slack API Use NPM package
Web API Send data to or query data from Slack using any of over 200 methods. @slack/web-api
OAuth Set up the authentication flow using V2 OAuth for Slack apps as well as V1 OAuth for classic Slack apps. @slack/oauth
Incoming Webhooks Send notifications to a single channel which the user picks on installation. @slack/webhook
Socket Mode Listen for incoming messages and a limited set of events happening in Slack, using WebSocket. @slack/socket-mode

:::warning[Deprecation Notice]

@slack/events-api and @slack/interactive-messages officially reached EOL on May 31st, 2021. Development has fully stopped for these packages and all remaining open issues and pull requests have been closed.

At this time, we recommend migrating to Bolt for JavaScript, a framework that offers all of the functionality available in those packages (and more). To help with that process, we've provided some migration samples for those looking to convert their existing apps.

:::

Installation

This package supports Node v14 and higher. It's highly recommended to use the latest LTS version of node, and the documentation is written using syntax and features from that version.

Use your favorite package manager to install any of the packages and save to your package.json:

You can use npm:

$ npm install @slack/web-api @slack/oauth

Or you can use yarn:

$ yarn add @slack/web-api @slack/oauth

Getting help

These docs have lots of information on the Node Slack SDK. There's also an in-depth Reference section. Please explore!

If you otherwise get stuck, we're here to help. The following are the best ways to get assistance working through your issue:

  • Issue Tracker for questions, bug reports, feature requests, and general discussion related to the Node Slack SDK. Try searching for an existing issue before creating a new one.
  • Email our developer support team: support@slack.com.

Contributing

These docs live within the Node Slack SDK repository and are open source.

We welcome contributions from everyone! Please check out our Contributor's Guide for how to contribute in a helpful and collaborative way.