How to create Github App for ArgoCD?
Step 1 — Create the GitHub App
github.com → avatar → Settings → Developer settings → GitHub Apps → New GitHub App
- Name:
argocd-reader(or any name) - Homepage URL:
https://github.com/Xyz-Enterprise/cdp - Webhook: uncheck "Active"
- Permissions → Repository permissions:
Contents: Read-onlyMetadata: Read-only
- Where can this be installed:
Any account - Click Create GitHub App
Step 2 — Note the App ID
After creation, you'll see App ID at the top of the app settings page. Save it.
Step 3 — Generate a private key
Scroll down on the app settings page → Generate a private key → downloads a .pem file.
Step 4 — Install the app on the CDP repo
On the app settings page → Install App → choose Xyz-Enterprise → select Only select repositories → pick CDP → Install.
If the org blocks this, you'll see a request-sent confirmation instead — an org owner will need to approve it.
Step 5 — Get the Installation ID
After install, the URL will be:
github.com/settings/installations/XXXXXXXXX
That number is your Installation ID.
No comments