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
+33-21Lines changed: 33 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,26 @@ sidebarTitle: "Slack"
4
4
icon: "slack"
5
5
---
6
6
7
+
Connect Codegen to your Slack workspace to enable seamless communication between agents and your team.
8
+
7
9
<imgsrc="/images/slack.png" />
8
10
9
-
Connect Codegen to your Slack workspace to enable seamless communication between agents and your team.
11
+
## Installation
12
+
13
+
Add the Codegen integration for Slack to your workspace to enable agent communication.
14
+
15
+
<Card
16
+
title="Add Codegen to Slack"
17
+
icon="slack"
18
+
href="https://codegen.com/integrations"
19
+
>
20
+
To install the integration, create a Codegen account and visit Integrations > Slack to connect your Slack workspace.
21
+
</Card>
22
+
23
+
<Note>
24
+
Configure channel access carefully to ensure agents communicate in the
25
+
appropriate places.
26
+
</Note>
10
27
11
28
## Capabilities & Functions
12
29
@@ -22,39 +39,34 @@ Codegen functions as a full-fledged software engineer that you can interact with
22
39
23
40
All of these capabilities are accessible through natural language interactions in your Slack workspace, allowing your team to leverage Codegen's assistance without context switching between different platforms.
24
41
25
-
## Installation
42
+
## Configuration Instructions
26
43
27
-
Add the Codegen app for Slack to your workspace to enable agent communication.
44
+
After installing the integration for Slack from the Slack Marketplace, follow these steps to configure it for your team:
28
45
29
-
<Card
30
-
title="Add Codegen to Slack"
31
-
icon="slack"
32
-
href="https://codegen.sh/integrations"
33
-
>
34
-
Install the Codegen app for Slack from the Slack Marketplace and choose the
35
-
channels it can access.
36
-
</Card>
46
+
### Channel Setup
47
+
-**Invite the Codegen bot**: Type `/invite @codegen` in any channel where you want Codegen to participate.
48
+
- (Optional) **Create a dedicated channel**: Some Codegen users find creating a channel like `#codegen` helpful for general agent interactions and to encourage experimentation.
37
49
38
-
<Note>
39
-
Configure channel access carefully to ensure agents communicate in the
40
-
appropriate places.
41
-
</Note>
50
+
### Trigger Configuration
51
+
Codegen agents can be triggered in several ways:
52
+
-**Direct mentions**: Type `@codegen` followed by your request in any channel where the bot is present.
53
+
-**Thread replies**: Tag `@codegen` in threads to continue the conversation.
54
+
-**Direct messages**: Send a DM to the Codegen bot for private conversations.
42
55
43
56
## Message Response Behavior
44
57
45
58
Codegen responds to the following messages in Slack:
46
59
47
60
-**Direct Messages:**
48
-
49
-
- Responds to any DM sent to the Codegen app for Slack
61
+
- Responds to any DM sent to the Codegen integration for Slack
50
62
- Has visibility into previous messages in the conversation (not just threaded replies)
51
63
- This provides a more natural conversation experience as many users don't thread messages in DMs
52
64
53
65
-**Channel Messages:**
54
-
- Responds to any message that @mentions Codegen in channels where the app for Slack is installed
66
+
- Responds to any message that @mentions Codegen in channels where the integration for Slack is installed
55
67
- Only has visibility into the local context of the thread/conversation
56
-
- Sending subsequent messages within a thread routes to the same agent
57
-
- New messages in an active thread will interrupt the agent if it's currently working
68
+
- Sending subsequent messages within a thread routes to the same agent (tag `@codegen` to trigger)
69
+
- New messages to `@codegen`in an active thread will interrupt the agent if it's currently working
58
70
59
71
## Data Privacy and Security
60
72
@@ -66,4 +78,4 @@ Codegen responds to the following messages in Slack:
66
78
67
79
**User Permissions and Access Control:**
68
80
69
-
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.
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.
0 commit comments