Skip to main content

Integrating with GitHub Enterprise Server

Deploy to and from your own GitHub instance using Gearset

Nat Werth avatar
Written by Nat Werth
Updated in the last hour

Note: This guide is specific to GitHub Enterprise Servers. For github.com connections, see Integrating with GitHub.

To verify which type of GitHub server you have, se GitHub's Enterprise Server documentation.

Initial application setup

Depending on your company's firewall settings, you may need add Gearset’s static IPs to the allowlist in your repository's settings. Next, you will need to create a new OAuth application for Gearset to be able to access your GitHub Enterprise Server instance:

  1. Log in to GitHub Enterprise Server.

  2. Go to the Applications page in your organization’s settings. You may also need to navigate to Developer settings.

  3. Under OAuth Apps, click Register new application .

  4. Enter the following:

    1. Application name -> Gearset

    2. Homepage URL -> https://app.gearset.com

  5. Click Register application

  6. Note of the Client ID and the Client Secret for later.

Gearset setup

If a member of your team has already set up a GitHub Enterprise Server connection, you can skip this section. Now that you have your application Client ID and Client Secret, you can link Gearset with your GitHub Enterprise Server instance.

  1. Click + Connect to GitHub Enterprise Server.

  2. Fill in the URL of your GitHub Enterprise Server instance (don’t forget HTTPS), Client ID, and Client Secret (from earlier).

  3. Press Connect. You will then go through the normal authentication flow from within GitHub Enterprise.

Once complete, you will be redirected back to Gearset and you should now be able to use GitHub Enterprise Server repositories as your source or target.

Anyone else in your team who wants to connect to GitHub Enterprise Server will need to follow the Gearset setup steps.

Did this answer your question?