Skip to main content
The setup flow connects your Slack workspace to a Git provider, makes approved repositories available to CodeRabbit Agent, 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 mention @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
  • Access to the Git organization, workspace, or account whose repositories CodeRabbit Agent should use
  • Permission to install or configure CodeRabbit for those repositories

Setup steps

1

Sign in with Slack

Go to app.coderabbit.ai/slack 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.
2

Choose your Git platform

Choose the Git platform that should back CodeRabbit Agent for the Slack workspace: GitHub, GitLab (cloud or self-hosted), Bitbucket Cloud, or Azure DevOps.
3

Complete provider setup

Follow the setup prompts to authenticate with your Git platform, select the organization, workspace, or account, and make the approved repositories available to Agent.
4

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

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. In the web app, Slack-specific administration now lives under Slack settings. 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 provider 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.

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.
Resetting the workspace GitHub connection is destructive. It removes existing scopes and workspace usage history for that Slack workspace. Treat it as a recovery path, not a normal reconfiguration step.

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.