Connecting Environments

AI Assets requires a connected environment before it can begin discovery. Once connected, AI Assets will scan, discover, and populate your AI inventory with Models, AI Workflows, MCP Servers, Guardrails, and custom tools found in your infrastructure.

Add Your First Environment

When no environments are connected, the AI Assets dashboard shows an empty state. Click Add Environment to start configuration.

Figure 1: Adding Your First Environment

Step 1: Select Environment Type

Choose the type of environment you want to connect. Currently supported:

  • GitHub

  • GitLab

Step 2: Configure Connection

Depending on the environment type, provide the required connection details:

GitHub

  1. Select GitHub.

  2. Enter:

    • Environment Name – a descriptive label for the connection.

    • Description – optional details for context.

    • Installation ID – generated during the GitHub App installation. To get the ID:

      • Open Organization settings (or Repository settings if the app is created under a repository).

      • Go to GitHub Apps under Third-party Access.

      • Select your GitHub App and click Configure.

      • Copy the <ID> part from the URL, which looks like this:

        https://github.com/organizations/<Organization-name>/settings/installations/<ID>

      • The <ID> is your GitHub App Installation ID.

For more details on installing the GitHub app visit the relevant GitHub App installation documentation.

GitLab

  1. Select GitLab.

  2. Enter:

    • Environment Name – a descriptive label for the connection.

    • Description – optional details for context.

    • Personal Access Token – a valid GitLab token with appropriate permissions:

      • read_api

      • read_repository

For more details visit the GitLab Personal Access Tokens.

After filling out the details, click Create to complete the setup.

Manage Environments

Once at least one environment is added, the Settings page lists all active connections, including:

  • Environment Name – the given name of the environment.

  • Environment Type – currently GitHub or GitLab.

  • No. of Discovered Repositories – repositories scanned in that environment.

  • Created At – when the environment was first connected.

From here you can manage existing environments or add new ones using Add Connector.

Figure 2: Environmets Page

Next Steps

Once your environment is connected, the scans can be triggered.

Last updated