Skip to main content

๐Ÿš€ Quickstart

Connect to GitHub App OAuth with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> GitHub App OAuth.
2

Authorize GitHub App OAuth

Go to Connections -> Add Test Connection -> Authorize, then log in to GitHub App OAuth. Later, youโ€™ll let your users do the same directly from your app.
3

Call the GitHub App OAuth API

Letโ€™s make your first request to the GitHub API. Replace the placeholders below with your secret key, integration ID, and connection ID:
  • cURL
  • Node
curl "https://api.nango.dev/proxy/repos" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.โœ… Youโ€™re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our quickstart to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

๐Ÿ“š GitHub App OAuth Integration Guides

Nango maintained guides for common use cases. Official docs: GitHub Developer Documentation

๐Ÿงฉ Pre-built syncs & actions for GitHub App OAuth

Enable them in your dashboard. Extend and customize to fit your needs.

Commits

Function nameDescriptionTypeSource code
commitsGet all pull commits from a Github repository.Sync๐Ÿ”— Github

Pull Requests

Function nameDescriptionTypeSource code
pull-requestsGet all pull requests from a Github repository.Sync๐Ÿ”— Github

Repositories

Function nameDescriptionTypeSource code
repositoriesList all repositories accessible to this Github AppAction๐Ÿ”— Github