Install the Garth GitHub App on your organization or personal account for AI-powered automated code reviews and pull request feedback.
Garth connects to GitHub in two ways: the Garth GitHub App (this page) or a personal access token. Use the App when you want GitHub to manage permissions and you prefer not to rotate a token. For GitHub Enterprise Server, or when app installation is blocked by organization policy, use GitHub via PAT instead.
Only one GitHub connection can be active at a time. To switch methods, remove
the existing connection first — uninstall the Garth App, or disconnect the
token — then wait a few minutes and reload the integrations page.
You must have owner-level access for the GitHub organization or repository
you intend to connect. Without these administrative privileges you cannot
install the Garth GitHub App.
Copy the API key and store it securely. It is shown only once.
4
Install the Garth GitHub App
In Garth, go to Settings → Integrations, select the GitHub tab, choose GitHub App, and click Open Link — or navigate directly to the Garth GitHub App and click Install. Sign in to GitHub if prompted.
The Garth dashboard lists the installation steps and links out to GitHub
5
Choose your workspace
Select the GitHub organization or personal account where Garth should be installed.
If your organization does not appear, verify you have the correct administrative rights and check your GitHub App installation settings.
6
Configure repository scope
Choose which repositories Garth can access:
All repositories — installs Garth on every current and future repository.
Select repositories — restricts Garth to specific projects you choose manually.
Garth requires read/write access to pull requests and checks to post code reviews. Your source code is never stored on Garth’s servers.
Click Install to apply.
7
Activate with your API key
After clicking Install, you are redirected to the Garth platform. Enter
the API key you created earlier to complete the activation.
8
Start reviewing
Setup is complete. Open or update a pull request in any tracked repository to see Garth’s automated AI reviews in action.
Verify owner-level access — confirm you have Owner permissions for the organization or repository.
Check organization settings — some organizations restrict third-party app installations; an organization owner may need to approve Garth before installation succeeds.
Re-trigger the installation — return to the Garth GitHub App page and attempt the installation again.
Contact your GitHub admin — if organization policies block app installations, your GitHub organization administrator must grant approval.
Reviews not appearing
If Garth is installed but not reviewing pull requests:
Confirm repository scope — verify the repository is included under All repositories or is explicitly listed under Select repositories in your App installation settings.
Check API key activation — ensure you completed the API key activation step after installing the GitHub App.
Verify pull request events — Garth triggers on newly opened or updated pull requests. Re-open the PR or push a new commit to trigger a review.
Add or remove repositories
To change which repositories Garth can access after installation:
Open organization settings — in GitHub, go to your organization’s Settings.
Navigate to GitHub Apps — under Third-party Access, select GitHub Apps.
Locate GarthPRAgent — find the installed GarthPRAgent app and click Configure.
Update repository access — in the Repository access section, add or remove repositories as needed, then Save.
Switch to a personal access token
Only one GitHub connection can be active at a time. To move from the App to a token:
Uninstall the Garth GitHub App — in GitHub, open your organization’s Settings → Third-party Access → GitHub Apps, find GarthPRAgent, and uninstall it.
If you receive authentication or permission errors:
Re-authenticate — log out and back into the Garth dashboard and retry connecting your GitHub account.
Regenerate your API key — go to Developer → API Keys in Garth, revoke the old key, and create a new one.
Reinstall the GitHub App — uninstall and reinstall the Garth GitHub App from your GitHub organization settings.
Check SSO enforcement — if your organization uses SAML SSO, you may need to authorize the Garth GitHub App for SSO access from your GitHub personal settings.