Skip to main content
Configure the CodeRabbit VS Code extension to work with your organization’s self-hosted CodeRabbit instance. This setup gives you all the benefits of AI-powered code reviews while maintaining full control over your code and data.
Using CodeRabbit’s managed service instead? See Install the VS Code extension for the standard setup process.

Prerequisites

Before connecting to your self-hosted instance, ensure:

Extension version

CodeRabbit extension version 0.12.1 or higher installed in your editor

Clean setup

Log out of the extension if you were previously connected to the managed service

Connect your self-hosted instance

1

Access self-hosted option

Click on the ā€œSelf hosting CodeRabbit?ā€ button, located below the ā€œUse CodeRabbit for freeā€ button.
2

Configure instance URL

Enter your self-hosted instance URL when prompted.
Make sure the instance URL is reachable within your network and websocket connections are allowed.
3

Select git provider and authenticate

Select your git provider: GitLab, Self-Hosted GitLab, GitHub, or GitHub Enterprise. If using GitHub or GitHub Enterprise, enter your GitHub Personal Access Token when prompted.
You should now be connected to your self-hosted instance and ready to use the VS Code extension.

Next steps

Use the VS Code extension

Learn how to trigger reviews, apply fixes, and integrate with your development workflow.

Configure the VS Code extension

Customize extension settings, review preferences, and integration options.

Uninstall the VS Code extension

Remove the extension if you no longer need it or want to switch setups.