Merge pull request #8546 from continuedev/continue/con-4746
Slack integration docs
This commit is contained in:
commit
c3fe7142ac
2 changed files with 172 additions and 1 deletions
|
|
@ -60,7 +60,8 @@
|
|||
"pages": [
|
||||
"hub/agents/intro",
|
||||
"hub/agents/overview",
|
||||
"hub/agents/create-and-edit"
|
||||
"hub/agents/create-and-edit",
|
||||
"hub/agents/slack-agent"
|
||||
]
|
||||
},
|
||||
"hub/sharing",
|
||||
|
|
|
|||
170
docs/hub/agents/slack-agent.mdx
Normal file
170
docs/hub/agents/slack-agent.mdx
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
---
|
||||
title: "Slack Agent"
|
||||
description: "Kick off background Agents from Slack by mentioning @Continue"
|
||||
---
|
||||
|
||||
<Warning>
|
||||
|
||||
The Continue Slack app is currently in beta development and undergoing Slack's approval process.
|
||||
|
||||
</Warning>
|
||||
|
||||
## 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}/settings/integrations`
|
||||
|
||||
<Warning>
|
||||
|
||||
Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official.
|
||||
|
||||
</Warning>
|
||||
|
||||
<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
|
||||
|
||||
To kick off an agent, mention `@Continue` with a short task description.
|
||||
|
||||
### Thread Context
|
||||
|
||||
When you mention `@Continue` in a **Slack thread**, Continue automatically uses the entire conversation as context. This means your agent starts with full situational awareness.
|
||||
|
||||
If you start a **new message** (not a reply), Continue only sees that single message for context.
|
||||
Use this for quick standalone requests.
|
||||
|
||||
<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="Repository Selection">
|
||||
|
||||
Continue determines which repository to work in with the following precedence:
|
||||
|
||||
1. **Specify in message**: Add `repo=repo-name` to your message:
|
||||
|
||||
```
|
||||
@Continue repo=my-app Fix the login validation bug
|
||||
```
|
||||
|
||||
<Tip>
|
||||
|
||||
Be sure the repository name matches a GitHub repository that the Continue GitHub App has access to.
|
||||
|
||||
</Tip>
|
||||
|
||||
2. **Default repo**: Uses the default repository if set in the integration settings
|
||||
|
||||
3. **Interactive selection**: If no repository is found, 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.
|
||||
|
||||
## 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…
Add table
Reference in a new issue