Create the GitHub App
1
Create the App on GitHub
Follow GitHub’s guide to creating GitHub Apps to register a new App under your GitHub organization (or personal account, for testing).
2
Grant the required permissions and events
Configure the App’s repository and organization permissions and subscribe to the webhook events Chainloop needs. See the GitHub permissions reference for the full, up-to-date list of scopes and events per feature.
3
Collect the App ID
On the App’s settings page, note the App ID shown near the top. You’ll set this as
appId.4
Generate a private key
Under Private keys, click Generate a private key. GitHub downloads a PEM file — you’ll set its contents as
privateKey.5
Note the app slug
The App’s public URL is of the form
https://github.com/apps/<app-slug>. Copy the <app-slug> segment — you’ll set this as appSlug.6
Set a webhook secret
Under Webhook, set a Secret — a random string used to verify that incoming webhook requests genuinely came from GitHub. You’ll set this as
webhookSecret.Chart values
Provide the App’s details to the Chainloop backend underbackend.githubApp in your Helm chart values:
GitHub Enterprise Server: set
baseUrl to your GHES URL — all features are supported the same way as on github.com.These values apply to both the OSS chart (
chart: platform) and the Enterprise chart (chainloop-ee) — the value paths are identical.