Configure Slack scopes
Open Slack → Scopes in the CodeRabbit web app to manage the Slack Base Scope and named Slack scopes. The Base Scope controls the repositories and connections available to the agent by default. Named scopes refine that access for the Slack contexts offered by your workspace configuration. Depending on the options shown, an administrator may be able to target channels, conversations, users, user groups, repositories, or connections. To configure Slack scopes:- Confirm that CodeRabbit Agent for Slack is installed and connected to the intended Slack workspace.
- Open Slack → Scopes.
- Create or edit the Base Scope and select the default repositories and connections.
- Create a named scope for a Slack context that needs different access.
- Select from the targeting options offered for your workspace.
- Choose the repositories and connections that CodeRabbit may use in that scope.
- Save the scope and test the agent in a matching Slack conversation.
GitLab repository access
For providers with per-repository selection, a named scope inherits the Base Scope repositories and adds any extra repositories selected in that scope. For GitLab, the selected token defines the effective repository set instead. A named Slack scope starts with the Base Scope GitLab token and the same GitLab access. Selecting a different GitLab token for the named scope replaces the inherited GitLab access; the two repository sets are not combined. Creating or updating a GitLab scope requires complete discovery of the catalog visible to the selected token. Saving fails if CodeRabbit cannot resolve exactly one usable GitLab credential or cannot discover the complete token-visible catalog. Verify that one valid GitLab token is selected and that CodeRabbit can retrieve the complete catalog, then save again. Repository access warnings about a credential and the CodeRabbit installation seeing different repository sets apply only to providers with per-repository selection: GitHub, Bitbucket Cloud, and Azure DevOps. They do not apply to GitLab, where the token defines the effective repository set.Who can use and manage scopes
Workspace administrators with workspace-management access can create and edit scopes, including the Base Scope. Slack Scope admins can manage their assigned named scopes, but they cannot edit the Base Scope. Billing-only administrators cannot manage scopes. Users who cannot manage scopes may still use CodeRabbit Agent in the scopes assigned to them. Their access is limited by the repositories, connections, and other context rules that the matching scope allows.Connection behavior
The Slack Base Scope controls the default connections available to the agent. A named scope can inherit the Base Scope’s selection, prevent a connector from being used, or select a different saved connection when those choices are offered. Disabling a connection in a Slack scope affects only that scope. It does not disconnect or delete the saved connection, and it does not change Review scopes or Discord scopes.Spend controls
CodeRabbit Agent usage is measured in agent minutes. Each scope can set two independent spend limits for its billing period:
A named scope can override the user spend limit, the automation spend limit, or both independently.
Free trials use the included Agent Minutes grant instead of scope spend limits, so trial access pauses only when the included minutes are exhausted or the trial expires.
What’s next
Scopes overview
Understand Base Scope behavior, named-scope overrides, and connection resolution examples.
Connections
Add, name, reconnect, and inspect the external services available to your organization.
Admin roles and security
Review the broader administration and security model for CodeRabbit Agent.