Skip to content

Commit 8396521

Browse files
committed
finish slack doc updates
1 parent 087f8bc commit 8396521

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

docs/integrations/slack.mdx

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@ Connect Codegen to your Slack workspace to enable seamless communication between
1010

1111
## Installation
1212

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.
1414

1515
<Card
1616
title="Add Codegen to Slack"
1717
icon="slack"
1818
href="https://codegen.com/integrations"
1919
>
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.
2121
</Card>
2222

2323
<Note>
2424
Configure channel access carefully to ensure agents communicate in the
2525
appropriate places.
2626
</Note>
2727

28+
After installation, proceed to the Configuration Instructions below to finish setup and begin using Codegen in your Slack workspace.
29+
2830
## Capabilities & Functions
2931

3032
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
4143

4244
## Configuration Instructions
4345

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.
4547

4648
### Channel Setup
4749
- **Invite the Codegen bot**: Type `/invite @codegen` in any channel where you want Codegen to participate.
4850
- (Optional) **Create a dedicated channel**: Some Codegen users find creating a channel like `#codegen` helpful for general agent interactions and to encourage experimentation.
4951

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:
5254
- **Direct mentions**: Type `@codegen` followed by your request in any channel where the bot is present.
5355
- **Thread replies**: Tag `@codegen` in threads to continue the conversation.
5456
- **Direct messages**: Send a DM to the Codegen bot for private conversations.
5557

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
5764

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:
5966

6067
- **Direct Messages:**
6168
- Responds to any DM sent to the Codegen integration for Slack
@@ -78,4 +85,10 @@ Codegen responds to the following messages in Slack:
7885

7986
**User Permissions and Access Control:**
8087

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

Comments
 (0)