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-5Lines changed: 33 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Slack Integration"
2
+
title: "Integration for Slack"
3
3
sidebarTitle: "Slack"
4
4
icon: "slack"
5
5
---
@@ -8,7 +8,7 @@ Connect Codegen to your Slack workspace to enable seamless communication between
8
8
9
9
## Capabilities
10
10
11
-
The Slack integration allows agents to interact within your designated channels:
11
+
The integration for Slack allows agents to interact within your designated channels:
12
12
13
13
-**Send Messages:** Post updates, ask questions, report results, and notify team members.
14
14
-**Read Messages:** (Optional) Agents can be configured to read messages in specific channels to gather context or respond to requests (requires careful permission setup).
@@ -23,17 +23,45 @@ Agents use Slack primarily for communication and notifications:
23
23
-**Sharing Results:** Posting links to created PRs, summaries of changes, or errors encountered.
24
24
-**Notifications:** Alerting the team about build failures, successful deployments, or critical issues identified.
25
25
26
+
## Message Response Behavior
27
+
28
+
Codegen responds to the following messages in Slack:
29
+
30
+
-**Direct Messages:**
31
+
32
+
- Responds to any DM sent to the Codegen app for Slack
33
+
- Has visibility into previous messages in the conversation (not just threaded replies)
34
+
- This provides a more natural conversation experience as many users don't thread messages in DMs
35
+
36
+
-**Channel Messages:**
37
+
- Responds to any message that @mentions Codegen in channels where the app for Slack is installed
38
+
- Only has visibility into the local context of the thread/conversation
39
+
- Sending subsequent messages within a thread routes to the same agent
40
+
- New messages in an active thread will interrupt the agent if it's currently working
41
+
42
+
## Data Privacy and Security
43
+
44
+
**Message Content Handling:**
45
+
46
+
-**Third-Party LLM APIs:** To provide its core functionality, Codegen shares message content with third-party Large Language Model (LLM) APIs, specifically OpenAI and Anthropic.
47
+
-**Data Retention:** Outside of the LLM API interactions, message content is retained by Codegen solely for the purpose of displaying it within the Codegen user interface.
48
+
-**Metadata from Private Channels:** When messages from private Slack channels are processed, Codegen does not expose private metadata, such as the original author's name or username, in the Codegen web app.
49
+
50
+
**User Permissions and Access Control:**
51
+
52
+
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.
53
+
26
54
## Installation
27
55
28
-
Add the Codegen Slack App to your workspace to enable agent communication.
56
+
Add the Codegen app for Slack to your workspace to enable agent communication.
29
57
30
58
<Card
31
59
title="Add Codegen to Slack"
32
60
icon="slack"
33
61
href="https://codegen.sh/integrations"
34
62
>
35
-
Install the Codegen app from the Slack Marketplace and choose the channels it
36
-
can access.
63
+
Install the Codegen app for Slack from the Slack Marketplace and choose the
0 commit comments