Skip to content

Run Collector

The AI Assets Collector collects AI assets from your data sources, builds an inventory, and records relationships between them for AI Governance.

Download docker-compose.yml

Save the file in a directory on your machine (for example ai-assets-collector/). Use the link below — it triggers a download using the site’s download helper.

Download docker-compose.yml

Create .env

Under the same directory where you keep docker-compose.yml, create a file named .env and add the variables below. Set values for each platform you connect (Databricks, Azure, or both) and AI_GOVERNANCE_API_KEY for your AI Governance user.

Bash
1
2
3
4
5
6
7
8
9
DATABRICKS_HOST=https://your-workspace.cloud.databricks.com
DATABRICKS_TOKEN=
DATABRICKS_ENVIRONMENT_NAME=(dev/test/prod/stage)

AZURE_TENANT_ID=
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=

AI_GOVERNANCE_API_KEY=

Leave a line blank or omit variables you are not using, following your collector’s expectations.

Login Trust3 AI Docker Repository

To log in to the Trust3 AI Docker repository, use the following command:

Bash
docker login api.na.trust3ai.com -u trust3

When prompted for a password, enter your API key. You can obtain the API key from the Trust3 AI Support Team.

Run with Docker Compose

  1. Open a terminal under the directory where you keep docker-compose.yml and .env.

  2. Start the collector (detached):

    Bash
    docker compose up -d
    
  3. Watch logs — while docker compose is up, the collector runs on a schedule (every 15 minutes in the current release):

    Bash
    docker compose logs -f trust3-ai-assets-collector
    
  4. Tear down when you no longer want scheduled collection on this host:

    Bash
    docker compose down
    

Environment variables (for .env)

Variable Purpose
DATABRICKS_HOST Databricks workspace URL
DATABRICKS_TOKEN Personal access token
DATABRICKS_ENVIRONMENT_NAME Databricks Workspace Env Type (dev/stage/prod)
AZURE_TENANT_ID Azure tenant ID
AZURE_CLIENT_ID Azure application (client) ID
AZURE_CLIENT_SECRET Azure client secret
AI_GOVERNANCE_API_KEY API key for AI Governance ingest, when your deployment expects it

Quick checklist

  • docker-compose.yml in a directory (download or copy from ai-assets-collector/docker/ in the repo)
  • .env under that same directory with the variables above filled in as needed
  • docker compose up -d
  • docker compose logs -f trust3-ai-assets-collector to verify the run
  • Databricks: Databricks
  • Azure: Azure