You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pstyle={{ marginTop: '0.5rem', fontSize: '0.9rem' }}>Click the button above to install Codegen in your Slack workspace</p>
20
+
</div>
21
+
9
22
## Capabilities & Functions
10
23
11
24
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
22
35
23
36
## Installation
24
37
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.
26
39
27
40
<Card
28
41
title="Add Codegen to Slack"
29
42
icon="slack"
30
43
href="https://codegen.sh/integrations"
31
44
>
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
33
46
channels it can access.
34
47
</Card>
35
48
@@ -38,18 +51,50 @@ Add the Codegen app for Slack to your workspace to enable agent communication.
38
51
appropriate places.
39
52
</Note>
40
53
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
+
41
86
## Message Response Behavior
42
87
43
88
Codegen responds to the following messages in Slack:
44
89
45
90
-**Direct Messages:**
46
91
47
-
- Responds to any DM sent to the Codegen app for Slack
92
+
- Responds to any DM sent to the Codegen integration for Slack
48
93
- Has visibility into previous messages in the conversation (not just threaded replies)
49
94
- This provides a more natural conversation experience as many users don't thread messages in DMs
50
95
51
96
-**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
53
98
- Only has visibility into the local context of the thread/conversation
54
99
- Sending subsequent messages within a thread routes to the same agent
55
100
- 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:
64
109
65
110
**User Permissions and Access Control:**
66
111
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