Skip to main content

πŸš€ Quickstart

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

Create the integration

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

Authorize GitHub

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

Call the GitHub 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 "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 Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š GitHub Integration Guides

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

🧩 Pre-built syncs & actions for GitHub

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

Files

Function nameDescriptionTypeSource code
list-filesLists all the files of a Github repo given a specific branchSyncπŸ”— Github

Others

Function nameDescriptionTypeSource code
commitsSync commits for repositories and branches in scopeSyncπŸ”— Github
issuesSync issues for one or more GitHub repositories with incremental updates based on issue activitySyncπŸ”— Github
pull-requestsSync pull requests for one or more GitHub repositories, including status, branches, and merge state.SyncπŸ”— Github
releasesSync releases for one or more GitHub repositories.SyncπŸ”— Github
repositoriesSync repositories visible to the authenticated GitHub user or installation.SyncπŸ”— Github
repository-filesSync file metadata for a specific repository branch using the Git trees API recursivelySyncπŸ”— Github
workflow-runsSync GitHub Actions workflow runs for one or more repositories.SyncπŸ”— Github