Skip to content

Projects & Repositories

In BrowserStack Code Quality, a Project is a logical container used to group related Repositories. One project can house multiple repositories to give you an aggregated view of your product's health.


1. Creating a Project

  1. Log in to your instance.
  2. Go to Projects and click Create A New Project.
  3. Enter the Project Name (e.g., Apache) and Project Description.
  4. Click Create Project.

Create Project


2. Linking Repositories

Once your project is created, choose one of the three methods below to link your source code.

Use this method if you have already connected your SCM account (GitHub, GitLab, etc.).

  • Prerequisite: How to add a VCA account →
  • Steps:
    1. Click on Add Repository.
    2. Select your VCA (GitHub, GitLab, etc.).
    3. Select the Language and provide the Repository Name.
    4. Click on Create.

Option B: Git SSH

Use this for private repositories requiring RSA key authentication.

  • Steps:

    1. Initialize: Open the Link Repositories popup and select Git.
    2. Authenticate: Enter the Git URL, enable SSH, and paste the complete RSA Private Key (with passphrase, if applicable).
    3. Identify: Provide a Repository Name, select the Language, and click Link Repository.

    Link Repository

Option C: Git HTTPS

Use this for public repositories or private ones using HTTPS credentials.

  • Steps:

    1. Click Link Repositories inside your project.
    2. Set the Account/Repository Type to Git.
    3. Enter the URL (e.g., https://github.com/apache/commons-text.git).
    4. For public repositories, leave the Username and Password blank.
    5. Enter the Repository Name (e.g., Commons-Text).
    6. Set the Language (e.g., Java) and click Link Repository.

    Link Repository

3. Identifying the Repository UID (RepoUID)

The RepoUID is the unique identifier required for CLI scans and API calls.

  1. Inside your project, click on a repository and then the three dots (...) on the top right corner.
  2. Click on the More Information button.
  3. From the Repository Information pop-up, copy the Repository UID and paste it appropriately while filling repository details on the server.

Overview: Removes the repository from the current project view while keeping the scan data safe in the database.

  • Steps:
    1. Inside your project, click on a repository and the three dots (...) on the top right corner.
    2. Click on the Unlink repository from project button.
    3. A warning message will appear for confirmation; confirm to proceed.
    4. The repository will no longer be linked to the project.

To Delete (Remove permanently)

Overview: Permanently removes the repository and all history. This action cannot be undone.

  • Steps:
    1. Inside your project, click on a repository and the three dots (...) on the top right corner.
    2. Click on the Delete repository permanently button.
    3. A warning message will appear for confirmation; confirm to proceed.
    4. The repository will be permanently deleted from all linked projects. All ongoing scans will be aborted.