Skip to content

docs: add GitHub integration setup guide (ext-387) #3745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

GitHub Integration Documentation

This PR adds comprehensive documentation for the GitHub integration, including a detailed setup guide for creating and configuring OAuth credentials.

Changes

  • Added complete setup guide with step-by-step instructions
  • Updated access requirements section
  • Reformatted useful links into a table for better readability
  • Added common OAuth scopes section
  • Enhanced API gotchas section with important considerations

References

Link to Devin run: https://app.devin.ai/sessions/94f14c04f0bf4a7bb75ab740686940de
Requested by: [email protected]

Copy link

linear bot commented Mar 19, 2025

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@@ -57,5 +156,10 @@ _No setup guide yet._
- There are certain API methods that only work with an OAuth App that will not work with an App. Please check the Github documentation and look for a "Works with Github Apps" header under the endpoint.
- The `github-app-oauth` is a combination of a Github App and OAuth and should be used when a Github App would need approval to be installed into an organization.
- Nango supports initiating a connection with a GitHub App using the frontend SDK, but not directly from the [GitHub Marketplace](https://github.com/marketplace). Therefore, you should encourage users to install your GitHub App from your product, rather than from the GitHub Marketplace directly. This is a limitation we plan to fix in the future.
- GitHub's OAuth implementation supports the standard authorization code grant type but does not support the implicit grant type.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and none of the below are useful or informative gotchas. A lot of Nango's value prop is that these details are handled by Nango so our users don't have to worry about or even know these "gotchas". Please remove and note for other pull requests.

Copy link
Contributor Author

I've recorded a video demonstrating the complete setup process for GitHub integration. The video shows the OAuth app creation process, including navigating the developer portal, configuring redirect URIs, and setting up necessary permissions.

GitHub Setup Video

Copy link
Contributor Author

Closing due to inactivity for more than 7 days.

Comment on lines +94 to +103
| Topic | Links |
| - | - |
| General | [GitHub Developer Documentation](https://docs.github.com/en/developers) |
| | [GitHub REST API Documentation](https://docs.github.com/en/rest) |
| OAuth | [Creating an OAuth App](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app) |
| | [Authorizing OAuth Apps](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps) |
| | [OAuth Scopes for GitHub](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps) |
| Comparison | [Differences between GitHub Apps and OAuth Apps](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps) |
| GitHub Apps | [Registering a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app) |
| | [GitHub App Permissions](https://docs.github.com/en/rest/overview/permissions-required-for-github-apps) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this in list form

@TBonnin TBonnin added the never-stale Exempt issue/PR from being automatically closed when inactive label Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation never-stale Exempt issue/PR from being automatically closed when inactive
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants