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
  • 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 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