Skip to content
Dashboard
← All connectors
Communication

Slack

Connect AI apps and agents to Slack without managing long-lived credentials.

Create Connector
  1. Install the skill

    $ npx skills add vercel/vercel-plugin --skill vercel-connect
  2. Connect to Slack

    $ vercel connect create slack --name acme-slack
  3. Use its data in agents(opens in new tab) and apps(opens in new tab)

    import { getToken } from '@vercel/connect';
    const token = await getToken('slack/acme-slack');

Use Slack in apps and agents

Use authorized Slack conversation context and events to let apps and agents read messages, respond in channels and threads, and trigger workflows.

Read the Slack developer docs(opens in new tab)

Build with Slack events

Vercel Connect delivers verified Slack events to your app or agent in real time.

  • app_context_changed
  • app_home_opened
  • app_mention
  • entity_details_requested
  • member_joined_channel
  • message.channels
  • message.groups
  • message.im
  • reaction_added
  • reaction_removed
Learn how to configure triggers

Why use Vercel Connect with Slack?

  • Credentials on demand

    Request Slack credentials only when your application or agent needs them instead of copying secrets into application code.

  • Access for the right subject

    Keep app-scoped Slack access behind a reusable connector controlled by your team.

  • Managed authorization lifecycle

    Centralize Slack authorization and token exchange rather than rebuilding the provider flow in every application.

  • Vercel-native controls

    Bind connections to the projects and environments that need them while Vercel OIDC authenticates each runtime request.

What you can build with Slack

  • Operate an agent in Slack

    Receive workspace events and let an agent respond in channels or threads.

  • Post alerts and updates

    Send deployment, incident, support, or workflow updates to the right channel.

  • Use conversation context

    Read authorized messages and channel history to ground internal tools and agents.

Use Slack with your stack

Follow a complete setup for the Connect SDK or a supported agent framework.

Add Slack to an existing Vercel application with the Connect SDK.

  1. Install the Connect SDK

    npm install @vercel/connect
  2. Create the Slack connector

    Run these commands from the project that will use the connection.

    vercel link
    vercel connect create slack --name acme-slack
    vercel env pull
  3. Request Slack credentials

    app/api/route.ts
    import { getToken } from '@vercel/connect';
    const token = await getToken('slack/acme-slack');
Browse all connectors