Prerequisites
Before connecting to your self-hosted instance, ensure:CLI version
CodeRabbit CLI version 0.3.5 or higher installed
Clean setup
Log out of the extension if you were previously connected to the managed
service (
coderabbit auth logout)Connect your self-hosted instance
1
Install CLI
Download and install the CodeRabbit CLI to start reviewing code locally.
2
Restart your shell
After installation, restart your shell or reload your shell configuration.
3
Authenticate
Link your CodeRabbit account to enable personalized reviews based on your teamâs patterns.This is going to ask you for more details in the further steps.
4
Select your Git provider
Select the Git provider from the list using arrow keys to connect the CLI with.
5
Enter your self-hosted CodeRabbit url
Provide your self-hosted CodeRabbitâs url: âyour-self-hosted-coderabbit-url/â. Verify the url validation.
6
Complete sign-in in the browser
A browser window opens automatically. Sign in via your Git provider and the authentication completes in the browser.