Skip to content

Commit b5a2694

Browse files
Update Slack integration page with Add to Slack button and configuration instructions
1 parent 5e32ac0 commit b5a2694

1 file changed

Lines changed: 50 additions & 5 deletions

File tree

docs/integrations/slack.mdx

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ icon: "slack"
66

77
Connect Codegen to your Slack workspace to enable seamless communication between agents and your team.
88

9+
<div className="add-to-slack-container" style={{ textAlign: 'center', margin: '2rem 0' }}>
10+
<a href="https://codegen.sh/integrations" className="add-to-slack-button">
11+
<img
12+
alt="Add to Slack"
13+
height="40"
14+
width="139"
15+
src="https://platform.slack-edge.com/img/add_to_slack.png"
16+
srcSet="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x"
17+
/>
18+
</a>
19+
<p style={{ marginTop: '0.5rem', fontSize: '0.9rem' }}>Click the button above to install Codegen in your Slack workspace</p>
20+
</div>
21+
922
## Capabilities & Functions
1023

1124
Codegen functions as a full-fledged software engineer that you can interact with directly through Slack. When responding to messages in Slack, Codegen can:
@@ -22,14 +35,14 @@ All of these capabilities are accessible through natural language interactions i
2235

2336
## Installation
2437

25-
Add the Codegen app for Slack to your workspace to enable agent communication.
38+
Add the Codegen integration for Slack to your workspace to enable agent communication.
2639

2740
<Card
2841
title="Add Codegen to Slack"
2942
icon="slack"
3043
href="https://codegen.sh/integrations"
3144
>
32-
Install the Codegen app for Slack from the Slack Marketplace and choose the
45+
Install the Codegen integration for Slack from the Slack Marketplace and choose the
3346
channels it can access.
3447
</Card>
3548

@@ -38,18 +51,50 @@ Add the Codegen app for Slack to your workspace to enable agent communication.
3851
appropriate places.
3952
</Note>
4053

54+
## Configuration Instructions
55+
56+
After installing the integration for Slack from the Slack Marketplace, follow these steps to configure it for your team:
57+
58+
### Channel Setup
59+
- **Create a dedicated channel**: We recommend creating a channel like `#codegen` for general agent interactions.
60+
- **Invite the Codegen bot**: Type `/invite @codegen` in any channel where you want Codegen to participate.
61+
62+
### Trigger Configuration
63+
Codegen agents can be triggered in several ways:
64+
- **Direct mentions**: Type `@codegen` followed by your request in any channel where the bot is present.
65+
- **Thread replies**: Reply to a Codegen message in a thread to continue the conversation.
66+
- **Direct messages**: Send a DM to the Codegen bot for private conversations.
67+
68+
### Notification Settings
69+
Configure which events trigger notifications in Slack:
70+
1. Go to your [Codegen Dashboard](https://codegen.sh/settings/notifications)
71+
2. Under "Notification Settings", select which events should post to Slack:
72+
- PR creation and updates
73+
- Build failures
74+
- Deployment events
75+
- Agent task completions
76+
3. Choose which channels should receive different types of notifications
77+
78+
### Permission Management
79+
For security, you can control which team members can interact with Codegen:
80+
1. Go to your [Codegen Dashboard](https://codegen.sh/settings/permissions)
81+
2. Under "Slack Permissions", configure:
82+
- Which users can trigger agent actions
83+
- Which repositories can be accessed via Slack commands
84+
- What level of access is permitted (read-only, PR creation, etc.)
85+
4186
## Message Response Behavior
4287

4388
Codegen responds to the following messages in Slack:
4489

4590
- **Direct Messages:**
4691

47-
- Responds to any DM sent to the Codegen app for Slack
92+
- Responds to any DM sent to the Codegen integration for Slack
4893
- Has visibility into previous messages in the conversation (not just threaded replies)
4994
- This provides a more natural conversation experience as many users don't thread messages in DMs
5095

5196
- **Channel Messages:**
52-
- Responds to any message that @mentions Codegen in channels where the app for Slack is installed
97+
- Responds to any message that @mentions Codegen in channels where the integration for Slack is installed
5398
- Only has visibility into the local context of the thread/conversation
5499
- Sending subsequent messages within a thread routes to the same agent
55100
- New messages in an active thread will interrupt the agent if it's currently working
@@ -64,4 +109,4 @@ Codegen responds to the following messages in Slack:
64109

65110
**User Permissions and Access Control:**
66111

67-
Codegen's actions on connected repositories are governed by the permissions of the user who initiated the interaction via Slack. The bot itself does not have independent permissions to repositories. Access to repositories and the ability to trigger actions are determined by the Codegen user's authenticated account and their associated repository permissions. We recommend configuring channel access carefully during installation to ensure the Codegen app for Slack is only present in channels where its use is appropriate.
112+
Codegen's actions on connected repositories are governed by the permissions of the user who initiated the interaction via Slack. The bot itself does not have independent permissions to repositories. Access to repositories and the ability to trigger actions are determined by the Codegen user's authenticated account and their associated repository permissions. We recommend configuring channel access carefully during installation to ensure the Codegen integration for Slack is only present in channels where its use is appropriate.

0 commit comments

Comments
 (0)