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

# Self-hosted CodeRabbit

> Run CodeRabbit inside your own infrastructure for full control over code, data, and network access. Available for Enterprise customers on GitHub, GitLab, Azure DevOps, and Bitbucket Data Center.

export const EnterprisePlanBadge = ({tip = "This feature is available exclusively as part of the Enterprise plan. Please refer to our pricing page for more information about our plans and features.", title = "Enterprise Plan", cta = "Read more", href = "https://coderabbit.ai/pricing", disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="building-2" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

export const AllPlatformsBadge = ({tip = "This feature is available on all supported platforms: GitHub, GitLab, Azure DevOps, and Bitbucket.", title = "All Platforms", cta, href, disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="globe" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

<AllPlatformsBadge /> | <EnterprisePlanBadge />

Self-hosted CodeRabbit runs the CodeRabbit review agent inside your own infrastructure instead of CodeRabbit's cloud. Your source code, pull request data, and review traffic stay within a network boundary that you control, which makes self-hosting a good fit for teams with strict data-residency, compliance, or air-gapped requirements.

<Info>
  The self-hosted option is available for CodeRabbit Enterprise customers with 500 or more user seats. [Contact CodeRabbit Sales](https://www.coderabbit.ai/contact-us/sales) to learn more about CodeRabbit Enterprise.
</Info>

## Who it's for

Self-hosting is intended for organizations that cannot send code or metadata to an external service, or that must keep CodeRabbit inside a private network. Common reasons teams choose self-hosting include:

* **Data residency and privacy** — code and pull request content never leave your environment.
* **Compliance** — meet internal security policies and regulatory requirements that prohibit third-party cloud processing.
* **Network isolation** — deploy alongside Git platforms that have no public endpoint or inbound access.
* **Bring your own model** — connect CodeRabbit to your own large language model provider or account.

## How it works

CodeRabbit ships as a container image that you run in your own environment — on a server, in a container platform, or as a serverless workload. At a high level:

* The CodeRabbit agent and its Git-platform integration run inside your infrastructure, connecting to your Git platform using a dedicated service account or app.
* Your Git platform sends pull request events to the agent, and the agent posts reviews and comments back.
* The agent sends review prompts, source code, and related data to your configured large language model provider for inference.
* Pull request orchestration and review results stay within your environment; code and prompt data leave it only to reach the LLM provider.

Detailed configuration and deployment instructions are provided to Enterprise customers during onboarding.

## Supported platforms

Self-hosted CodeRabbit supports the major Git platforms used in enterprise environments:

* GitHub Enterprise Server
* GitLab self-managed
* Azure DevOps
* Bitbucket Data Center

## Private-network connectivity

If your Git platform cannot accept inbound network access from CodeRabbit, the CodeRabbit Reverse Tunnel provides a private-network connectivity option that keeps all connections outbound from your network.

## Get started

Self-hosted deployment is set up together with the CodeRabbit team. [Contact CodeRabbit Sales](https://www.coderabbit.ai/contact-us/sales) to get started, or reach out to [CodeRabbit Support](/support) if you are an existing customer with deployment questions.

## What's next

<CardGroup cols={1}>
  <Card title="CodeRabbit Reverse Tunnel" href="/self-hosted/coderabbit-reverse-tunnel" icon="network" horizontal>
    Connect CodeRabbit to a private-network Git platform without opening inbound network access.
  </Card>

  <Card title="Platform overview" href="/platforms/overview" icon="git-branch" horizontal>
    Review all supported Git platforms and choose the right integration path for your environment.
  </Card>

  <Card title="Contact sales" href="https://www.coderabbit.ai/contact-us/sales" icon="mail" horizontal>
    Talk to the CodeRabbit team about Enterprise plans and self-hosted deployment.
  </Card>
</CardGroup>
