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 quickstart 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
write-fileWrite content to a particular github file within a repo. If the file doesn’t exist it creates and then writes to itAction🔗 Github
list-filesLists all the files of a Github repo given a specific branchSync🔗 Github

Others

Function nameDescriptionTypeSource code
list-reposList github repos from an organization.Action🔗 Github
issuesFetches Github issues from all a user’s repositoriesSync🔗 Github
issues-liteFetches Github issues but up to a maximum of 15Sync🔗 Github