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 the signin with an Access Token
Follow the browser redirect to sign in and copy the access token from your git provider back to your CLI.