- **Webhook URL** – Your instance's base URL. For example, `https://yourinstance.sonarqube.com`.
- Grant access for the following **Repository permissions**:
- | Permission | Access |
- |---------------------|--------------|
- | Checks | Read & write |
- | **GitHub Enterprise:** Repository metadata <br> **GitHub.com:** Metadata <br> (this setting is automatically set by GitHub)| Read-only |
- | Pull Requests | Read & write |
- | Commit statuses | Read-only |
+ | Permission | Access |
+ |---------------------|--------------|
+ | Checks | Read & write |
+ | **GitHub Enterprise:** Repository metadata <br> **GitHub.com:** Metadata <br> (this setting is automatically set by GitHub)| Read-only |
+ | Pull Requests | Read & write |
+ | Commit statuses | Read-only |
+- If setting up **GitHub Authentication**, grant access for the following **User permissions**:
+
+ | Permission | Access |
+ |---------------------|--------------|
+ | Email addresses | Read-only |
- Under "Where can this GitHub App be installed?," select **Any account**.
1. **Client ID** – the Client ID is found below the GitHub App ID on your GitHub App's page.
1. **Client Secret** – the Client secret is found below the Client ID on your GitHub App's page.
-Now, from the login page, your users can connect their GitHub accounts with the new "Log in with GitHub" button.
\ No newline at end of file
+Now, from the login page, your users can connect their GitHub accounts with the new "Log in with GitHub" button.