Connect GitHub to the Hub
Connect your GitHub account so the Hub and its cloud agents can list your repositories, read your files and push commits when you ask them to. The Hub uses per-user GitHub OAuth, so you never paste a password or a personal access token.
Prerequisites: a Hub account. GitHub is a separate integration, not your sign-in method.
Connect
- Sign in to the Hub.
- Open Settings → Integrations → GitHub, or click Connect GitHub in the repository picker.
- On GitHub, click Authorize CADbuildr.
- You are sent back to the Hub. Settings now shows your GitHub login, and the repository picker lists every repository you can access.
Permissions requested
| Scope | Why |
|---|---|
repo | List and read your repositories, including private ones, and push commits when you ask the agent to |
read:user | Show your GitHub login and avatar |
You can review or revoke the grant at any time under GitHub → Settings → Applications.
Reconnect
If you revoke the grant, change your password, or your organization rotates SSO, GitHub-backed features show a Reconnect GitHub prompt. Click it and authorize again.
Disconnect
Settings → Integrations → GitHub → Disconnect revokes the token on GitHub and deletes it from the Hub. Agent runs that need it stop with a “reconnect required” error. To switch accounts, disconnect, then connect again.
Troubleshooting
- “State mismatch” after authorizing: the sign-in took more than 10 minutes, or a privacy extension blocked the short-lived sign-in cookie. Start again and finish the flow in one go.
- The Connect button does nothing: GitHub connect may be disabled on this environment. Contact contact@cadbuildr.com.
Privacy
- What the Hub stores: an encrypted (AES-256-GCM) copy of your GitHub access token, plus your GitHub login and avatar URL.
- How it is used: the token is sent only to the cloud agent run you start, and only for the length of that run.
- What the Hub never stores: your GitHub password or MFA codes.