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
Update Slack integration docs for marketplace compliance
- Add privacy policy link as required by Slack reviewers
- Add comprehensive AI disclaimer explaining AI components and usage
- Add pricing information section with link to pricing page
- Enhance permissions section with detailed scope explanations
- Clarify mpim:read, chat:write.customize, and users:read.email usage
- Address private channel name anonymization in privacy section
Addresses Slack marketplace feedback items #2, #4, #5, #7, and #8
Copy file name to clipboardExpand all lines: docs/integrations/slack.mdx
+51-7Lines changed: 51 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -80,31 +80,75 @@ Codegen only responds when tagged or messaged directly. Use these approaches to
80
80
- Sending subsequent messages within a thread routes to the same agent (tag `@codegen` to trigger)
81
81
- New messages to `@codegen` in an active thread will interrupt the agent if it's currently working
82
82
83
-
## Permissions
83
+
## Permissions and Scopes
84
84
85
85
The Codegen Slack integration requires the following permissions to function effectively:
86
86
87
+
### Core Messaging Permissions
87
88
-**View messages that mention @codegen** - To respond to direct mentions and requests
88
89
-**Read message history in public and private channels** - To understand context and conversation flow
89
-
-**Send messages and customize appearance** - To communicate and provide updates
90
-
-**View and react with emojis** - To acknowledge messages and provide feedback
91
-
-**Access shared files and attachments** - To review and work with shared content
92
-
-**Read direct messages and group chats** - To enable private conversations with the agent
93
-
-**View workspace members and email addresses** - To understand team structure and routing
90
+
-**Read direct messages and group chats** (`mpim:read`)** - To enable private conversations with the agent in group DMs and multi-person direct messages
91
+
-**Send messages** - To communicate responses and provide updates
92
+
93
+
### Enhanced Communication Features
94
+
-**Customize message appearance** (`chat:write.customize`) - Allows Codegen to post messages with custom usernames and avatars when representing different contexts or providing specialized responses (e.g., when acting as a specific type of assistant or when providing updates from different integrated services)
95
+
-**View and react with emojis** - To acknowledge messages and provide feedback through reactions
96
+
97
+
### User and Workspace Access
98
+
-**View workspace members and email addresses** (`users:read.email`) - Used to map Slack user accounts to Codegen accounts for proper authentication and permission management. This ensures that when a user interacts with Codegen via Slack, their actions are properly attributed to their Codegen account and repository permissions
99
+
-**Access shared files and attachments** - To review and work with shared content like code snippets, images, and documents
94
100
-**Access basic channel information** - To operate appropriately within different channel contexts
95
101
102
+
### Why These Permissions Are Necessary
103
+
104
+
-**Email mapping** enables secure account linking between Slack and Codegen, ensuring proper access control
105
+
-**Custom appearance** allows for clearer communication when Codegen is providing updates from different integrated services
106
+
-**Group DM access** ensures Codegen can participate in team discussions and collaborative planning sessions
107
+
96
108
## Data Privacy and Security
97
109
98
110
**Message Content Handling:**
99
111
100
112
-**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.
101
113
-**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.
102
-
-**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.
114
+
-**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. Private channel names are anonymized and displayed as "Private channel" to non-members.
103
115
104
116
**User Permissions and Access Control:**
105
117
106
118
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.
107
119
120
+
**Privacy Policy:**
121
+
122
+
For complete details on how we collect, use, and protect your data, please review our [Privacy Policy](https://www.codegen.com/privacy-policy).
123
+
124
+
## AI Components and Usage
125
+
126
+
**AI-Powered Functionality:**
127
+
128
+
Codegen uses artificial intelligence to provide intelligent code assistance, automated development tasks, and natural language interactions. Our AI capabilities include:
129
+
130
+
-**Code Generation and Analysis:** AI models analyze your codebase and generate appropriate code changes, bug fixes, and improvements
131
+
-**Natural Language Processing:** AI interprets your requests in Slack and converts them into actionable development tasks
132
+
-**Context Understanding:** AI maintains conversation context to provide relevant and coherent responses across interactions
133
+
134
+
**AI Data Processing:**
135
+
136
+
-**Message Analysis:** Your Slack messages are processed by AI models to understand intent and generate appropriate responses
137
+
-**Code Context:** When working with repositories, AI models analyze relevant code to provide accurate assistance
138
+
-**Learning and Improvement:** AI interactions help improve response quality, but no personal data is used for model training without explicit consent
139
+
140
+
**AI Limitations:**
141
+
142
+
- AI-generated code should be reviewed before deployment
143
+
- Complex tasks may require human oversight and validation
144
+
- AI responses are based on training data and may not always reflect the most current information
145
+
146
+
## Pricing and Plans
147
+
148
+
Codegen offers flexible pricing plans to accommodate teams of all sizes. The Slack integration is available across all plan tiers, with usage limits and features varying by plan.
149
+
150
+
For detailed pricing information and to choose the plan that best fits your team's needs, visit our [Pricing Page](https://www.codegen.com/pricing).
151
+
108
152
## Tips for Effective Use
109
153
110
154
- Use direct language when asking Codegen for help (e.g., "Add pagination to the results view").
0 commit comments