Skip to content
PluginStats

@chat-adapter/slack weekly downloads statistics

By chat-adapter (14 listings) · npm · AI SDKs

Slack adapter for Chat SDK — webhooks, Block Kit cards, OAuth, slash commands, and AI streaming

View on npm Fresh · Dec 6, 2026

@chat-adapter/slack has 3,319,838 recorded weekly downloads on npm, an increase of 44.8% over the past 30 days, ranking #192 of 3,247 tracked listings.

Weekly downloads
3,319,838
Official API · Dec 5, 2026
7-day growth
+19.6%
+543.9K weekly downloads
30-day growth
+44.8%
+1M weekly downloads
90-day growth
+324%
+2.5M weekly downloads
Rank
#192
▲ 5 in 7 days

About @chat-adapter/slack

Slack adapter for Chat SDK

@chat-adapter/slack

npm package: @chat-adapter/slack

Agent Stack MIT License

Slack adapter for Chat SDK. Configure single-workspace or multi-workspace OAuth deployments.

Documentation: chat-sdk.dev/adapters/official/slack · Guides: vercel.com/kb/chat-sdk

Installation

pnpm add @chat-adapter/slack

Scaffold with the CLI

To scaffold a new Slack bot with this adapter preselected:

npx create-chat-sdk@latest my-bot --adapter slack memory

Visit the adapters directory to see other available official and vendor-official adapters.

Quick start

For managed credentials and webhook verification, see Vercel Connect.

For bots deployed to a single Slack workspace. The adapter auto-detects SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET from environment variables:

import { Chat } from "chat";
import { createSlackAdapter } from "@chat-adapter/slack";

const bot = new Chat({
  userName: "mybot",
  adapters: {
    slack: createSlackAdapter(),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post("Hello from Slack!");
});

Configuration

All options are auto-detected from environment variables when not provided. You can call createSlackAdapter() with no arguments if the env vars are set.

OptionRequiredDescription
botTokenNoBot token (xoxb-...) or a function returning one (sync or async) for rotation/lazy fetch. Auto-detected from SLACK_BOT_TOKEN
signingSecretNo*Signing secret for webhook verification. Auto-detected from SLACK_SIGNING_SECRET
webhookVerifierNo*Custom verifier (request, body) => unknown | Promise<unknown> used in place of signingSecret. Returning a string substitutes the verified body for downstream parsing
modeNoConnection mode: "webhook" (default) or "socket"
appTokenNo**App-level token (xapp-...) for socket mode. Auto-detected from SLACK_APP_TOKEN
socketForwardingSecretNoShared secret for authenticating forwarded socket events. Auto-detected from SLACK_SOCKET_FORWARDING_SECRET, falls back to appToken
clientIdNoApp client ID for multi-workspace OAuth. Auto-detected from SLACK_CLIENT_ID
clientSecretNoApp client secret for multi-workspace OAuth. Auto-detected from SLACK_CLIENT_SECRET
encryptionKeyNoAES-256-GCM key for encrypting stored tokens. Auto-detected from SLACK_ENCRYPTION_KEY
installationKeyPrefixNoPrefix for the state key used to store workspace installations. Defaults to slack:installation. The full key is {prefix}:{teamId} (or {prefix}:{enterpriseId} for Enterprise Grid org-wide installs)
installationProviderNoExternal installation lookup { getInstallation(installationId, isEnterpriseInstall) => Promise<SlackInstallation | null> }. When set, bypasses the internal state adapter for token resolution on incoming webhooks. Read-only — manage your own writes externally
apiUrlNoOverride the Slack Web API base URL (e.g. for GovSlack or a self-hosted gateway). Auto-detected from SLACK_API_URL
fetchNoFetch for response URLs and Socket Mode webhook forwarding; defaults to global fetch
fileTransportNoGuarded file download transport; custom transports own connection/DNS policy
webClientOptionsNoOptions forwarded to Slack WebClient instances, excluding slackApiUrl. Supports retryConfig, per-request timeout, and rejectRateLimitedCalls; agent also configures Socket Mode, tls only its HTTP calls
loggerNoLogger instance (defaults to ConsoleLogger("info"))

*signingSecret is required for webhook mode — either via config, SLACK_SIGNING_SECRET env var, or a webhookVerifier. **appToken is required for socket mode — either via config or SLACK_APP_TOKEN env var.

Authentication

Vercel Connect

Use Vercel Connect to source the bot token at runtime instead of storing one. The connectSlackAdapter() helper from @vercel/connect/chat wires both a botToken resolver and a webhookVerifier for Connect trigger-forwarded webhooks:

import { createSlackAdapter } from "@chat-adapter/slack";
import { connectSlackAdapter } from "@vercel/connect/chat";

createSlackAdapter({
  ...connectSlackAdapter("slack/acme-slack"),
});

This is equivalent to passing a botToken resolver that calls getToken and a webhookVerifier that validates the Vercel OIDC token Connect attaches. Omit signingSecret / SLACK_SIGNING_SECRET when using it.

Single-workspace mode

Provide SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET as shown in Quick start.

Token rotation

botToken accepts a function returning a string or Promise<string> — the resolver is invoked per API call, so it composes with Slack token rotation (12-hour TTL) or lazy fetch from a secret manager:

createSlackAdapter({
  botToken: async () => await secrets.get("slack-bot-token"),
});

If the resolver is expensive (e.g. a vault round-trip), implement caching inside the resolver itself.

Custom webhook verification…

Description from the npm listing.

  • chat
  • chat-sdk
  • chatbot
  • slack
  • slack-bot
  • bot
  • adapter
  • block-kit
  • messaging
  • ai-agent
  • ai-sdk
  • vercel

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@chat-adapter/slack weekly downloads on npm, last 90 days: 3,319,838 weekly downloads as of Dec 5, 2026, +324% over 90 days.@chat-adapter/slackWeekly downloads on npm · Last 90 days3,319,838downloads / week+324% over 90 days0500K1M1.5M2M2.5M3M3.5M4MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@chat-adapter/slack weekly downloads on npm, last 90 days: 3,319,838 weekly downloads as of Dec 5, 2026, +324% over 90 days.

7/30/90-day growth

@chat-adapter/slack weekly downloads growth on npm: +19.6% over 7 days, +44.8% over 30 days, +324% over 90 days.@chat-adapter/slackWeekly downloads growth on npm3,319,838downloads / week now7-day growth+543,913 weekly downloads+19.6%30-day growth+1,027,338 weekly downlo…+44.8%90-day growth+2,537,609 weekly downlo…+324%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@chat-adapter/slack weekly downloads growth on npm: +19.6% over 7 days, +44.8% over 30 days, +324% over 90 days.

Ranking history

@chat-adapter/slack npm ranking history: currently #192 (by weekly downloads).@chat-adapter/slacknpm ranking · by weekly downloads · Last 90 days#192current rank#160#180#200#220#240#260#280Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@chat-adapter/slack npm ranking history: currently #192 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 10, #12 (overall #192)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 1, #9 (overall #9)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @chat-adapter/slack
Date (UTC)Weekly downloadsChange vs. previous
3,319,838+76.6K
3,243,215+251.9K
2,991,275+261.3K
2,730,016+79.6K
2,650,407-4.9K
2,655,306-100K
2,755,300-20.6K
2,775,925-134.7K
2,910,580-196.9K
3,107,440-207.1K
3,314,501-126.2K
3,440,654-85.1K
3,525,725-74.9K
3,600,656—

Similar npm AI SDKs plugins

All 20 @chat-adapter/slack alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@chat-adapter/slack. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.