0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/channels/slack
History 2026-11-12 21:12:29 +00:00
..
src feat(channels): experimental generative UI cards for Slack (#29820) 2026-11-10 05:53:42 +00:00
CHANGELOG.md chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
lint-staged.config.js chore: migrate repository formatting to oxfmt (#19807) 2026-07-24 16:18:33 +02:00
package.json chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
README.md chore(*): Update/unify/add READMEs (#22858) 2026-09-02 14:36:59 +02:00
tsconfig.json Slack app provisioning and channel management (#15876) 2026-04-30 17:17:26 -07:00
tsdown.config.ts chore: migrate package builds to tsdown (#19829) 2026-07-28 12:32:21 +02:00
vitest.config.ts fix(ci): discover omitted Vitest projects in root test runs (#23965) 2026-09-15 12:19:24 +02:00

@mastra/slack

@mastra/slack connects Mastra agents to Slack. It creates and configures Slack apps through the Manifest API, manages the OAuth installation flow, and routes Slack conversations to agents registered with Mastra.

Installation

npm install @mastra/slack

Usage

Set SLACK_APP_CONFIG_REFRESH_TOKEN to your Slack app configuration refresh token.

import { Mastra } from '@mastra/core/mastra';
import { SlackProvider } from '@mastra/slack';

const slack = new SlackProvider({
  refreshToken: process.env.SLACK_APP_CONFIG_REFRESH_TOKEN,
});

export const mastra = new Mastra({
  channels: { slack },
});

Documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.