The setup flow connects your Slack workspace to GitHub, installs the CodeRabbit GitHub App for repository access, and creates a that defines which repositories, connections, and spend controls apply by default. Once the Base Scope is saved, anyone in the workspace can mentionDocumentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
@coderabbit in a channel, or open the CodeRabbit app to start a direct conversation.
Prerequisites
Before you start, make sure you have:- Permission to install or reauthorize apps in the Slack workspace
- A GitHub account that is a member of the organization whose repositories CodeRabbit Agent should access
- Permission to install the CodeRabbit GitHub App if it is not already installed
Setup steps
Sign in with Slack
Go to agent.coderabbit.ai to begin. Authenticate with Slack to establish the workspace identity.
- New workspace: Click Add to Slack to trigger the full app install flow, grant workspace-level Slack permissions, and enter the setup wizard.
- Returning to an existing workspace: Click Sign in with Slack. CodeRabbit identifies the workspace and resumes from whichever setup stage was last completed.
Connect GitHub
Link the Slack workspace to the GitHub account or organization that should back CodeRabbit Agent. You will be redirected to GitHub to authorize access.
Install the CodeRabbit GitHub App
Install the CodeRabbit GitHub App so repository access becomes available to the workspace. CodeRabbit Agent may pause briefly while GitHub access propagates.
Create the Base Scope
Choose the default repositories, connections, and spend baseline that should apply across the workspace. The Base Scope is required before CodeRabbit Agent can be used.
Start using CodeRabbit Agent
Once the Base Scope is saved, open CodeRabbit from Slack’s Apps sidebar or search for “CodeRabbit” in Slack — the Chat tab shows starter prompts to help you begin. You can also mention
@coderabbit in any channel to start a conversation there. You can refine scopes, connections, and sandbox settings at any time.What the Base Scope does
The Base Scope is required to complete setup. It sets the default repositories, connections, and spend controls that apply across the workspace. Scopes can override or extend these defaults for specific channels or teams. See Scopes for the full model.Resuming setup
The setup flow is resumable. If GitHub access is still propagating or a required step is incomplete, the Agent returns the workspace to the next missing requirement instead of forcing admins to start over.Connecting GitHub and installing the CodeRabbit GitHub App are separate steps. A successful GitHub sign-in alone does not guarantee repository access.
Fixing an incorrect GitHub connection
If the wrong GitHub account or organization was connected, a global admin can reset the workspace GitHub connection from account settings and restart setup with the correct identity.What’s next
Working in Slack
Learn how mentions and direct conversations work day to day.
Connections
Add external systems like Jira, Notion, or Sentry for CodeRabbit Agent to use.
Scopes
Add scopes to tailor repositories, connections, and spend limits for specific channels or teams.