Skip to main content

๐Ÿš€ Quickstart

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

Create an integration

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

Authorize GitHub App

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 (lists all public repositories in the order that they were created). Replace the placeholders below with your secret key, integration ID, and connection ID:
  • cURL
  • Node
curl "https://api.nango.dev/proxy/repositories" \
  -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 App Integration Guides

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

๐Ÿงฉ Pre-built syncs & actions for GitHub App

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

Commits

Function nameDescriptionTypeSource code
commitsGet all pull commits from a Github repository.Sync๐Ÿ”— Github

Pull Requests

Function nameDescriptionTypeSource code
pull-requestsGet all pull requests from a Github repository.Sync๐Ÿ”— Github

Repositories

Function nameDescriptionTypeSource code
repositoriesList all repositories accessible to this Github AppAction๐Ÿ”— Github