Synchronize models with GitLab
Synchronize GitLab model registry with ValidMind model inventory for comprehensive model tracking.
Prerequisites
Configure the connection
In the left sidebar, click Settings.
Under Integrations, select Connections.
Click Add Connection.
In the modal that opens, select GitLab.
Complete:
- integration name — How other admins can identify the connection.
- description (optional) — The intended usage or additional details.
- project id — The GitLab project ID or path containing ML models (required).
- gitlab instance url (optional) — Leave empty to use GitLab.com, or enter your self-hosted GitLab URL.
- personal access token — Select a secret containing your GitLab Personal Access Token with
apiorread_apiscope. - initial status — Set to
Operationalto enable immediately orDisabledif you plan to finish setup later.
Click Save Integration.
Test the connection:
- Hover over the GitLab connection you just created.
- When the menu appears, click on it and select Test Connection.
If the test is successful, the message Connection successful displays.
Link the models
In the left sidebar, click Inventory.
Select a model by clicking on it or find your model by applying a filter or searching for it.3
Scroll down until you locate the GitLab connection box in the right sidebar.
Hover over the GitLab box.
When the menu appears, click on it and select Link Model.
In the modal that opens, click the select model dropdown to pick the GitLab model to link.
Optional: Click Test Connection to ensure the connection is working as expected.
If the test is successful, the message Connection Test Successful displays.
Click Link Model.
