Sign in with your browser
1
Start sign-in
Select the CodeRabbit icon in the activity bar to open the CodeRabbit sidebar, or select Login in the âLog in to CodeRabbit to get started!â notification.
2
Open the browser
Select Sign in with browser. Your editor may ask whether to open an external website.
3
Sign in to CodeRabbit
In the browser, sign in with your Git provider or SSO. If youâre new to CodeRabbit, the browser takes you through account setup first.
4
Choose an organization
If you can access more than one organization, choose one under âChoose a CodeRabbit organizationâ. CodeRabbit recommends one based on your repositoryâs remote. If your SSO workspace has more than one Git provider, you pick the provider first.
5
Return to the editor
The success page redirects you to the editor. Your editor may ask whether to allow the link to open.
6
Confirm
âAuthenticated successfully!â appears, and the CodeRabbit sidebar shows your account.
If sign-in never returns to the editor
While the extension waits for the browser, the sidebar shows âLogging inâ with these options:- âDidnât get redirected? Click here to open the login pageâ opens the login page again.
- Paste code from browser signs you in without the redirect. On the browserâs success page, select Copy next to the code field. In the editor, select Paste code from browser and paste the code when asked to âEnter your authentication token from the browserâ.
- The X button cancels the sign-in. Select Sign in with browser to start over.
Choose the organization for reviews
Each review runs for one CodeRabbit organization, which decides the plan, settings, and seat that apply. If you can access only one organization, reviews use it, and there is nothing to choose. Before each review, the extension checks the repositoryâsorigin remote, unless you chose an organization yourself for this repository:
- When the remote belongs to exactly one active organization that you can access, the extension selects that organization, even if you picked another one in the browser at sign-in. With no match, or more than one, the current organization stays selected.
- Matching works for GitHub, GitLab, and Bitbucket Cloud remotes. A self-managed GitLab remote matches only when its domain matches the organizationâs GitLab instance. Azure DevOps remotes arenât matched.
Use an EU-hosted account
That usually applies only to EU-based enterprise customers. If your organization is hosted in the EU CodeRabbit datacenter, which means you sign in atapp.eu.coderabbit.ai, set coderabbit.accountRegion to eu in the settings before you sign in. If youâre already signed in, sign out and sign in again.
If you sign in with the wrong region, the extension changes the setting for you, signs you out, and shows âThis organization is hosted in the EU region. CodeRabbit switched regions; sign in again to continue.â Sign in again.
Check your plan and usage
This section applies to CodeRabbit Cloud. The Account & usage button at the top of the Review view shows your organization and plan. Select it to open a page with Switch organization and View usage & limits. View usage & limits opens a dialog in the editor titled âReview usageâ with your organizationâs name. It shows the review cap, your reviews, your spend, and the date the period resets. For seats, hourly limits, and what happens when you reach one, see Seats and limits.Stay signed in or sign out
Your session refreshes automatically. If it canât be refreshed, the CodeRabbit sidebar returns to the sign-in screen.- If your Git provider credentials expire or are revoked, a notification offers Sign in again.
- If your workspace requires SSO, âThis workspace requires SSO. Sign out of CodeRabbit, sign in with your workspaceâs SSO, and try again.â appears. Sign out, then sign in with SSO.
Whatâs next
Run a review
Choose the changes and base branch to review, then start your first review.
Self-hosted CodeRabbit
Connect the extension to your organizationâs self-hosted CodeRabbit instance.
Troubleshooting
Fix sign-in that doesnât return to the editor, organization errors, and expired sessions.