Skip to content
Merged
2 changes: 1 addition & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{
"group": "Agents",
"icon": "cloud",
"pages": ["hub/agents/intro"]
"pages": ["hub/agents/intro", "hub/agents/slack-integration"]
},
"hub/sharing",
"hub/source-control"
Expand Down
161 changes: 161 additions & 0 deletions docs/hub/agents/slack-integration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
---
title: "Slack Integration"
description: "Trigger agents from Slack by mentioning @Continue"
---

<Info>

Continue's Slack Agent allows you to start and manage Continue agents directly from your Slack workspace. When you summon @Continue inside an ongoing Slack thread, it automatically uses the entire conversation as context, so your agent starts with full situational awareness. This feature is currently in beta.

</Info>

## Overview

Mention @Continue in any channel with a task description, and it will:

- Create a new development agent
- Clone and work on your Repository
- Generate code changes and create pull requests
- Keep you updated on progress

<Card title="What It's Great For" icon="slack">


- Quick bug fixes and feature implementations
- Code reviews and refactoring
- Documentation updates
- Automated development tasks

</Card>
## Setup

Continue's Slack Bot can be installed to a Slack workspace via the Hub, from:

- [Personal Integrations Settings](https://hub.continue.dev/settings/integrations)
- Org Integrations Settings - `https://hub.continue.dev/organizations/{your-org-slug}/settings/integrations`

<Steps>

<Step title="Connect GitHub">

Click "Connect" next to GitHub in the Integrations settings, and grant access to the repositories you want Continue to work with.

</Step>

<Step title="Authorize Slack">

Click the "Connect" button next to Slack and authorize the app in your workspace.

</Step>

<Step title="Set Default Repository (Optional)">

Use the repository selector within the Slack tile to select a default repository for Continue Agents to work in.

</Step>

</Steps>

## Usage

### Starting an Agent

To kick off an agent, mention `@Continue` with a description of what needs to be done.

<Tip>

Provide clear, detailed prompts to help Continue understand your requirements:

✅ **Good**: `@Continue Fix the authentication timeout issue in /api/v1/auth/login. Users are getting logged out after 5 minutes instead of 30.`

❌ **Poor**: `@Continue fix auth`

</Tip>

<Accordion title="Agent Context">

Continue captures the context of your Slack thread when creating an agent. If mentioned directly in a channel, it will respond in the thread and not have context other than the first message.

The agent can also use a Slack MCP to dynamically send updates and retrieve more context if needed.

</Accordion>

<Accordion title="Repository Selection">

Continue determines which repo to work in with the following precedence:

1. **Specify in message**: Add `repo=repo-name` to your message. The repository name should match one of your GitHub repositories that the Continue GitHub App has access to.

```
@Continue repo=my-app Fix the login validation bug
```

2. **Default repo**: Uses the default repo if set in the integration settings

3. **Interactive selection**: Continue will follow up with a dropdown to select a repository

</Accordion>

### Sending Follow-up Messages

Once an agent is created, you can send additional messages by mentioning `@Continue` in the same thread:

```
@Continue Also add error handling for edge cases
```

Continue will forward your message to the existing agent session instead of creating a new one. For older threads, with no running agent, a new agent will be created.

## Monitoring Agent Progress

Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev/agents).

You can also click the Slack icon in the agents page to return to the Slack message.

## Disconnecting

To remove the Slack integration:

1. Go to [hub.continue.dev/settings/integrations](https://hub.continue.dev/settings/integrations)
2. Find your Slack integration
3. Click "Disconnect"

## Support

<Warning>

The Slack integration is in active development. We'd love to hear your feedback:
- Report issues: [GitHub Issues](https://github.com/continuedev/continue/issues)
- Feature requests: [GitHub Discussions](https://github.com/continuedev/continue/discussions)

</Warning>

## Related Resources

<CardGroup cols={2}>

<Card title="Agents Introduction" icon="robot" href="./intro">

Learn about Continue agents

</Card>

<Card title="CLI Guide" icon="terminal" href="../../guides/cli">

Use Continue from the command line

</Card>

<Card title="Continuous AI" icon="infinity" href="../../guides/continuous-ai">

Best practices for background agents

</Card>

<Card title="GitHub PR Review Bot" icon="github" href="../../guides/github-pr-review-bot">

Automate code reviews

</Card>

</CardGroup>
Loading