[← All connectors](/connect/browse)

![](/static/connex/slack.svg)

Communication

# Slack

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

[Create Connector](https://vercel.com/d?to=%2F%5Bteam%5D%2F~%2Fconnect%3Fcreate%3Dslack&title=Vercel+Connect)

1.  ## Install the skill

    ```
    $ npx skills add vercel/vercel-plugin --skill vercel-connect
    ```

2.  ## Connect to ![](/static/connex/slack.svg) Slack

    Via CLI[Vercel Dashboard(opens in new tab)](https://vercel.com/d?to=%2F%5Bteam%5D%2F~%2Fconnect%3Fcreate%3Dslack&title=Vercel+Connect)

    ```
    $ vercel connect create slack --name acme-slack
    ```

3.  ## Use its data in [agents(opens in new tab)](https://github.com/vercel-labs/eve-slack-agent-template) and [apps(opens in new tab)](https://github.com/vercel-labs/nextjs-linear-connect-template)

    ```
    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)](https://api.slack.com/)

## 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](/docs/connect/concepts/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](/docs/connect/ts-sdk-reference).

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

## More connectors like Slack

- [Photon](/connect/photon)
- [![](/static/connex/agentmail.svg)AgentMail](/connect/agentmail)
- [![](/static/connex/intercom.svg)Intercom](/connect/intercom)
- [![](/static/connex/linkedin.svg)LinkedIn](/connect/linkedin)

[Browse all connectors](/connect/browse)