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
Copy file name to clipboardExpand all lines: docs/integrations/slack.mdx
+21-8Lines changed: 21 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,21 +10,23 @@ Connect Codegen to your Slack workspace to enable seamless communication between
10
10
11
11
## Installation
12
12
13
-
Add the Codegen integration for Slack to your workspace to enable agent communication.
13
+
To use this integration, follow the installation and configuration steps below.
14
14
15
15
<Card
16
16
title="Add Codegen to Slack"
17
17
icon="slack"
18
18
href="https://codegen.com/integrations"
19
19
>
20
-
To install the integration, create a Codegen account and visit Integrations > Slack to connect your Slack workspace.
20
+
Create a Codegen account and visit Integrations > Slack to connect your Slack workspace.
21
21
</Card>
22
22
23
23
<Note>
24
24
Configure channel access carefully to ensure agents communicate in the
25
25
appropriate places.
26
26
</Note>
27
27
28
+
After installation, proceed to the Configuration Instructions below to finish setup and begin using Codegen in your Slack workspace.
29
+
28
30
## Capabilities & Functions
29
31
30
32
Codegen functions as a full-fledged software engineer that you can interact with directly through Slack. When responding to messages in Slack, Codegen can:
@@ -41,21 +43,26 @@ All of these capabilities are accessible through natural language interactions i
41
43
42
44
## Configuration Instructions
43
45
44
-
After installing the integration for Slack from the Slack Marketplace, follow these steps to configure it for your team:
46
+
After installing the integration from the Slack Marketplace, configure the bot by inviting it to relevant channels and setting up triggers so Codegen knows when and how to respond.
45
47
46
48
### Channel Setup
47
49
-**Invite the Codegen bot**: Type `/invite @codegen` in any channel where you want Codegen to participate.
48
50
- (Optional) **Create a dedicated channel**: Some Codegen users find creating a channel like `#codegen` helpful for general agent interactions and to encourage experimentation.
49
51
50
-
### Trigger Configuration
51
-
Codegen agents can be triggered in several ways:
52
+
##What Triggers Slack Messages from Codegen
53
+
These triggers kick off new Codegen requests:
52
54
-**Direct mentions**: Type `@codegen` followed by your request in any channel where the bot is present.
53
55
-**Thread replies**: Tag `@codegen` in threads to continue the conversation.
54
56
-**Direct messages**: Send a DM to the Codegen bot for private conversations.
55
57
56
-
## Message Response Behavior
58
+
In addition, Codegen will send messages to Slack when:
59
+
- It starts work on a request you made
60
+
- It receives an additional message while working on a request
61
+
- It completes a task, code change, or research request
62
+
63
+
## How Codegen Responds to Slack Messages
57
64
58
-
Codegen responds to the following messages in Slack:
65
+
Codegen only responds when tagged or messaged directly. Use these approaches to ensure your request reaches it:
59
66
60
67
-**Direct Messages:**
61
68
- Responds to any DM sent to the Codegen integration for Slack
@@ -78,4 +85,10 @@ Codegen responds to the following messages in Slack:
78
85
79
86
**User Permissions and Access Control:**
80
87
81
-
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.
88
+
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.
89
+
90
+
## Tips for Effective Use
91
+
92
+
- Use direct language when asking Codegen for help (e.g., "Add pagination to the results view").
93
+
- Mention Codegen early in the message so it is triggered promptly.
94
+
- Use threads for ongoing conversations with Codegen so it has access to previous context.
0 commit comments