Configure Discord scopes
Open Discord → Scopes in the CodeRabbit web app to manage the Discord Base Scope and named Discord scopes. The Base Scope controls default agent access for the connected Discord server. Named scopes can limit or refine that access for the Discord contexts offered by the current product and server configuration. The interface shows the targeting options available to your organization. To configure Discord scopes:- Confirm that CodeRabbit Agent for Discord is installed and connected to the intended Discord server.
- Open Discord → Scopes.
- Create or edit the Base Scope and select the default repositories and connections.
- Create a named scope for a Discord context that needs different access.
- Select from the targeting options offered for the connected server.
- Choose the repositories and connections that CodeRabbit may use in that scope.
- Save the scope and test the agent in a matching Discord context.
Who can use and manage scopes
Workspace administrators with workspace-management access can create and edit scopes, including 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 Discord 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 Discord scope affects only that scope. It does not disconnect or delete the saved connection, and it does not change Review scopes or Slack 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.