---
title: Slack
description: Mention your agent in channels and DMs, with Connect-managed auth.
type: channel
keywords:
  - chat
  - messaging
  - bot
  - webhook
---

# Slack

Channel integration for eve. Mention your agent in channels and DMs, with Connect-managed auth.

## Install

The eve CLI scaffolds the channel for you. `eve add channel/slack` writes `agent/channels/slack.ts`, adds `@vercel/connect`, and runs the Connect setup flow:

```bash
eve add channel/slack
```

To wire it up by hand instead, install the framework and the Connect SDK. Slack channels use [Vercel Connect](https://vercel.com/docs/connect) for both the outbound bot token and inbound webhook verification:

```bash
npm install eve@latest @vercel/connect
```

## Quick start

Create `agent/channels/slack.ts`. The channel name is derived from the filename, so no `name` field is needed:

```ts
// agent/channels/slack.ts
import { slackChannel } from "eve/channels/slack";
import { connectSlackCredentials } from "@vercel/connect/eve";

export default slackChannel({
  credentials: connectSlackCredentials("slack/my-agent"),
});
```

Link the project and pull OIDC env vars so Connect can authenticate locally:

```bash
vercel link
vercel env pull
```

## Configure

Create a Slack Connect client and copy its UID (for example `slack/my-agent`), then attach this project as the webhook trigger destination at the route eve serves (`/eve/v1/slack`):

```bash
vercel connect create slack --triggers
```

The channel handles mentions, DMs, typing indicators, delivery, and human-in-the-loop consent with sensible defaults. See the [Slack channel docs](/docs/channels/slack) for customizing each behavior.

[Read the full channel documentation](/docs/channels/slack)

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)