- Introduction
- Getting Started
- Gitpod Tutorial
- Use Cases
- Languages
- Configure
- Workspaces
- User settings
- Repositories
- Organizations
- Authentication
- Billing
- References
- .gitpod.yml
- IDEs & editors
- Integrations
- Gitpod CLI
- Gitpod API
- Gitpod URL
- Compatibility
- Enterprise
- Overview
- Setup and Preparation
- Deploying
- Configure your Gitpod Instance
- Administration
- Upgrading
- Background
- Reference
- Archive
- Help
- Contribute
- Troubleshooting
GitHub Enterprise
Gitpod works with public, private, or internal repositories on your own instance of GitHub Enterprise (GHE). Setting this up requires 2 steps.
- A one-time registration of the GHE server with Gitpod.
- Each Gitpod user connects their account to GHE the first time they start a workspace.
Registering a GitHub Enterprise Server
The GHE Admin can register the GHE server in their own Gitpod account settings.
Start by creating a New Integration and entering the Provider Host Name of GHE server.
Copy the Redirect URL from the form above.
Create a new OAuth application in your GHE developer settings, and fill in the Authorization callback URL with the copied value.
Populate the remaining fields and register the application in GHE. This opens a settings page where you can copy the OAuth Client ID and a Client Secret.
Copy the Client ID and Secret into the corresponding fields in Gitpod and activate the integration.
Connecting Gitpod accounts to GHE
GHE users connect their Gitpod account to their GHE account by starting a workspace.
To start a workspace, paste the URL of a GHE repository into the New Workspace popup ( ) in Gitpod, or prefix the repository URL as described in Getting started.
The first time you do this, you will be prompted to authorize with your GHE instance.
The GHE OAuth window will appear, showing the name of the registered Gitpod OAuth app.
If you are trying to open a private or internal repository in GHE, you will be prompted to grant additional authorization before the workspace starts.
Validating your GHE connection with Gitpod
You should see the connection to your GHE instance, with your GHE account ID, in your Gitpod integration settings
If necessary, you can modify your GHE OAuth permissions to allow private repository access using the context menu on the right.