๐ 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:Or fetch credentials with the Node SDK or API.โ
Youโre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
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.-
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 |
|---|---|---|---|
write-file | Write content to a particular github file within a repo. If the file doesnโt exist it creates and then writes to it | Action | ๐ Github |
list-files | Lists all the files of a Github repo given a specific branch | Sync | ๐ Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
list-repos | List github repos from an organization. | Action | ๐ Github |
issues | Fetches Github issues from all a userโs repositories | Sync | ๐ Github |
issues-lite | Fetches Github issues but up to a maximum of 15 | Sync | ๐ Github |