Find your GitHub Enterprise Server URL
The GitHub Enterprise Server URL is the address you open GitHub Enterprise Server at. You can paste the address of any page on the instance, such as an organization page, with or without https://. Enter it into your Connector Profile.
- Format:
https://<host name> - Example: if a page on your instance is
https://github.example.com/acme-engineering, your URL ishttps://github.example.com
Register a GitHub App on your instance
Create the app on the same GitHub Enterprise Server instance you are connecting.
Start a new GitHub App
Sign in to your GitHub Enterprise Server instance, then open Settings > Developer settings > GitHub Apps.
- Click New GitHub App.
- GitHub App name:
StackOne - Homepage URL: your company’s website
Set up user authorization
Fill in the Identifying and authorizing users section.
- Callback URL: copy it from your Connector Profile
- Leave Expire user authorization tokens selected.
- Leave Request user authorization (OAuth) during installation cleared.
Turn off the webhook
Under Webhook, clear Active.
Set permissions for user access reviews
Set each of these to Read-only. Metadata is already Read-only.
- Organization permissions > Members
- Account permissions > Email addresses
Add permissions for compliance checks
For branch protection, reviews, checks and audit logs, set each repository permission to Read-only, and choose the access for organization Administration.
- Organization permissions > Administration: Read-only, or Read and write to also read organization rulesets
- Repository permissions > Administration
- Repository permissions > Contents
- Repository permissions > Pull requests
- Repository permissions > Checks
- Repository permissions > Commit statuses
Add permissions for other actions
Add these only for the actions you plan to use.
Create the app
At the bottom of the form, find Where can this GitHub App be installed?.
- Select Any account so you can install the app on an organization. On GitHub Enterprise Server the app still stays inside your instance.
- Click Create GitHub App.
Copy the credentials
Both credentials are on the app’s page.
- Copy the Client ID into your Connector Profile.
- Under Client secrets, click Generate a new client secret.
- Copy the Client Secret into your Connector Profile. GitHub shows it only once.
Install the app
In the app’s sidebar, open Install App.
- Click Install next to each organization StackOne should read.
- Select All repositories, or select the repositories StackOne should read. For compliance checks, select All repositories so every repository is included.
- Click Install.
Create the StackOne Connector Profile
Create a Connector Profile
Link an Account