Prerequisites
Before using the PotpieAI integration for Slack, you need:- A PotpieAI account with an API token
- At least one project that has been parsed and is in ready status
- The PotpieAI app for Slack installed in your workspace
Installation
- Install the PotpieAI app for Slack
- Grant permissions when prompted
- PotpieAI appears in the workspace apps list
Authentication
Authenticate with an API token before sending the first message.- Type
/authenticatein any channel or direct message - A modal opens asking for an API token
- Enter a PotpieAI API token. Follow the API access documentation to generate one.
- Click Submit
Using PotpieAI in Slack
Starting a Conversation
- Type
/potpiein any channel or direct message - A modal opens with the following options:
- Repository selection from parsed repositories
- Agent selection
- Query input
- Fill in all fields and click Submit
Continuing the Conversation
- Reply to the thread by @mentioning PotpieAI (e.g.,
@PotpieAI tell me more about this function) - The agent processes the follow-up question within the ongoing conversation context
Command Reference
| Command | Description |
|---|---|
/authenticate | Set up a PotpieAI API token |
/potpie | Start a new conversation with an AI agent |
@PotpieAI [question] | Continue a conversation in a thread |

