π Quickstart
Connect to GitHub with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> GitHub.
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.
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:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
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.-
How to register your own GitHub OAuth app
Register an OAuth app with GitHub and obtain credentials to connect it to Nango -
How to set up a GitHub App with Nango
Learn the differences between GitHub Apps and OAuth Apps, and how to configure a GitHub App in Nango
π§© Pre-built syncs & actions for GitHub
Enable them in your dashboard. Extend and customize to fit your needs.Files
| Function name | Description | Type | Source code |
|---|---|---|---|
list-files | Lists all the files of a Github repo given a specific branch | Sync | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
commits | Sync commits for repositories and branches in scope | Sync | π Github |
issues | Sync issues for one or more GitHub repositories with incremental updates based on issue activity | Sync | π Github |
pull-requests | Sync pull requests for one or more GitHub repositories, including status, branches, and merge state. | Sync | π Github |
releases | Sync releases for one or more GitHub repositories. | Sync | π Github |
repositories | Sync repositories visible to the authenticated GitHub user or installation. | Sync | π Github |
repository-files | Sync file metadata for a specific repository branch using the Git trees API recursively | Sync | π Github |
workflow-runs | Sync GitHub Actions workflow runs for one or more repositories. | Sync | π Github |