Connect GitHub, GitLab or Bitbucket (one-click deploy)
Instead of pasting a repository URL and a personal access token every time, OrbixPanel lets you connect your Git provider once and then pick a repository and deploy — the way the big platforms do it. It works with GitHub, GitLab, and Bitbucket.
Because OrbixPanel is self-hosted, you register a provider OAuth app once (a 5-minute, one-time setup). After that, connecting and deploying is one-click, and your credentials and tokens stay encrypted on your own server — nothing goes through a third party.
Who sets this up: the server admin/owner (or the reseller in reseller mode). Tenants don’t register apps.
One-time setup: register an OAuth app
Open the page in the panel: left sidebar → App Deployment → Git Integrations
(admin only), or go straight to https://<your-panel>/git-integrations. Each
provider card shows the exact callback (redirect) URL to register — copy it,
you’ll need it below — plus the Client ID / Secret fields you’ll fill in after
registering.
Don’t see “Git Integrations” in the sidebar? The menu item ships in the web frontend — rebuild
orbixpanel-webon the panel server and hard-refresh.
GitHub
- GitHub → Settings → Developer settings → OAuth Apps → New OAuth App.
- Redirect URI (GitHub’s newer label; older UIs say Authorization callback
URL): paste the one from the panel
(
https://<your-panel>/api/git/callback/github) — exactly as the card shows it. - Leave “Expire user access tokens” unchecked — OrbixPanel uses GitHub’s standard non-expiring token and doesn’t use GitHub’s refresh flow, so an expiring token would stop working after ~8 hours.
- Create it, copy the Client ID, generate a Client secret.
- Back in OrbixPanel (App Deployment → Git Integrations), paste the Client ID + secret into the GitHub card and Save.
GitLab
- GitLab → Preferences → Applications → Add new application.
- Redirect URI: the panel’s callback URL for GitLab.
- Scopes:
read_apiandread_repository. Save. - Paste the Application ID + Secret into the GitLab card. (For self-hosted GitLab, also set the Base URL.)
Bitbucket
- Bitbucket → Workspace settings → OAuth consumers → Add consumer.
- Callback URL: the panel’s callback URL for Bitbucket.
- Permissions: Repositories: Read (and Account: Read). Save.
- Paste the Key + Secret into the Bitbucket card.
Connect and deploy
- On the provider’s card, click Connect — you’re sent to the provider to authorize, then back to OrbixPanel.
- Click Show my repositories — your repos appear.
- Pick a repo, choose a branch, and click Deploy.
OrbixPanel clones it (using the connection — no token to paste), auto-detects the runtime, builds, and serves it behind automatic SSL, exactly like a manual Git deploy. For how the build/serve works per runtime, see How deploys work.
Prefer to paste a URL?
The manual path still works — Deploy from Git and private repos with a token. Connecting a provider just removes the copy-paste.
Security notes
- The OAuth app secret and the access tokens are encrypted at rest on your server.
- GitLab/Bitbucket tokens are refreshed automatically when they expire.
- Disconnect any time from the provider’s card — it removes the stored tokens.
Running OrbixPanel? Connect once, then deploy any repo in a couple of clicks. OrbixPanel.com → — the free, self-hosted, AI-powered hosting control panel.