This is the recommended authentication method for organizations with 500+ repositories.
Install a GitHub App
Follow the steps below to create and configure your own GitHub App.- Navigate to your Organization Settings > Developer settings > GitHub Apps.
- Click New GitHub App.
- Configure the app:
- GitHub App name: Choose a unique name (e.g.,
YourOrg-GitHound) - Homepage URL: Your organization’s URL
- Webhook: Uncheck “Active” (not needed for collection)
- GitHub App name: Choose a unique name (e.g.,
- Set all required repository and organization permissions to Read-only.
- Under “Where can this GitHub App be installed?”, select Only on this account.
- Click Create GitHub App.
- Scroll down and click Generate a private key - save the downloaded
.pemfile securely. - Note the App ID and Client ID displayed on the app settings page.
- Click Install App in the left sidebar to install the app to your organization.
Get the Installation Details
- Navigate to your Organization Settings > Third-party Access > GitHub Apps.
- Find the app you just created and click Configure.
- The numeric value in the URL is the App Installation ID.
- Click App settings to access the Client ID and App ID.
Security Considerations
- Store the
.pemprivate key securely and never commit it to version control. - Rotate keys periodically and revoke old ones.
- Only install the app on organizations that require collection.
- Periodically verify the app has only the minimum required permissions.