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

# Set up CodeRabbit Agent for Discord

> Connect CodeRabbit to Discord for an eligible open-source community and manage the integration from the dashboard.

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 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 tip="CodeRabbit Agent for Discord is available for eligible open-source communities with public GitHub repositories." /> | <OpenBetaBadge title="Limited Availability" tip="CodeRabbit Agent for Discord is available to selected open-source communities during launch." cta="Get started" href="https://www.coderabbit.ai/discord" />

Use the CodeRabbit dashboard to set up and manage CodeRabbit Agent for Discord. The [CodeRabbit for Discord landing page](https://www.coderabbit.ai/discord) includes a deep link into the dashboard's Discord settings page.

## Prerequisites

Before you start, make sure the community has:

* An open-source GitHub repository with at least 1,000 stars
* Permission to add apps or bots to the Discord server
* A public Discord channel where CodeRabbit should be used
* A GitHub account with permission to create branches and pull requests in the target repository

## Setup steps

<Steps>
  <Step title="Open the Discord setup page">
    Go to the [CodeRabbit for Discord landing page](https://www.coderabbit.ai/discord) and follow the setup link into the CodeRabbit dashboard.
  </Step>

  <Step title="Sign in to CodeRabbit">
    Sign in with the CodeRabbit account that should manage the Discord integration for the community.
  </Step>

  <Step title="Connect Discord">
    From the dashboard's Discord settings page, connect the Discord server and choose the public channel where CodeRabbit should be available.
  </Step>

  <Step title="Connect GitHub">
    Connect the GitHub account that CodeRabbit should use for pull request creation. Pull requests opened from Discord are authored by this personal GitHub account, not by a shared bot account.
  </Step>

  <Step title="Confirm eligibility and usage">
    Confirm that the community's repository meets the launch eligibility requirement and review the usage cap that applies to the user or organization.
  </Step>
</Steps>

## Managing the integration

After setup, return to the dashboard's Discord settings area to manage the connected server, public channel access, GitHub connection, scopes, connections, automations, knowledge, sandboxes, activity, and usage state.

<Warning>
  Keep CodeRabbit in public Discord channels during launch.
</Warning>

## What's next

<CardGroup cols={1}>
  <Card title="Usage and limits" href="/discord-agent/usage-and-limits" icon="message-circle-warning" horizontal>
    Review supported Discord surfaces, pull request authorship, and launch usage caps.
  </Card>

  <Card title="CodeRabbit Agent for Discord overview" href="/discord-agent" icon="book-open" horizontal>
    Share the high-level product behavior and eligibility requirements with maintainers.
  </Card>

  <Card title="Get support" href="/support" icon="life-buoy" horizontal>
    Contact CodeRabbit if an eligible community cannot complete setup.
  </Card>
</CardGroup>
