Browse docs
Connect GitHub
Install the Axoryn GitHub App to give Autopilot access to the repositories you pick. Covers install, reconnecting, suspension and errors.
This page explains how to install the Axoryn GitHub App on your GitHub account or organization, so Autopilot can work in the repositories you choose. It is for owners and admins. Linking repositories to projects, branch protection and Autopilot runs are covered in Connect repositories and Autopilot.
GitHub is set up once per workspace in Settings, not on a project’s Integrations page.
Before you start
- Plan. The GitHub section appears in workspace Settings on the AI, Engineer and Autopilot plans. Autopilot coding runs and automatic error fixes need the Autopilot plan. See Billing and usage.
- Role. Only owners and admins can install the app or change which repositories it can access. Members see Owners and admins choose which repositories are shared.
- GitHub access. You need a GitHub account that can install apps on the account or organization that owns the repositories.
What the app does
The section describes it as: “Gives Axoryn access to the repositories you pick, for Autopilot coding runs. Pull requests only: we never push to your default branch.”
You choose the repositories on GitHub’s install screen, where GitHub also lists the permissions the app requests. Axoryn can only reach repositories you grant there.
Install the GitHub App
- Open Settings and go to the GitHub section (Repository access for Autopilot coding runs.).
- Select Install GitHub App. GitHub opens.
- Choose the account or organization, choose all repositories or only the ones you select, and confirm.
- GitHub sends you back to Settings with GitHub App connected successfully. The section shows a Connected badge and {count} repositories available, with each repository’s full name.
Finish within 15 minutes of selecting Install GitHub App. After that, the return link is no longer valid and you see Could not connect GitHub. Try installing the app again.
The app is already installed
If the Axoryn GitHub App is already installed on your GitHub organization, for example by a teammate, select Already installed? Connect it instead. GitHub asks you to sign in and authorize, and Axoryn connects every installation of the app your GitHub account can access that isn’t claimed by another Axoryn workspace.
Add or remove repositories
In the GitHub section, select Manage repositories (or Add repositories when none are accessible yet). GitHub opens, and you change which repositories the app can access. The GitHub section lists the repositories the app can reach.
If the section shows “Connected, but no repositories are accessible yet. Grant access to at least one repository to use Autopilot.”, grant the app access to at least one repository.
To use a repository with Autopilot, link it to a project on the project’s Autopilot page, under Repositories. A repo can only belong to one project. See Connect repositories.
Suspended or removed installations
- Suspended. If someone suspends the app on GitHub, the Autopilot page shows The GitHub App is suspended, so the coding agent is paused. “An owner of that GitHub account can unsuspend the Axoryn app in GitHub settings. Runs resume right after.”
- Uninstalled. If someone uninstalls the app on GitHub, Axoryn stops listing its repositories and Autopilot can’t use them. Install it again from Settings to reconnect.
To disconnect GitHub from Axoryn, uninstall the Axoryn app in your GitHub account or organization settings, or remove repositories from its access list.
Troubleshooting
| What you see | What to do |
|---|---|
| ”Could not connect GitHub. Try installing the app again.” | The return link expired or was invalid. Select Install GitHub App again and finish within 15 minutes. |
| ”This GitHub installation already belongs to another Axoryn account. An administrator of the GitHub organization can uninstall the app on GitHub and install it again from this page.” | Each installation belongs to one Axoryn workspace. Uninstall it on GitHub and install it again from your workspace. |
| ”We could not confirm that your GitHub account can access this installation. Sign in to GitHub with an account that manages the organization and try again.” | Sign in to GitHub as someone who manages the organization, then retry. |
| ”GitHub did not respond, so nothing was connected. Try again in a few minutes.” | Nothing changed. Try again later. |
| ”Your GitHub account has no installation of the app to connect. Install the app first.” | Select Install GitHub App instead of Already installed? Connect it. |
| ”Couldn’t check the GitHub connection.” | Axoryn couldn’t load the connection. Retry. |
| ”Install the GitHub App on this repository first.” when linking a repository | Grant the app access to that repository on GitHub, then link it again. |
| ”This repository is already linked to {project}.” | A repository can belong to one project. Unlink it there first. |