Connect GitHub

Connecting GitHub lets you deploy repositories, see pull requests and review them in the dashboard. We use a GitHub App, so you choose exactly which repositories we can see.

What you need

  • Permission to manage GitHub in your workspace (owners and admins have it).
  • On GitHub: owner rights on the account or organization, or an owner who approves the request.

Connect

  1. Open Settings → GitHub and click Connect GitHub.
  2. GitHub opens. Pick the account or organization that owns the repositories.
  3. Choose Only select repositories and tick the ones you want, or All repositories. We recommend picking only what you deploy.
  4. Click Install (or Request if an organization owner must approve).
  5. You come back to the dashboard with GitHub connected. The repositories appear under the Repositories tab within a few seconds.

Add or remove repositories later

  1. Open Settings → GitHub. Next to the connected account, click Configure on GitHub.
  2. Tick or untick repositories and click Save.
  3. The Repositories tab updates by itself. A project whose repository you removed stops deploying until you add it back.

Connect a second account or organization

Click Connect GitHub again and pick the other account. Each connection is listed separately.

Disconnect

  1. Open Settings → GitHub and click Disconnect next to the account.
  2. Confirm. If asked, enter your password.

Projects from that account keep running, but new pushes no longer deploy. To also remove our access on GitHub's side, uninstall the app under GitHub → Settings → Applications.

Troubleshooting

What you seeWhat to do
GitHub is not configuredGitHub isn't set up on this installation. Ask your administrator.
Repository missing from the listIt isn't selected in the app's repository access. Use Configure on GitHub to add it.
Organization shows Request sentAn owner of that GitHub organization must approve the request in GitHub.

Next: Deploy a Next.js app from GitHub.