Productsup
Dev PortalConnector Setup

VCS config

Connect your connector to a Git repository so the Dev Portal can pull your code and build it.

The Version Control configuration step connects your connector to a Git repository. The Dev Portal pulls your code from this repository when you trigger a build.

VCS configuration form

Fields

FieldRequiredDescription
Authorization typeYesHow the Dev Portal authenticates with your repository. See authorization types below.
Repository linkYesThe URL to your Git repository. Format depends on the authorization type — HTTPS for public and basic auth, SSH for deploy keys.
BranchNoThe branch to pull code from. Defaults to main if not set.
UsernameBasic auth onlyYour Git username or email. Required when using basic auth.
TokenBasic auth onlyA personal access token or password. Required when using basic auth. Stored securely in Vault — never returned in API responses.

Authorization types

Public repository

No credentials needed. Use this for public repositories that don't require authentication.

  • Repository link format: HTTPS — e.g. https://github.com/productsupcom/connector-quickstart

Basic auth

Authenticate with a username and personal access token. This is the quickest way to connect a private repository.

  • Repository link format: HTTPS — e.g. https://github.com/your-org/your-connector
  • Username: Your Git provider username or email
  • Token: A personal access token with read access to the repository

The token is stored securely and never shown in the UI after saving. If you need to update it, provide a new token — you can't retrieve the old one.

Deploy key

Authenticate with an SSH key pair. The Dev Portal generates the key pair automatically — you add the public key to your repository as a deploy key.

  • Repository link format: SSH — e.g. git@github.com:your-org/your-connector.git

When you select deploy key and save:

  1. The Dev Portal generates an SSH key pair
  2. The public key is displayed in the UI — copy it
  3. Add it as a deploy key in your Git provider (GitHub → Settings → Deploy keys, GitLab → Settings → Repository → Deploy keys, etc.)
  4. Grant read-only access — the Dev Portal only needs to pull code

Deploy keys are recommended for production connectors. They're scoped to a single repository and don't expire with a personal account, unlike personal access tokens.

Test connection

After saving your VCS config, click Test connection to verify the Dev Portal can reach your repository and find the configured branch. This checks:

  • The repository URL is reachable
  • The credentials are valid (for basic auth and deploy key)
  • The configured branch exists

If the test fails, check that:

  • The repository URL is correct and uses the right format (HTTPS vs SSH)
  • For basic auth: the username and token are valid and have read access
  • For deploy keys: the public key has been added to the repository
  • The branch name matches an existing branch in the repository

URL format reference

Authorization typeURL formatExample
PublicHTTPShttps://github.com/productsupcom/connector-quickstart
BasicHTTPShttps://github.com/your-org/your-connector
Deploy keySSHgit@github.com:your-org/your-connector.git

How is this guide?

On this page