22

I'm setting up a GitHub App for ArgoCD authentication. The GitHub App setup is completed. But in ArgoCD it asks for GitHub App ID and GitHub App Installation ID. I could find the App ID from the GitHub App section itself. But I couldn't find the GitHub App Installation ID.

Is there a way to directly find GitHub App Installation ID from the GitHub website settings section? Or do we need to use GitHub API or something?

2 Answers 2

43

I'm making this answer a little more explanatory.

For GitHub Apps created under Organizations:

  1. Go to the Organization settings
  2. Click on 'GitHub Apps' under 'Third-party Access'
  3. If there are multiple GitHub apps, choose your App and click on 'Configure'
  4. Once your GitHub App is selected check the URL for obtaining 'GitHub App Installation ID'

The URL looks like this:

https://github.com/organizations/<Organization-name>/settings/installations/<ID>

Pick the <ID> part and that's your GitHub App Installation ID.

For GitHub Apps created under Repository, you can find this under repository settings.

Sign up to request clarification or add additional context in comments.

1 Comment

Clarification, because it took me more time than needed, you have to check URL bar in browser, it is not included on GH page itself.
16

The

InstallationID

is the same ID that you can find in the GitHub endpoint:

https://github.com/settings/installations/<ID>

2 Comments

Okay got it. I was searching everywhere on the console instead of URL, thanks. And in my case, GitHub App was created under the an organization and the URL looks like this "github.com/organizations/<ORG-NAME>/settings/…>". Its hard to find that from URL. Most of us are checking on the console.
To echo @NeronJoseph, I don't understand why all those internet literatures don't simply include a screenshot and circle where that field is. It would have saved us so much time when hunting down this elusive piece of data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.