This repository was archived by the owner on Aug 16, 2025. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork69
New Document on Self Hosted Gitlab Integration#4
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
8 commits Select commitHold shift + click to select a range
f5c8251 feat: added document under integration on integration with self hoste…
coderabbit-amankcf652b3 Update docs/integrations/self-hosted-gitlab.md
guritfaq0cfae40 Update docs/integrations/self-hosted-gitlab.md
guritfaqd9444be Update docs/integrations/self-hosted-gitlab.md
guritfaq80d4f1f Update docs/integrations/self-hosted-gitlab.md
guritfaq6e9fe64 Update docs/integrations/self-hosted-gitlab.md
guritfaqfeb40b2 Update docs/integrations/self-hosted-gitlab.md
guritfaqf8f5ee3 Update docs/integrations/self-hosted-gitlab.md
guritfaqFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Binary file addeddocs/integrations/images/admin-access-token.png
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file addeddocs/integrations/images/enter-url.png
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file addeddocs/integrations/images/login-page.png
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file addeddocs/integrations/images/self-hosted-page.png
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletionsdocs/integrations/self-hosted-gitlab.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| --- | ||
| title: CodeRabbit in Self Managed Gitlab | ||
| description: Integrate CodeRabbit with your Self Managed Gitlab instance. | ||
| sidebar_label: Self Managed Gitlab | ||
| image: "/preview_meta.jpg" | ||
| --- | ||
| <head> | ||
| <meta charSet="utf-8" /> | ||
| <meta name="title" content="CodeRabbit in Self Managed Gitlab" /> | ||
| <meta name="description" content="Integrate CodeRabbit in your own hosted Gitlab instance." /> | ||
| <meta property="og:type" content="website" /> | ||
| <meta property="og:url" content="https://coderabbit.ai/" /> | ||
| <meta property="og:title" content="CodeRabbit in Self Managed Gitlab" /> | ||
| <meta property="og:description" content="CodeRabbit: AI-powered Code Reviews" /> | ||
| <meta property="og:image" content="/preview_meta.jpg" /> | ||
| <meta name="twitter:image" content="https://coderabbit.ai/preview_meta.jpg" /> | ||
| <meta name="twitter:card" content="summary_large_image" /> | ||
| <meta name="twitter:title" content="CodeRabbit in Self Managed Gitlab" /> | ||
| <meta name="twitter:description" content="CodeRabbit: AI-powered Code Reviews" /> | ||
| </head> | ||
| This page guides you through the process of integrating your Self-Managed GitLab with CodeRabbit. | ||
| To initiate the integration, we require specific information. This is essential for the initial setup of our CodeRabbit user and the creation of the CodeRabbit application within your domain. Once this setup is complete, you can log in directly using the OAuth2 flow. | ||
| ### **Step 1: Getting Started** | ||
| **Visit CodeRabbit:** Land on to our login page https://coderabbit.ai/login and select Self-Hosted Gitlab | ||
|  | ||
| ### Step 2: Enter your Self Managed Gitlab URL | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. In the video you sent, there was additional ** here, just confirm those aren't visible on the page | ||
| On this page, you need to enter the URL of your self managed GitLab instance and click submit. Once, you submit, we will check our database for a record of your organization. | ||
|  | ||
| ### **Step 3: Enter Admin Personal Access Token (First time only)** | ||
| If this is the first time you are signing up with your instance, then we will need a admin access token for setting up the CodeRabbit bot. | ||
| #### **Generating Admin Personal Access token** | ||
| GitLab offers an option to generate a personal access token for adding a new user and setting up the application in the self-managed instance. To generate the token, please follow the process outlined below: | ||
| 1. Login to your self-hosted instance. Ensure sure you have admin rights. | ||
| 2. On the left sidebar, select your avatar. | ||
| 3. Select Edit profile. | ||
| 4. On the left sidebar, select Access Tokens. | ||
| 5. Select Add new token. | ||
| 6. Enter a name and expiry date for the token. We need this for the initial setup, so the minimum expiry time is sufficient. | ||
| 7. If you do not enter an expiry date, the expiry date is automatically set to 365 days later than the current date. | ||
| 8. Make sure, you select the scope: `api` | ||
| 9. Select Create personal access token. | ||
| 10. Please note down this token as this will be visible one time only | ||
|  | ||
| ### **Step 3: Paste the token and click submit** | ||
| - Submit the access token. | ||
| - We will handle the setup process for you. | ||
| - On subsequent visits, your setup will be automatically detected, allowing for direct login. | ||
|  | ||
| - Furthermore, please refer to our Get Started Guide to make the most of CodeRabbit. [here](../get-started/add-repo.md) | ||
65 changes: 33 additions & 32 deletionssidebars.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.