Table of Contents
GitHub Enterprise Server (On-Prem) Connection Guide
LinearB's paid plans support connecting to on-premises Git servers, including GitHub Enterprise Server (On-Prem).
Updated
by Steven Silverstone
Follow the steps below to establish the connection.
1. Select GitHub Enterprise Server as Your Git provider
- Navigate to Settings > Company Settings, and select the Git tab.
- Click Add Integration and choose GitHub Enterprise Server as your Git provider.

2. Allowing LinearB Access
If your GitHub Enterprise Server instance is accessible from the public internet, skip this step.
For private networks, you must allow LinearB's public IP addresses in your firewall:
- 52.15.80.85
- 54.241.87.26
- 54.193.121.186
- 18.118.232.229
For networks behind a VPN, ensure that a reverse proxy allows LinearB-specific access to GitHub Enterprise Server.
3. Insert Your GitHub Server URL
- After allowing LinearB’s IPs, enter your GitHub Server URL (e.g.,
https://github.yourdomain.com
). - LinearB will automatically check connectivity.
- Once verified, click Continue and proceed to the next step.

4. Connect to GitHub Enterprise Server
- After clicking Continue, you will be prompted to connect to GitHub Enterprise Server.
- You will have the option to use either a Classic Token or a Fine-Grained Token.
- Click Create a classic token on GitHub Enterprise Server.
- Ensure that the following required scopes are selected:
read:repo_hook
repo
write:repo_hook
user:email
read:discussion
read:org
read:user
- Enter your classic token in the designated field.
- Click Connect to proceed.

5. Create a Personal Access Token
- Log in to GitHub Server and click your profile avatar in the upper-right corner.
- Select Settings from the dropdown menu.
- In the Developer Settings menu, navigate to Personal Access Tokens.
- Click Generate New Token and enter a name for the token.
- Select an expiry date (optional).
- Enable the following access scopes:
repo
(Full control of private repositories)admin:org
(Read and write access to organization settings)read:enterprise
(Read access to enterprise settings)admin:repo_hook
(Full control of repository hooks)
- Click Generate Token.
- Copy the token immediately, as it will not be visible again after this step.
6. Validate and Connect
- Paste the personal access token into the LinearB setup interface.
- LinearB will automatically validate the token.
- Once validated, proceed to repository selection.


Need Assistance?
For further support, visit our Support Page.
Related Guides
How did we do?
Connect Your GitHub Account to LinearB
GitLab Server (On-Prem) Connection Guide