Connect On-Prem Github Services

The following article will help you connect your On-Prem Github Services.

Before following these instructions. you’ll want to ensure you’ve whitelisted our IP addresses (refer to these instructions if you haven’t completed these steps) or that your app has internet access.

 

  1. First, we must create an OAuth Application in Github under the user/service account > Settings.

image-20241219-143413.png

Next Steps: Settings > Developer Settings > OAuth Apps > Register a New Application

image-20241219-143711.png

Please fill out the following required fields:

Application Name: Something to easily define this OAuth Application (example: Allstacks)

Homepage URL: https://www.allstacks.com

*Note: This callback URL will vary for our Single Tenant or EU customers. Please reach out to your support representative for assistance.

Then click ‘Register Application’.

 

On the following page, you’ll want to copy the Client ID & Generate a new client secret:

  1. Log into your Allstacks account > select your company name on the top right page > select ‘Tools’ > Add Tool > select ‘Github’ > ‘show Advanced Settings’.

Here, you’ll want to fill out the following fields for a successful connection:

Base URL for API calls: this is going to be your company github url. example: https://github.companyname.com

Callback URL: You can leave this blank

OAuth App Client ID: Paste the Client ID from your newly created OAuth App Registration Page.

OAuth App Client Secret: Paste the Client Secret created from your OAuth App Registration Page.

Complete this by clicking ‘Add Tool’.

You’ll see the following page. Before you select ‘Authorize’ make sure you are logged into the user account or service account you’d like to connect

After clicking ‘Authorize’, you’ll be redirected back to the following Allstacks > Configure Service: Github page. You’ll know it was successful if you see the list of repos the user/service account can access.

Data download will kick off the day you connected tools, 9 PM ET. Please check with your support representative if you run into any issues or do not see data flowing within 24-48 hrs.