Integration overview
The GitHub Enterprise Server integration requires several components working together:OAuth App
GitHub App
Webhook Configuration
Network Access
Setup process
Follow these steps to integrate CodeRabbit with your GitHub Enterprise Server:Initialize CodeRabbit connection

- Start the login process if your instance is already configured
-
Prompt for additional setup details if this is a new integration

Create GitHub OAuth App
- Sign in to your GitHub Enterprise Server as an administrator
- Navigate to Settings ā Developer settings ā OAuth Apps
- Click New OAuth App
- Configure the OAuth App with these exact settings:
| Field | Value |
|---|---|
| Application name | CodeRabbit OAuth |
| Homepage URL | https://coderabbit.ai |
| Application description | OAuth application for signing into CodeRabbit |
| Authorization callback URL | https://app.coderabbit.ai/login |
-
Click Register application

- Click Generate a new client secret under the āClient secretsā section
-
Copy and securely store the following credentials:
- Client ID
- Client secret (visible only once)

Create GitHub App
- Navigate to Settings ā Developer settings ā GitHub Apps
- Click New GitHub App
- Configure the basic app settings:
- Basic Information
- Webhook Configuration
- Repository Permissions
- Organization & Events
| Field | Value |
|---|---|
| GitHub App name | CodeRabbit |
| Description | GitHub App for CodeRabbit |
| Homepage URL | https://coderabbit.ai |
| Callback URL | https://app.coderabbit.ai/login |
| Request user authorization (OAuth) during installation | ā Enabled |
| Where can this GitHub App be installed? | Any account |
- Click Create GitHub App
- Client Secret: Click Generate a new client secret and copy it immediately
- Private Key: Click Generate a private key and download the PEM file
- Note the App ID and Client ID displayed on the page
Required credentials checklist
Required credentials checklist
- ā App ID
- ā Client ID
- ā Client secret
- ā Webhook secret
- ā Private key (PEM file)

Complete CodeRabbit setup
GitHub instance configuration
GitHub instance configuration
- Host URL: Your GitHub Enterprise Server URL
OAuth App credentials
OAuth App credentials
- OAuth Client ID: From Step 2
- OAuth Client Secret: From Step 2
GitHub App credentials
GitHub App credentials
- GitHub App ID: From Step 3
- GitHub App Client ID: From Step 3
- GitHub App Client Secret: From Step 3
- GitHub App Webhook Secret: From Step 3
- GitHub App Private Key: Upload the PEM file from Step 3
Install the GitHub App
- Navigate to your GitHub App in GitHub Enterprise Server
- Click the Install App tab
- Select the organization(s) where you want to install CodeRabbit
- Choose repository access:
- All repositories (recommended for full integration)
- Selected repositories (for limited access)
- Click Install
Configure network access
Troubleshooting
Who should create the OAuth App and GitHub App?
Who should create the OAuth App and GitHub App?
- Managing the CodeRabbit integration
- Handling app installations across organizations
- Troubleshooting permission issues
I see an error when trying to log in to CodeRabbit
I see an error when trying to log in to CodeRabbit
- Verify all OAuth App and GitHub App settings match the required configuration
- Ensure webhook URLs are accessible from your GitHub Enterprise Server
- Confirm all credentials are correctly entered in CodeRabbit
- Clear browser cache and cookies for both CodeRabbit and your GitHub instance
- Try logging in from an incognito/private browser window
- Disable browser extensions that might interfere with authentication
- Verify your GitHub Enterprise Server can reach
app.coderabbit.ai - Check firewall rules and proxy settings
- Ensure CodeRabbit IPs are allowlisted if required
Webhook events are not being received
Webhook events are not being received
-
Check webhook configuration:
- Verify the webhook URL is
https://app.coderabbit.ai/githubHandler - Ensure webhook is active in your GitHub App settings
- Confirm the webhook secret matches what you entered in CodeRabbit
- Verify the webhook URL is
-
Test webhook delivery:
- Go to your GitHub Appās Advanced tab
- Look for recent webhook deliveries and their response codes
- Redeliver failed webhooks to test connectivity
-
Network connectivity:
- Ensure your GitHub Enterprise Server can reach CodeRabbitās webhook URL
- Check for any proxy or firewall blocking outbound requests
CodeRabbit isn't reviewing pull requests
CodeRabbit isn't reviewing pull requests
-
Verify installation:
- Confirm the GitHub App is installed on the correct organization
- Check that CodeRabbit has access to the specific repository
- Ensure the repository isnāt archived or has restrictions
-
Check permissions:
- Verify all required repository permissions are granted
- Confirm CodeRabbit can read pull requests and write comments
-
Review configuration:
- Check if there are any custom review instructions blocking reviews
- Verify the repository doesnāt have CodeRabbit disabled in settings