> ## Documentation 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 Agent for Discord

> Use CodeRabbit from public Discord channels in eligible communities and organizations.

export const OpenBetaBadge = ({tip = "This feature is currently in open beta. We are actively improving it based on your feedback. If you encounter any issues or have suggestions, please share them on our Discord community or visit the support page.", title = "Open Beta", cta = "Contact support", href = "/support", disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="badge-alert" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

export const GitLabBadge = ({tip = "This feature is available on GitLab.", title = "GitLab", cta, href, disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="gitlab" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

export const GitHubBadge = ({tip = "This feature is available on GitHub and GitHub Enterprise.", title = "GitHub", cta, href, disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="github" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

<GitHubBadge title="GitHub Cloud" tip="CodeRabbit Agent for Discord is available for eligible open-source communities with public GitHub repositories." /> <GitLabBadge title="GitLab Self-Hosted" tip="CodeRabbit Agent for Discord is available for enabled GitLab Self-Hosted organizations." /> | <OpenBetaBadge title="Limited Availability" tip="CodeRabbit Agent for Discord is available to selected communities and organizations during launch." cta="Get started" href="https://www.coderabbit.ai/discord" />

CodeRabbit Agent for Discord brings CodeRabbit's coding assistant into public Discord channels. Community members can ask CodeRabbit to investigate repository context, answer implementation questions, prepare code changes, and open pull requests from the conversation where maintainers are already coordinating work.

<Warning>
  CodeRabbit Agent for Discord is limited to public channel usage during launch.
</Warning>

## Availability

During launch, access is available to selected open-source communities with a GitHub repository that has at least 1,000 stars. Enabled GitLab Self-Hosted organizations can also use CodeRabbit Agent for Discord.

During this launch period, CodeRabbit Agent for Discord is unpaid, but usage is capped per user or organization. If your community reaches a cap, CodeRabbit may pause new Discord-initiated work until more usage is available.

## What you can do

* Ask questions about repository behavior, recent changes, or implementation options
* Turn a Discord discussion into an implementation plan
* Ask CodeRabbit to prepare a pull request after the community agrees on the direction
* Keep technical discussion in public community channels where maintainers and contributors can inspect the context

## Important limitations

| Area                    | Launch behavior                                                                                       |
| ----------------------- | ----------------------------------------------------------------------------------------------------- |
| Discord surfaces        | Public channels only                                                                                  |
| Direct messages         | Not supported                                                                                         |
| Private channels        | Not supported                                                                                         |
| Repository eligibility  | Eligible public GitHub Cloud repositories or repositories in enabled GitLab Self-Hosted organizations |
| Pull request authorship | Pull requests use the connected personal GitHub account or configured GitLab Self-Hosted credentials  |
| Pricing during launch   | Unpaid, with capped usage per user or organization                                                    |

## Manage Discord settings

After installation, the Discord settings area in the CodeRabbit dashboard is where authorized users manage the connected server and the surfaces CodeRabbit can use.

| Page                                            | What it does                                                                                                                                                                            |
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Setup                                           | Connect Discord, link a supported Git platform, and complete launch eligibility checks.                                                                                                 |
| [Scopes](/discord-agent/connections-and-scopes) | Configure which repositories, connections, and spend limits apply to public Discord channels.                                                                                           |
| [Connections](/connections)                     | Add, edit, reconnect, and delete external tool connections, then control where Discord can use them with scopes.                                                                        |
| [Automations](/discord-agent/automations)       | Create and manage scheduled, message-triggered, and webhook-triggered automations for supported Discord destinations.                                                                   |
| Knowledge base                                  | Review and manage durable facts available to CodeRabbit Agent for Discord. Durable facts provide remembered context, while [durable skills](/agent/skills) provide reusable procedures. |
| Sandbox                                         | Manage the shared execution environment available to Discord-backed runs when sandbox access is enabled.                                                                                |
| Activity                                        | Inspect recent CodeRabbit Agent for Discord activity and run outcomes.                                                                                                                  |

## How pull request authorship works

Pull requests opened from Discord use the connected user's personal GitHub account or the credentials configured for the GitLab Self-Hosted organization and assigned scope.

Before asking CodeRabbit to open a pull request, make sure the relevant account or credential can create branches and pull requests in the target repository.

## What's next

<CardGroup cols={1}>
  <Card title="Set up CodeRabbit Agent for Discord" href="/discord-agent/setup" icon="settings" horizontal>
    Connect an eligible community and manage Discord settings from the CodeRabbit dashboard.
  </Card>

  <Card title="Usage and limits" href="/discord-agent/usage-and-limits" icon="message-circle-warning" horizontal>
    Learn where CodeRabbit can respond in Discord and what launch limits apply.
  </Card>

  <Card title="CodeRabbit for Discord landing page" href="https://www.coderabbit.ai/discord" icon="external-link" horizontal>
    Start from the product page and follow the dashboard deep link to Discord settings.
  </Card>
</CardGroup>
