Skip to main content

Connecting GitHub to Your Application

Plexicus connects to github.com through a GitHub App: a browser OAuth redirect followed by installing the app on the account or organisation that owns your repositories. GitHub Enterprise Server is connected differently — see GitHub Enterprise Server below.

Self-hosting Plexicus?

Before your users can click Connect, the deployment needs a GitHub App of your own, registered with two callback URLs — one on your Plexicus domain and one on its api. subdomain. The exact URLs, permissions and chart values are in the SCM Connection Reference → GitHub. On Plexicus SaaS this is already done for you.

Follow these steps to connect your GitHub account:

1. Access the Connector Page

  • Log in to your account
  • Navigate to the Connector page
  • Find the SCM Panel
  • Click on the GitHub section
Connector Page

2. Initiate the Connection

  • It will show tabs with the Token and Installation ID
  • Select the Token tab
  • Click the Connect button
GitHub Panel

3. Authorize GitHub Access

  • Wait for the authorization process to complete
  • Grant necessary permissions for Plexicus to access your GitHub account
GitHub Authorize

4. Install Plexicus Application

  • The Plexicus application will be installed on your GitHub account
  • Select the repositories you want to use with Plexicus
GitHub Installation GitHub Authorize Installation

5. Finalize the Connection

  • You'll be redirected back to Plexicus
  • Verify that the connector is successfully configured

GitHub Enterprise Server

A self-managed GitHub Enterprise Server instance is connected per connection, with credentials that belong to that instance. On the GitHub connector card, choose GitHub Enterprise Server and provide:

  • GitHub Enterprise URL — e.g. https://ghe.corp.local
  • Exactly one of these credential sets; Plexicus detects which mode you meant:
ModeFieldsBrowser redirect?Register a callback URL?
Personal access tokenPAT (ghp_… or github_pat_…)NoNo
OAuth AppClient ID + Client SecretYesYes — https://<your-plexicus-domain>/api/callback/github
GitHub AppApp ID + private key (PEM)NoNo

Only the OAuth App mode leaves Plexicus: it sends you to https://<your-ghes-host>/login/oauth/authorize and returns to your Plexicus domain. So that callback URL — the one your users log in on, with no api. prefix — is what you register on the OAuth App you create inside GHES.

Plexicus reads a GHES instance through <your-ghes-url>/api/v3 (REST) and <your-ghes-url>/api/graphql (GraphQL); both must be reachable from wherever Plexicus runs.

Next Steps

You can now create an application using GitHub as your Source Control Management (SCM) system.

Applications Page