# API Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/api/index Discover Collate API connectors to seamlessly integrate your data sources. Complete documentation, setup guides, and examples for all supported APIs. # API Services ## Overview The Collate API service facilitates metadata ingestion from RESTful APIs that expose OpenAPI (Swagger) specifications. This connector is particularly useful for integrating custom services or third-party tools that are not natively supported by Collate. This is the supported list of connectors for API Services: > [card] [REST](/ai-2-0/connectors/api/rest) > > PROD > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) ## Supported Features * Metadata Ingestion: Extracts metadata from services exposing OpenAPI JSON schemas. * Custom Integration: Allows integration with bespoke systems through standardized API definitions. * Flexible Deployment: Supports both UI-based and CLI-based ingestion workflows. ## Use Cases * Custom Application Integration: Ingest metadata from proprietary applications exposing OpenAPI specifications. * Third-Party Tools: Integrate with external tools and platforms that provide RESTful APIs. * Extended Metadata Management: Enhance metadata coverage by incorporating services beyond the default connectors. ## Best Practices * Schema Validation: Ensure the OpenAPI JSON schema is valid and accessible. * Authentication Management: Securely store and manage authentication tokens required for API access. * Regular Updates: Periodically update the OpenAPI JSON schema URL if the API definitions change. If you have a request for a new connector, reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts API collections, endpoints, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Filter Patterns**: Apply include or exclude rules to scope which API collections and endpoints this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/api-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f6c2352c67e41d7d81b60c8192a56ba9) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Mark Deleted API Collections | On | Soft-delete API collections in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/api-scope-behaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=2719d58bc00a053c2c81db8c5f2e65af) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # REST API Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/api/rest/hybrid-runner Connect REST APIs to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![REST](/public/images/connectors/rest.webp) # REST BETA This section provides guides and references to use the OpenAPI/REST connector. Configure and schedule REST metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/api/rest/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Configure the schema source and file format before creating the REST service. ### Configure the OpenAPI Schema URL 1. Generate an [OpenAPI specification](https://swagger.io/specification/#openapi-document) for the service. 2. In the REST service connection form, select **OpenAPI Schema URL**. 3. In **OpenAPI Schema URL**, enter an HTTP or HTTPS URL that is reachable from the configured ingestion runner and points directly to the schema file. 4. **Optional:** In **Token**, enter a bearer token if the URL requires authentication. #### Supported Formats The connector supports these schema formats: * JSON (`.json`) * YAML (`.yaml` or `.yml`) ### Configure an S3-Hosted Schema 1. In the REST service connection form, select **OpenAPI Schema S3 URL** when the OpenAPI schema is stored in Amazon S3, including when the object is private. 2. In **OpenAPI Schema S3 URL**, enter the HTTPS object URL in the following format: ```text theme={null} https://.s3..amazonaws.com/ ``` 3. In **AWS Region**, enter the bucket's Amazon Web Services (AWS) Region. 4. In the AWS credential configuration, choose the credential method used by the ingestion runner: * Enable AWS Identity and Access Management (IAM) authentication with **IAM Auth** to use the runner's default AWS credential provider chain, including a workload or instance role. * Configure an access key and secret. Include the session token when using temporary credentials. * Select a named AWS profile that is available in the runner environment. 5. **Optional:** In `assumeRoleArn`, enter the target role Amazon Resource Name (ARN) after selecting a source credential method. The target role's trust policy must allow the source principal. For cross-account role assumption, the source principal's identity policy must also allow `sts:AssumeRole`. For same-account role assumption, an identity policy is required unless the trust policy grants the source principal permission directly. Use the exact S3 object key in the URL. The connector recognizes `.json`, `.yaml`, and `.yml` extensions and detects the format of extensionless objects. Avoid percent-encoded characters in the object key because the connector passes the URL path to S3 without decoding it. The S3 source doesn't accept an `s3://` URI. The REST connector retrieves the object with the configured AWS credentials. For more information about the URL structure, see [Virtual Hosting of General Purpose Buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html). ### Configure S3 Access for the Hybrid Runner For a private schema object in the same AWS account as the effective ingestion principal, grant `s3:GetObject` through either the principal's identity policy or the bucket policy. For a cross-account schema object, configure both sides: 1. Grant the effective ingestion principal `s3:GetObject` on the exact schema object through an AWS Identity and Access Management (IAM) identity policy. 2. Add a bucket policy granting the same principal `s3:GetObject` on the exact schema object: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowHybridRunnerOpenAPISchemaRead", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam:::role/" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::/" } ] } ``` If credentials resolve to an IAM user, use the user ARN as the principal and grant `s3:GetObject` through an identity policy. The `assumeRoleArn` setting selects AWS credentials but doesn't grant S3 access. The target role must have `s3:GetObject`. For cross-account S3 access, the bucket policy must also name the target role as the principal. If the schema object uses server-side encryption with AWS Key Management Service (AWS KMS) keys, grant `kms:Decrypt` on the key to the effective principal. Cross-account access requires a customer-managed key because the `aws/s3` key can't be shared across accounts. ## Metadata Ingestion To ingest metadata from REST, you need to create a service connection. The service connects REST with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **API Services**, then click the **REST** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/select-service/rest.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=9eb14c79cd6c53e9565d9d53bfa13add) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other REST services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/service-name/rest.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f028b2257bdbf1b1a9147ebcda4be9e0) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for REST. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/connection-details/rest.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=3dd1aff368c7829f8ff60eb11dbc8d64) * **OpenAPI Schema URL**: HTTP or HTTPS URL pointing directly to your OpenAPI schema file (for example `https://petstore3.swagger.io/api/v3/openapi.json`). * **OpenAPI Schema S3 URL**: HTTPS S3 object URL when the schema is stored in S3. Configure AWS Region and credentials alongside it. * **Token** (optional): Bearer token if the schema URL requires authentication. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your API service. Filter rules match collection names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all API collections and their endpoints available in the source. #### Filter Options The API Collection section includes the following filter options: * **API Collection**: Controls which API collections (groups of endpoints defined in an OpenAPI specification) Collate ingests from the source. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts API collections, endpoints, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Filter Patterns**: Apply include or exclude rules to scope which API collections and endpoints this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/api-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f6c2352c67e41d7d81b60c8192a56ba9) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Mark Deleted API Collections | On | Soft-delete API collections in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/api-scope-behaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=2719d58bc00a053c2c81db8c5f2e65af) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [REST Troubleshooting](/ai-2-0/connectors/api/rest/troubleshooting) > > Learn more about how to troubleshoot common REST connector issues and resolve configuration or ingestion errors. # REST API Connector Source: https://docs.getcollate.io/ai-2-0/connectors/api/rest/index Learn how to integrate REST APIs with Collate connectors. Complete documentation, setup guides, and examples for seamless data source connections. ![REST](/public/images/connectors/rest.webp) # REST BETA This section provides guides and references to use the OpenAPI/REST connector. Configure and schedule REST metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/api/rest/troubleshooting) ## Requirements Configure the schema source and file format before creating the REST service. ### Configure the OpenAPI Schema URL 1. Generate an [OpenAPI specification](https://swagger.io/specification/#openapi-document) for the service. 2. In the REST service connection form, select **OpenAPI Schema URL**. 3. In **OpenAPI Schema URL**, enter an HTTP or HTTPS URL that is reachable from the configured ingestion runner and points directly to the schema file. 4. **Optional:** In **Token**, enter a bearer token if the URL requires authentication. #### Supported Formats The connector supports these schema formats: * JSON (`.json`) * YAML (`.yaml` or `.yml`) ### Configure an S3-Hosted Schema 1. In the REST service connection form, select **OpenAPI Schema S3 URL** when the OpenAPI schema is stored in Amazon S3, including when the object is private. 2. In **OpenAPI Schema S3 URL**, enter the HTTPS object URL in the following format: ```text theme={null} https://.s3..amazonaws.com/ ``` 3. In **AWS Region**, enter the bucket's Amazon Web Services (AWS) Region. 4. In the AWS credential configuration, choose the credential method used by the ingestion runner: * Enable AWS Identity and Access Management (IAM) authentication with **IAM Auth** to use the runner's default AWS credential provider chain, including a workload or instance role. * Configure an access key and secret. Include the session token when using temporary credentials. * Select a named AWS profile that is available in the runner environment. 5. **Optional:** In `assumeRoleArn`, enter the target role Amazon Resource Name (ARN) after selecting a source credential method. The target role's trust policy must allow the source principal. For cross-account role assumption, the source principal's identity policy must also allow `sts:AssumeRole`. For same-account role assumption, an identity policy is required unless the trust policy grants the source principal permission directly. Use the exact S3 object key in the URL. The connector recognizes `.json`, `.yaml`, and `.yml` extensions and detects the format of extensionless objects. Avoid percent-encoded characters in the object key because the connector passes the URL path to S3 without decoding it. The S3 source doesn't accept an `s3://` URI. The REST connector retrieves the object with the configured AWS credentials. For more information about the URL structure, see [Virtual Hosting of General Purpose Buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html). ## Metadata Ingestion To ingest metadata from REST, you need to create a service connection. The service connects REST with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **API Services**, then click the **REST** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/select-service/rest.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=9eb14c79cd6c53e9565d9d53bfa13add) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other REST services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/service-name/rest.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f028b2257bdbf1b1a9147ebcda4be9e0) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for REST. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/connection-details/rest.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=3dd1aff368c7829f8ff60eb11dbc8d64) * **OpenAPI Schema URL**: HTTP or HTTPS URL pointing directly to your OpenAPI schema file (for example `https://petstore3.swagger.io/api/v3/openapi.json`). * **OpenAPI Schema S3 URL**: HTTPS S3 object URL when the schema is stored in S3. Configure AWS Region and credentials alongside it. * **Token** (optional): Bearer token if the schema URL requires authentication. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your API service. Filter rules match collection names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all API collections and their endpoints available in the source. #### Filter Options The API Collection section includes the following filter options: * **API Collection**: Controls which API collections (groups of endpoints defined in an OpenAPI specification) Collate ingests from the source. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts API collections, endpoints, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Filter Patterns**: Apply include or exclude rules to scope which API collections and endpoints this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/api-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f6c2352c67e41d7d81b60c8192a56ba9) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Mark Deleted API Collections | On | Soft-delete API collections in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/API/api-scope-behaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=2719d58bc00a053c2c81db8c5f2e65af) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [REST Troubleshooting](/ai-2-0/connectors/api/rest/troubleshooting) > > Learn more about how to troubleshoot common REST connector issues and resolve configuration or ingestion errors. # REST API Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/api/rest/troubleshooting Solve Collate REST API connector issues fast with our comprehensive troubleshooting guide. Debug common problems, error codes, and connection failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # ADLS Datalake Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/adls-datalake/hybrid-runner Connect your Azure Data Lake Storage to Collate with the ADLS connector. Simple setup guide, configuration steps, and metadata extraction tips. ![ADLS Datalake](/public/images/connectors/adls.webp) # ADLS Datalake PROD This section provides guides and references to use the ADLS Datalake connector. Configure and schedule Datalake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/adls-datalake/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: The ADLS Datalake connector supports extracting metadata from file types `JSON`, `CSV`, `TSV`, and `Parquet`. ### ADLS Permissions To extract metadata from Azure ADLS (a StorageV2 storage account), you will need an **App Registration** with the following permissions on the Storage Account: * Storage Blob Data Reader * Storage Queue Data Reader ### Limitations > [!NOTE] > > The ADLS Datalake connector works only with the Azure public cloud. Azure Government and other sovereign clouds are not supported. The connector fixes these endpoints to the public cloud, and you can't change them in the service connection: * The Blob Storage endpoint: `https://.blob.core.windows.net` * The Data Lake Storage endpoint: `.dfs.core.windows.net` ## Metadata Ingestion To ingest metadata from ADLS Datalake, you need to create a service connection. The service connects ADLS Datalake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ADLS Datalake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=0cec8dcda78457f8a9bccd9dd994c2e0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ADLS Datalake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/datalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e4d74248e004065b294858a8e00b0ce2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ADLS Datalake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/adls-datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9e14b6fe60d73669ad02ec00c7b00fb3) * **Azure Credentials** * **Client ID**: Client ID of the data storage account * **Client Secret**: Client Secret of the account * **Tenant ID**: Tenant ID under which the data storage account falls * **Account Name**: Account Name of the data storage account * **Required Roles** Make sure the following roles are associated with the data storage account. * `Storage Blob Data Reader` * `Storage Queue Data Reader` * The current approach for authentication is based on `app registration`. Contact Collate support on [Slack](https://slack.open-metadata.org/) if you need another authentication method. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [ADLS Datalake Troubleshooting](/ai-2-0/connectors/database/adls-datalake/troubleshooting) > > Learn more about how to troubleshoot common ADLS Datalake connector issues and resolve configuration or ingestion errors. # ADLS Datalake Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/adls-datalake/index Connect your Azure Data Lake Storage to Collate with the ADLS connector. Simple setup guide, configuration steps, and metadata extraction tips. ![ADLS Datalake](/public/images/connectors/adls.webp) # ADLS Datalake PROD This section provides guides and references to use the ADLS Datalake connector. Configure and schedule Datalake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/adls-datalake/troubleshooting) ## Requirements > [!TIP] > > **Tip**: The ADLS Datalake connector supports extracting metadata from file types `JSON`, `CSV`, `TSV`, and `Parquet`. ### ADLS Permissions To extract metadata from Azure ADLS (a StorageV2 storage account), you will need an **App Registration** with the following permissions on the Storage Account: * Storage Blob Data Reader * Storage Queue Data Reader ### Limitations > [!NOTE] > > The ADLS Datalake connector works only with the Azure public cloud. Azure Government and other sovereign clouds are not supported. The connector fixes these endpoints to the public cloud, and you can't change them in the service connection: * The Blob Storage endpoint: `https://.blob.core.windows.net` * The Data Lake Storage endpoint: `.dfs.core.windows.net` ## Metadata Ingestion To ingest metadata from ADLS Datalake, you need to create a service connection. The service connects ADLS Datalake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ADLS Datalake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/adls/select-service.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=db4d85818be3fdfe35bc5357cc60628a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ADLS Datalake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/adls/add-new-service.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=f39b78f88904d8ec38c0208a50134968) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ADLS Datalake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/adls-datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9e14b6fe60d73669ad02ec00c7b00fb3) * **Azure Credentials** * **Client ID**: Client ID of the data storage account * **Client Secret**: Client Secret of the account * **Tenant ID**: Tenant ID under which the data storage account falls * **Account Name**: Account Name of the data storage account * **Required Roles** Make sure the following roles are associated with the data storage account. * `Storage Blob Data Reader` * `Storage Queue Data Reader` * The current approach for authentication is based on `app registration`. Contact Collate support on [Slack](https://slack.open-metadata.org/) if you need another authentication method. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [ADLS Datalake Troubleshooting](/ai-2-0/connectors/database/adls-datalake/troubleshooting) > > Learn more about how to troubleshoot common ADLS Datalake connector issues and resolve configuration or ingestion errors. # ADLS Datalake Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/adls-datalake/troubleshooting Resolve ADLS Datalake connector issues in Collate with expert troubleshooting guides, common fixes, and step-by-step solutions for seamless integration. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the ADLS Datalake connector. #### ADLS Datalake Credentials Details This section covers how to locate the credentials required for the ADLS Datalake connector. ##### Where Can I Find the Client Secret? 1. Log in to `Azure Portal`. 2. Find and click on your application. 3. Select `Certificates & Secret` under the `Manage` section. ![Configure service connection](https://mintcdn.com/collatedocs/sQLcFBJkf-K-wqlw/public/images/connectors/datalake/troubleshoot-clientId.png?fit=max\&auto=format\&n=sQLcFBJkf-K-wqlw\&q=85\&s=e016338b7f5ce7863417e523f9ef6342) # Athena Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/athena/hybrid-runner Connect Amazon Athena to Collate effortlessly. Complete setup guide, configuration steps, and best practices for database metadata ingestion. ![Athena](/public/images/connectors/athena.webp) # Athena PROD This section provides guides and references to use the Athena connector. Configure and schedule Athena metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Data Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/athena/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The Athena connector ingests metadata through JDBC connections. > [!TIP] > > According to AWS's official [documentation](https://docs.aws.amazon.com/athena/latest/ug/policy-actions.html): > *If you are using the JDBC or ODBC driver, ensure that the IAM > permissions policy includes all of the actions listed in [AWS managed policy: AWSQuicksightAthenaAccess](https://docs.aws.amazon.com/athena/latest/ug/managed-policies.html#awsquicksightathenaaccess-managed-policy).* This policy groups the following permissions: * `athena` – Allows the principal to run queries on Athena resources. * `glue` – Allows principals access to AWS Glue databases, tables, and partitions. This is required so that the principal can use the AWS Glue Data Catalog with Athena. Resources of each table and database needs to be added as resource for each database user wants to ingest. * `lakeformation` – Allows principals to request temporary credentials to access data in a data lake location that is registered with Lake Formation and allows access to the LF-tags linked to databases, tables and columns. And is defined as: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Action": [ "athena:ListTableMetadata", "athena:ListDatabases", "athena:GetTableMetadata", "athena:ListQueryExecutions", "athena:StartQueryExecution", "athena:GetQueryExecution", "athena:ListWorkGroups", "athena:GetQueryResults", "athena:BatchGetQueryExecution" ], "Effect": "Allow", "Resource": [ "arn:aws:athena:<>:<>:workgroup/<>", "arn:aws:athena:<>:<>:datacatalog/<>" ] }, { "Action": [ "glue:GetTables", "glue:GetTable", "glue:GetDatabases", "glue:GetPartitions" ], "Effect": "Allow", "Resource": [ "arn:aws:glue:::table/<>/*", "arn:aws:glue:::database/<>", "arn:aws:glue:::catalog" ] }, { "Action": [ "s3:ListBucket", "s3:GetObject", "s3:GetBucketLocation", "s3:PutObject" ], "Effect": "Allow", "Resource": [ "arn:aws:s3:::<>/*" ] }, { "Effect": "Allow", "Action": [ "lakeformation:GetResourceLFTags" ], "Resource": "*" }, { "Action": [ "lambda:InvokeFunction" ], "Effect": "Allow", "Resource": [ "arn:aws:lambda:<>:<>:function:<>" ] }, { "Effect": "Allow", "Action": [ "kms:Decrypt", "kms:DescribeKey" ], "Resource": [ "arn:aws:kms:<>:<>:key/<>" ] } ] } ``` ### LF-Tags The Athena connector ingests Lake Formation tags on databases, tables, and columns. It maps each LF-tag key to a Collate classification and each value to a tag label. `includeTags` defaults to `true` in metadata ingestion. Set it to `false` to skip LF-tag ingestion. Grant the ingestion principal the IAM action `lakeformation:GetResourceLFTags`. The principal also needs Lake Formation access to the target databases and tables, plus `DESCRIBE` or `ASSOCIATE` permission on the LF-tags it reads. ## Iceberg Table Support The Athena connector ingests Iceberg tables through the AWS Glue Data Catalog. When Glue reports `table_type=ICEBERG`, Collate assigns the table the `Iceberg` table type. Grant the ingestion principal `glue:GetTables` to list tables and `glue:GetTable` to read Iceberg column metadata, along with the standard Athena permissions above. If the connector cannot read Glue table listings, it falls back to JDBC table discovery and reports those tables as `External`. If it cannot read a table's Glue column metadata, it falls back to standard column detection. Classifying Iceberg tables from Glue metadata does not require S3 write access. Other Athena workflows can still require the S3 permissions shown in the policy above. ## Metadata Ingestion To ingest metadata from Athena, you need to create a service connection. The service connects Athena with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Athena** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/athena.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=377ffeb8de054f4902cd5c4c34779653) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Athena services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/athena.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d4367789687e0bfe235bfe859e4e67f4) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Athena. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/athena.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bebba9123c0249ac0ccd4a829095087a) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). When using Assume Role authentication, ensure you provide the following details: * **AWS Region**: Specify the AWS region for your deployment. * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **S3 Staging Directory**: The S3 staging directory is an optional parameter. Enter a staging directory to override the default staging directory for AWS Athena. * **Athena Workgroup**: The Athena workgroup is an optional parameter. If you wish to have your Athena connection related to an existing AWS workgroup add your workgroup name here. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Athena supports description updates at the following level: * Table level * **Owner Management**: Owner management is not supported for Athena. * **Tag Management**: Tag management is not supported for Athena. * **Custom SQL Template**: Athena supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Following is the example of custom SQL queries for metadata changes: ```sql theme={null} -- Update table description ALTER TABLE {schema}.{table} SET TBLPROPERTIES ('comment' = {description}); ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Athena Troubleshooting](/ai-2-0/connectors/database/athena/troubleshooting) > > Learn more about how to troubleshoot common Athena connector issues and resolve configuration or ingestion errors. # Athena Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/athena/index Connect Amazon Athena to Collate effortlessly. Complete setup guide, configuration steps, and best practices for database metadata ingestion. ![Athena](/public/images/connectors/athena.webp) # Athena PROD This section provides guides and references to use the Athena connector. Configure and schedule Athena metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Data Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/athena/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements The Athena connector ingests metadata through JDBC connections. > [!TIP] > > According to AWS's official [documentation](https://docs.aws.amazon.com/athena/latest/ug/policy-actions.html): > *If you are using the JDBC or ODBC driver, ensure that the IAM > permissions policy includes all of the actions listed in [AWS managed policy: AWSQuicksightAthenaAccess](https://docs.aws.amazon.com/athena/latest/ug/managed-policies.html#awsquicksightathenaaccess-managed-policy).* This policy groups the following permissions: * `athena` – Allows the principal to run queries on Athena resources. * `glue` – Allows principals access to AWS Glue databases, tables, and partitions. This is required so that the principal can use the AWS Glue Data Catalog with Athena. Resources of each table and database needs to be added as resource for each database user wants to ingest. * `lakeformation` – Allows principals to request temporary credentials to access data in a data lake location that is registered with Lake Formation and allows access to the LF-tags linked to databases, tables and columns. And is defined as: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Action": [ "athena:ListTableMetadata", "athena:ListDatabases", "athena:GetTableMetadata", "athena:ListQueryExecutions", "athena:StartQueryExecution", "athena:GetQueryExecution", "athena:ListWorkGroups", "athena:GetQueryResults", "athena:BatchGetQueryExecution" ], "Effect": "Allow", "Resource": [ "arn:aws:athena:<>:<>:workgroup/<>", "arn:aws:athena:<>:<>:datacatalog/<>" ] }, { "Action": [ "glue:GetTables", "glue:GetTable", "glue:GetDatabases", "glue:GetPartitions" ], "Effect": "Allow", "Resource": [ "arn:aws:glue:::table/<>/*", "arn:aws:glue:::database/<>", "arn:aws:glue:::catalog" ] }, { "Action": [ "s3:ListBucket", "s3:GetObject", "s3:GetBucketLocation", "s3:PutObject" ], "Effect": "Allow", "Resource": [ "arn:aws:s3:::<>/*" ] }, { "Effect": "Allow", "Action": [ "lakeformation:GetResourceLFTags" ], "Resource": "*" }, { "Action": [ "lambda:InvokeFunction" ], "Effect": "Allow", "Resource": [ "arn:aws:lambda:<>:<>:function:<>" ] }, { "Effect": "Allow", "Action": [ "kms:Decrypt", "kms:DescribeKey" ], "Resource": [ "arn:aws:kms:<>:<>:key/<>" ] } ] } ``` ### LF-Tags The Athena connector ingests Lake Formation tags on databases, tables, and columns. It maps each LF-tag key to a Collate classification and each value to a tag label. `includeTags` defaults to `true` in metadata ingestion. Set it to `false` to skip LF-tag ingestion. Grant the ingestion principal the IAM action `lakeformation:GetResourceLFTags`. The principal also needs Lake Formation access to the target databases and tables, plus `DESCRIBE` or `ASSOCIATE` permission on the LF-tags it reads. ## Iceberg Table Support The Athena connector ingests Iceberg tables through the AWS Glue Data Catalog. When Glue reports `table_type=ICEBERG`, Collate assigns the table the `Iceberg` table type. Grant the ingestion principal `glue:GetTables` to list tables and `glue:GetTable` to read Iceberg column metadata, along with the standard Athena permissions above. If the connector cannot read Glue table listings, it falls back to JDBC table discovery and reports those tables as `External`. If it cannot read a table's Glue column metadata, it falls back to standard column detection. Classifying Iceberg tables from Glue metadata does not require S3 write access. Other Athena workflows can still require the S3 permissions shown in the policy above. ## Metadata Ingestion To ingest metadata from Athena, you need to create a service connection. The service connects Athena with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Athena** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/athena.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=377ffeb8de054f4902cd5c4c34779653) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Athena services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/athena.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d4367789687e0bfe235bfe859e4e67f4) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Athena. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/athena.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bebba9123c0249ac0ccd4a829095087a) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). When using Assume Role authentication, ensure you provide the following details: * **AWS Region**: Specify the AWS region for your deployment. * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **S3 Staging Directory**: The S3 staging directory is an optional parameter. Enter a staging directory to override the default staging directory for AWS Athena. * **Athena Workgroup**: The Athena workgroup is an optional parameter. If you wish to have your Athena connection related to an existing AWS workgroup add your workgroup name here. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Athena supports description updates at the following level: * Table level * **Owner Management**: Owner management is not supported for Athena. * **Tag Management**: Tag management is not supported for Athena. * **Custom SQL Template**: Athena supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Following is the example of custom SQL queries for metadata changes: ```sql theme={null} -- Update table description ALTER TABLE {schema}.{table} SET TBLPROPERTIES ('comment' = {description}); ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Athena Troubleshooting](/ai-2-0/connectors/database/athena/troubleshooting) > > Learn more about how to troubleshoot common Athena connector issues and resolve configuration or ingestion errors. # Athena Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/athena/troubleshooting Resolve Collate Athena connector issues fast with our comprehensive troubleshooting guide. Fix common database connection problems and errors quickly. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Test Connection Passes but No Tables Are Ingested If ingestion completes but imports **0 tables**, check the **GetTables** step on Test Connection. It still shows as passed, but can carry one of two distinct caveats, each with its own cause and remedy. ### Caveat: No Schemas Visible ``` No databases were listable in . Check the login's Glue/Athena list permissions and Lake Formation DESCRIBE grants, or confirm the catalog and schemaFilterPattern are not excluding everything. ``` This means no databases could be listed in the target catalog at all, before the connector ever got to checking individual tables. Two distinct causes: * The configured `schemaFilterPattern` (or the catalog itself) excludes every database that exists. * The IAM principal used by the connector is missing the Glue/Athena permissions needed to list databases (for example `glue:GetDatabases`, `athena:ListDatabases`), or the Lake Formation **Describe** grant at the database level. #### Resolution 1. Review the configured `schemaFilterPattern` and confirm it isn't excluding every database in the catalog. 2. In IAM, confirm the principal used by the connector (a role, or an IAM user if the connector authenticates with an AWS access key) has the Glue/Athena list permissions from the connector's required policy. 3. In the AWS Lake Formation console, grant that principal **Describe** at the database level for the databases it should list. 4. Re-run **Test Connection** and check the **GetTables** caveat again. ### Caveat: No Readable Tables ``` No tables were readable in any targeted schema. AWS Lake Formation returns an empty list (not an error) when grants are missing, so ingestion would collect 0 tables. Grant Lake Formation DESCRIBE/SELECT on the databases and tables the login should read. If the catalog is genuinely empty or view-only, this is expected. ``` This means databases were listed successfully, but the IAM principal used by the connector is missing AWS Lake Formation **Describe** and **Select** grants on the target tables. AWS Lake Formation silently filters results it can't authorize instead of raising an error, so a catalog with missing table-level grants looks identical to a genuinely empty one. Test Connection can't tell the two apart, so it passes with this caveat instead of failing outright, which would incorrectly reject a legitimately empty or view-only catalog. #### Resolution 1. In the AWS Lake Formation console, open **Data permissions**. 2. Grant the IAM principal used by the Athena connector (a role, or an IAM user if the connector authenticates with an AWS access key) **Describe** and **Select** permissions on each database and table it needs to ingest. 3. Re-run **Test Connection** and check the **GetTables** caveat again. If the catalog genuinely has no tables yet, this caveat is expected and can be ignored. # AzureSQL Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/azuresql/hybrid-runner Learn how to connect Azure SQL to Collate with step-by-step setup guides, configuration options, and metadata extraction features. ![AzureSQL](/public/images/connectors/azuresql.webp) # AzureSQL PROD This section provides guides and references to use the AzureSQL connector. Configure and schedule AzureSQL metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/azuresql/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Make sure the ingestion container IP is added to the Azure SQL firewall allowlist. For more information, see [Use the Azure portal to manage server-level IP firewall rules](https://learn.microsoft.com/en-us/azure/azure-sql/database/firewall-configure?view=azuresql#use-the-azure-portal-to-manage-server-level-ip-firewall-rules). The AzureSQL database user must be granted the `SELECT` privilege to fetch the metadata of tables and views. ```sql theme={null} -- Create a new user -- More details https://learn.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql?view=sql-server-ver16 CREATE USER Mary WITH PASSWORD = '********'; -- Grant SELECT on table GRANT SELECT TO Mary; ``` ### Profiler The profiler reads row counts and table sizes from `sys.dm_db_partition_stats`. The user needs the `VIEW DATABASE STATE` permission on every database you profile. Without it, the profiler fails with `The user does not have permission to perform this action` (error 297). ```sql theme={null} GRANT VIEW DATABASE STATE TO Mary; ``` Exact grant names and tiers can differ on Azure SQL Database and Azure SQL Managed Instance. For more information, see [Microsoft documentation](https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-partition-stats-transact-sql). ## Metadata Ingestion To ingest metadata from AzureSQL, you need to create a service connection. The service connects AzureSQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **AzureSQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/azuresql.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c85c67a3d4effd66e7215870b27ccb8d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other AzureSQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/azuresql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=44145c58384434e7639bf3ba3714648d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline runs. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for AzureSQL. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/azuresql.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bc3510777c2fe8bc4d79ace9c7e1994d) * **Username**: Specify the user to connect to AzureSQL. It should have enough privileges to read all the metadata. * **Password**: Password to connect to AzureSQL. * **Host and Port**: Enter the fully qualified hostname and port number for your AzureSQL deployment in the Host and Port field. * **Database**: Optional. Restrict metadata reading to a single database. If left blank, Collate scans all databases. * **Driver**: Connecting to AzureSQL requires an ODBC driver. Specify the ODBC driver name in the field. Download the [ODBC driver for SQL Server](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16). Docker and Kubernetes deployments include this driver by default (`ODBC Driver 18 for SQL Server`). #### Authentication Mode * **Authentication**: * The `authentication` parameter determines the method of authentication when connecting to AzureSQL using ODBC (Open Database Connectivity). * If you select **"Active Directory Password"**, you'll need to provide the password associated with your Azure Active Directory account. * Alternatively, if you choose **"Active Directory Integrated"**, the connection uses the credentials of the currently logged-in user. This mode ensures secure and seamless connections with AzureSQL. * **Encrypt**: * The `encrypt` setting in the connection string pertains to data encryption during communication with AzureSQL. * When enabled, it ensures that data exchanged between your application and the database is encrypted, enhancing security. * **Trust Server Certificate**: * The `trustServerCertificate` option also relates to security. * When set to true, your application trusts the server's SSL certificate without validation. Use this cautiously, as it bypasses certificate validation checks. * **Connection Timeout**: * The `connectionTimeout` parameter specifies the maximum time, in seconds, that your application waits while attempting to establish a connection to AzureSQL. * If Collate cannot establish the connection within this timeframe, it raises an error. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. Use these fields only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so Collate ingests only assets that match at least one rule. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Collate never ingests assets matching these rules, regardless of include rules. * **Preview**: Shows a real-time summary of what's in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. Collate includes an asset if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [AzureSQL Troubleshooting](/ai-2-0/connectors/database/azuresql/troubleshooting) > > Learn more about how to troubleshoot common AzureSQL connector issues and resolve configuration or ingestion errors. # AzureSQL Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/azuresql/index Learn how to connect Azure SQL to Collate with step-by-step setup guides, configuration options, and metadata extraction features. ![AzureSQL](/public/images/connectors/azuresql.webp) # AzureSQL PROD This section provides guides and references to use the AzureSQL connector. Configure and schedule AzureSQL metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/azuresql/troubleshooting) ## Requirements Make sure the ingestion container IP is added to the Azure SQL firewall allowlist. For more information, see [Use the Azure portal to manage server-level IP firewall rules](https://learn.microsoft.com/en-us/azure/azure-sql/database/firewall-configure?view=azuresql#use-the-azure-portal-to-manage-server-level-ip-firewall-rules). The AzureSQL database user must be granted the `SELECT` privilege to fetch the metadata of tables and views. ```sql theme={null} -- Create a new user -- More details https://learn.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql?view=sql-server-ver16 CREATE USER Mary WITH PASSWORD = '********'; -- Grant SELECT on table GRANT SELECT TO Mary; ``` ### Profiler The profiler reads row counts and table sizes from `sys.dm_db_partition_stats`. The user needs the `VIEW DATABASE STATE` permission on every database you profile. Without it, the profiler fails with `The user does not have permission to perform this action` (error 297). ```sql theme={null} GRANT VIEW DATABASE STATE TO Mary; ``` Exact grant names and tiers can differ on Azure SQL Database and Azure SQL Managed Instance. For more information, see [Microsoft documentation](https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-partition-stats-transact-sql). ## Metadata Ingestion To ingest metadata from AzureSQL, you need to create a service connection. The service connects AzureSQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **AzureSQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/azuresql.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c85c67a3d4effd66e7215870b27ccb8d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other AzureSQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/azuresql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=44145c58384434e7639bf3ba3714648d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline runs. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for AzureSQL. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/azuresql.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bc3510777c2fe8bc4d79ace9c7e1994d) * **Username**: Specify the user to connect to AzureSQL. It should have enough privileges to read all the metadata. * **Password**: Password to connect to AzureSQL. * **Host and Port**: Enter the fully qualified hostname and port number for your AzureSQL deployment in the Host and Port field. * **Database**: Optional. Restrict metadata reading to a single database. If left blank, Collate scans all databases. * **Driver**: Connecting to AzureSQL requires an ODBC driver. Specify the ODBC driver name in the field. Download the [ODBC driver for SQL Server](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16). Docker and Kubernetes deployments include this driver by default (`ODBC Driver 18 for SQL Server`). #### Authentication Mode * **Authentication**: * The `authentication` parameter determines the method of authentication when connecting to AzureSQL using ODBC (Open Database Connectivity). * If you select **"Active Directory Password"**, you'll need to provide the password associated with your Azure Active Directory account. * Alternatively, if you choose **"Active Directory Integrated"**, the connection uses the credentials of the currently logged-in user. This mode ensures secure and seamless connections with AzureSQL. * **Encrypt**: * The `encrypt` setting in the connection string pertains to data encryption during communication with AzureSQL. * When enabled, it ensures that data exchanged between your application and the database is encrypted, enhancing security. * **Trust Server Certificate**: * The `trustServerCertificate` option also relates to security. * When set to true, your application trusts the server's SSL certificate without validation. Use this cautiously, as it bypasses certificate validation checks. * **Connection Timeout**: * The `connectionTimeout` parameter specifies the maximum time, in seconds, that your application waits while attempting to establish a connection to AzureSQL. * If Collate cannot establish the connection within this timeframe, it raises an error. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. Use these fields only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so Collate ingests only assets that match at least one rule. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Collate never ingests assets matching these rules, regardless of include rules. * **Preview**: Shows a real-time summary of what's in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. Collate includes an asset if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [AzureSQL Troubleshooting](/ai-2-0/connectors/database/azuresql/troubleshooting) > > Learn more about how to troubleshoot common AzureSQL connector issues and resolve configuration or ingestion errors. # AzureSQL Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/azuresql/troubleshooting Solve Azure SQL connector issues in Collate with expert troubleshooting guides. Fix common connection problems, authentication errors, and data ingestion issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the AzureSQL connector. * **Unknown error connecting with Engine \[...]; An attempt to complete a transaction has failed. No corresponding transaction found. (111214) (SQLEndTran)** This exception can occur when connecting to AzureSQL using SQLAlchemy—the internal Collate ingestion library for reaching databases. To solve this issue, edit your Service Connection by adding the following **Connection Argument**: * Key: `autocommit` * Value: `true` ![autocommit](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/azuresql/autocommit.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=36ac0debd331da931c3fc2d753ca39cd) * **Cannot open server '\[server name]' requested by the login. Client with IP address '\[your IP]' is not allowed to access the server** This exception can occur when connecting to AzureSQL using SQLAlchemy—the internal Collate ingestion library for reaching databases. To solve this issue, add your IP address to the firewall rules for your Azure SQL instance. ![Azure SQL firewall rules](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/azuresql/azure-firewall.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=a877bdb2f30762d8abe75c745dbd4b65) ## Profiler Fails with "The user does not have permission to perform this action" If the profiler fails with the following error (error 297): ``` (pymssql.exceptions.OperationalError) (297, b'The user does not have permission to perform this action.') ``` the ingestion user cannot read `sys.dm_db_partition_stats`, which the profiler uses for row counts and table sizes. **Fix**: Grant the permission in every database you profile. For more information, see [Profiler](/ai-2-0/connectors/database/azuresql#profiler). ```sql theme={null} GRANT VIEW DATABASE STATE TO Mary; ``` # BigQuery Create Credentials Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigquery/create-credentials Learn how to create and configure BigQuery credentials for Collate Database Connector. Step-by-step guide with authentication setup and best practices. # Create Credentials for BigQuery Ingestion This documentation provides a step-by-step guide on how to create a custom role in Google Cloud Platform (GCP) with the necessary permissions to ingest BigQuery in Collate. It covers the process of navigating to the Roles section in the GCP console, creating a role, adding permissions, and creating a service account with credentials. By following these instructions, you will be able to set up the required role and credentials to access and ingest BigQuery metadata in Collate. ## 1. Create custom role in GCP ### Step 1: Navigate to Roles Search for `Roles` in your GCP console and select the first result under `IAM & Roles` section. ![Navigate to Roles](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/create-role-1.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=44df139e2467e04d78759f40273ca1df) ### Step 2: Create Role & Add Permissions Below the search bar you should see a `Create Role` button. Click that button, then go to the Create Role page. ![Create Role Button](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/create-role-2.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=425a75f57038ffa70531fcff0583b468) Once you are on the create role page, you can edit the description & title of the role and finally you can click on `add permissions` to grant permissions to role. ![Create Role](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/create-role-3.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=72a24db72581da4442773a2aabb2ce2e) You can search for the required permissions in the filter box and add them accordingly. To ingest metadata from BigQuery you need to grant the following permissions to the user. | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigquery.datasets.get | Metadata Ingestion | | 2 | bigquery.tables.get | Metadata Ingestion | | 3 | bigquery.tables.getData | Metadata Ingestion | | 4 | bigquery.tables.list | Metadata Ingestion | | 5 | resourcemanager.projects.get | Metadata Ingestion | | 6 | bigquery.jobs.create | Metadata Ingestion | | 7 | bigquery.jobs.listAll | Metadata Ingestion | | 8 | bigquery.routines.get | Stored Procedure | | 9 | bigquery.routines.list | Stored Procedure | | 10 | datacatalog.taxonomies.get | Fetch Policy Tags | | 11 | datacatalog.taxonomies.list | Fetch Policy Tags | | 12 | bigquery.readsessions.create | Bigquery Usage & Lineage Workflow | | 13 | bigquery.readsessions.getData | Bigquery Usage & Lineage Workflow | | 14 | logging.operations.list | Incremental Metadata Ingestion | ![Add Permissions](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/create-role-4.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=fed05f92f077fb8f3bc6c8d8133b1bb1) Once you have added all the required permissions, you can create the role by clicking on the create button. ![Add Permissions](https://mintcdn.com/collatedocs/XpKvVFBhWkpStuF4/public/images/connectors/bigquery/create-role-5.png?fit=max\&auto=format\&n=XpKvVFBhWkpStuF4\&q=85\&s=2ba9acae403b29daa70af53477df9f07) ![Add Permissions](https://mintcdn.com/collatedocs/XpKvVFBhWkpStuF4/public/images/connectors/bigquery/create-role-5.1.png?fit=max\&auto=format\&n=XpKvVFBhWkpStuF4\&q=85\&s=ab2a9bc3a7f0e1af9643d8b0aadf3e09) ## 2. Create Service Account ### Step 1: Navigate to Service Accounts Login to your GCP console and navigate to service accounts page. ![Navigate to Service Accounts](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-service-account-search.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=64bc9f9a16c9989d859980e43c46d89c) ### Step 2: Create Service Account & Grant Role Once you are on service account page, click on `Create Service Account` button. ![Create Service Accounts](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-create-service-account.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=0096c77e119847219916b5d407533f31) Fill the service account details ![Create Service Accounts](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-create-service-account-1.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=afb824f82eb1b6b3b3555faa34be2bf5) Grant a role to service account which has all the required permission to ingest BigQuery metadata in Collate. ![Grant Role to Service Account](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-service-account-grant-role.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=f30e2dbfd53a6f7730c16c84976dece8) ## 3. Create and Download Key Credentials ### Step 1: Navigate to Service Accounts On service accounts page, look for the service account that you just created, click on the three dots menu and go to manage keys ![Service Account Manage Keys](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-service-account-manage-keys.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=91146b056d2fe0354d9fe617da31f3bf) ### Step 2: Download Key Credentials Click on **Add Key** > **New Key** > **Select JSON** and download the key. ![Create New Key](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-create-service-account-key.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=b8e636c6d9deb7a9c037b61da98ec041) ![Download json Key](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/bq-create-key-modal.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=447b74af43c66b3fb00fce563a813152) Open this downloaded key and you will get all the required credentials details to fetch metadata from Bigquery. # BigQuery Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigquery/hybrid-runner Connect BigQuery to Collate seamlessly with our comprehensive database connector guide. Setup instructions, configuration tips, and metadata extraction workflows. ![BigQuery](/public/images/connectors/bigquery.webp) # BigQuery PROD This section provides guides and references to use the BigQuery connector. Configure and schedule BigQuery metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Incremental Extraction](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/incremental-extraction/bigquery) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality/configure) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/bigquery/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). You need to create a service account to ingest metadata from BigQuery. For more information, see [Create BigQuery Credentials](/ai-2-0/connectors/database/bigquery/create-credentials). > [card] [Create Custom GCP Role](/ai-2-0/connectors/database/bigquery/create-credentials) > > Check out this documentation on how to create a custom role and assign it to the service account. ## Partitioned Tables When profiling **partitioned tables** in BigQuery, Collate applies a **default partition query duration of 1 day** for time-based partitions. This conservative setting prevents excessive data scans but may result in no **Sample Data** or **Column Profile Metrics** if no data falls within the default window. ## Resolution You can adjust this behavior directly from the UI: 1. **Navigate to the table's detail page.** 2. **Edit the profiler configuration.** 3. **Update the `partitionQueryDuration`** under **Partition Config** to a wider window (e.g., 30 days) as needed. ![Partitioned Tables](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/partitioned-tables.gif?s=729e33c5cd07f9aadc39ee1c76e9b174) This change allows Collate to access a broader data range during profiling and sample data collection, resolving the issue for partitioned tables. ### Data Catalog API Permissions * Follow Google's [instructions for enabling an API](https://docs.cloud.google.com/service-usage/docs/enable-disable). * Select the `GCP Project ID` that you want to enable the `Data Catalog API` on. * Search for and enable the `Data Catalog API`. > [!TIP] > > **Tip**: Access to the Google Data Catalog API is optional and only required if you want to retrieve policy tags from BigQuery. The BigQuery connector does not require this permission for general metadata ingestion. ### GCP Permissions To execute metadata extraction and usage workflow successfully the user or the service account should have enough access to fetch required data. Following table describes the minimum required permissions | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigquery.datasets.get | Metadata Ingestion | | 2 | bigquery.tables.get | Metadata Ingestion | | 3 | bigquery.tables.getData | Metadata Ingestion | | 4 | bigquery.tables.list | Metadata Ingestion | | 5 | resourcemanager.projects.get | Metadata Ingestion | | 6 | bigquery.jobs.create | Metadata Ingestion | | 7 | bigquery.jobs.listAll | Metadata Ingestion | | 8 | bigquery.routines.get | Stored Procedure | | 9 | bigquery.routines.list | Stored Procedure | | 10 | datacatalog.taxonomies.get | Fetch Policy Tags | | 11 | datacatalog.taxonomies.list | Fetch Policy Tags | | 12 | bigquery.readsessions.create | Bigquery Usage & Lineage Workflow | | 13 | bigquery.readsessions.getData | Bigquery Usage & Lineage Workflow | | 14 | logging.operations.list | Incremental Metadata Ingestion | > [!TIP] > > **Tip**: If the user has `External Tables`, attach the relevant permissions needed for external tables, along with the permissions listed above. > [!TIP] > > **Tip**: If you are using BigQuery and have sharded tables, you might want to consider using partitioned tables instead. Partitioned tables allow you to efficiently query data by date or other criteria, without having to manage multiple tables. Partitioned tables also have lower storage and query costs than sharded tables. > For more information, see [Partitioned Tables](https://cloud.google.com/bigquery/docs/partitioned-tables#dt_partition_shard). > If you want to convert your existing sharded tables to partitioned tables, you can follow the steps in this [guide](https://cloud.google.com/bigquery/docs/creating-partitioned-tables#convert-date-sharded-tables). > This will help you simplify your data management and optimize your performance in BigQuery. ## Metadata Ingestion To ingest metadata from BigQuery, you need to create a service connection. The service connects BigQuery with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **BigQuery** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/bigquery.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=7cd1e91ca01dcfddd405d3fb2da8f1af) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other BigQuery services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/bigquery.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=262ffd1ed0480cbc7603500eff6c0288) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for BigQuery. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/bigquery.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=4e045b3a86c774338687b4c83f8c2bb1) * **GCP Credentials**: Authenticate with your BigQuery instance using either `GCP Credentials Path`, where you specify the file path of the service account key, or `GCP Credentials Values`, where you pass the values directly from the service account key file. For more information, see [Create and Delete Service Account Keys](https://cloud.google.com/iam/docs/keys-create-delete#iam-service-account-keys-create-console). * **GCP Credentials Values**: Passing the raw credential values provided by BigQuery. This requires the following information, all provided by BigQuery: * **Project ID**: The GCP project ID (or list of project IDs) that Collate should **read metadata from**: that is, the project(s) containing the BigQuery datasets you want to catalog. To fetch this key, look for the value associated with the `project_id` key in the service account key file. Choose **Single Project ID** or **Multiple Project ID** and enter one or more project IDs to ingest metadata from different BigQuery projects into one service. * **Private Key ID**: This is a unique identifier for the private key associated with the service account. To fetch this key, look for the value associated with the `private_key_id` key in the service account file. * **Client Email**: This is the email address associated with the service account. To fetch this key, look for the value associated with the `client_email` key in the service account key file. * **Client ID**: This is a unique identifier for the service account. To fetch this key, look for the value associated with the `client_id` key in the service account key file. * **Private Key**: This is the private key associated with the service account that is used to authenticate and authorize access to BigQuery. To fetch this key, look for the value associated with the `private_key` key in the service account file. You can paste the key directly or use **Upload key file** to load it from the service account JSON file. * Expand **advanced credential settings** for the following fields: * **Credentials Type**: Credentials Type is the type of the account, for a service account the value of this field is `service_account`. To fetch this key, look for the value associated with the `type` key in the service account key file. * **Authentication URI**: This is the URI for the authorization server. To fetch this key, look for the value associated with the `auth_uri` key in the service account key file. The default value is `https://accounts.google.com/o/oauth2/auth`. * **Token URI**: The Google Cloud Token URI is a specific endpoint used to obtain an OAuth 2.0 access token from the Google Cloud IAM service. This token lets you authenticate and access various Google Cloud resources and APIs that require authorization. To fetch this key, look for the value associated with the `token_uri` key in the service account credentials file. The default token URI is `https://oauth2.googleapis.com/token`. * **Authentication Provider X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the authorization server. To fetch this key, look for the value associated with the `auth_provider_x509_cert_url` key in the service account key file. The default value is `https://www.googleapis.com/oauth2/v1/certs`. * **Client X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the service account. To fetch this key, look for the value associated with the `client_x509_cert_url` key in the service account key file. * **GCP Credentials Path**: Passing a local file path that contains the credentials. * **GCP Impersonate Service Account Configuration** (Optional): Expand **impersonation settings** to enable the authenticated service account to impersonate another service account, instead of ingesting directly with the credentials above. * **Target Service Account Email**: The email of the service account to impersonate. * **Lifetime**: Number of seconds the delegated credential should remain valid. Defaults to `3600`. * **Host and Port**: BigQuery APIs URL. By default, the API URL is `bigquery.googleapis.com`. You can modify this if you have a custom implementation of BigQuery. * **Billing Project ID** (Optional): The GCP project that will be **charged for the BigQuery jobs** Collate runs (metadata, usage, and lineage queries). This is separate from the data project(s) configured under **Project ID**. In simple setups where your data and billing are in the same project, you can leave this blank or set it to the same value as **Project ID**. Set it explicitly when your organization uses a centralized billing project, a shared service account that spans multiple data projects, or when the service account's home project should not receive the query charges. > [!TIP] > > **Tip**: `Project ID` tells Collate where to read metadata from. `Billing Project ID` tells BigQuery which project should pay for the queries. > > * Same-project setup: if your data lives in `analytics-prod` and that same project should pay for the queries, use `analytics-prod` as the `Project ID` and either leave `Billing Project ID` empty or set it to `analytics-prod`. > * Cross-project billing setup: if your data lives in `marketing-prod` and `finance-prod`, but all query costs should be charged to `central-billing`, use `marketing-prod` and `finance-prod` as `Project ID` values and set `Billing Project ID` to `central-billing`. > [!TIP] > > **Tip**: > **Application Default Credentials (ADC) Authentication** > > If you want to use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigQuery, configure the GCP credentials with type `gcp_adc`: > > ```yaml theme={null} > credentials: > gcpConfig: > type: gcp_adc > projectId: ["your-project-id"] # Optional: project(s) to read metadata from > ``` > > **Using ADC with Billing Project ID**: When using ADC authentication, you can still specify a **Billing Project ID** to control which project pays for the BigQuery queries Collate runs. This is particularly useful when: > > * Your service account has access to multiple projects > * You want to bill queries to a specific project different from the one containing your data > * You're running queries that span multiple projects > > **ADC Setup**: ADC authentication works automatically when running in Google Cloud environments (GKE, Compute Engine, Cloud Run) or when you've configured it locally using `gcloud auth application-default login`. * **Include Policy Tags** (Optional): Option to include policy tags as part of the column description. Enabled by default. * **Taxonomy Project ID** (Optional): BigQuery uses taxonomies to create hierarchical groups of policy tags. To apply access controls to BigQuery columns, tag the columns with policy tags. For more information, see [Column-Level Access Control](https://cloud.google.com/bigquery/docs/column-level-security). If you have attached policy tags to the columns of a table available in BigQuery, Collate will fetch those tags and attach them to the respective columns. In this field, specify the ID of the project in which the taxonomy was created. * **Taxonomy Location** (Optional): BigQuery uses taxonomies to create hierarchical groups of policy tags. To apply access controls to BigQuery columns, tag the columns with policy tags. For more information, see [Column-Level Access Control](https://cloud.google.com/bigquery/docs/column-level-security). If you have attached policy tags to the columns of a table available in BigQuery, Collate will fetch those tags and attach them to the respective columns. In this field, specify the location/region in which the taxonomy was created. * **Usage Location** (Optional): Location used to query `INFORMATION_SCHEMA.JOBS_BY_PROJECT` to fetch usage data. You can pass multi-regions, such as `us` or `eu`, or your specific region such as `us-east1`. Australia and Asia multi-regions are not yet supported. * **Cost Per TiB** (Optional): The cost (in USD) per tebibyte (TiB) of data processed during BigQuery usage analysis. This value is used to estimate query costs when analyzing usage metrics from `INFORMATION_SCHEMA.JOBS_BY_PROJECT`. This setting doesn't affect actual billing. It is only used for internal reporting and visualization of estimated costs. The default value, if not set, might assume the standard on-demand BigQuery pricing (for example, \$5.00 per TiB), but you should adjust it according to your organization's negotiated rates or flat-rate pricing model. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Cross-Project Lineage Collate supports cross-project lineage, but the data must be ingested within a single service. This means you need to perform lineage ingestion for just one service while including multiple projects. ## Reverse Metadata * **Description Management**: BigQuery supports description updates at the following levels: * Schema level * Table level * **Owner Management**: Owner management is not supported for BigQuery. * **Tag Management**: BigQuery supports tag management at the following levels: * Schema level * Table level * **Custom SQL Template**: BigQuery supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update table labels ALTER TABLE `{database}.{schema}.{table}` SET OPTIONS (labels = {tags}); ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigquery.datasets.update | Update dataset description & labels | | 2 | bigquery.tables.update | Update table description & labels | For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [BigQuery Troubleshooting](/ai-2-0/connectors/database/bigquery/troubleshooting) > > Learn more about how to troubleshoot common BigQuery connector issues and resolve configuration or ingestion errors. # BigQuery Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigquery/index Connect BigQuery to Collate seamlessly with our comprehensive database connector guide. Setup instructions, configuration tips, and metadata extraction workflows. ![BigQuery](/public/images/connectors/bigquery.webp) # BigQuery PROD [https://www.youtube.com/embed/aOaWniA9K40](https://www.youtube.com/embed/aOaWniA9K40) This section provides guides and references to use the BigQuery connector. Configure and schedule BigQuery metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Incremental Extraction](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/incremental-extraction/bigquery) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality/configure) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/bigquery/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements You need to create a service account to ingest metadata from BigQuery. For more information, see [Create BigQuery Credentials](/ai-2-0/connectors/database/bigquery/create-credentials). > [card] [Create Custom GCP Role](/ai-2-0/connectors/database/bigquery/create-credentials) > > Check out this documentation on how to create a custom role and assign it to the service account. ## Partitioned Tables When profiling **partitioned tables** in BigQuery, Collate applies a **default partition query duration of 1 day** for time-based partitions. This conservative setting prevents excessive data scans but may result in no **Sample Data** or **Column Profile Metrics** if no data falls within the default window. ## Resolution You can adjust this behavior directly from the UI: 1. **Navigate to the table's detail page.** 2. **Edit the profiler configuration.** 3. **Update the `partitionQueryDuration`** under **Partition Config** to a wider window (e.g., 30 days) as needed. ![Partitioned Tables](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigquery/partitioned-tables.gif?s=729e33c5cd07f9aadc39ee1c76e9b174) This change allows Collate to access a broader data range during profiling and sample data collection, resolving the issue for partitioned tables. ### Data Catalog API Permissions * Follow Google's [instructions for enabling an API](https://docs.cloud.google.com/service-usage/docs/enable-disable). * Select the `GCP Project ID` that you want to enable the `Data Catalog API` on. * Search for and enable the `Data Catalog API`. > [!TIP] > > **Tip**: Access to the Google Data Catalog API is optional and only required if you want to retrieve policy tags from BigQuery. The BigQuery connector does not require this permission for general metadata ingestion. ### GCP Permissions To execute metadata extraction and usage workflow successfully the user or the service account should have enough access to fetch required data. Following table describes the minimum required permissions | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigquery.datasets.get | Metadata Ingestion | | 2 | bigquery.tables.get | Metadata Ingestion | | 3 | bigquery.tables.getData | Metadata Ingestion | | 4 | bigquery.tables.list | Metadata Ingestion | | 5 | resourcemanager.projects.get | Metadata Ingestion | | 6 | bigquery.jobs.create | Metadata Ingestion | | 7 | bigquery.jobs.listAll | Metadata Ingestion | | 8 | bigquery.routines.get | Stored Procedure | | 9 | bigquery.routines.list | Stored Procedure | | 10 | datacatalog.taxonomies.get | Fetch Policy Tags | | 11 | datacatalog.taxonomies.list | Fetch Policy Tags | | 12 | bigquery.readsessions.create | Bigquery Usage & Lineage Workflow | | 13 | bigquery.readsessions.getData | Bigquery Usage & Lineage Workflow | | 14 | logging.operations.list | Incremental Metadata Ingestion | > [!TIP] > > **Tip**: If the user has `External Tables`, attach the relevant permissions needed for external tables, along with the permissions listed above. > [!TIP] > > **Tip**: If you are using BigQuery and have sharded tables, you might want to consider using partitioned tables instead. Partitioned tables allow you to efficiently query data by date or other criteria, without having to manage multiple tables. Partitioned tables also have lower storage and query costs than sharded tables. > For more information, see [Partitioned Tables](https://cloud.google.com/bigquery/docs/partitioned-tables#dt_partition_shard). > If you want to convert your existing sharded tables to partitioned tables, you can follow the steps in this [guide](https://cloud.google.com/bigquery/docs/creating-partitioned-tables#convert-date-sharded-tables). > This will help you simplify your data management and optimize your performance in BigQuery. ## Iceberg Table Support BigQuery supports Iceberg table ingestion in Collate when table metadata resolves to Iceberg table types. ### How Table Classification Works * Collate reads table metadata through BigQuery metadata APIs and information schema. * When table type metadata resolves to Iceberg, tables are classified in Collate as `Iceberg`. ### Access Requirements * **Catalog permissions**: Grant dataset and table metadata read permissions for the projects and datasets you want to ingest. * **File system permissions**: Direct write permissions on underlying storage are not required for metadata ingestion. Maintain read access according to your external table and governance policies. ## Metadata Ingestion To ingest metadata from BigQuery, you need to create a service connection. The service connects BigQuery with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **BigQuery** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/bigquery.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=7cd1e91ca01dcfddd405d3fb2da8f1af) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other BigQuery services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/bigquery.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=262ffd1ed0480cbc7603500eff6c0288) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for BigQuery. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/bigquery.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=4e045b3a86c774338687b4c83f8c2bb1) * **GCP Credentials**: Authenticate with your BigQuery instance using either `GCP Credentials Path`, where you specify the file path of the service account key, or `GCP Credentials Values`, where you pass the values directly from the service account key file. For more information, see [Create and Delete Service Account Keys](https://cloud.google.com/iam/docs/keys-create-delete#iam-service-account-keys-create-console). * **GCP Credentials Values**: Passing the raw credential values provided by BigQuery. This requires the following information, all provided by BigQuery: * **Project ID**: The GCP project ID (or list of project IDs) that Collate should **read metadata from**: i.e., the project(s) containing the BigQuery datasets you want to catalog. To fetch this key, look for the value associated with the `project_id` key in the service account key file. Choose **Single Project ID** or **Multiple Project ID** and enter one or more project IDs to ingest metadata from different BigQuery projects into one service. * **Private Key ID**: This is a unique identifier for the private key associated with the service account. To fetch this key, look for the value associated with the `private_key_id` key in the service account file. * **Client Email**: This is the email address associated with the service account. To fetch this key, look for the value associated with the `client_email` key in the service account key file. * **Client ID**: This is a unique identifier for the service account. To fetch this key, look for the value associated with the `client_id` key in the service account key file. * **Private Key**: This is the private key associated with the service account that is used to authenticate and authorize access to BigQuery. To fetch this key, look for the value associated with the `private_key` key in the service account file. You can paste the key directly or use **Upload key file** to load it from the service account JSON file. * Expand **advanced credential settings** for the following fields: * **Credentials Type**: Credentials Type is the type of the account, for a service account the value of this field is `service_account`. To fetch this key, look for the value associated with the `type` key in the service account key file. * **Authentication URI**: This is the URI for the authorization server. To fetch this key, look for the value associated with the `auth_uri` key in the service account key file. The default value is `https://accounts.google.com/o/oauth2/auth`. * **Token URI**: The Google Cloud Token URI is a specific endpoint used to obtain an OAuth 2.0 access token from the Google Cloud IAM service. This token allows you to authenticate and access various Google Cloud resources and APIs that require authorization. To fetch this key, look for the value associated with the `token_uri` key in the service account credentials file. The default token URI is `https://oauth2.googleapis.com/token`. * **Authentication Provider X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the authorization server. To fetch this key, look for the value associated with the `auth_provider_x509_cert_url` key in the service account key file. The default value is `https://www.googleapis.com/oauth2/v1/certs`. * **Client X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the service account. To fetch this key, look for the value associated with the `client_x509_cert_url` key in the service account key file. * **GCP Credentials Path**: Passing a local file path that contains the credentials. * **GCP Impersonate Service Account Configuration** (Optional): Expand **impersonation settings** to enable the authenticated service account to impersonate another service account, instead of ingesting directly with the credentials above. * **Target Service Account Email**: The email of the service account to impersonate. * **Lifetime**: Number of seconds the delegated credential should remain valid. Defaults to `3600`. * **Host and Port**: BigQuery APIs URL. By default, the API URL is `bigquery.googleapis.com`. You can modify this if you have a custom implementation of BigQuery. * **Billing Project ID** (Optional): The GCP project that will be **charged for the BigQuery jobs** Collate runs (metadata, usage, and lineage queries). This is separate from the data project(s) configured under **Project ID**. In simple setups where your data and billing are in the same project, you can leave this blank or set it to the same value as **Project ID**. Set it explicitly when your organization uses a centralized billing project, a shared service account that spans multiple data projects, or when the service account's home project should not receive the query charges. > [!TIP] > > **Tip**: `Project ID` tells Collate where to read metadata from. `Billing Project ID` tells BigQuery which project should pay for the queries. > > * Same-project setup: if your data lives in `analytics-prod` and that same project should pay for the queries, use `analytics-prod` as the `Project ID` and either leave `Billing Project ID` empty or set it to `analytics-prod`. > * Cross-project billing setup: if your data lives in `marketing-prod` and `finance-prod`, but all query costs should be charged to `central-billing`, use `marketing-prod` and `finance-prod` as `Project ID` values and set `Billing Project ID` to `central-billing`. > [!TIP] > > **Tip**: > **Application Default Credentials (ADC) Authentication** > > If you want to use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigQuery, configure the GCP credentials with type `gcp_adc`: > > ```yaml theme={null} > credentials: > gcpConfig: > type: gcp_adc > projectId: ["your-project-id"] # Optional: project(s) to read metadata from > ``` > > **Using ADC with Billing Project ID**: When using ADC authentication, you can still specify a **Billing Project ID** to control which project pays for the BigQuery queries Collate runs. This is particularly useful when: > > * Your service account has access to multiple projects > * You want to bill queries to a specific project different from the one containing your data > * You're running queries that span multiple projects > > **ADC Setup**: ADC authentication works automatically when running in Google Cloud environments (GKE, Compute Engine, Cloud Run) or when you've configured it locally using `gcloud auth application-default login`. * **Include Policy Tags** (Optional): Option to include policy tags as part of the column description. Enabled by default. * **Taxonomy Project ID** (Optional): BigQuery uses taxonomies to create hierarchical groups of policy tags. To apply access controls to BigQuery columns, tag the columns with policy tags. For more information, see [Column-Level Access Control](https://cloud.google.com/bigquery/docs/column-level-security). If you have attached policy tags to the columns of a table available in BigQuery, Collate will fetch those tags and attach them to the respective columns. In this field, specify the ID of the project in which the taxonomy was created. * **Taxonomy Location** (Optional): BigQuery uses taxonomies to create hierarchical groups of policy tags. To apply access controls to BigQuery columns, tag the columns with policy tags. For more information, see [Column-Level Access Control](https://cloud.google.com/bigquery/docs/column-level-security). If you have attached policy tags to the columns of a table available in BigQuery, Collate will fetch those tags and attach them to the respective columns. In this field, specify the location/region in which the taxonomy was created. * **Usage Location** (Optional): Location used to query `INFORMATION_SCHEMA.JOBS_BY_PROJECT` to fetch usage data. You can pass multi-regions, such as `us` or `eu`, or your specific region such as `us-east1`. Australia and Asia multi-regions are not yet supported. * **Cost Per TiB** (Optional): The cost (in USD) per tebibyte (TiB) of data processed during BigQuery usage analysis. This value is used to estimate query costs when analyzing usage metrics from `INFORMATION_SCHEMA.JOBS_BY_PROJECT`. This setting doesn't affect actual billing. It is only used for internal reporting and visualization of estimated costs. The default value, if not set, might assume the standard on-demand BigQuery pricing (for example, \$5.00 per TiB), but you should adjust it according to your organization's negotiated rates or flat-rate pricing model. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Cross-Project Lineage Collate supports cross-project lineage, but the data must be ingested within a single service. This means you need to perform lineage ingestion for just one service while including multiple projects. ## Reverse Metadata * **Description Management**: BigQuery supports description updates at the following levels: * Schema level * Table level * **Owner Management**: Owner management is not supported for BigQuery. * **Tag Management**: BigQuery supports tag management at the following levels: * Schema level * Table level * **Custom SQL Template**: BigQuery supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update table labels ALTER TABLE `{database}.{schema}.{table}` SET OPTIONS (labels = {tags}); ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigquery.datasets.update | Update dataset description & labels | | 2 | bigquery.tables.update | Update table description & labels | For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [BigQuery Troubleshooting](/ai-2-0/connectors/database/bigquery/troubleshooting) > > Learn more about how to troubleshoot common BigQuery connector issues and resolve configuration or ingestion errors. # BigQuery Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigquery/troubleshooting Solve BigQuery connector issues in Collate with expert troubleshooting guides. Fix connection errors, authentication problems, and data ingestion failures fast. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # BigTable Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigtable/hybrid-runner Connect Google Cloud Bigtable to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![BigTable](/public/images/connectors/big-table.webp) # BigTable PROD This section provides guides and references to use the BigTable connector. Configure and schedule BigTable metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/bigtable/troubleshooting) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Before ingesting metadata from BigTable, complete the following setup in your GCP project. ### BigTable Admin API Permissions * Follow Google's [instructions for enabling an API](https://docs.cloud.google.com/service-usage/docs/enable-disable). * Select the `GCP Project ID`. * Search for and enable the `Cloud Bigtable Admin API`. ### BigTable API Permissions * In the same API Library, search for the `Cloud Bigtable API`. * Select the `GCP Project ID`. * Click `Enable API`. ### GCP Permissions To execute metadata extraction workflow successfully the user or the service account should have enough access to fetch required data. Following table describes the minimum required permissions | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigtable.instances.get | Metadata Ingestion | | 2 | bigtable.instances.list | Metadata Ingestion | | 3 | bigtable.tables.get | Metadata Ingestion | | 4 | bigtable.tables.list | Metadata Ingestion | | 5 | bigtable.tables.readRows | Metadata Ingestion | > [card] [Create Custom GCP Role](/ai-2-0/connectors/database/bigtable/roles) > > Check out this guide on how to create a custom role and assign it to the service account and assign it to the service account. ## Metadata Ingestion To ingest metadata from BigTable, you need to create a service connection. The service connects BigTable with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **BigTable** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/bigtable.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6c251a001615b01b4c5dc1caeb5b50a2) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other BigTable services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/bigtable.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=f3eec3c3c0e30c90e2094d0a50625190) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for BigTable. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/bigtable.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=41d99c78ba73e63e9d14799d5df85175) * **GCP Credentials**: Authenticate with your BigTable instance using either `GCP Credentials Path`, specifying the file path of the service account key, or `GCP Credentials Values`, passing the values directly from the service account key file. For more information, see [Create and Delete Service Account Keys](https://cloud.google.com/iam/docs/keys-create-delete#iam-service-account-keys-create-console). * **GCP Credentials Values**: Passing the raw credential values provided by BigTable. This requires the following information, all provided by BigTable: * **Credentials type**: Credentials Type is the type of the account, for a service account the value of this field is `service_account`. To fetch this key, look for the value associated with the `type` key in the service account key file. * **Project ID**: A project ID is a unique string used to differentiate your project from all others in Google Cloud. To fetch this key, look for the value associated with the `project_id` key in the service account key file. You can also pass multiple project id to ingest metadata from different BigTable projects into one service. * **Private Key ID**: This is a unique identifier for the private key associated with the service account. To fetch this key, look for the value associated with the `private_key_id` key in the service account file. * **Private Key**: This is the private key associated with the service account that is used to authenticate and authorize access to BigTable. To fetch this key, look for the value associated with the `private_key` key in the service account file. * **Client Email**: This is the email address associated with the service account. To fetch this key, look for the value associated with the `client_email` key in the service account key file. * **Client ID**: This is a unique identifier for the service account. To fetch this key, look for the value associated with the `client_id` key in the service account key file. * **Auth URI**: This is the URI for the authorization server. To fetch this key, look for the value associated with the `auth_uri` key in the service account key file. The default value for Auth URI is `https://accounts.google.com/o/oauth2/auth`. * **Token URI**: The Google Cloud Token URI is a specific endpoint used to obtain an OAuth 2.0 access token from the Google Cloud IAM service. This token lets you authenticate and access various Google Cloud resources and APIs that require authorization. To fetch this key, look for the value associated with the `token_uri` key in the service account credentials file. Default Value to Token URI is `https://oauth2.googleapis.com/token`. * **Authentication Provider X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the authorization server. To fetch this key, look for the value associated with the `auth_provider_x509_cert_url` key in the service account key file. The default value for Auth Provider X509Cert URL is `https://www.googleapis.com/oauth2/v1/certs`. * **Client X509Cert URL**: This is the URL of the certificate that verifies the authenticity of the service account. To fetch this key, look for the value associated with the `client_x509_cert_url` key in the service account key file. * **GCP Credentials Path**: Passing a local file path that contains the credentials. > [!TIP] > > **Tip**: If you want to use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigTable you can just leave > the GCP credentials empty. This is why they are not marked as required. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [BigTable Troubleshooting](/ai-2-0/connectors/database/bigtable/troubleshooting) > > Learn more about how to troubleshoot common BigTable connector issues and resolve configuration or ingestion errors. # BigTable Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigtable/index Connect Google Cloud Bigtable to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![BigTable](/public/images/connectors/big-table.webp) # BigTable PROD This section provides guides and references to use the BigTable connector. Configure and schedule BigTable metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/bigtable/troubleshooting) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements Before ingesting metadata from BigTable, complete the following setup in your GCP project. ### BigTable Admin API Permissions * Follow Google's [instructions for enabling an API](https://docs.cloud.google.com/service-usage/docs/enable-disable). * Select the `GCP Project ID`. * Search for and enable the `Cloud Bigtable Admin API`. ### BigTable API Permissions * In the same API Library, search for the `Cloud Bigtable API`. * Select the `GCP Project ID`. * Click `Enable API`. ### GCP Permissions To successfully execute the metadata extraction workflow, the user or service account must have sufficient access to fetch the required data. The following table describes the minimum required permissions: | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigtable.instances.get | Metadata Ingestion | | 2 | bigtable.instances.list | Metadata Ingestion | | 3 | bigtable.tables.get | Metadata Ingestion | | 4 | bigtable.tables.list | Metadata Ingestion | | 5 | bigtable.tables.readRows | Metadata Ingestion | > [card] [Create Custom GCP Role](/ai-2-0/connectors/database/bigtable/roles) > > Check out this guide on how to create a custom role and assign it to the service account. ## Metadata Ingestion To ingest metadata from BigTable, you need to create a service connection. The service connects BigTable with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **BigTable** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/bigtable.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6c251a001615b01b4c5dc1caeb5b50a2) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other BigTable services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/bigtable.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=f3eec3c3c0e30c90e2094d0a50625190) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for BigTable. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/bigtable.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=41d99c78ba73e63e9d14799d5df85175) * **GCP Credentials**: Authenticate with the BigTable instance using either `GCP Credentials Path`, specifying the file path of the service account key, or `GCP Credentials Values`, passing the values directly from the service account key file. For more information, see [Creating and managing service account keys](https://cloud.google.com/iam/docs/keys-create-delete#iam-service-account-keys-create-console). * **GCP Credentials Values**: Pass the raw credential values provided by BigTable, including the following information: * **Credentials type**: The type of the account. For a service account, the value of this field is `service_account`. To fetch this key, look for the value associated with the `type` key in the service account key file. * **Project ID**: A project ID is a unique string used to differentiate your project from all others in Google Cloud. To fetch this key, look for the value associated with the `project_id` key in the service account key file. Pass multiple project IDs to ingest metadata from different BigTable projects into one service. * **Private Key ID**: This is a unique identifier for the private key associated with the service account. To fetch this key, look for the value associated with the `private_key_id` key in the service account file. * **Private Key**: This is the private key associated with the service account that is used to authenticate and authorize access to BigTable. To fetch this key, look for the value associated with the `private_key` key in the service account file. * **Client Email**: This is the email address associated with the service account. To fetch this key, look for the value associated with the `client_email` key in the service account key file. * **Client ID**: This is a unique identifier for the service account. To fetch this key, look for the value associated with the `client_id` key in the service account key file. * **Auth URI**: This is the URI for the authorization server. To fetch this key, look for the value associated with the `auth_uri` key in the service account key file. The default value for Auth URI is [https://accounts.google.com/o/oauth2/auth](https://accounts.google.com/o/oauth2/auth). * **Token URI**: The Google Cloud Token URI is a specific endpoint used to obtain an OAuth 2.0 access token from the Google Cloud IAM service. This token lets you authenticate and access various Google Cloud resources and APIs that require authorization. To fetch this key, look for the value associated with the `token_uri` key in the service account credentials file. The default value for Token URI is `https://oauth2.googleapis.com/token`. * **Authentication Provider X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the authorization server. To fetch this key, look for the value associated with the `auth_provider_x509_cert_url` key in the service account key file. The default value for Auth Provider X509Cert URL is `https://www.googleapis.com/oauth2/v1/certs`. * **Client X509Cert URL**: This is the URL of the certificate that verifies the authenticity of the service account. To fetch this key, look for the value associated with the `client_x509_cert_url` key in the service account key file. * **GCP Credentials Path**: Pass a local file path that contains the credentials. > [!TIP] > > **Tip**: To use [ADC authentication](https://cloud.google.com/docs/authentication#adc) for BigTable, leave > the GCP credentials empty. They are not marked as required for this reason. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments, such as security or protocol configs, that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [BigTable Troubleshooting](/ai-2-0/connectors/database/bigtable/troubleshooting) > > Learn more about how to troubleshoot common BigTable connector issues and resolve configuration or ingestion errors. # BigTable Roles Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigtable/roles Configure BigTable database roles and permissions in Collate connectors. Learn essential access control setup for seamless data cataloging and metadata extraction. # Create custom role in GCP This documentation will guide you on how to create a custom role in GCP with the necessary permissions to ingest BigTable in Collate. ## Step 1: Navigate to Roles Search for `Roles` in your GCP console and select the first result under `IAM & Roles` section. ![Navigate to Roles](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigtable/create-role-1.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=e2cd9071ad14ecef6bedf475276503bb) ## Step 2: Create Role & Add Permissions Below the search bar you should see a `Create Role` button. Click that button, then go to the Create Role page. ![Create Role Button](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigtable/create-role-2.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=2df51a4c08c2e29faecd7db494237458) Once you are on the create role page, you can edit the description & title of the role and finally you can click on add permissions to grant permissions to role. ![Create Role](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigtable/create-role-3.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=4d6ff8d0c75d7e87ed2f32c032f7a9df) You can search for the required permissions in the filter box and add them accordingly. To ingest metadata from BigTable you need to grant the following permissions to the user. | # | GCP Permission | Required For | | :- | :- | :- | | 1 | bigtable.instances.get | Metadata Ingestion | | 2 | bigtable.instances.list | Metadata Ingestion | | 3 | bigtable.tables.get | Metadata Ingestion | | 4 | bigtable.tables.list | Metadata Ingestion | | 5 | bigtable.tables.readRows | Metadata Ingestion | ![Add Permissions](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigtable/create-role-4.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=e679aa63f7f77cbe27a85e859f6e4218) Once you have added all the required permissions, you can create the role by clicking on the create button. ## Step 3: Assign Role to Service Account To assign the created role, you can navigate to `IAM` and click on `Grant Access` and you can search your service account in the `Add Principals` section & Assign the created role to the service account. ![Add Permissions](https://mintcdn.com/collatedocs/XRLyE3HymqoH13_i/public/images/connectors/bigtable/create-role-5.png?fit=max\&auto=format\&n=XRLyE3HymqoH13_i\&q=85\&s=83b330dbb21500acc3c2bfd5ee5ec33e) # BigTable Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/bigtable/troubleshooting Resolve BigTable connector issues quickly with Collate's comprehensive troubleshooting guide. Fix common errors, configuration problems, and connection issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # BurstIQ Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/burstiq/hybrid-runner Connect BurstIQ LifeGraph to Collate with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction for seamless integration. ![BurstIQ](/public/images/connectors/burstiq.webp) # BurstIQ BETA This section provides guides and references to use the BurstIQ LifeGraph connector. Configure and schedule BurstIQ metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality/configure) * [Troubleshooting](/ai-2-0/connectors/database/burstiq/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To connect to BurstIQ LifeGraph, the ingestion user needs the following. ### Metadata To extract metadata from BurstIQ LifeGraph, the user needs to have: * Valid credentials (username and password) with appropriate permissions * Access to the BurstIQ Keycloak realm * Privileges to read all the metadata in BurstIQ LifeGraph * Permissions to access dictionaries (tables) and their schemas The user should be able to: * Authenticate via Keycloak using the specified realm * Query metadata from BurstIQ LifeGraph APIs * Read dictionary definitions and data structures You can find more details about BurstIQ LifeGraph authentication in the [official BurstIQ documentation](https://www.burstiq.com/). ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have `READ` permission on the dictionaries (tables) where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from BurstIQ, you need to create a service connection. The service connects BurstIQ with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **BurstIQ** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/burstiq.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8574058ea0f5d2f483fb548c927a255d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other BurstIQ services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/burstiq.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=03b4290d40e519f1bf9be620cccb6a89) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for BurstIQ. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/burstiq.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=19b765a5f225b8db1a4056fcc71d77d0) * **Username**: Username to connect to BurstIQ. This user should have privileges to read all the metadata in BurstIQ LifeGraph. * **Password**: Password to connect to BurstIQ. * **Realm Name**: BurstIQ Keycloak realm name (for example, 'ems' from [https://auth.burstiq.com/realms/ems](https://auth.burstiq.com/realms/ems)). This identifies your organization's authentication realm. * **BurstIQ System Wallet ID**: BurstIQ system wallet ID sent as the `biq_system_wallet_id` header. Required for profiler data access. * **Table Filter Pattern** *(Optional)*: Regex to only include/exclude dictionaries (tables) that match the pattern. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [BurstIQ Troubleshooting](/ai-2-0/connectors/database/burstiq/troubleshooting) > > Learn more about how to troubleshoot common BurstIQ connector issues and resolve configuration or ingestion errors. # BurstIQ Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/burstiq/index Connect BurstIQ LifeGraph to Collate with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction for seamless integration. ![BurstIQ](/public/images/connectors/burstiq.webp) # BurstIQ BETA This section provides guides and references to use the BurstIQ LifeGraph connector. Configure and schedule BurstIQ metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality/configure) * [Troubleshooting](/ai-2-0/connectors/database/burstiq/troubleshooting) ## Requirements To connect to BurstIQ LifeGraph, the ingestion user needs the following. ### Metadata To extract metadata from BurstIQ LifeGraph, the user needs to have: * Valid credentials (username and password) with appropriate permissions * Access to the BurstIQ Keycloak realm * Privileges to read all the metadata in BurstIQ LifeGraph * Permissions to access dictionaries (tables) and their schemas The user should be able to: * Authenticate via Keycloak using the specified realm * Query metadata from BurstIQ LifeGraph APIs * Read dictionary definitions and data structures You can find more details about BurstIQ LifeGraph authentication in the [official BurstIQ documentation](https://www.burstiq.com/). ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have `READ` permission on the dictionaries (tables) where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from BurstIQ, you need to create a service connection. The service connects BurstIQ with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **BurstIQ** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/burstiq.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8574058ea0f5d2f483fb548c927a255d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other BurstIQ services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/burstiq.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=03b4290d40e519f1bf9be620cccb6a89) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for BurstIQ. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/burstiq.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=19b765a5f225b8db1a4056fcc71d77d0) * **Username**: Username to connect to BurstIQ. This user should have privileges to read all the metadata in BurstIQ LifeGraph. * **Password**: Password to connect to BurstIQ. * **Realm Name**: BurstIQ Keycloak realm name (e.g., 'ems' from [https://auth.burstiq.com/realms/ems](https://auth.burstiq.com/realms/ems)). This identifies your organization's authentication realm. * **BurstIQ SDZ Name**: BurstIQ Secure Data Zone (SDZ) name for API requests. * **BurstIQ Customer Name**: BurstIQ customer name for API requests. * **BurstIQ System Wallet ID**: BurstIQ system wallet ID sent as the `biq_system_wallet_id` header. Required for profiler data access. * **Table Filter Pattern** *(Optional)*: Regex to only include/exclude dictionaries (tables) that match the pattern. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [BurstIQ Troubleshooting](/ai-2-0/connectors/database/burstiq/troubleshooting) > > Learn more about how to troubleshoot common BurstIQ connector issues and resolve configuration or ingestion errors. # BurstIQ Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/burstiq/troubleshooting Solve BurstIQ connector issues in Collate with expert troubleshooting guides. Fix connection errors, authentication problems, and data ingestion failures fast. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Cassandra Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/cassandra/hybrid-runner Connect Cassandra to Collate with our database connector. Step-by-step setup guide, configuration options, and metadata extraction for your NoSQL database. ![Cassandra](/public/images/connectors/cassandra.webp) # Cassandra BETA This section provides guides and references to use the Cassandra connector. Configure and schedule Cassandra metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-cassandra-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/cassandra/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To extract metadata using the Cassandra connector, ensure the user in the connection has the following permissions: * Read Permissions: The ability to query tables and perform data extraction. * Schema Operations: Access to list and describe keyspaces and tables. ## Metadata Ingestion To ingest metadata from Cassandra, you need to create a service connection. The service connects Cassandra with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Cassandra** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/cassandra.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=b3bc76b0c33af54225962b6381e58f87) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Cassandra services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/cassandra.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a9cbbfde3488d6affaa1f06758a39d8a) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Cassandra. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/cassandra.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6456f54bb89e0f1a112a1e224c843bd5) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Username to connect to Cassandra. This user must have the necessary permissions to perform metadata extraction and table queries. * **Host Port**: When using the `cassandra` connection schema, the `hostPort` parameter specifies the Cassandra host and port. Provide it as a string in the format `hostname:port`, for example `localhost:9042`. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **Auth Type**: The following authentication types are supported: 1. **Basic Authentication**: Collate uses the user credentials to connect to Cassandra * **password**: Password of the user. 2. **DataStax Astra DB Configuration**: Configuration for connecting to DataStax Astra DB in the cloud. * **connectTimeout**: Timeout in seconds for establishing new connections to Cassandra. * **requestTimeout**: Timeout in seconds for individual Cassandra requests. * **token**: The Astra DB application token used for authentication. * **secureConnectBundle**: File path to the Secure Connect Bundle (.zip) used for a secure connection to DataStax Astra DB. #### SSL Modes There are a couple of types of SSL modes that Cassandra supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified, and the server hostname must match the hostname attribute on the certificate. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, add the SSL config under `sslConfig`, which is placed in the source. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Cassandra Connection with SSL in Collate To establish secure connections between Collate and a Cassandra database, you can use any SSL mode provided by Cassandra, except disable. Under `Advanced Config`, after selecting the SSL mode, provide the CA certificate, SSL certificate, and SSL key. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Cassandra Troubleshooting](/ai-2-0/connectors/database/cassandra/troubleshooting) > > Learn more about how to troubleshoot common Cassandra connector issues and resolve configuration or ingestion errors. # Cassandra Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/cassandra/index Connect Cassandra to Collate with our database connector. Step-by-step setup guide, configuration options, and metadata extraction for your NoSQL database. ![Cassandra](/public/images/connectors/cassandra.webp) # Cassandra BETA This section provides guides and references to use the Cassandra connector. Configure and schedule Cassandra metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-cassandra-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/cassandra/troubleshooting) ## Requirements To extract metadata using the Cassandra connector, ensure the user in the connection has the following permissions: * Read Permissions: The ability to query tables and perform data extraction. * Schema Operations: Access to list and describe keyspaces and tables. ## Metadata Ingestion To ingest metadata from Cassandra, you need to create a service connection. The service connects Cassandra with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Cassandra** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/cassandra.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=b3bc76b0c33af54225962b6381e58f87) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Cassandra services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/cassandra.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a9cbbfde3488d6affaa1f06758a39d8a) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Cassandra. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/cassandra.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6456f54bb89e0f1a112a1e224c843bd5) * **Username**: Username to connect to Cassandra. This user must have the necessary permissions to perform metadata extraction and table queries. * **Host Port**: When using the `cassandra` connection schema, the hostPort parameter specifies the host and port of the Cassandra. This should be specified as a string in the format `hostname:port`, for example, `localhost:9042`. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **Auth Type**: The following authentication types are supported: 1. **Basic Authentication**: Collate uses the user credentials to connect to Cassandra. * **password**: Password of the user. 2. **DataStax Astra DB Configuration**: Configuration for connecting to DataStax Astra DB in the cloud. * **connectTimeout**: Timeout in seconds for establishing new connections to Cassandra. * **requestTimeout**: Timeout in seconds for individual Cassandra requests. * **token**: The Astra DB application token used for authentication. * **secureConnectBundle**: File path to the Secure Connect Bundle (.zip) used for a secure connection to DataStax Astra DB. #### SSL Modes There are a couple of types of SSL modes that Cassandra supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified, and the server hostname must match the hostname attribute on the certificate. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, add the SSL config under `sslConfig`, which is placed in the source. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Cassandra Connection with SSL in Collate To establish secure connections between Collate and a Cassandra database, you can use any SSL mode provided by Cassandra, except disable. Under `Advanced Config`, after selecting the SSL mode, provide the CA certificate, SSL certificate, and SSL key. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Cassandra Troubleshooting](/ai-2-0/connectors/database/cassandra/troubleshooting) > > Learn more about how to troubleshoot common Cassandra connector issues and resolve configuration or ingestion errors. # Cassandra Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/cassandra/troubleshooting Resolve Cassandra ingestion issues related to schema mismatches, driver compatibility, or tokens. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # ClickHouse Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/clickhouse/hybrid-runner Learn how to connect ClickHouse databases to Collate with our comprehensive connector guide. Setup instructions, configuration options, and troubleshooting guidance. ![ClickHouse](/public/images/connectors/clickhouse.webp) # ClickHouse PROD This section provides guides and references to use the ClickHouse connector. Configure and schedule ClickHouse metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Profiler and Data Quality](#profiler-and-data-quality) * [Usage & Lineage](#usage-and-lineage) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/clickhouse/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ClickHouse user must grant `SELECT` privilege on `system.*` and schema/tables to fetch the metadata of tables and views. * Create a new user * More details [https://clickhouse.com/docs/en/sql-reference/statements/create/user](https://clickhouse.com/docs/en/sql-reference/statements/create/user) ```sql theme={null} CREATE USER IDENTIFIED WITH sha256_password BY ``` * Grant Permissions * More details on permissions can be found here at [https://clickhouse.com/docs/en/sql-reference/statements/grant](https://clickhouse.com/docs/en/sql-reference/statements/grant) ```sql theme={null} -- Grant SELECT and SHOW to that user -- More details on permissions can be found here at https://clickhouse.com/docs/en/sql-reference/statements/grant GRANT SELECT, SHOW ON system.* to ; GRANT SELECT ON .* to ; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ### Usage and Lineage For the usage and lineage workflow, the user will need `SELECT` privilege. For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/lineage). ## Metadata Ingestion To ingest metadata from ClickHouse, you need to create a service connection. The service connects ClickHouse with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ClickHouse** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/clickhouse.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9ab3eca1e49cf43192dc92d1cccc7328) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ClickHouse services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/clickhouse.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bd1574b62c4358e7739338893da7f586) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ClickHouse. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/clickhouse.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=4d11e36d53eae9eb3512e3dcf9352cbe) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to ClickHouse. It should have enough privileges to read all the metadata. * **Password**: Password to connect to ClickHouse. * **Host and Port**: Enter the fully qualified hostname and port number for your ClickHouse deployment in the Host and Port field. * **Use HTTPS Protocol**: Enable this flag when the ClickHouse instance is hosted via HTTPS. This flag is useful when you are using `clickhouse+http` connection scheme. * **Secure Connection**: Establish secure connection with ClickHouse. ClickHouse supports secure communication over SSL/TLS to protect data in transit, by checking this option, it establishes secure connection with ClickHouse. This flag is useful when you are using `clickhouse+native` connection scheme. * **Key File**: The key file path is the location when ClickHouse looks for a file containing the private key needed for secure communication over SSL/TLS. By default, ClickHouse will look for the key file in the `/etc/clickhouse-server directory`, with the file name `server.key`. However, this can be customized in the ClickHouse configuration file (`config.xml`). This flag is useful when you are using `clickhouse+native` connection scheme and the secure connection flag is enabled. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: ClickHouse supports description updates at the following levels: * Table level * Column level * **Owner Management**: Owner management is not supported for ClickHouse. * **Tag Management**: Tag management is not supported for ClickHouse. * **Custom SQL Template**: ClickHouse supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update column description ALTER TABLE `{schema}`.{table} MODIFY COLUMN {column} COMMENT {description}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [ClickHouse Troubleshooting](/ai-2-0/connectors/database/clickhouse/troubleshooting) > > Learn more about how to troubleshoot common ClickHouse connector issues and resolve configuration or ingestion errors. # ClickHouse Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/clickhouse/index Learn how to connect ClickHouse databases to Collate with our comprehensive connector guide. Setup instructions, configuration options, and troubleshooting guidance. ![ClickHouse](/public/images/connectors/clickhouse.webp) # ClickHouse PROD This section provides guides and references to use the ClickHouse connector. Configure and schedule ClickHouse metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Profiler and Data Quality](#profiler-and-data-quality) * [Usage & Lineage](#usage-and-lineage) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/clickhouse/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements ClickHouse user must grant `SELECT` privilege on `system.*` and schema/tables to fetch the metadata of tables and views. * Create a new user * More details [https://clickhouse.com/docs/en/sql-reference/statements/create/user](https://clickhouse.com/docs/en/sql-reference/statements/create/user) ```sql theme={null} CREATE USER IDENTIFIED WITH sha256_password BY ``` * Grant Permissions * More details on permissions can be found here at [https://clickhouse.com/docs/en/sql-reference/statements/grant](https://clickhouse.com/docs/en/sql-reference/statements/grant) ```sql theme={null} -- Grant SELECT and SHOW to that user -- More details on permissions can be found here at https://clickhouse.com/docs/en/sql-reference/statements/grant GRANT SELECT, SHOW ON system.* to ; GRANT SELECT ON .* to ; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ### Usage and Lineage For the usage and lineage workflow, the user will need `SELECT` privilege. For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/lineage). ## Metadata Ingestion To ingest metadata from ClickHouse, you need to create a service connection. The service connects ClickHouse with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ClickHouse** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/clickhouse.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9ab3eca1e49cf43192dc92d1cccc7328) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ClickHouse services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/clickhouse.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bd1574b62c4358e7739338893da7f586) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ClickHouse. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/clickhouse.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=4d11e36d53eae9eb3512e3dcf9352cbe) * **Username**: Specify the user to connect to ClickHouse. It should have enough privileges to read all the metadata. * **Password**: Password to connect to ClickHouse. * **Host and Port**: Enter the fully qualified hostname and port number for your ClickHouse deployment in the Host and Port field. * **Use HTTPS Protocol**: Enable this flag when the ClickHouse instance is hosted via HTTPS. This flag is useful when you are using `clickhouse+http` connection scheme. * **Secure Connection**: Establish secure connection with ClickHouse. ClickHouse supports secure communication over SSL/TLS to protect data in transit, by checking this option, it establishes secure connection with ClickHouse. This flag is useful when you are using `clickhouse+native` connection scheme. * **Key File**: The key file path is the location when ClickHouse looks for a file containing the private key needed for secure communication over SSL/TLS. By default, ClickHouse will look for the key file in the `/etc/clickhouse-server directory`, with the file name `server.key`. However, this can be customized in the ClickHouse configuration file (`config.xml`). This flag is useful when you are using `clickhouse+native` connection scheme and the secure connection flag is enabled. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: ClickHouse supports description updates at the following levels: * Table level * Column level * **Owner Management**: Owner management is not supported for ClickHouse. * **Tag Management**: Tag management is not supported for ClickHouse. * **Custom SQL Template**: ClickHouse supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update column description ALTER TABLE `{schema}`.{table} MODIFY COLUMN {column} COMMENT {description}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [ClickHouse Troubleshooting](/ai-2-0/connectors/database/clickhouse/troubleshooting) > > Learn more about how to troubleshoot common ClickHouse connector issues and resolve configuration or ingestion errors. # ClickHouse Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/clickhouse/troubleshooting Resolve ClickHouse connector issues such as type mismatches, invalid credentials, or ingestion slowdowns. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # ClickZetta Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/clickzetta/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from ClickZetta to Collate. ![ClickZetta](/public/images/connectors/clickzetta.svg) # ClickZetta BETA This section provides guides and references to use the ClickZetta connector. Configure and schedule ClickZetta metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Profiler and Data Quality](#profiler-and-data-quality) * [Usage and Lineage](#usage-and-lineage) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/clickzetta/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate connects to ClickZetta with a SQLAlchemy driver, using a username and password and a virtual cluster to run its read-only queries. The connecting user needs to be able to use that virtual cluster and to read the catalog, the tables you want to ingest, and the query-history view. Grant the following to the role your ingestion user connects with: ```sql theme={null} -- Allow the user's role to run queries on the virtual cluster used for ingestion GRANT USAGE ON VCLUSTER TO ROLE ; -- Allow reading metadata and data from the schemas you want to ingest GRANT SELECT ON SCHEMA . TO ROLE ; ``` ### Profiler and Data Quality Running the profiler workflow, data quality tests, or data diff requires `SELECT` on the tables and schemas being profiled or tested. The profiler uses ClickZetta's native sampling to keep profiling efficient. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ### Usage and Lineage Query Usage and query-based lineage read from a ClickZetta query-history source. Grant `SELECT` on the query-history view you configure: ```sql theme={null} -- Workspace-local history GRANT SELECT ON TABLE information_schema.job_history TO ROLE ; -- or cross-workspace history GRANT SELECT ON TABLE sys.information_schema.job_history TO ROLE ; ``` For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/lineage). ## Metadata Ingestion To ingest metadata from ClickZetta, you need to create a service connection. The service connects ClickZetta with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ClickZetta** connector tile. ![Select Service](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/clickzetta.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=cd36d68eb0902530e94fe16169065d54) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ClickZetta services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/clickzetta.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=96d1499079efba7a967079ed150d5c45) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ClickZetta. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/clickzetta.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=aefe99d91c73626e4456457a03603b96) * **Host and Port**: Complete ClickZetta instance and service host, with an optional port, for example `your-instance.clickzetta.com` or `your-instance.clickzetta.com:8443`. * **Username**: Username to connect to ClickZetta. It should have enough privileges to read all the metadata. * **Workspace**: The ClickZetta workspace to ingest. * **Virtual Cluster**: The ClickZetta virtual cluster used to run the metadata extraction queries. * **Password**: Password to connect to ClickZetta. * **Database Schema** *(optional)*: Schema restriction. When left blank, Collate attempts to scan all schemas. * **Query History Table**: ClickZetta table or view used for usage and query-lineage extraction. It is required for the Query Usage and Lineage agents, which fail if it is unset. Set this to `information_schema.job_history` for workspace-local native history. Use `sys.information_schema.job_history` for cross-workspace native history. The connector maps the native columns from either source and scopes them to the configured workspace and schema. Custom tables or views must expose the following columns: * Query columns: `query_text`, `query_type`, `user_name` * Scope and timing columns: `database_name`, `schema_name`, `start_time`, `end_time`, `duration`, `aborted`, `cost` * **Protocol**: Protocol used to connect to ClickZetta. Choose `https` (default) or `http`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which databases, schemas, and tables Collate ingests from the source. #### How Filter Rules Work Each rule matches asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When include and exclusion rules both match an asset, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The **Database**, **Schema**, and **Table** sections control ingestion for the corresponding asset type. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [ClickZetta Troubleshooting](/ai-2-0/connectors/database/clickzetta/troubleshooting) > > Learn more about how to troubleshoot common ClickZetta connector issues and resolve configuration or ingestion errors. # ClickZetta Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/clickzetta/index Connect ClickZetta to Collate with the database connector guide. Step-by-step setup, configuration examples, and metadata extraction tips. ![ClickZetta](/public/images/connectors/clickzetta.svg) # ClickZetta BETA This section provides guides and references to use the ClickZetta connector. Configure and schedule ClickZetta metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Profiler and Data Quality](#profiler-and-data-quality) * [Usage and Lineage](#usage-and-lineage) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/clickzetta/troubleshooting) ## Requirements Collate connects to ClickZetta with a SQLAlchemy driver, using a username and password and a virtual cluster to run its read-only queries. The connecting user needs to be able to use that virtual cluster and to read the catalog, the tables you want to ingest, and the query-history view. Grant the following to the role your ingestion user connects with: ```sql theme={null} -- Allow the user's role to run queries on the virtual cluster used for ingestion GRANT USAGE ON VCLUSTER TO ROLE ; -- Allow reading metadata and data from the schemas you want to ingest GRANT SELECT ON SCHEMA . TO ROLE ; ``` ### Profiler and Data Quality Running the profiler workflow, data quality tests, or data diff requires `SELECT` on the tables and schemas being profiled or tested. The profiler uses ClickZetta's native sampling to keep profiling efficient. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ### Usage and Lineage Query Usage and query-based lineage read from a ClickZetta query-history source. Grant `SELECT` on the query-history view you configure: ```sql theme={null} -- Workspace-local history GRANT SELECT ON TABLE information_schema.job_history TO ROLE ; -- or cross-workspace history GRANT SELECT ON TABLE sys.information_schema.job_history TO ROLE ; ``` For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/lineage). ## Metadata Ingestion To ingest metadata from ClickZetta, you need to create a service connection. The service connects ClickZetta with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ClickZetta** connector tile. ![Select Service](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/clickzetta.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=cd36d68eb0902530e94fe16169065d54) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ClickZetta services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/clickzetta.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=96d1499079efba7a967079ed150d5c45) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ClickZetta. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/clickzetta.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=aefe99d91c73626e4456457a03603b96) * **Host and Port**: Complete ClickZetta instance and service host, with an optional port, for example `your-instance.clickzetta.com` or `your-instance.clickzetta.com:8443`. * **Username**: Username to connect to ClickZetta. It should have enough privileges to read all the metadata. * **Workspace**: The ClickZetta workspace to ingest. * **Virtual Cluster**: The ClickZetta virtual cluster used to run the metadata extraction queries. * **Password**: Password to connect to ClickZetta. * **Database Schema** *(optional)*: Schema restriction. When left blank, Collate attempts to scan all schemas. * **Query History Table**: ClickZetta table or view used for usage and query-lineage extraction. It is required for the Query Usage and Lineage agents, which fail if it is unset. Set this to `information_schema.job_history` for workspace-local native history. Use `sys.information_schema.job_history` for cross-workspace native history. The connector maps the native columns from either source and scopes them to the configured workspace and schema. Custom tables or views must expose the following columns: * Query columns: `query_text`, `query_type`, `user_name` * Scope and timing columns: `database_name`, `schema_name`, `start_time`, `end_time`, `duration`, `aborted`, `cost` * **Protocol**: Protocol used to connect to ClickZetta. Choose `https` (default) or `http`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which databases, schemas, and tables Collate ingests from the source. #### How Filter Rules Work Each rule matches asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When include and exclusion rules both match an asset, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The **Database**, **Schema**, and **Table** sections control ingestion for the corresponding asset type. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [ClickZetta Troubleshooting](/ai-2-0/connectors/database/clickzetta/troubleshooting) > > Learn more about how to troubleshoot common ClickZetta connector issues and resolve configuration or ingestion errors. # ClickZetta Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/clickzetta/troubleshooting Troubleshoot common ClickZetta connector issues in Collate, including connection failures, permission errors, and ingestion problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## ClickZetta-Specific Issues The following issues are specific to the ClickZetta connector. ### Connection Fails with a Missing Virtual Cluster ClickZetta runs queries through a virtual cluster, so the **Virtual Cluster** field is required. If the connection test fails, confirm the virtual cluster name is correct and that the connecting user's role has `USAGE` on it. Run the following grant: ```sql theme={null} GRANT USAGE ON VCLUSTER TO ROLE ; ``` ### No Usage or Lineage Is Produced Query Usage and query-based lineage read from a ClickZetta query-history source. Set **Query History Table** to `information_schema.job_history` for workspace-local history or `sys.information_schema.job_history` for cross-workspace history. Confirm that the user has `SELECT` on the selected source. A custom table or view must expose these columns: * Query columns: `query_text`, `query_type`, `user_name` * Scope and timing columns: `database_name`, `schema_name`, `start_time`, `end_time`, `duration`, `aborted`, `cost` The history is scoped to the configured workspace and schema, so a mismatched **Workspace** or **Database Schema** can return no rows. ### No Schemas or Tables Are Ingested Leave **Database Schema** blank to scan all schemas, or set it to restrict ingestion to a single schema. Confirm the connecting role has `SELECT` on the schemas you expect to ingest, and review your filter rules in the **What to Ingest** step. # CockroachDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/cockroach/hybrid-runner Set up CockroachDB connector in Collate to discover, catalog, and manage your database metadata. Complete integration guide with configuration steps. ![CockroachDB](/public/images/connectors/cockroach.png) # CockroachDB BETA This section provides guides and references to use the CockroachDB connector. Configure and schedule CockroachDB metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/cockroach/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To use the CockroachDB connector with the Hybrid Ingestion Runner, ensure: * You have a running CockroachDB cluster (self‑hosted or cloud) reachable from the Hybrid Runner environment. * Network access (host, port, and any VPN/firewall rules) allows the Hybrid Runner to connect to CockroachDB. * A database user exists with sufficient read privileges to list databases, schemas, tables, views, and columns. * TLS and certificates are configured, if required by your CockroachDB deployment. * The Hybrid Ingestion Runner is installed and configured, and can reach both CockroachDB and the Collate SaaS control plane. ## Metadata Ingestion To ingest metadata from CockroachDB, you need to create a service connection. The service connects CockroachDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **CockroachDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/cockroach.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=fbfb57608b165894fd63e847e5614a6f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other CockroachDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/cockroach.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a400461bf0dab09a90cbc5080945df35) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for CockroachDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/cockroach.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c4ba2a3b557abdf4c8e8442ef0b75de0) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to CockroachDB. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud rds. * **Basic Auth**: * **Password**: Password to connect to CockroachDB * **Host and Port**: Enter the fully qualified hostname and port number for your CockroachDB deployment in the Host and Port field. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing CockroachDB Connection with SSL in Collate To establish secure connections between Collate and a CockroachDB database, you can configure SSL using different SSL modes provided by CockroachDB, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that CockroachDB requires only the CA certificate for SSL validation. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [CockroachDB Troubleshooting](/ai-2-0/connectors/database/cockroach/troubleshooting) > > Learn more about how to troubleshoot common CockroachDB connector issues and resolve configuration or ingestion errors. # CockroachDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/cockroach/index Set up CockroachDB connector in Collate to discover, catalog, and manage your database metadata. Complete integration guide with configuration steps. ![CockroachDB](/public/images/connectors/cockroach.png) # CockroachDB BETA [CockroachDB connector setup video guide](https://www.youtube.com/embed/sQA5KVdNiP8) This section provides guides and references to use the CockroachDB connector. Configure and schedule CockroachDB metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/cockroach/troubleshooting) ## Requirements To use the CockroachDB connector, ensure: * You have a running CockroachDB cluster (self‑hosted or cloud) reachable from Collate. * Network access (host, port, and any VPN/firewall rules) allows Collate to connect to CockroachDB. * A database user exists with sufficient read privileges to list databases, schemas, tables, views, and columns. * TLS and certificates are configured, if required by your CockroachDB deployment. ## Metadata Ingestion To ingest metadata from CockroachDB, you need to create a service connection. The service connects CockroachDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **CockroachDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/cockroach.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=fbfb57608b165894fd63e847e5614a6f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other CockroachDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/cockroach.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a400461bf0dab09a90cbc5080945df35) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for CockroachDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/cockroach.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c4ba2a3b557abdf4c8e8442ef0b75de0) * **Username**: Specify the user to connect to CockroachDB. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud rds. * **Basic Auth**: * **Password**: Password to connect to CockroachDB * **Host and Port**: Enter the fully qualified hostname and port number for your CockroachDB deployment in the Host and Port field. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing CockroachDB Connection with SSL in Collate To establish secure connections between Collate and a CockroachDB database, you can configure SSL using different SSL modes provided by CockroachDB, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that CockroachDB requires only the CA certificate for SSL validation. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [CockroachDB Troubleshooting](/ai-2-0/connectors/database/cockroach/troubleshooting) > > Learn more about how to troubleshoot common CockroachDB connector issues and resolve configuration or ingestion errors. # CockroachDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/cockroach/troubleshooting Fix CockroachDB ingestion errors like connection timeouts, incorrect credentials, or unsupported SQL dialects. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Couchbase Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/couchbase/hybrid-runner Connect Couchbase to Collate effortlessly. Complete setup guide, configuration steps, and metadata extraction for your NoSQL database connector. ![Couchbase](/public/images/connectors/couchbase.webp) # Couchbase BETA This section provides guides and references to use the Couchbase connector. > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Configure and schedule Couchbase metadata workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/couchbase/troubleshooting) ## Metadata Ingestion To ingest metadata from Couchbase, you need to create a service connection. The service connects Couchbase with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Couchbase** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/couchbase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=f2445a1da81d9ec4ac7784556288e5bd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Couchbase services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/couchbase.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=8d9210a1f6a41383aa176238782ca416) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Couchbase. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/couchbase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=38ed10d475ed8d9fc304e403089ab5e1) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Username to connect to Couchbase. * **Password**: Password to connect to Couchbase. * **Hostport**: If Couchbase is hosted in the cloud, the `hostport` parameter specifies the connection string. If you are using Couchbase Server, it specifies the Couchbase hostname. This should be provided as a string in the format `hostname` or `xyz.cloud.couchbase.com`, for example `localhost`. * **bucketName**: Optional name to give to the bucket in Collate. If left blank, Collate ingests all bucket names. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Couchbase Troubleshooting](/ai-2-0/connectors/database/couchbase/troubleshooting) > > Learn more about how to troubleshoot common Couchbase connector issues and resolve configuration or ingestion errors. # Couchbase Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/couchbase/index Connect Couchbase to Collate effortlessly. Complete setup guide, configuration steps, and metadata extraction for your NoSQL database connector. ![Couchbase](/public/images/connectors/couchbase.webp) # Couchbase BETA This section provides guides and references to use the Couchbase connector. Configure and schedule Couchbase metadata workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/couchbase/troubleshooting) ## Metadata Ingestion To ingest metadata from Couchbase, you need to create a service connection. The service connects Couchbase with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Couchbase** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/couchbase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=f2445a1da81d9ec4ac7784556288e5bd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Couchbase services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/couchbase.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=8d9210a1f6a41383aa176238782ca416) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Couchbase. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/couchbase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=38ed10d475ed8d9fc304e403089ab5e1) * **Username**: Username to connect to Couchbase. * **Password**: Password to connect to Couchbase. * **Hostport**: If Couchbase is hosted on the cloud, the hostport parameter specifies the connection string. If you are using a Couchbase server, the hostport parameter specifies the hostname of the Couchbase instance. This should be specified as a string in the format `hostname` or `xyz.cloud.couchbase.com`, for example, `localhost`. * **bucketName**: Optional name to give to the bucket in Collate. If left blank, Collate ingests all bucket names. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Couchbase Troubleshooting](/ai-2-0/connectors/database/couchbase/troubleshooting) > > Learn more about how to troubleshoot common Couchbase connector issues and resolve configuration or ingestion errors. # Couchbase Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/couchbase/troubleshooting Troubleshoot Couchbase connector integration issues, including access denial, document mapping, or data model mismatches. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Databricks Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/databricks/hybrid-runner Connect Databricks to Collate effortlessly. Complete setup guide, configuration steps, and metadata extraction for your data lakehouse platform. ![Databricks](/public/images/connectors/databrick.webp) # Databricks PROD > [!TIP] > > **Tip**: According to the [Databricks documentation](https://docs.databricks.com/en/data-governance/unity-catalog/tags.html#manage-tags-with-sql-commands), Collate supports metadata `tag` extraction only for Databricks version 13.3 and higher. This section provides guides and references to use the Databricks connector. Configure and schedule Databricks metadata and profiler workflows from the Collate UI: > [!NOTE] > > **Note**: If Databricks exposes an Iceberg-backed table through its standard catalog and table metadata, use the same Databricks connector workflow described on this page. This page does not document separate Iceberg-specific configuration or guarantees for the Databricks connector. * [Requirements](#requirements) * [Unity Catalog](#unity-catalog) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/databricks/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Before ingesting metadata from Databricks, grant the following permissions to the user account Collate will use to connect. ### Permission Requirement To enable full functionality of metadata extraction, profiling, usage, and lineage features in Collate, the following permissions must be granted to the relevant users in your Databricks environment. ### Metadata and Profiling Permissions These permissions are required on the catalogs, schemas, and tables from which metadata and profiling information will be ingested. ```sql theme={null} GRANT USE CATALOG ON CATALOG TO ``; GRANT USE SCHEMA ON SCHEMA TO ``; GRANT SELECT ON TABLE TO ``; ``` Ensure these grants are applied to all relevant tables for metadata ingestion and profiling operations. ### Usage and Lineage These permissions enable Collate to extract query history and construct lineage information. ```sql theme={null} GRANT SELECT ON SYSTEM.QUERY.HISTORY TO ``; GRANT USE SCHEMA ON SCHEMA system.query TO ``; ``` These permissions allow access to Databricks system tables that track query activity, enabling lineage and usage statistics generation. > [!TIP] > > **Tip**: Adjust \, \, \, and \ according to your specific deployment and security requirements. ## Unity Catalog If you use Unity Catalog in Databricks, see the [Unity Catalog](/ai-2-0/connectors/database/unity-catalog) connector. ## Metadata Ingestion To ingest metadata from Databricks, you need to create a service connection. The service connects Databricks with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Databricks** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/databricks.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=61556e5426ac54973abd05b2c73811d8) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Databricks services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/databricks.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e944feb1f11be4157df5f8402e488adb) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Databricks. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/databricks.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=ebed3884539f9373d9039c893da563c8) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Host and Port**: Enter the fully qualified hostname and port number for your Databricks deployment in the Host and Port field. * **Token**: Generated Token to connect to Databricks. * **HTTP Path**: Databricks compute resources URL. * **connectionTimeout**: The maximum amount of time (in seconds) to wait for a successful connection to the data source. If the connection attempt takes longer than this timeout period, Collate returns an error. * **Catalog**: Catalog of the data source (for example, `hive_metastore`). This optional parameter restricts metadata reading to a single catalog. When left blank, Collate ingestion scans all catalogs. * **DatabaseSchema**: The database schema of the data source. This optional parameter restricts metadata reading to a single schema. When left blank, Collate ingestion scans all schemas. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Databricks supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Databricks supports owner management at the following levels: * Database level * Schema level * Table level > [!TIP] > > **Tip**: Databricks does not support to set `null` as owner. > [!NOTE] > > **Note**: Databricks identifies user principals by email, not by username. When reverse ingestion updates a user owner, Collate uses the assigned user's email address when available and falls back to the Collate username otherwise. Collate resolves teams by team name—the team must match a Databricks account-level group. * **Tag Management**: Databricks supports tag management at all levels: * Database level * Schema level * Table level * Column level * **Custom SQL Template**: Databricks supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Set table tags ALTER TABLE {database}.{schema}.{table} SET TAGS {tags}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: ```sql theme={null} -- Catalog grants GRANT USE CATALOG ON CATALOG `` TO ``; GRANT MANAGE ON CATALOG `` TO ``; -- Schema grants GRANT USE SCHEMA ON SCHEMA ``.`` TO ``; GRANT MANAGE ON SCHEMA ``.`` TO ``; GRANT APPLY TAG ON SCHEMA ``.`` TO ``; -- Table grants GRANT MANAGE ON TABLE ``.``.`` TO ``; GRANT APPLY TAG ON TABLE ``.``.`
` TO ``; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Databricks Troubleshooting](/ai-2-0/connectors/database/databricks/troubleshooting) > > Learn more about how to troubleshoot common Databricks connector issues and resolve configuration or ingestion errors. # Databricks Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/databricks/index Connect Databricks to Collate effortlessly. Complete setup guide, configuration steps, and metadata extraction for your data lakehouse platform. ![Databricks](/public/images/connectors/databrick.webp) # Databricks PROD [Databricks connector setup video guide](https://www.youtube.com/embed/ASuCngUly80) > [!TIP] > > **Tip**: According to the [Databricks documentation](https://docs.databricks.com/en/data-governance/unity-catalog/tags.html#manage-tags-with-sql-commands), Collate supports metadata `tag` extraction only for Databricks version 13.3 and higher. This section provides guides and references to use the Databricks connector. Configure and schedule Databricks metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg tables](#iceberg-tables) * [Unity Catalog](#unity-catalog) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/databricks/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements Before ingesting metadata from Databricks, grant the following permissions to the user account Collate will use to connect. ### Permission Requirement To enable full functionality of metadata extraction, profiling, usage, and lineage features in Collate, the following permissions must be granted to the relevant users in your Databricks environment. ### Metadata and Profiling Permissions These permissions are required on the catalogs, schemas, and tables from which metadata and profiling information will be ingested. ```sql theme={null} GRANT USE CATALOG ON CATALOG TO ``; GRANT USE SCHEMA ON SCHEMA TO ``; GRANT SELECT ON TABLE TO ``; ``` Ensure these grants are applied to all relevant tables for metadata ingestion and profiling operations. ### Usage and Lineage These permissions enable Collate to extract query history and construct lineage information. ```sql theme={null} GRANT SELECT ON SYSTEM.QUERY.HISTORY TO ``; GRANT USE SCHEMA ON SCHEMA system.query TO ``; ``` These permissions allow access to Databricks system tables that track query activity, enabling lineage and usage statistics generation. > [!TIP] > > **Tip**: Adjust \, \, \, and \ according to your specific deployment and security requirements. ## Iceberg tables Collate reads Databricks metadata through the standard catalog and table interfaces described on this page. If Databricks exposes an Iceberg-backed table through those interfaces, use the same Databricks connector workflow described here. This page does not document separate Iceberg-specific configuration, classification, or profiling guarantees for the Databricks connector. Validate behavior in your environment if you rely on Databricks-specific Iceberg handling. ## Unity Catalog If you use Unity Catalog in Databricks, see the [Unity Catalog](/ai-2-0/connectors/database/unity-catalog) connector. ## Metadata Ingestion To ingest metadata from Databricks, you need to create a service connection. The service connects Databricks with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Databricks** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/databricks.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=61556e5426ac54973abd05b2c73811d8) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Databricks services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/databricks.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e944feb1f11be4157df5f8402e488adb) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Databricks. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/databricks.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=ebed3884539f9373d9039c893da563c8) * **Host and Port**: Enter the fully qualified hostname and port number for your Databricks deployment in the Host and Port field. * **Token**: Generated Token to connect to Databricks. * **HTTP Path**: Databricks compute resources URL. * **connectionTimeout**: The maximum amount of time (in seconds) to wait for a successful connection to the data source. If the connection attempt takes longer than this timeout period, Collate returns an error. * **Catalog**: Catalog of the data source (for example, `hive_metastore`). This optional parameter restricts metadata reading to a single catalog. When left blank, Collate ingestion scans all catalogs. * **DatabaseSchema**: The database schema of the data source. This optional parameter restricts metadata reading to a single schema. When left blank, Collate ingestion scans all schemas. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Databricks supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Databricks supports owner management at the following levels: * Database level * Schema level * Table level > [!TIP] > > **Tip**: Databricks does not support to set `null` as owner. > [!NOTE] > > **Note**: Databricks identifies user principals by email, not by username. When reverse ingestion updates a user owner, Collate uses the assigned user's email address when available and falls back to the Collate username otherwise. Collate resolves teams by team name—the team must match a Databricks account-level group. * **Tag Management**: Databricks supports tag management at all levels: * Database level * Schema level * Table level * Column level * **Custom SQL Template**: Databricks supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Set table tags ALTER TABLE {database}.{schema}.{table} SET TAGS {tags}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: ```sql theme={null} -- Catalog grants GRANT USE CATALOG ON CATALOG `` TO ``; GRANT MANAGE ON CATALOG `` TO ``; -- Schema grants GRANT USE SCHEMA ON SCHEMA ``.`` TO ``; GRANT MANAGE ON SCHEMA ``.`` TO ``; GRANT APPLY TAG ON SCHEMA ``.`` TO ``; -- Table grants GRANT MANAGE ON TABLE ``.``.`
` TO ``; GRANT APPLY TAG ON TABLE ``.``.`
` TO ``; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Databricks Troubleshooting](/ai-2-0/connectors/database/databricks/troubleshooting) > > Learn more about how to troubleshoot common Databricks connector issues and resolve configuration or ingestion errors. # Databricks Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/databricks/troubleshooting Troubleshoot Databricks connector issues including schema extraction errors or driver failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Databricks Connection Details ``` source: type: databricks serviceName: local_databricks serviceConnection: config: catalog: hive_metastore databaseSchema: default token: hostPort: localhost:443 connectionArguments: http_path: sourceConfig: config: type: DatabaseMetadata sink: type: metadata-rest config: {} workflowConfig: openMetadataServerConfig: hostPort: http://localhost:8585/api authProvider: no-auth ``` Here are the steps to get `hostPort`, `token`, and `http_path`. First, log in to Azure Databricks and, from the sidebar, select SQL Warehouse (in the SQL section). ![Select Sql Warehouse](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/databricks/select-sql-warehouse.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=a6ccc6fecaf022d45aa2e7e93786a49a) Now, click on SQL Warehouse from the SQL Warehouses list. ![Open Sql Warehouse](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/databricks/Open-sql-warehouse.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=5d6e2843334b4577ee5823062b0200c5) On that page, go to the Connection Details section. Server hostname and Port together form your `hostPort` value, and HTTP path is your `http_path` value. ![Connection details](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/databricks/Connection-details.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=b88e4860e18859b972730990dd569aa6) In the Connection Details section, click on Create a personal access token. ![Open create token](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/databricks/Open-create-tocken-page.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=a4146387838f6299efde74d9e45aed4d) On this page, create a new `token`. ![Generate token](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/databricks/Generate-token.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=e2e1ae65869fa2bd98ad67cb6432ead2) # DB2 Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/db2/hybrid-runner Connect DB2 databases to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![DB2](/public/images/connectors/ibmdb2.webp) # DB2 PROD > [!WARNING] > > **Important**: Collate doesn't ship the DB2 connector in the ingestion container by default. > Install the following Python package in the ingestion container to run the DB2 connector. > If you are running this as part of Docker: > > ```code theme={null} > docker exec -it openmetadata_ingestion pip install '.[db2]' > ``` > > Using `pip`, provide the appropriate ingestion version in the following command: > > ```code theme={null} > pip install 'openmetadata-ingestion[db2]~=2.0.5.0' > ``` This section provides guides and references to use the DB2 connector. Configure and schedule DB2 metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/db2/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To create a new Db2 user, follow [IBM's guide to creating users manually](https://www.ibm.com/docs/en/samfess/8.2.0?topic=schema-creating-users-manually). The user must have the following permissions to ingest the metadata. ### DB2 for LUW (Linux, UNIX, Windows) * `SELECT` privilege on `SYSCAT.SCHEMATA` to fetch the metadata of schemas. ```sql theme={null} -- Grant SELECT on tables for schema metadata GRANT SELECT ON SYSCAT.SCHEMATA TO USER_NAME; ``` * `SELECT` privilege on `SYSCAT.TABLES` to fetch the metadata of tables. ```sql theme={null} -- Grant SELECT on tables for table metadata GRANT SELECT ON SYSCAT.TABLES TO USER_NAME; ``` * `SELECT` privilege on `SYSCAT.VIEWS` to fetch the metadata of views. ```sql theme={null} -- Grant SELECT on tables for view metadata GRANT SELECT ON SYSCAT.VIEWS TO USER_NAME; ``` ### DB2 for z/OS DB2 for z/OS uses `SYSIBM.*` catalog tables instead of `SYSCAT.*`. The connector auto-detects the platform and uses the appropriate catalog tables. The following permissions are required: * `SELECT` privilege on `SYSIBM.SYSTABLES` to fetch schemas, table names, and table comments. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSTABLES TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSCOLUMNS` to fetch column metadata for tables. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSCOLUMNS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSVIEWS` to fetch view names and definitions. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSVIEWS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSINDEXES` to fetch index and primary key information. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSINDEXES TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSTABCONST` to fetch table constraints (primary keys, unique constraints). ```sql theme={null} GRANT SELECT ON SYSIBM.SYSTABCONST TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSKEYCOLUSE` to fetch key column usage for constraints. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSKEYCOLUSE TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSFOREIGNKEYS` to fetch foreign key column details. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSFOREIGNKEYS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSRELS` to fetch foreign key relationships between tables. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSRELS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSSEQUENCES` to fetch sequence metadata. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSSEQUENCES TO USER_NAME; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables and schemas where the profiler or tests run. For more information, see the [profiler workflow guide](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and the [data quality guide](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from DB2, you need to create a service connection. The service connects DB2 with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **DB2** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/db2.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=1b6d8ac6225d03fcec55b079fa16d783) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other DB2 services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/db2.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=996528f149aff2ba2f79218cafe943a2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for DB2. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/db2.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=a5890af45720fca48c04846260df447d) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to DB2. It should have enough privileges to read all the metadata. * **Password**: Password to connect to DB2. * **database**: Database of the data source. * **Host and Port**: Enter the fully qualified hostname and port number for your DB2 deployment in the Host and Port field. * **License File Name**: License file name in case the license is required for connection. * **License**: Contents of your license file if applicable, make sure to replace new lines with `\n` before pasting it here. > [!TIP] > > **Tip**: If you are using DB2 for IBM i: > > * From advanced config, choose the `ibmi` scheme. > * In Host and Port, don't add the port number. > [!TIP] > > **Tip**: If you have a **db2jcc_license_cisuz.jar** file, it will not work with **ibm_db**. This file is a **Db2 Connect** license for the Java Driver. > For **non-Java drivers**, such as the Python Client used in Collate ingestion, a **Db2 Connect** client-side license is required, typically named *_db2con_.lic*\*. > The **db2jcc_license_cisuz.jar** is specifically for Java-based clients, whereas Collate ingestion operates with a Python Client, making the `.jar` file incompatible. > > To activate a non-Java license for Db2 Connect **Application Server Edition**, **Advanced Application Server Edition**, **Enterprise Edition**, or **Trial**, follow these steps: > > * Download the **license activation kit** from IBM Passport Advantage: [IBM PPA](https://www.ibm.com/software/passportadvantage/pao_customer.html). > * Unzip the package and locate the **non-Java license file** (for example, `db2consv_ee.lic`). > * Apply the `.lic` file to activate the license. > For more information, see [Everything About Db2 Connect Licensing](https://community.ibm.com/community/user/datamanagement/blogs/shilu-mathai2/2023/05/05/everything-about-db2-connect-licensing). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [DB2 Troubleshooting](/ai-2-0/connectors/database/db2/troubleshooting) > > Learn more about how to troubleshoot common DB2 connector issues and resolve configuration or ingestion errors. # DB2 Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/db2/index Connect DB2 databases to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![DB2](/public/images/connectors/ibmdb2.webp) # DB2 PROD > [!WARNING] > > **Important**: Collate doesn't ship the DB2 connector in the ingestion container by default. > Install the following Python package in the ingestion container to run the DB2 connector. > If you are running this as part of Docker: > > ```code theme={null} > docker exec -it openmetadata_ingestion pip install '.[db2]' > ``` > > Using `pip`, provide the appropriate ingestion version in the following command: > > ```code theme={null} > pip install 'openmetadata-ingestion[db2]~=2.0.5.0' > ``` This section provides guides and references to use the DB2 connector. Configure and schedule DB2 metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/db2/troubleshooting) ## Requirements To create a new Db2 user, follow [IBM's guide to creating users manually](https://www.ibm.com/docs/en/samfess/8.2.0?topic=schema-creating-users-manually). The user must have the following permissions to ingest the metadata. ### DB2 for LUW (Linux, UNIX, Windows) * `SELECT` privilege on `SYSCAT.SCHEMATA` to fetch the metadata of schemas. ```sql theme={null} -- Grant SELECT on tables for schema metadata GRANT SELECT ON SYSCAT.SCHEMATA TO USER_NAME; ``` * `SELECT` privilege on `SYSCAT.TABLES` to fetch the metadata of tables. ```sql theme={null} -- Grant SELECT on tables for table metadata GRANT SELECT ON SYSCAT.TABLES TO USER_NAME; ``` * `SELECT` privilege on `SYSCAT.VIEWS` to fetch the metadata of views. ```sql theme={null} -- Grant SELECT on tables for view metadata GRANT SELECT ON SYSCAT.VIEWS TO USER_NAME; ``` ### DB2 for z/OS DB2 for z/OS uses `SYSIBM.*` catalog tables instead of `SYSCAT.*`. The connector auto-detects the platform and uses the appropriate catalog tables. The following permissions are required: * `SELECT` privilege on `SYSIBM.SYSTABLES` to fetch schemas, table names, and table comments. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSTABLES TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSCOLUMNS` to fetch column metadata for tables. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSCOLUMNS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSVIEWS` to fetch view names and definitions. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSVIEWS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSINDEXES` to fetch index and primary key information. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSINDEXES TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSTABCONST` to fetch table constraints (primary keys, unique constraints). ```sql theme={null} GRANT SELECT ON SYSIBM.SYSTABCONST TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSKEYCOLUSE` to fetch key column usage for constraints. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSKEYCOLUSE TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSFOREIGNKEYS` to fetch foreign key column details. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSFOREIGNKEYS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSRELS` to fetch foreign key relationships between tables. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSRELS TO USER_NAME; ``` * `SELECT` privilege on `SYSIBM.SYSSEQUENCES` to fetch sequence metadata. ```sql theme={null} GRANT SELECT ON SYSIBM.SYSSEQUENCES TO USER_NAME; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables and schemas where the profiler or tests run. For more information, see the [profiler workflow guide](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and the [data quality guide](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from DB2, you need to create a service connection. The service connects DB2 with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **DB2** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/db2.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=1b6d8ac6225d03fcec55b079fa16d783) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other DB2 services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/db2.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=996528f149aff2ba2f79218cafe943a2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for DB2. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/db2.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=a5890af45720fca48c04846260df447d) * **Username**: Specify the user to connect to DB2. It should have enough privileges to read all the metadata. * **Password**: Password to connect to DB2. * **database**: Database of the data source. * **Host and Port**: Enter the fully qualified hostname and port number for your DB2 deployment in the Host and Port field. * **License File Name**: License file name in case the license is required for connection. * **License**: Contents of your license file if applicable, make sure to replace new lines with `\n` before pasting it here. > [!TIP] > > **Tip**: If you are using DB2 for IBM i: > > * From advanced config, choose the `ibmi` scheme. > * In Host and Port, don't add the port number. > [!TIP] > > **Tip**: If you have a **db2jcc_license_cisuz.jar** file, it will not work with **ibm_db**. This file is a **Db2 Connect** license for the Java Driver. > For **non-Java drivers**, such as the Python Client used in Collate ingestion, a **Db2 Connect** client-side license is required, typically named *_db2con_.lic*\*. > The **db2jcc_license_cisuz.jar** is specifically for Java-based clients, whereas Collate ingestion operates with a Python Client, making the `.jar` file incompatible. > > To activate a non-Java license for Db2 Connect **Application Server Edition**, **Advanced Application Server Edition**, **Enterprise Edition**, or **Trial**, follow these steps: > > * Download the **license activation kit** from IBM Passport Advantage: [IBM PPA](https://www.ibm.com/software/passportadvantage/pao_customer.html). > * Unzip the package and locate the **non-Java license file** (for example, `db2consv_ee.lic`). > * Apply the `.lic` file to activate the license. > For more information, see [Everything About Db2 Connect Licensing](https://community.ibm.com/community/user/datamanagement/blogs/shilu-mathai2/2023/05/05/everything-about-db2-connect-licensing). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [DB2 Troubleshooting](/ai-2-0/connectors/database/db2/troubleshooting) > > Learn more about how to troubleshoot common DB2 connector issues and resolve configuration or ingestion errors. # DB2 Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/db2/troubleshooting Troubleshoot DB2 connector setup, query failures, or credential problems to ensure smooth ingestion and profiling operations. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Auto Ingest dbt-core Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core # Auto Ingest dbt-core Learn how to automatically ingest dbt-core artifacts into Collate using the simplified `metadata ingest-dbt` CLI command that reads configuration directly from your `dbt_project.yml` file. > [!TIP] > > **Tip**: This feature eliminates the need for separate YAML configuration files. All configuration is done directly in your existing `dbt_project.yml` file. ## Overview The `metadata ingest-dbt` command provides a streamlined way to ingest dbt artifacts into Collate by: * Reading configuration directly from your `dbt_project.yml` file * Automatically discovering dbt artifacts (`manifest.json`, `catalog.json`, `run_results.json`) * Supporting comprehensive filtering and configuration options ## Prerequisites 1. **dbt project setup**: You must have a dbt project with a valid `dbt_project.yml` file 2. **dbt artifacts**: Run `dbt compile` or `dbt run` to generate required artifacts in the `target/` directory 3. **Collate service**: Your database service must already be configured in Collate 4. **Collate Python package**: Install the Collate ingestion package ```bash theme={null} pip install "openmetadata-ingestion[dbt]" ``` ## Quick Start ### 1. Configure Your dbt_project.yml Add the following variables to the `vars` section of your `dbt_project.yml` file: ```yaml theme={null} vars: # Required OpenMetadata configuration openmetadata_host_port: "https://your-openmetadata-server-url/endpoint" openmetadata_jwt_token: "your-jwt-token-here" openmetadata_service_name: "your-database-service-name" ``` > [!TIP] > > **Tip**: > **Environment Variables**: For security, you can use environment variables instead of hardcoding sensitive values. See the [Environment Variables](#environment-variables) section below for supported patterns. ### 2. Generate dbt artifacts ```bash theme={null} cd your-dbt-project dbt compile # or dbt run ``` ### 3. Run the ingestion If you're already in your dbt project directory: ```bash theme={null} metadata ingest-dbt ``` Or if you're in a different directory: ```bash theme={null} metadata ingest-dbt -c /path/to/your/dbt-project ``` ## Environment Variables For security and flexibility, you can use environment variables in your `dbt_project.yml` configuration instead of hardcoding sensitive values like JWT tokens. The system supports three different environment variable patterns: ### Supported Patterns | Pattern | Description | Example | | - | - | - | | `${VAR}` | Shell-style variable substitution | `"${OPENMETADATA_TOKEN}"` | | `{{ env_var("VAR") }}` | dbt-style without default | `"{{ env_var('OPENMETADATA_HOST') }}"` | | `{{ env_var("VAR", "default") }}` | dbt-style with default value | `"{{ env_var('SERVICE_NAME', 'default-service') }}"` | ### Environment Variables Example ```yaml theme={null} # dbt_project.yml vars: # Using shell-style variables openmetadata_host_port: "${OPENMETADATA_HOST_PORT}" openmetadata_jwt_token: "${OPENMETADATA_JWT_TOKEN}" # Using dbt-style variables openmetadata_service_name: "{{ env_var('OPENMETADATA_SERVICE_NAME') }}" # Using dbt-style with defaults openmetadata_dbt_classification_name: "{{ env_var('DBT_CLASSIFICATION', 'dbt_tags') }}" openmetadata_search_across_databases: "{{ env_var('SEARCH_ACROSS_DB', 'false') }}" ``` Then set your environment variables: ```bash theme={null} export OPENMETADATA_HOST_PORT="https://your-openmetadata-server-url/endpoint" export OPENMETADATA_JWT_TOKEN="your-jwt-token" export OPENMETADATA_SERVICE_NAME="your-database-service" ``` **Alternative: Using .env Files** For local development, you can create a `.env` file in your dbt project directory: ```bash theme={null} # .env file in your dbt project root OPENMETADATA_HOST_PORT=https://your-openmetadata-server-url/endpoint OPENMETADATA_JWT_TOKEN=your-jwt-token OPENMETADATA_SERVICE_NAME=your-database-service ``` > [!TIP] > > **Note**: The system automatically loads environment variables from `.env` files in both the dbt project directory and the current working directory. Environment variables set in the shell take precedence over `.env` file values. > [!TIP] > > **Tip**: > **Error Handling**: If a required environment variable is not set and no default is provided, the ingestion will fail with a clear error message indicating which variable is missing. ## Configuration Options ### Required Parameters | Parameter | Description | | - | - | | `openmetadata_host_port` | Collate server URL (must start with `https://`) | | `openmetadata_jwt_token` | JWT token for authentication | | `openmetadata_service_name` | Name of the database service in Collate | ### Optional Parameters | Parameter | Default | Description | | - | - | - | | `openmetadata_dbt_update_descriptions` | `true` | Update table/column descriptions from dbt | | `openmetadata_dbt_update_owners` | `true` | Update model owners from dbt | | `openmetadata_include_tags` | `true` | Include dbt tags as Collate tags | | `openmetadata_search_across_databases` | `false` | Search for tables across multiple databases | | `openmetadata_dbt_classification_name` | `null` | Custom classification name for dbt tags | ### Filter Patterns Control which databases, schemas, and tables to include or exclude: ```yaml theme={null} vars: # ... required config above ... # Filter patterns using regex openmetadata_database_filter_pattern: includes: ["production_*", "analytics_*"] excludes: ["temp_*", "test_*"] openmetadata_schema_filter_pattern: includes: ["public", "marts", "staging"] excludes: ["information_schema", "temp_*"] openmetadata_table_filter_pattern: includes: [".*"] excludes: ["temp_.*", "tmp_.*", "dbt_.*"] ``` ## Complete Example ```yaml theme={null} # dbt_project.yml name: 'my_analytics_project' version: '1.0.0' config-version: 2 profile: 'my_analytics_project' model-paths: ["models"] # ... other dbt settings ... vars: # OpenMetadata Configuration - Using Environment Variables openmetadata_host_port: "${OPENMETADATA_HOST_PORT}" openmetadata_jwt_token: "{{ env_var('OPENMETADATA_JWT_TOKEN') }}" openmetadata_service_name: "{{ env_var('OPENMETADATA_SERVICE_NAME', 'postgres_analytics') }}" # Optional Settings openmetadata_dbt_update_descriptions: true openmetadata_dbt_update_owners: true openmetadata_include_tags: true openmetadata_dbt_classification_name: "{{ env_var('DBT_CLASSIFICATION', 'dbt_analytics_tags') }}" # Filtering openmetadata_database_filter_pattern: includes: ["analytics", "data_warehouse"] excludes: ["temp_db", "test_db"] openmetadata_table_filter_pattern: includes: [".*"] excludes: ["temp_.*", "tmp_.*", "test_.*"] ``` ## Command Options ```bash theme={null} metadata ingest-dbt [OPTIONS] Options: -h, --help Show help message and exit -c, --dbt-project-path PATH Path to the dbt project directory (default: current directory) ``` **Note**: Global options like `--version`, `--log-level`, and `--debug` are available at the main `metadata` command level: ```bash theme={null} metadata --version # Show version information metadata --log-level DEBUG ingest-dbt -c /path/to/project # Set log level metadata --debug ingest-dbt -c /path/to/project # Enable debug mode ``` ## Artifacts Discovery The command automatically discovers artifacts from your dbt project's `target/` directory: | Artifact | Required | Description | | - | - | - | | `manifest.json` | ✅ Yes | Model definitions, relationships, and metadata | | `catalog.json` | Optional | Table and column statistics from `dbt docs generate` | | `run_results.json` | Optional | Test results from `dbt test` | ### Generate All Artifacts ```bash theme={null} dbt compile # Generate manifest.json dbt docs generate # Generate catalog.json (requires database connection) dbt test # Generate run_results.json ``` ## What Gets Ingested * **Model Definitions**: Queries, configurations, and relationships * **Lineage**: Table-to-table and column-level lineage * **Documentation**: Model and column descriptions * **Data Quality**: dbt test definitions and results * **Tags & Classification**: Model and column tags * **Ownership**: Model owners and team assignments ## Error Handling & Troubleshooting ### Common Issues | Issue | Solution | | - | - | | `dbt_project.yml not found` | Ensure you're in a valid dbt project directory | | `Required configuration not found` | Add `openmetadata_*` variables to your `dbt_project.yml` | | `manifest.json not found` | Run `dbt compile` or `dbt run` first | | `Invalid URL format` | Ensure `openmetadata_host_port` includes protocol (`https://`) | | `Environment variable 'VAR' is not set` | Set the required environment variable or provide a default value | | `Environment variable not set and no default` | Either set the environment variable or use the `{{ env_var('VAR', 'default') }}` pattern | ### Debug Mode Enable detailed logging: ```bash theme={null} metadata --debug ingest-dbt -c . ``` ## Best Practices ### Security * **Always use environment variables** for sensitive data like JWT tokens * **Multiple patterns supported** for flexibility: ```yaml theme={null} vars: # Shell-style (simple and widely supported) openmetadata_host_port: "${OPENMETADATA_HOST_PORT}" openmetadata_jwt_token: "${OPENMETADATA_JWT_TOKEN}" # dbt-style (consistent with dbt conventions) openmetadata_service_name: "{{ env_var('OPENMETADATA_SERVICE_NAME') }}" # dbt-style with fallbacks (recommended for optional settings) openmetadata_dbt_classification_name: "{{ env_var('DBT_CLASSIFICATION', 'dbt_tags') }}" ``` * **Never commit** sensitive values directly to version control ### Filtering * Use specific patterns to exclude temporary/test tables * Filter based on your organization's naming conventions * Exclude system schemas and databases ### Automation * Integrate into CI/CD pipelines * Run after successful dbt builds * Set up scheduled ingestion for regular updates ## CI/CD Integration ```yaml theme={null} # .github/workflows/dbt-ingestion.yml name: dbt and OpenMetadata Ingestion on: push: branches: [main] jobs: dbt-run-and-ingest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4 with: python-version: '3.12' - name: Install dependencies run: | pip install dbt-core dbt-postgres pip install "openmetadata-ingestion[dbt]" - name: Run dbt run: | dbt deps dbt compile dbt run dbt test dbt docs generate env: DBT_PROFILES_DIR: . - name: Ingest to OpenMetadata run: metadata ingest-dbt -c . env: OPENMETADATA_HOST_PORT: ${{ secrets.OPENMETADATA_HOST_PORT }} OPENMETADATA_JWT_TOKEN: ${{ secrets.OPENMETADATA_JWT_TOKEN }} OPENMETADATA_SERVICE_NAME: ${{ secrets.OPENMETADATA_SERVICE_NAME }} ``` ## Next Steps After successful ingestion: 1. **Explore your data** in the Collate UI 2. **Configure additional dbt features** like [tags](/ai-2-0/connectors/database/dbt/ingest-dbt-tags), [tiers](/ai-2-0/connectors/database/dbt/ingest-dbt-tier), and [glossary](/ai-2-0/connectors/database/dbt/ingest-dbt-glossary) 3. **Set up data governance** policies and workflows 4. **Schedule regular ingestion** for keeping metadata up-to-date For additional troubleshooting, refer to the [dbt Troubleshooting Guide](/ai-2-0/connectors/database/dbt/dbt-troubleshooting). # Configure dbt workflow Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/configure-dbt-workflow Learn to configure dbt workflows in Collate with our step-by-step guide. Streamline data lineage, documentation, and metadata management effortlessly. ![dbt](/public/images/connectors/dbt.webp) # dbt PROD ## Configure dbt Workflow Learn how to configure the dbt workflow to ingest dbt data from your data sources. > [!NOTE] > > **Note**: > **Prerequisites for dbt Core**: Before configuring the workflow, ensure you have set up artifact storage. dbt Core requires artifacts (manifest.json, catalog.json) to be accessible to Collate. > > See the [Storage Configuration Overview](/ai-2-0/connectors/database/dbt/storage-configuration-overview) for setup guides: > > * [AWS S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) | [Google Cloud Storage](/ai-2-0/connectors/database/dbt/storage-gcs-guide) | [Azure Blob](/ai-2-0/connectors/database/dbt/storage-azure-guide) | [HTTP Server](/ai-2-0/connectors/database/dbt/storage-http-guide) | [Local/Shared Filesystem](/ai-2-0/connectors/database/dbt/storage-local-guide) > > **This step is not required for dbt Cloud** - artifacts are managed automatically via API. > [!TIP] > > **Tip**: > > * Collate supports both **dbt Core** and **dbt Cloud** for databases. After metadata ingestion, Collate extracts model information from dbt and integrates it accordingly. > * Additionally, **dbt Cloud** supports executing models directly. Collate enables ingestion of these executions as a **Pipeline Service** for enhanced tracking and visibility. ## Configuration Once the dbt metadata ingestion pipeline runs successfully and the service entities are available in Collate, dbt metadata is automatically ingested and associated with the corresponding data assets. As part of dbt ingestion, Collate can ingest and apply the following metadata from dbt: * dbt models and their relationships * Model and source lineage * dbt tests and test execution results * dbt tags * dbt owners * dbt descriptions * dbt tiers * dbt glossary terms This ingestion enriches the Table Entity and **populates the dbt tab on the Table Entity page**, providing a consolidated view of dbt-related context for each table. > [!NOTE] > > **Note**: No additional manual configuration is required in the UI after a successful dbt ingestion run. ![dbt](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-query.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=b1af787434c0d34fb7672643112960a3) We can create a workflow that will obtain the dbt information from the dbt files and feed it to Collate. The dbt Ingestion will be in charge of obtaining this data. ### Step 1: Add a dbt Ingestion In the Service details page, navigate to the **Agents** tab and click **Add Agent** > **DBT**. ![Add DBT Agent](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/connectors/dbt/add-dbt-agent.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=daa05f0d54928f54d5447d4cf80bf71a) ### Step 2: Configure the dbt Ingestion Here you can enter the configuration required for Collate to get the dbt files (manifest.json, catalog.json and run_results.json) required to extract the dbt metadata. Select **DBT Configuration Source** from where the dbt files are fetched. Following are the DBT configuration sources: > [!TIP] > > **Tip**: Only the `manifest.json` file is required for dbt ingestion. #### AWS S3 Buckets Collate connects to the AWS s3 bucket via the credentials provided and scans the AWS s3 buckets for `manifest.json`, `catalog.json` and `run_results.json` files. The name of the s3 bucket and prefix path to the folder in which the dbt files are stored can be provided. In the case where these parameters are not provided all the buckets are scanned for the files. Follow the link [here](/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects) for instructions on setting up multiple dbt projects. ![AWS S3 Configuration](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-aws-s3-config.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=32eac1eaf3ca2d1946e731ceca13eaba) #### Google Cloud Storage Buckets Collate connects to the GCS bucket via the credentials provided and scans the gcp buckets for `manifest.json`, `catalog.json` and `run_results.json` files. The name of the GCS bucket and prefix path to the folder in which the dbt files are stored can be provided. In the case where these parameters are not provided all the buckets are scanned for the files. GCS credentials can be stored in two ways: * Entering the credentials directly into the form Follow the link [here](/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects) for instructions on setting up multiple dbt projects. ![GCS Configuration](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-gcs-config.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=0fa5885dbb07f68d0511ba9d8c5ef912) * Entering the path of file in which the GCS bucket credentials are stored. ![GCS Storage Path](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-gcs-path.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4d55e88be3b88662d095f79860078249) For more information on Google Cloud Storage authentication click [here](https://cloud.google.com/docs/authentication/getting-started#create-service-account-console). #### Azure Storage Buckets Collate connects to Azure Storage using the credentials provided and scans the configured storage containers for `manifest.json`, `catalog.json` and `run_results.json` files. The Azure Storage account, container name, and optional folder (prefix) path where the dbt files are stored can be provided. If these parameters are not provided, all accessible containers in the storage account are scanned for the files. Follow the link [here](/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects) for instructions on setting up multiple dbt projects. ![Azure Configuration](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbi-azure-config.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=7dbe2edf50f7a0078467c2426fd2922f) #### Local Storage Path of the `manifest.json`, `catalog.json` and `run_results.json` files stored in the local system or in the container in which Collate server is running can be directly provided. ![Local Configuration](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-local-config.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=8e2f542f9edd71069afa4a42cefecc65) #### File Server File server path of the `manifest.json`, `catalog.json` and `run_results.json` files stored on a file server directly provided. ![HTTP Configuration](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-http-config.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b4d69780b1a62c21cba1cae17c97d278) #### dbt Cloud Click [here](https://docs.getdbt.com/guides/getting-started) to get started with dbt Cloud account setup if you have not done so already. The APIs need to be authenticated using an Authentication Token. Follow the link [here](https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens) to generate an authentication token for your dbt cloud account. The `Account Viewer` permission is the minimum requirement for the dbt cloud token. > [!TIP] > > **Tip**: The dbt Cloud workflow leverages the [dbt Cloud v2](https://docs.getdbt.com/dbt-cloud/api-v2#/) APIs to retrieve dbt run artifacts (manifest.json, catalog.json, and run_results.json) and ingest the dbt metadata. > > It uses the [/runs](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/List%20Runs) API to obtain the most recent completed dbt run (successful or failed), filtering by account_id, project_id and job_id if specified. The artifacts from this run are then collected using the [/artifacts](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/List%20Run%20Artifacts) API. > > Refer to the code [here](https://github.com/open-metadata/OpenMetadata/blob/main/ingestion/src/metadata/ingestion/source/database/dbt/dbt_config.py#L142) ![dbt-cloud](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-cloud-config.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=3b53b73163d72c6ec510ef56e65f05cd) > [!TIP] > > **Tip**: The fields for `Dbt Cloud Account Id`, `Dbt Cloud Project Id` and `Dbt Cloud Job Id` should be numeric values. > > To know how to get the values for `Dbt Cloud Account Id`, `Dbt Cloud Project Id` and `Dbt Cloud Job Id` fields check [here](/ai-2-0/connectors/database/dbt/run-dbt-workflow-externally). ### Step 3: Schedule and Deploy After clicking Next, you will be redirected to the Scheduling form. This will be the same as the Metadata Ingestion. Select your desired schedule and click on Deploy to find the lineage pipeline being added to the Service Ingestions. ![schedule-and-deploy](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-add-deploy.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=bb327edcfe5fb7996a99522e96637b71) # dbt Cloud API Configuration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide Connect Collate to dbt Cloud with zero infrastructure setup. No storage configuration needed - pull artifacts directly via API. # dbt Cloud API Configuration This guide shows you how to integrate **dbt Cloud** with **Collate** using the **dbt Cloud API**. > [!NOTE] > > **Note**: > **This guide is ONLY for dbt Cloud users.** If you're using dbt Core, see [dbt Core Configuration](/ai-2-0/connectors/database/dbt/storage-configuration-overview) for storage setup options. ## Prerequisites Checklist | Requirement | Details | How to Verify | | - | - | - | | **dbt Cloud Account** | Active subscription | Can log in to cloud.getdbt.com | | **dbt Cloud Jobs** | At least one successful job run | Check job run history | | **API Access** | Account Viewer permission minimum | Can create API tokens | | **Database Service** | Data warehouse already ingested | Check Connections > Database Services | ## Step 1: Get dbt Cloud API Token ### 1.1 Create API Token 1. Log in to **dbt Cloud** (cloud.getdbt.com) 2. Click your **Profile** icon (top right) 3. Go to **Account Settings** 4. Click **API Access** in the left sidebar 5. Click **+ Create Token** 6. Configure the token: * **Description**: `Collate Integration` * **Permission**: `Account Viewer` 7. Click **Save** 8. **Copy the token immediately** - you won't see it again! **Expected token format**: ``` dbt_cloud_abc123def456ghi789jkl... ``` > [!WARNING] > > **Important**: Save this token securely. You'll need it for Collate configuration. ### 1.2 Find Your Account ID **Method A: From URL** (Easiest) When logged into dbt Cloud, look at the browser URL: ``` https://cloud.getdbt.com/accounts/12345/projects/... ^^^^^ This is your Account ID ``` **Method B: Via API** ```bash theme={null} export DBT_CLOUD_TOKEN="your-token-here" curl -H "Authorization: Token ${DBT_CLOUD_TOKEN}" \ https://cloud.getdbt.com/api/v2/accounts/ | jq '.data[].id' ``` ### 1.3 Identify Your dbt Cloud Region dbt Cloud has regional deployments: | Region | URL | Use If | | - | - | - | | **North America** | `https://cloud.getdbt.com` | Default (most common) | | **EMEA** | `https://emea.dbt.com` | European accounts | | **APAC** | `https://au.dbt.com` | Asia-Pacific accounts | **How to check**: Look at your dbt Cloud login URL. ### 1.4 (Optional) Get Project/Job IDs By default, Collate will use the **most recent completed run** (successful or failed) from any project/job. To filter to a specific project or job, you'll need their IDs. **Get IDs from dbt Cloud UI**: * **Account ID**: In URL: `https://cloud.getdbt.com/#/accounts/{ACCOUNT_ID}/...` * **Project ID**: Go to **Account Settings** > **Projects**, click a project, ID is in the URL * **Job ID**: Go to **Deploy** > **Jobs**, click a job, ID is in the URL **Or retrieve via API**: **List Projects**: ```bash theme={null} export ACCOUNT_ID="12345" curl -H "Authorization: Token ${DBT_CLOUD_TOKEN}" \ https://cloud.getdbt.com/api/v2/accounts/${ACCOUNT_ID}/projects/ | \ jq '.data[] | {id, name}' ``` **Example output**: ```json theme={null} { "id": 98765, "name": "analytics" } ``` **List Jobs**: ```bash theme={null} curl -H "Authorization: Token ${DBT_CLOUD_TOKEN}" \ https://cloud.getdbt.com/api/v2/accounts/${ACCOUNT_ID}/jobs/ | \ jq '.data[] | {id, name, project_id}' ``` **Example output**: ```json theme={null} { "id": 54321, "name": "Daily Production Run", "project_id": 98765 } ``` ## Step 2: Configure Collate ### Configuration 1. In the left navigation menu, select **Connections** > **Database Services**. 2. Click the database service you want to configure (for example, "production-snowflake") * **Important**: Must match the database dbt connects to 3. Go to the **Agents** tab 4. Click **Add Agent** 5. Select **DBT** from the dropdown **Configure dbt Source (dbt Cloud)**: | Field | Value | Notes | | - | - | - | | **dbt Configuration Source** | `dbt Cloud` | Select from dropdown | | **dbt Cloud Auth Token** | `dbt_cloud_abc123...` | Your API token from Step 1.1 | | **dbt Cloud Account ID** | `12345` | Your account ID from Step 1.2 | | **dbt Cloud URL** | `https://cloud.getdbt.com` | Or your regional URL | | **dbt Cloud Project ID** | *(optional)* | Leave empty to use latest run from any project | | **dbt Cloud Job ID** | *(optional)* | Leave empty to use latest run from any job | **How filtering works**: * **Both empty**: Uses most recent completed run from **any** job in the account * **Project ID provided**: Uses most recent run from that specific project * **Both provided**: Uses most recent run from that specific job **Configure dbt Options**: | Field | Recommended Value | | - | - | | **Update Descriptions** | `Enabled` | | **Update Owners** | `Enabled` | | **Include Tags** | `Enabled` | | **Classification Name** | `dbtTags` | > [!TIP] > > **Tip**: Match your schedule to dbt Cloud job frequency. If jobs run every 6 hours, schedule Collate ingestion every 6 hours. **Test & Deploy**: 1. Click **Test Connection** * Should show: ✓ API connectivity, ✓ Account access, ✓ Recent run found 2. If successful, click **Deploy** 3. Click **Run** to trigger immediately ## Verification ### Verification Checklist | Check | How to Verify | Expected Result | | - | - | - | | **dbt Cloud run exists** | Check dbt Cloud job history | Recent completed run visible | | **Ingestion completed** | Collate UI > Service > Agents tab | Green status, no errors | | **Lineage appears** | Click on a dbt model > Lineage tab | Upstream/downstream connections | | **Descriptions synced** | Click on a table > Schema tab | dbt descriptions visible | | **Test results visible** | Click on a table > Data Quality tab | dbt test results shown | ## Best Practices ### Ensure Jobs Generate All Artifacts Your dbt Cloud job **must** include these commands: ```bash theme={null} dbt run # Generates manifest.json dbt test # Generates run_results.json with test results dbt docs generate # Generates catalog.json with column descriptions ``` **How to verify**: 1. Go to **dbt Cloud** > **Jobs** 2. Click on your job 3. Go to **Settings** > **Commands** 4. Confirm all three commands are present ### Schedule Alignment | dbt Cloud Job Frequency | Recommended Collate Schedule | | - | - | | Hourly | `0 * * * *` (Every hour) | | Every 6 hours | `0 */6 * * *` (Every 6 hours) | | Daily (6 AM) | `0 7 * * *` (Daily at 7 AM) | | On-demand only | `0 */3 * * *` (Every 3 hours) | ### API Rate Limits dbt Cloud API has rate limits: * **100 requests per minute** per API token Collate makes \~3-5 API calls per ingestion. Don't schedule more frequently than **every 15 minutes**. ## Troubleshooting | Issue | Symptom | Cause | Solution | | - | - | - | - | | **Invalid Token** | "401 Unauthorized" | Token expired or wrong | Regenerate API token in dbt Cloud | | **No Runs Found** | "No recent successful runs" | No completed jobs | Run a dbt Cloud job and wait for completion | | **Wrong Account** | "403 Forbidden" | Account ID incorrect | Verify Account ID from URL or API | | **Missing catalog.json** | No column descriptions | Job didn't run `dbt docs generate` | Add docs generation to job commands | | **Wrong Database Service** | No lineage appears | Service name mismatch | Ensure Collate service name matches dbt target | | **Stale data** | Old metadata showing | Ingestion not running | Check ingestion schedule and logs | ### Debug Commands ```bash theme={null} # Test API connectivity curl -H "Authorization: Token ${DBT_CLOUD_TOKEN}" \ https://cloud.getdbt.com/api/v2/accounts/${ACCOUNT_ID}/ | jq '.' # Get most recent completed run (what Collate will use) curl -g -H "Authorization: Token ${DBT_CLOUD_TOKEN}" \ "https://cloud.getdbt.com/api/v2/accounts/${ACCOUNT_ID}/runs/?status__in=[10,20]&order_by=-finished_at&limit=1" | \ jq '.data[0] | {id, job_id, finished_at, status_humanized}' # Download manifest from run curl -H "Authorization: Token ${DBT_CLOUD_TOKEN}" \ "https://cloud.getdbt.com/api/v2/accounts/${ACCOUNT_ID}/runs/${RUN_ID}/artifacts/manifest.json" | \ jq '.metadata.dbt_version' ``` ## Next Steps * [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) * [Ingest dbt Descriptions](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions) > [!NOTE] > > **Note**: Questions? See the main [dbt Overview](/ai-2-0/connectors/database/dbt) or visit the documentation. # dbt Workflow | Data Build Tool Integration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/index Learn how to integrate dbt workflows with Collate connectors for seamless data lineage tracking and metadata ingestion. Step-by-step setup guide included. # dbt Workflow [dbt Workflow video tutorial for Collate integration](https://www.youtube.com/embed/UplWPbjwpTU) > [card] [Run in Collate SaaS or BYOC](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) > > Configure the dbt Workflow. > [card] [Run in Collate Hybrid SaaS](/ai-2-0/connectors/database/dbt/run-dbt-workflow-externally) > > Configure the dbt Workflow from the CLI. > [card] [Auto Ingest dbt Artifacts (dbt-core)](/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core) > > Configure the auto dbt ingestion for dbt-core. ## dbt Integration | Feature | Status | | :- | :- | | Stage | PROD | | [dbt Queries](#1-dbt-queries) | | | [dbt Lineage](#2-dbt-lineage) | | | [dbt Tags](#3-dbt-tags) | | | [dbt Tiers](#7-dbt-tiers) | | | [dbt Domain](#9-dbt-domain) | | | [dbt Custom Properties](#10-dbt-custom-properties) | | | [dbt Glossary](#8-dbt-glossary) | | | [dbt Owner](#4-dbt-owner) | | | [dbt Descriptions](#5-dbt-descriptions) | | | [dbt Tests](#6-dbt-tests-and-test-results) | | | [dbt Exposures](#11-dbt-exposures) | | | [dbt push metadata](/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core) | | | Supported dbt Core Versions | `v1.2` `v1.3` `v1.4` `v1.5` `v1.6` `v1.7` `v1.8` `v1.9` | ## Requirements Collate supports ingestion from both **dbt Core** and **dbt Cloud**.\ The requirements vary depending on how dbt is deployed and executed. ### Why dbt Artifacts Are Needed To bring your dbt project into Collate, the connector reads the metadata that dbt generates about your transformations. dbt automatically creates JSON files (called "artifacts") whenever you run commands like `dbt run`, `dbt test`, or `dbt docs generate`. These artifacts allow Collate to: * **Build lineage graphs**: See how your models connect to sources and each other * **Sync documentation**: Keep table and column descriptions in sync with your dbt project * **Track data quality**: Monitor test results and show pass/fail status * **Import metadata**: Bring over tags, ownership, domains, and custom properties Collate reads these pre-generated files rather than parsing your SQL and YAML directly, which means the integration works with any dbt setup, whether you run dbt in Airflow, Kubernetes, GitHub Actions, or locally. ## Understanding dbt Artifact Files dbt generates JSON files in the `target/` directory. Here's what each file provides: ### manifest.json (Required) The manifest is the heart of dbt metadata. **This file is required** for the integration to work. **What it contains**: * Model definitions and SQL code * `ref()` and `source()` dependencies for lineage * Descriptions from `schema.yml` files * dbt tags and meta properties * Test configurations * Column definitions **How Collate uses it**: * Creates Data Model entities linked to your tables * Builds lineage graphs showing data flow between models * Syncs table and column descriptions * Creates classification tags * Assigns ownership and domains * Creates test cases for data quality monitoring **Generated by**: Any dbt command (`dbt run`, `dbt build`, `dbt compile`) ### catalog.json (Recommended) The catalog provides database-level details that the manifest doesn't have. **What it contains**: * Actual column data types from the database * Database-level ownership information * Column ordering as it exists in the database * Statistics about tables and columns **How Collate uses it**: * Provides accurate column data types (more reliable than schema.yml declarations) * Fallback owner information if not specified in meta properties * Maintains column position from your database **Generated by**: `dbt docs generate` > [!NOTE] > > **Note**: Without catalog.json, you'll still get lineage and model information, but column types will only include what's declared in your `schema.yml` files. ### run_results.json (Recommended) Run results capture the outcome of your most recent dbt execution. **What it contains**: * Test pass/fail/warn status for each test * Execution timestamps * Error messages and stack traces * Model build success/failure status **How Collate uses it**: * Updates test case results showing pass/fail status * Tracks when tests last ran * Shows failure details for debugging **Generated by**: `dbt run`, `dbt test`, `dbt build` > [!TIP] > > **Tip**: Run `dbt test` before the Collate ingestion runs to capture the latest test results. ### Generating Your dbt Artifacts Run these commands after your dbt models execute: ```bash theme={null} # Step 1: Run your models (generates manifest.json) dbt run # Step 2: Run your tests (updates run_results.json with test outcomes) dbt test # Step 3: Generate the catalog (creates catalog.json) dbt docs generate ``` **Verify your artifacts exist**: ```bash theme={null} ls -la target/*.json # Expected files: # target/manifest.json (required) # target/catalog.json (recommended) # target/run_results.json (recommended) ``` ## dbt Core Artifact Storage ### Artifact Accessibility Since **dbt Core runs within your infrastructure** (for example, using Airflow or similar schedulers), Collate does not have direct access to the local file system where dbt executes. To enable ingestion, the dbt artifacts **must be made accessible to Collate** by storing them in a supported cloud storage service. Collate currently supports the following storage systems: * Amazon S3 * Google Cloud Storage (GCS) * Azure Data Lake / Azure Blob Storage * HTTP/HTTPS servers * Local or shared filesystem ### Configuration Steps To configure dbt Core artifact ingestion: 1. **Generate artifacts**: Ensure dbt generates required files (manifest.json, catalog.json, run_results.json) 2. **Choose storage method**: Select from S3, GCS, Azure, HTTP, or Local (see options below) 3. **Upload artifacts**: Configure your workflow to upload artifacts to chosen storage 4. **Configure Collate**: Provide storage path and credentials during ingestion setup See the [Storage Configuration Overview](/ai-2-0/connectors/database/dbt/storage-configuration-overview) for complete implementation guides. ### dbt Core Artifact Configuration When using dbt Core, artifacts must be accessible to Collate. Choose your storage method: > [card] [AWS S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) > > AWS deployments (ECS, EKS, EC2) > [card] [Google Cloud Storage](/ai-2-0/connectors/database/dbt/storage-gcs-guide) > > GCP deployments (GKE, Compute) > [card] [Azure Blob Storage](/ai-2-0/connectors/database/dbt/storage-azure-guide) > > Azure deployments (AKS, VMs) > [card] [HTTP Server](/ai-2-0/connectors/database/dbt/storage-http-guide) > > Cloud-agnostic, static file servers > [card] [Local/Shared Filesystem](/ai-2-0/connectors/database/dbt/storage-local-guide) > > Single-server or Docker deployments ## dbt Cloud Requirements When using dbt Cloud, Collate integrates directly with dbt Cloud using APIs to retrieve metadata and execution details. See the [dbt Cloud API Configuration Guide](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) for complete setup instructions. ### Prerequisites To configure dbt Cloud ingestion, you must have: * An active dbt Cloud account * At least one dbt Cloud job configured to generate dbt artifacts * A valid dbt Cloud API token with sufficient permissions ### Supported Metadata Using dbt Cloud integration, Collate can ingest: * dbt models and sources * Column-level metadata * Model and source lineage * dbt test results (when tests are executed as part of the job) > [!NOTE] > > **Note**: > > * No external cloud storage configuration is required for dbt Cloud ingestion. > * Ensure that your dbt Cloud job is configured to generate documentation artifacts. ## Metadata Collate Integrates from dbt ### 1. dbt Queries Queries used to create the dbt models can be viewed in the dbt tab. ![dbt-query](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-query.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=b1af787434c0d34fb7672643112960a3) ### 2. dbt Lineage Lineage from dbt models can be viewed in the Lineage tab. For more information, see [Ingest dbt Lineage](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage). ![dbt-lineage](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-lineage.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=80991980582b5d96f0b56fb97ee9d360) > [!NOTE] > > **Note**: To capture lineage, the `compiled_code` field must be present in the `manifest.json` file. > > * If `compiled_code` is missing, lineage will **not** be captured for that node. > * To ensure `compiled_code` is populated in your dbt manifest, run the following commands in your dbt project: > * `dbt compile` > * `dbt docs generate` ### 3. dbt Tags Table and column level tags can be imported from dbt. See [Add dbt Tags](/ai-2-0/connectors/database/dbt/ingest-dbt-tags). ![dbt-tags](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-tags.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=ad3df34fc844be52a32f464cc1e40b55) ### 4. dbt Owner Owner from dbt models can be imported and assigned to respective tables. See [Add dbt Owner](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). ![dbt-owner](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-owner.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=6b106eac40270d1e3b3c270828dfa70b) ### 5. dbt Descriptions Descriptions from dbt `manifest.json` and `catalog.json` can be imported and assigned to respective tables and columns. For more information, see [Ingest dbt Descriptions](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). ![dbt-descriptions](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-descriptions.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=072f81ed1bf342e7e5cd74ee31aeb11a) ### 6. dbt Tests and Test Results Tests from dbt will only be imported if the `run_results.json` file is passed. ![dbt-tests](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-tests.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=d48cf10e8d4661cb09c4c05c34d7bb85) ### 7. dbt Tiers Table and column level Tiers can be imported from dbt. See [Add dbt Tiers](/ai-2-0/connectors/database/dbt/ingest-dbt-tier). ![dbt-tiers](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-tier.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=232810cad2b22c4955030ca3be0a47d2) ### 8. dbt Glossary Table and column level Glossary can be imported from dbt. See [Add dbt Glossary](/ai-2-0/connectors/database/dbt/ingest-dbt-glossary). ![dbt-glossary](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-glossary.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=9d51a5afcc854fc34365e7b5b3749a7b) ### 9. dbt Domain Table level Domain can be imported from dbt to assign tables to organizational domains. See [Add dbt Domain](/ai-2-0/connectors/database/dbt/ingest-dbt-domain). ### 10. dbt Custom Properties Custom property values can be imported from dbt to enrich table metadata with organization-specific attributes. See [Add dbt Custom Properties](/ai-2-0/connectors/database/dbt/ingest-dbt-custom-properties). ### 11. dbt Exposures Exposures let you extend lineage from your dbt models to the dashboards, ML models, and API endpoints that consume them. For more information, see [Ingest Exposures from dbt](/ai-2-0/connectors/database/dbt/ingest-dbt-exposures). ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting For any issues, see the [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) guide. # Ingest Descriptions from dbt Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions Ingest dbt model and column descriptions to improve discoverability and context for analysts and developers. # Ingest Descriptions from dbt When you run a dbt ingestion workflow, Collate pulls model and column descriptions from your dbt artifact files and adds them to the matching tables and columns in Collate. ## Which File Does Collate Use? Collate reads descriptions from `manifest.json` by default. If you also provide `catalog.json`, the catalog descriptions take priority. | Files provided | Descriptions used | | - | - | | `manifest.json` only | Descriptions from `manifest.json` | | `manifest.json` + `catalog.json` | Descriptions from `catalog.json` | ## Override Existing Descriptions By default, Collate only fills in descriptions for tables and columns that don't have one yet — it won't touch descriptions you've already written in Collate. Turn on the **Update Descriptions** toggle in the dbt ingestion configuration if you want dbt to be the single source of truth. When enabled, dbt descriptions overwrite any existing descriptions in Collate. ![Update Descriptions toggle](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/update-description.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fb4a4cd11adb634f85b74052e7dcd6a1) # Ingest Owner from dbt Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-owner Configure dbt workflows to ingest owner metadata from dbt models into your governance platform. # Ingest Owner from dbt Collate reads owner information from your dbt `manifest.json` or `catalog.json` artifacts and links it to the corresponding table entities in Collate. The owner can be a user or a team. When ingestion runs, Collate looks for the `owner` field under `node_name → metadata → owner`. It first searches for a matching user; if none is found, it falls back to a matching team. ## Prerequisites ### dbt Side The `owner` field must be present in your dbt artifact files before ingestion runs. To add or update the owner in your dbt project, see the [dbt meta configuration reference](https://docs.getdbt.com/reference/resource-configs/meta). * **Owner in `manifest.json`** — under `node_name → metadata → owner`: ```json theme={null} "model.jaffle_shop.orders": { "metadata": { "type": "BASE TABLE", "schema": "dbt_jaffle", "name": "orders", "database": "dev", "comment": null, "owner": "openmetadata_team" } } ``` * **Owner in `catalog.json`** — same location under `node_name → metadata → owner`: ```json theme={null} "model.jaffle_shop.customers": { "metadata": { "type": "BASE TABLE", "schema": "dbt_jaffle", "name": "customers", "database": "dev", "comment": null, "owner": "openmetadata" } } ``` ### Collate Side The user or team named in the dbt artifact must already exist in Collate before ingestion runs. Collate will not create owners automatically. #### Add a User in Collate 1. Click the **Profile** icon and navigate to **Settings** > **Team & User Management** > **Users**. ![Navigate to Users](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/connectors/dbt/access-users-setting.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=11e50d399f8e23ff869bc9b0d4132f1f) ![Users Selection Page](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/users-page.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=9b693864e78a4b092ca270887673757c) 2. Click **Add User**. ![Add User button](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/connectors/dbt/add-users.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=f48eca464d75f501d9fe39259390102b) 3. Fill the user details and click **Create**. > [!TIP] > > **Tip**: If the owner value in `manifest.json` or `catalog.json` is `openmetadata`, enter `openmetadata@youremail.com` in the email field. ![Add user form](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/user%20details.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=d178f6cbdd69dd63e40bd284e0ca905e) #### Add a Team in Collate 1. Click the **Profile** icon and navigate to **Settings** > **Team & User Management** > **Teams**. ![Navigate to Teams](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/connectors/dbt/access-users-setting.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=11e50d399f8e23ff869bc9b0d4132f1f) ![Teams Selection Page](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/users-page.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=9b693864e78a4b092ca270887673757c) 2. Click **Add Team**. ![Add Team button](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/connectors/dbt/add-team.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=b3121ad969bc9d57d8d87deee4ddc616) 3. Fill the team details and click **Save**. > [!TIP] > > **Tip**: If the owner value in `manifest.json` or `catalog.json` is `openmetadata`, enter `openmetadata` in the name field. ![Add team form](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/team-details.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=2e2f4638bd19c52ca4dd5ab764cef36c) ## Multiple Owners Collate supports multiple owners per dbt model through the `owner` field under `meta.openmetadata` in your `schema.yml`: ```yaml theme={null} models: - name: customers meta: openmetadata: glossary: [ 'Test_Glossary.term_one', 'Test_Glossary.term_two.nested_term.more_nested_term', ] tier: 'Tier.Tier2' owner: ['John Doe', 'jane@gmail.com'] config: tags: ["model_tag_one", "model_tag_two"] ``` * **owner**: A list of user names or email addresses. Each must exist in Collate as a valid user or team entity. * **dbtUpdateOwners**: Controls whether this list overwrites existing owners or applies only to unowned assets. See [Override Existing Owners](#override-existing-owners) below. ## Override Existing Owners When the **Update Owners** toggle is enabled in the dbt ingestion configuration, Collate overwrites any existing table owners with the values from dbt. When disabled, dbt owners are only applied to tables that currently have no owner in Collate — existing owners are left unchanged. ![Update Owners toggle](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/update-owners.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=55d99447a085585de44a4e8e1f09795e) ## Verify After the ingestion workflow completes, the linked owner appears on the table entity page. ![Owner linked to table](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/ingest_dbt_owner/linked-user.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=b636c2f4b09aba9d4dd63bb572784e19) # Run dbt Workflow Externally Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/run-dbt-workflow-externally Run dbt workflows externally to sync metadata from CI/CD systems or scheduled orchestrations. ![dbt](/public/images/connectors/dbt.webp) # dbt PROD This section provides guides and references to run the dbt workflow externally. * [Requirements](#requirements) * [Python Requirements](#python-requirements) * [dbt Ingestion](#dbt-ingestion) * [Run with the CLI](#2-run-with-the-cli) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements You must have access to dbt artifacts. At minimum, the `manifest.json` file is required. The `catalog.json` and `run_results.json` files are optional but recommended for richer metadata. For dbt Cloud, create a service token with the `Account Viewer` permission and collect the account, project, and job IDs if you want to target a specific run. ## Python Requirements > [!TIP] > > **Tip**: We have support for Python versions **3.9-3.11** To run the dbt ingestion, install: ```bash theme={null} pip3 install "openmetadata-ingestion[dbt]" ``` ## dbt Ingestion All connectors are defined as JSON Schemas. You can find the structure for dbt workflows in the OpenMetadata spec repository. ### 1. Define the YAML Config Choose one of the following dbt artifact sources: * [AWS S3 Buckets](#1-dbt-core-aws-s3-buckets) * [Google Cloud Storage Buckets](#2-dbt-core-google-cloud-storage-buckets) * [Azure Storage Buckets](#3-dbt-core-azure-storage-buckets) * [Local Storage](#4-dbt-core-local-storage) * [File Server](#5-dbt-core-file-server) * [dbt Cloud](#6-dbt-cloud-api-based-ingestion) ### 1. dbt Core: AWS S3 Buckets In this configuration we fetch dbt artifacts from an S3 bucket. #### Source Configuration Configure the source type and service name for your dbt workflow. #### dbt Config Source Set `dbtConfigType` to `s3` and provide AWS credentials or a region. AWS Access Key Credentials **awsAccessKeyId** and **awsSecretAccessKey** are used to authenticate and authorize programmatic requests to AWS services. An access key consists of: * **Access Key ID** (for example, `AKIAIOSFODNN7EXAMPLE`) * **Secret Access Key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`) Both values must be provided together when using static credentials. For more information, see [Managing access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). AWS Session Token **awsSessionToken** is required when using **temporary security credentials**, such as those obtained via AWS STS. The session token must be provided along with the access key ID and secret access key for the duration of the session. AWS Region **awsRegion** specifies the AWS Region where the target service is deployed (for example, `us-east-1`). This is the **only required parameter** when configuring an AWS connection. Other credentials can be resolved automatically using environment variables, AWS profiles, or IAM roles. Learn more in the [AWS Regions and Availability Zones documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). Custom Endpoint URL **endPointURL** is an optional custom endpoint used to connect to an AWS service. You may want to specify this when: * Using VPC endpoints * Connecting to local or AWS-compatible services * Overriding the default regional endpoint See [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) for details. AWS Profile Name **profileName** specifies the AWS CLI profile to use for authentication. Profiles store credentials and configuration in AWS config files. If not specified, the `default` profile is used. Learn more about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). Assume Role ARN **assumeRoleArn** is the Amazon Resource Name (ARN) of the IAM role to assume. This is commonly used for: * Cross-account access * Delegated permissions * Enhanced security setups This field is **required** when using Assume Role authentication. See the [AssumeRole API reference](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). Assume Role Session Name **assumeRoleSessionName** identifies the assumed role session. This value helps uniquely identify a session when the same role is assumed multiple times or by different principals. If not provided, the default value `OpenMetadataSession` is used. Assume Role Source Identity **assumeRoleSourceIdentity** is an optional source identity passed when assuming a role. This value is recorded in AWS CloudTrail logs and can be used to trace actions performed using the assumed role. See [Source Identity in AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). #### dbt Prefix Configuration **dbtPrefixConfig**: Optional config to specify the bucket name and directory path where the dbt files are stored. If config is not provided ingestion will scan all the buckets for dbt files. **dbtBucketName**: Name of the bucket where the dbt files are stored. **dbtObjectPrefix**: Path of the folder where the dbt files are stored. Follow the documentation [here](/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects) to configure multiple dbt projects #### Source Config * **dbtUpdateDescriptions**: Configuration to update the description from dbt or not. If set to true, descriptions from dbt will override the already present descriptions on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). * **dbtUpdateOwners**: Configuration to update the owner from dbt or not. If set to true, owners from dbt will override the already present owners on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). * **includeTags**: Set to `true` or `false` to ingest tags from dbt. Default is `true`. * **dbtClassificationName**: Custom Collate Classification name for dbt tags. * **catalogMapping**: Map of database names in the dbt manifest to the database names they are ingested under in Collate. Use it when the name dbt writes into the manifest differs from the name the connector ingested. Keys are matched ignoring case. For more information, see [Map dbt Catalog Names to Collate Databases](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage#map-dbt-catalog-names-to-collate-databases). * **databaseFilterPattern**, **schemaFilterPattern**: Add filters to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database). * **tableFilterPattern**: Add a filter to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database#table-filter-pattern). #### Sink Configuration To send the metadata to Collate, it needs to be specified as `type: metadata-rest`. #### Workflow Configuration The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your Collate installation. **Logger Level** You can specify the `loggerLevel` depending on your needs. If you are trying to troubleshoot an ingestion, running with `DEBUG` will give you far more traces for identifying issues. **JWT Token** JWT tokens will allow your clients to authenticate against the Collate server. To enable JWT Tokens, you will get more details [here](/deployment/security/enable-jwt-tokens). You can refer to the JWT Troubleshooting section [link](/deployment/security/jwt-troubleshooting) for any issues in your JWT configuration. **Store Service Connection** If set to `true` (default), we will store the sensitive information either encrypted via the Fernet Key in the database or externally, if you have configured any [Secrets Manager](/deployment/secrets-manager). If set to `false`, the service will be created, but the service connection information will only be used by the Ingestion Framework at runtime, and won't be sent to the Collate server. **SSL Configuration** If you have added SSL to the [Collate server](/deployment/security/enable-ssl), then you will need to handle the certificates when running the ingestion too. You can either set `verifySSL` to `ignore`, or have it as `validate`, which will require you to set the `sslConfig.caCertificate` with a local path where your ingestion runs that points to the server certificate file. Find more information on how to troubleshoot SSL issues [here](/deployment/security/enable-ssl/ssl-troubleshooting). **ingestionPipelineFQN** Fully qualified name of ingestion pipeline, used to identify the current ingestion pipeline. dbt_config.yaml Copy full code ```yaml theme={null} source: type: dbt serviceName: service_name sourceConfig: config: type: DBT dbtConfigSource: dbtConfigType: s3 dbtSecurityConfig: awsConfig: awsRegion: us-east-2 ``` ```yaml theme={null} awsAccessKeyId: KEY awsSecretAccessKey: SECRET ``` ```yaml theme={null} # awsSessionToken: TOKEN ``` ```yaml theme={null} awsRegion: us-east-2 ``` ```yaml theme={null} # endPointURL: https://athena.us-east-2.amazonaws.com/custom ``` ```yaml theme={null} # profileName: profile ``` ```yaml theme={null} # assumeRoleArn: "arn:partition:service:region:account:resource" ``` ```yaml theme={null} # assumeRoleSessionName: session ``` ```yaml theme={null} # assumeRoleSourceIdentity: identity ``` ```yaml theme={null} dbtPrefixConfig: dbtBucketName: bucket_name dbtObjectPrefix: main_dir/dbt_files/ ``` ```yaml theme={null} # dbtUpdateDescriptions: true or false # dbtUpdateOwners: true or false # includeTags: true or false # dbtClassificationName: dbtTags # catalogMapping: # bq_catalog: my-gcp-project # databaseFilterPattern: # includes: # - .*db.* # excludes: # - .*demo.* # schemaFilterPattern: # includes: # - .*schema.* # excludes: # - .*demo.* # tableFilterPattern: # includes: # - .*table.* # excludes: # - .*demo.* ``` ```yaml theme={null} sink: type: metadata-rest config: {} ``` ```yaml theme={null} workflowConfig: loggerLevel: INFO # DEBUG, INFO, WARNING or ERROR openMetadataServerConfig: hostPort: "http://localhost:8585/api" authProvider: openmetadata securityConfig: jwtToken: "{bot_jwt_token}" ## Store the service Connection information storeServiceConnection: true # false ## Secrets Manager Configuration # secretsManagerProvider: aws, azure or noop # secretsManagerLoader: airflow or env ## If SSL, fill the following # verifySSL: validate # or ignore # sslConfig: # caCertificate: /local/path/to/certificate # ingestionPipelineFQN: . ## e.g., "my_redshift.metadata" ``` ### 2. dbt Core: Google Cloud Storage Buckets In this configuration we fetch dbt artifacts from a GCS bucket. #### Source Configuration Configure the source type and service name for your dbt workflow. #### dbt Config Source Set `dbtConfigType` to `gcs` and provide either a credentials file path or inline credentials. #### dbt Prefix Configuration **dbtPrefixConfig**: Optional config to specify the bucket name and directory path where the dbt files are stored. If config is not provided ingestion will scan all the buckets for dbt files. **dbtBucketName**: Name of the bucket where the dbt files are stored. **dbtObjectPrefix**: Path of the folder where the dbt files are stored. Follow the documentation [here](/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects) to configure multiple dbt projects #### Source Config * **dbtUpdateDescriptions**: Configuration to update the description from dbt or not. If set to true, descriptions from dbt will override the already present descriptions on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). * **dbtUpdateOwners**: Configuration to update the owner from dbt or not. If set to true, owners from dbt will override the already present owners on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). * **includeTags**: Set to `true` or `false` to ingest tags from dbt. Default is `true`. * **dbtClassificationName**: Custom Collate Classification name for dbt tags. * **catalogMapping**: Map of database names in the dbt manifest to the database names they are ingested under in Collate. Use it when the name dbt writes into the manifest differs from the name the connector ingested. Keys are matched ignoring case. For more information, see [Map dbt Catalog Names to Collate Databases](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage#map-dbt-catalog-names-to-collate-databases). * **databaseFilterPattern**, **schemaFilterPattern**: Add filters to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database). * **tableFilterPattern**: Add a filter to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database#table-filter-pattern). #### Sink Configuration To send the metadata to Collate, it needs to be specified as `type: metadata-rest`. #### Workflow Configuration The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your Collate installation. **Logger Level** You can specify the `loggerLevel` depending on your needs. If you are trying to troubleshoot an ingestion, running with `DEBUG` will give you far more traces for identifying issues. **JWT Token** JWT tokens will allow your clients to authenticate against the Collate server. To enable JWT Tokens, you will get more details [here](/deployment/security/enable-jwt-tokens). You can refer to the JWT Troubleshooting section [link](/deployment/security/jwt-troubleshooting) for any issues in your JWT configuration. **Store Service Connection** If set to `true` (default), we will store the sensitive information either encrypted via the Fernet Key in the database or externally, if you have configured any [Secrets Manager](/deployment/secrets-manager). If set to `false`, the service will be created, but the service connection information will only be used by the Ingestion Framework at runtime, and won't be sent to the Collate server. **SSL Configuration** If you have added SSL to the [Collate server](/deployment/security/enable-ssl), then you will need to handle the certificates when running the ingestion too. You can either set `verifySSL` to `ignore`, or have it as `validate`, which will require you to set the `sslConfig.caCertificate` with a local path where your ingestion runs that points to the server certificate file. Find more information on how to troubleshoot SSL issues [here](/deployment/security/enable-ssl/ssl-troubleshooting). **ingestionPipelineFQN** Fully qualified name of ingestion pipeline, used to identify the current ingestion pipeline. dbt_config.yaml Copy full code ```yaml theme={null} source: type: dbt serviceName: service_name sourceConfig: config: type: DBT dbtConfigSource: dbtConfigType: gcs dbtSecurityConfig: gcpConfig: gcpCredentialsPath: /path/to/service-account.json ``` ```yaml theme={null} dbtPrefixConfig: dbtBucketName: bucket_name dbtObjectPrefix: main_dir/dbt_files/ ``` ```yaml theme={null} # dbtUpdateDescriptions: true or false # dbtUpdateOwners: true or false # includeTags: true or false # dbtClassificationName: dbtTags # catalogMapping: # bq_catalog: my-gcp-project # databaseFilterPattern: # includes: # - .*db.* # excludes: # - .*demo.* # schemaFilterPattern: # includes: # - .*schema.* # excludes: # - .*demo.* # tableFilterPattern: # includes: # - .*table.* # excludes: # - .*demo.* ``` ```yaml theme={null} sink: type: metadata-rest config: {} ``` ```yaml theme={null} workflowConfig: loggerLevel: INFO # DEBUG, INFO, WARNING or ERROR openMetadataServerConfig: hostPort: "http://localhost:8585/api" authProvider: openmetadata securityConfig: jwtToken: "{bot_jwt_token}" ## Store the service Connection information storeServiceConnection: true # false ## Secrets Manager Configuration # secretsManagerProvider: aws, azure or noop # secretsManagerLoader: airflow or env ## If SSL, fill the following # verifySSL: validate # or ignore # sslConfig: # caCertificate: /local/path/to/certificate # ingestionPipelineFQN: . ## e.g., "my_redshift.metadata" ``` ### 3. dbt Core: Azure Storage Buckets In this configuration we fetch dbt artifacts from Azure Storage. #### Source Configuration Configure the source type and service name for your dbt workflow. #### dbt Config Source Set `dbtConfigType` to `azure` and provide Azure AD credentials. #### dbt Prefix Configuration **dbtPrefixConfig**: Optional config to specify the bucket name and directory path where the dbt files are stored. If config is not provided ingestion will scan all the buckets for dbt files. **dbtBucketName**: Name of the bucket where the dbt files are stored. **dbtObjectPrefix**: Path of the folder where the dbt files are stored. Follow the documentation [here](/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects) to configure multiple dbt projects #### Source Config * **dbtUpdateDescriptions**: Configuration to update the description from dbt or not. If set to true, descriptions from dbt will override the already present descriptions on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). * **dbtUpdateOwners**: Configuration to update the owner from dbt or not. If set to true, owners from dbt will override the already present owners on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). * **includeTags**: Set to `true` or `false` to ingest tags from dbt. Default is `true`. * **dbtClassificationName**: Custom Collate Classification name for dbt tags. * **catalogMapping**: Map of database names in the dbt manifest to the database names they are ingested under in Collate. Use it when the name dbt writes into the manifest differs from the name the connector ingested. Keys are matched ignoring case. For more information, see [Map dbt Catalog Names to Collate Databases](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage#map-dbt-catalog-names-to-collate-databases). * **databaseFilterPattern**, **schemaFilterPattern**: Add filters to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database). * **tableFilterPattern**: Add a filter to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database#table-filter-pattern). #### Sink Configuration To send the metadata to Collate, it needs to be specified as `type: metadata-rest`. #### Workflow Configuration The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your Collate installation. **Logger Level** You can specify the `loggerLevel` depending on your needs. If you are trying to troubleshoot an ingestion, running with `DEBUG` will give you far more traces for identifying issues. **JWT Token** JWT tokens will allow your clients to authenticate against the Collate server. To enable JWT Tokens, you will get more details [here](/deployment/security/enable-jwt-tokens). You can refer to the JWT Troubleshooting section [link](/deployment/security/jwt-troubleshooting) for any issues in your JWT configuration. **Store Service Connection** If set to `true` (default), we will store the sensitive information either encrypted via the Fernet Key in the database or externally, if you have configured any [Secrets Manager](/deployment/secrets-manager). If set to `false`, the service will be created, but the service connection information will only be used by the Ingestion Framework at runtime, and won't be sent to the Collate server. **SSL Configuration** If you have added SSL to the [Collate server](/deployment/security/enable-ssl), then you will need to handle the certificates when running the ingestion too. You can either set `verifySSL` to `ignore`, or have it as `validate`, which will require you to set the `sslConfig.caCertificate` with a local path where your ingestion runs that points to the server certificate file. Find more information on how to troubleshoot SSL issues [here](/deployment/security/enable-ssl/ssl-troubleshooting). **ingestionPipelineFQN** Fully qualified name of ingestion pipeline, used to identify the current ingestion pipeline. dbt_config.yaml Copy full code ```yaml theme={null} source: type: dbt serviceName: service_name sourceConfig: config: type: DBT dbtConfigSource: dbtConfigType: azure dbtSecurityConfig: clientId: client-id clientSecret: client-secret tenantId: tenant-id accountName: account-name ``` ```yaml theme={null} dbtPrefixConfig: dbtBucketName: bucket_name dbtObjectPrefix: main_dir/dbt_files/ ``` ```yaml theme={null} # dbtUpdateDescriptions: true or false # dbtUpdateOwners: true or false # includeTags: true or false # dbtClassificationName: dbtTags # catalogMapping: # bq_catalog: my-gcp-project # databaseFilterPattern: # includes: # - .*db.* # excludes: # - .*demo.* # schemaFilterPattern: # includes: # - .*schema.* # excludes: # - .*demo.* # tableFilterPattern: # includes: # - .*table.* # excludes: # - .*demo.* ``` ```yaml theme={null} sink: type: metadata-rest config: {} ``` ```yaml theme={null} workflowConfig: loggerLevel: INFO # DEBUG, INFO, WARNING or ERROR openMetadataServerConfig: hostPort: "http://localhost:8585/api" authProvider: openmetadata securityConfig: jwtToken: "{bot_jwt_token}" ## Store the service Connection information storeServiceConnection: true # false ## Secrets Manager Configuration # secretsManagerProvider: aws, azure or noop # secretsManagerLoader: airflow or env ## If SSL, fill the following # verifySSL: validate # or ignore # sslConfig: # caCertificate: /local/path/to/certificate # ingestionPipelineFQN: . ## e.g., "my_redshift.metadata" ``` ### 4. dbt Core: Local Storage In this configuration we fetch dbt artifacts from the machine running the ingestion. #### Source Configuration Configure the source type and service name for your dbt workflow. #### dbt Config Source Set `dbtConfigType` to `local` and provide file paths for dbt artifacts. #### Source Config * **dbtUpdateDescriptions**: Configuration to update the description from dbt or not. If set to true, descriptions from dbt will override the already present descriptions on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). * **dbtUpdateOwners**: Configuration to update the owner from dbt or not. If set to true, owners from dbt will override the already present owners on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). * **includeTags**: Set to `true` or `false` to ingest tags from dbt. Default is `true`. * **dbtClassificationName**: Custom Collate Classification name for dbt tags. * **catalogMapping**: Map of database names in the dbt manifest to the database names they are ingested under in Collate. Use it when the name dbt writes into the manifest differs from the name the connector ingested. Keys are matched ignoring case. For more information, see [Map dbt Catalog Names to Collate Databases](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage#map-dbt-catalog-names-to-collate-databases). * **databaseFilterPattern**, **schemaFilterPattern**: Add filters to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database). * **tableFilterPattern**: Add a filter to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database#table-filter-pattern). #### Sink Configuration To send the metadata to Collate, it needs to be specified as `type: metadata-rest`. #### Workflow Configuration The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your Collate installation. **Logger Level** You can specify the `loggerLevel` depending on your needs. If you are trying to troubleshoot an ingestion, running with `DEBUG` will give you far more traces for identifying issues. **JWT Token** JWT tokens will allow your clients to authenticate against the Collate server. To enable JWT Tokens, you will get more details [here](/deployment/security/enable-jwt-tokens). You can refer to the JWT Troubleshooting section [link](/deployment/security/jwt-troubleshooting) for any issues in your JWT configuration. **Store Service Connection** If set to `true` (default), we will store the sensitive information either encrypted via the Fernet Key in the database or externally, if you have configured any [Secrets Manager](/deployment/secrets-manager). If set to `false`, the service will be created, but the service connection information will only be used by the Ingestion Framework at runtime, and won't be sent to the Collate server. **SSL Configuration** If you have added SSL to the [Collate server](/deployment/security/enable-ssl), then you will need to handle the certificates when running the ingestion too. You can either set `verifySSL` to `ignore`, or have it as `validate`, which will require you to set the `sslConfig.caCertificate` with a local path where your ingestion runs that points to the server certificate file. Find more information on how to troubleshoot SSL issues [here](/deployment/security/enable-ssl/ssl-troubleshooting). **ingestionPipelineFQN** Fully qualified name of ingestion pipeline, used to identify the current ingestion pipeline. dbt_config.yaml Copy full code ```yaml theme={null} source: type: dbt serviceName: service_name sourceConfig: config: type: DBT dbtConfigSource: dbtConfigType: local dbtCatalogFilePath: /path/to/catalog.json dbtManifestFilePath: /path/to/manifest.json dbtRunResultsFilePath: /path/to/run_results.json ``` ```yaml theme={null} # dbtUpdateDescriptions: true or false # dbtUpdateOwners: true or false # includeTags: true or false # dbtClassificationName: dbtTags # catalogMapping: # bq_catalog: my-gcp-project # databaseFilterPattern: # includes: # - .*db.* # excludes: # - .*demo.* # schemaFilterPattern: # includes: # - .*schema.* # excludes: # - .*demo.* # tableFilterPattern: # includes: # - .*table.* # excludes: # - .*demo.* ``` ```yaml theme={null} sink: type: metadata-rest config: {} ``` ```yaml theme={null} workflowConfig: loggerLevel: INFO # DEBUG, INFO, WARNING or ERROR openMetadataServerConfig: hostPort: "http://localhost:8585/api" authProvider: openmetadata securityConfig: jwtToken: "{bot_jwt_token}" ## Store the service Connection information storeServiceConnection: true # false ## Secrets Manager Configuration # secretsManagerProvider: aws, azure or noop # secretsManagerLoader: airflow or env ## If SSL, fill the following # verifySSL: validate # or ignore # sslConfig: # caCertificate: /local/path/to/certificate # ingestionPipelineFQN: . ## e.g., "my_redshift.metadata" ``` ### 5. dbt Core: File Server In this configuration we fetch dbt artifacts from an HTTP or file server. #### Source Configuration Configure the source type and service name for your dbt workflow. #### dbt Config Source Set `dbtConfigType` to `http` and provide HTTP URLs for dbt artifacts. #### Source Config * **dbtUpdateDescriptions**: Configuration to update the description from dbt or not. If set to true, descriptions from dbt will override the already present descriptions on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). * **dbtUpdateOwners**: Configuration to update the owner from dbt or not. If set to true, owners from dbt will override the already present owners on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). * **includeTags**: Set to `true` or `false` to ingest tags from dbt. Default is `true`. * **dbtClassificationName**: Custom Collate Classification name for dbt tags. * **catalogMapping**: Map of database names in the dbt manifest to the database names they are ingested under in Collate. Use it when the name dbt writes into the manifest differs from the name the connector ingested. Keys are matched ignoring case. For more information, see [Map dbt Catalog Names to Collate Databases](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage#map-dbt-catalog-names-to-collate-databases). * **databaseFilterPattern**, **schemaFilterPattern**: Add filters to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database). * **tableFilterPattern**: Add a filter to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database#table-filter-pattern). #### Sink Configuration To send the metadata to Collate, it needs to be specified as `type: metadata-rest`. #### Workflow Configuration The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your Collate installation. **Logger Level** You can specify the `loggerLevel` depending on your needs. If you are trying to troubleshoot an ingestion, running with `DEBUG` will give you far more traces for identifying issues. **JWT Token** JWT tokens will allow your clients to authenticate against the Collate server. To enable JWT Tokens, you will get more details [here](/deployment/security/enable-jwt-tokens). You can refer to the JWT Troubleshooting section [link](/deployment/security/jwt-troubleshooting) for any issues in your JWT configuration. **Store Service Connection** If set to `true` (default), we will store the sensitive information either encrypted via the Fernet Key in the database or externally, if you have configured any [Secrets Manager](/deployment/secrets-manager). If set to `false`, the service will be created, but the service connection information will only be used by the Ingestion Framework at runtime, and won't be sent to the Collate server. **SSL Configuration** If you have added SSL to the [Collate server](/deployment/security/enable-ssl), then you will need to handle the certificates when running the ingestion too. You can either set `verifySSL` to `ignore`, or have it as `validate`, which will require you to set the `sslConfig.caCertificate` with a local path where your ingestion runs that points to the server certificate file. Find more information on how to troubleshoot SSL issues [here](/deployment/security/enable-ssl/ssl-troubleshooting). **ingestionPipelineFQN** Fully qualified name of ingestion pipeline, used to identify the current ingestion pipeline. dbt_config.yaml Copy full code ```yaml theme={null} source: type: dbt serviceName: service_name sourceConfig: config: type: DBT dbtConfigSource: dbtConfigType: http dbtCatalogHttpPath: https://example.com/catalog.json dbtManifestHttpPath: https://example.com/manifest.json dbtRunResultsHttpPath: https://example.com/run_results.json ``` ```yaml theme={null} # dbtUpdateDescriptions: true or false # dbtUpdateOwners: true or false # includeTags: true or false # dbtClassificationName: dbtTags # catalogMapping: # bq_catalog: my-gcp-project # databaseFilterPattern: # includes: # - .*db.* # excludes: # - .*demo.* # schemaFilterPattern: # includes: # - .*schema.* # excludes: # - .*demo.* # tableFilterPattern: # includes: # - .*table.* # excludes: # - .*demo.* ``` ```yaml theme={null} sink: type: metadata-rest config: {} ``` ```yaml theme={null} workflowConfig: loggerLevel: INFO # DEBUG, INFO, WARNING or ERROR openMetadataServerConfig: hostPort: "http://localhost:8585/api" authProvider: openmetadata securityConfig: jwtToken: "{bot_jwt_token}" ## Store the service Connection information storeServiceConnection: true # false ## Secrets Manager Configuration # secretsManagerProvider: aws, azure or noop # secretsManagerLoader: airflow or env ## If SSL, fill the following # verifySSL: validate # or ignore # sslConfig: # caCertificate: /local/path/to/certificate # ingestionPipelineFQN: . ## e.g., "my_redshift.metadata" ``` ### 6. dbt Cloud: API-Based Ingestion In this configuration we fetch dbt artifacts from dbt Cloud APIs. > [!TIP] > > **Tip**: The dbt Cloud workflow uses the dbt Cloud v2 APIs to retrieve the latest completed run (successful or failed) and download artifacts. > [!NOTE] > > **Note**: **dbt Cloud Job Id** takes a single job. The workflow reads the artifacts, including test results, from that job's most recent completed run. To ingest test results from several dbt Cloud jobs, create one dbt workflow per job against the same database service. If you leave the job ID empty, Collate uses the most recent completed run in the account (or in the project, if you set a project ID). #### Source Configuration Configure the source type and service name for your dbt workflow. #### dbt Config Source Set `dbtConfigType` to `cloud` and provide your dbt Cloud credentials and identifiers. #### Source Config * **dbtUpdateDescriptions**: Configuration to update the description from dbt or not. If set to true, descriptions from dbt will override the already present descriptions on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-descriptions). * **dbtUpdateOwners**: Configuration to update the owner from dbt or not. If set to true, owners from dbt will override the already present owners on the entity. For more details visit [here](/ai-2-0/connectors/database/dbt/ingest-dbt-owner). * **includeTags**: Set to `true` or `false` to ingest tags from dbt. Default is `true`. * **dbtClassificationName**: Custom Collate Classification name for dbt tags. * **catalogMapping**: Map of database names in the dbt manifest to the database names they are ingested under in Collate. Use it when the name dbt writes into the manifest differs from the name the connector ingested. Keys are matched ignoring case. For more information, see [Map dbt Catalog Names to Collate Databases](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage#map-dbt-catalog-names-to-collate-databases). * **databaseFilterPattern**, **schemaFilterPattern**: Add filters to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database). * **tableFilterPattern**: Add a filter to filter out models from the dbt manifest. Note that the filter supports regex as include or exclude. You can find examples [here](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/filter-patterns/database#table-filter-pattern). #### Sink Configuration To send the metadata to Collate, it needs to be specified as `type: metadata-rest`. #### Workflow Configuration The main property here is the `openMetadataServerConfig`, where you can define the host and security provider of your Collate installation. **Logger Level** You can specify the `loggerLevel` depending on your needs. If you are trying to troubleshoot an ingestion, running with `DEBUG` will give you far more traces for identifying issues. **JWT Token** JWT tokens will allow your clients to authenticate against the Collate server. To enable JWT Tokens, you will get more details [here](/deployment/security/enable-jwt-tokens). You can refer to the JWT Troubleshooting section [link](/deployment/security/jwt-troubleshooting) for any issues in your JWT configuration. **Store Service Connection** If set to `true` (default), we will store the sensitive information either encrypted via the Fernet Key in the database or externally, if you have configured any [Secrets Manager](/deployment/secrets-manager). If set to `false`, the service will be created, but the service connection information will only be used by the Ingestion Framework at runtime, and won't be sent to the Collate server. **SSL Configuration** If you have added SSL to the [Collate server](/deployment/security/enable-ssl), then you will need to handle the certificates when running the ingestion too. You can either set `verifySSL` to `ignore`, or have it as `validate`, which will require you to set the `sslConfig.caCertificate` with a local path where your ingestion runs that points to the server certificate file. Find more information on how to troubleshoot SSL issues [here](/deployment/security/enable-ssl/ssl-troubleshooting). **ingestionPipelineFQN** Fully qualified name of ingestion pipeline, used to identify the current ingestion pipeline. dbt_config.yaml Copy full code ```yaml theme={null} source: type: dbt serviceName: service_name sourceConfig: config: type: DBT dbtConfigSource: dbtConfigType: cloud dbtCloudAuthToken: AUTH_TOKEN dbtCloudAccountId: ACCOUNT_ID dbtCloudProjectId: PROJECT_ID dbtCloudJobId: JOB_ID dbtCloudUrl: https://cloud.getdbt.com ``` ```yaml theme={null} # dbtUpdateDescriptions: true or false # dbtUpdateOwners: true or false # includeTags: true or false # dbtClassificationName: dbtTags # catalogMapping: # bq_catalog: my-gcp-project # databaseFilterPattern: # includes: # - .*db.* # excludes: # - .*demo.* # schemaFilterPattern: # includes: # - .*schema.* # excludes: # - .*demo.* # tableFilterPattern: # includes: # - .*table.* # excludes: # - .*demo.* ``` ```yaml theme={null} sink: type: metadata-rest config: {} ``` ```yaml theme={null} workflowConfig: loggerLevel: INFO # DEBUG, INFO, WARNING or ERROR openMetadataServerConfig: hostPort: "http://localhost:8585/api" authProvider: openmetadata securityConfig: jwtToken: "{bot_jwt_token}" ## Store the service Connection information storeServiceConnection: true # false ## Secrets Manager Configuration # secretsManagerProvider: aws, azure or noop # secretsManagerLoader: airflow or env ## If SSL, fill the following # verifySSL: validate # or ignore # sslConfig: # caCertificate: /local/path/to/certificate # ingestionPipelineFQN: . ## e.g., "my_redshift.metadata" ``` ### 2. Run with the CLI First, we will need to save the YAML file. Afterward, and with all requirements installed, we can run: ```bash theme={null} metadata ingest -c ``` Note that from connector to connector, this recipe will always be the same. By updating the YAML configuration, you will be able to extract metadata from different sources. # dbt Artifact Storage - Azure Blob Storage Configuration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/storage-azure-guide Complete guide to configuring Azure Blob Storage for dbt artifact storage with Collate. Includes managed identity, DAG, and setup instructions. # dbt Artifact Storage: Azure Blob Storage Configuration This guide walks you through configuring **Azure Blob Storage** as the artifact storage layer for dbt Core + Collate integration. ## Prerequisites Checklist | Requirement | Details | How to Verify | | - | - | - | | **Azure Account** | With permissions to create Storage Accounts | `az account show` | | **Azure CLI** | Installed and configured | `az --version` | | **dbt Project** | Existing dbt project | `dbt debug` | | **Orchestration** | Airflow or ADF | Access to pipeline configuration | | **Database Service** | Data warehouse already ingested | Check Connections > Database Services | ## Step 1: Azure Blob Storage Setup ### 1.1 Create Storage Account and Container Run the following commands to create a resource group and storage account for dbt artifacts: ```bash theme={null} # Set your variables export RESOURCE_GROUP="dbt-metadata-rg" export LOCATION="eastus" export STORAGE_ACCOUNT="dbtartifacts${RANDOM}" # Must be globally unique export CONTAINER_NAME="dbt-artifacts" # Login to Azure az login # Create resource group az group create \ --name ${RESOURCE_GROUP} \ --location ${LOCATION} # Create storage account az storage account create \ --name ${STORAGE_ACCOUNT} \ --resource-group ${RESOURCE_GROUP} \ --location ${LOCATION} \ --sku Standard_LRS \ --kind StorageV2 # Verify creation az storage account show \ --name ${STORAGE_ACCOUNT} \ --resource-group ${RESOURCE_GROUP} \ --query "name" -o tsv ``` **Expected output**: ``` dbtartifacts12345 ``` ### 1.2 Create Blob Container ```bash theme={null} # Get storage account key export STORAGE_KEY=$(az storage account keys list \ --resource-group ${RESOURCE_GROUP} \ --account-name ${STORAGE_ACCOUNT} \ --query '[0].value' -o tsv) # Create container az storage container create \ --name ${CONTAINER_NAME} \ --account-name ${STORAGE_ACCOUNT} \ --account-key ${STORAGE_KEY} # Verify container az storage container show \ --name ${CONTAINER_NAME} \ --account-name ${STORAGE_ACCOUNT} \ --account-key ${STORAGE_KEY} ``` ### 1.3 Configure Access (Choose One Option) **Option A: Using Storage Account Key** (Simplest) ```bash theme={null} # Save the storage key (provides full access) echo "Storage Account: ${STORAGE_ACCOUNT}" echo "Storage Key: ${STORAGE_KEY}" # Or get connection string az storage account show-connection-string \ --name ${STORAGE_ACCOUNT} \ --resource-group ${RESOURCE_GROUP} \ --query connectionString -o tsv ``` **Option B: Using SAS Token** (Read-only for Collate) ```bash theme={null} # Create SAS token with read permissions (valid for 1 year) export END_DATE=$(date -u -d "1 year" '+%Y-%m-%dT%H:%MZ') az storage container generate-sas \ --name ${CONTAINER_NAME} \ --account-name ${STORAGE_ACCOUNT} \ --account-key ${STORAGE_KEY} \ --permissions rl \ --expiry ${END_DATE} \ --https-only \ -o tsv ``` **Option C: Using Managed Identity** (Recommended for AKS) ```bash theme={null} # Enable managed identity on AKS az aks update \ --resource-group ${RESOURCE_GROUP} \ --name your-aks-cluster \ --enable-managed-identity # Get the managed identity export PRINCIPAL_ID=$(az aks show \ --resource-group ${RESOURCE_GROUP} \ --name your-aks-cluster \ --query identityProfile.kubeletidentity.clientId -o tsv) # Assign Storage Blob Data Contributor role (write access for dbt) az role assignment create \ --role "Storage Blob Data Contributor" \ --assignee ${PRINCIPAL_ID} \ --scope "/subscriptions/$(az account show --query id -o tsv)/resourceGroups/${RESOURCE_GROUP}/providers/Microsoft.Storage/storageAccounts/${STORAGE_ACCOUNT}" ``` ### 1.4 Verify Blob Storage Access ```bash theme={null} # Create test file echo "test" > /tmp/test.txt # Upload az storage blob upload \ --container-name ${CONTAINER_NAME} \ --name test.txt \ --file /tmp/test.txt \ --account-name ${STORAGE_ACCOUNT} \ --account-key ${STORAGE_KEY} # List blobs az storage blob list \ --container-name ${CONTAINER_NAME} \ --account-name ${STORAGE_ACCOUNT} \ --account-key ${STORAGE_KEY} \ --output table # Clean up az storage blob delete \ --container-name ${CONTAINER_NAME} \ --name test.txt \ --account-name ${STORAGE_ACCOUNT} \ --account-key ${STORAGE_KEY} rm /tmp/test.txt ``` ## Step 2: Upload Artifacts from dbt ### 2.1 Understanding dbt Artifacts Collate requires these dbt-generated files: | File | Generated By | Required? | What It Contains | | - | - | - | - | | `manifest.json` | `dbt run`, `dbt compile`, `dbt build` | **YES** | Models, sources, lineage, descriptions, tests | | `catalog.json` | `dbt docs generate` | Recommended | Column names, types, descriptions | | `run_results.json` | `dbt run`, `dbt test`, `dbt build` | Optional | Test pass/fail results, timing | **Generate all artifacts**: ```bash theme={null} dbt run # Generates manifest.json dbt test # Updates run_results.json dbt docs generate # Generates catalog.json ``` ### 2.2 Complete Airflow DAG This is a **complete, working DAG** for Azure deployments. **Save as `dbt_with_azure.py` in your Airflow DAGs folder**: ```python theme={null} """ dbt + Collate Integration DAG (Azure Blob Method) This DAG: 1. Runs dbt models 2. Runs dbt tests 3. Generates dbt documentation (catalog.json) 4. Uploads all artifacts to Azure Blob Storage Perfect for AKS, Azure VMs, or Container Instances. """ import os from datetime import datetime, timedelta from airflow import DAG from airflow.operators.bash import BashOperator from airflow.operators.python import PythonOperator from airflow.utils.task_group import TaskGroup # ============================================================================= # CONFIGURATION # ============================================================================= # dbt Configuration DBT_PROJECT_DIR = os.getenv("DBT_PROJECT_DIR", "/opt/airflow/dbt/my_project") DBT_PROFILES_DIR = os.getenv("DBT_PROFILES_DIR", "/opt/airflow/dbt") # Azure Blob Storage Configuration AZURE_STORAGE_ACCOUNT = os.getenv("AZURE_STORAGE_ACCOUNT", "dbtartifacts12345") AZURE_CONTAINER_NAME = os.getenv("AZURE_CONTAINER_NAME", "dbt-artifacts") AZURE_STORAGE_KEY = os.getenv("AZURE_STORAGE_KEY", "") AZURE_CONNECTION_STRING = os.getenv("AZURE_STORAGE_CONNECTION_STRING", "") # ============================================================================= # DAG DEFAULT ARGUMENTS # ============================================================================= default_args = { "owner": "data-engineering", "depends_on_past": False, "email": ["data-team@yourcompany.com"], "email_on_failure": True, "email_on_retry": False, "retries": 2, "retry_delay": timedelta(minutes=5), "execution_timeout": timedelta(hours=2), } # ============================================================================= # PYTHON FUNCTIONS # ============================================================================= def upload_artifacts_to_azure(**context): """ Upload dbt artifacts to Azure Blob Storage. Uses azure-storage-blob library. Install with: pip install azure-storage-blob """ from azure.storage.blob import BlobServiceClient target_dir = os.path.join(DBT_PROJECT_DIR, "target") # Initialize Azure Blob Service Client if AZURE_CONNECTION_STRING: blob_service_client = BlobServiceClient.from_connection_string( AZURE_CONNECTION_STRING ) else: account_url = f"https://{AZURE_STORAGE_ACCOUNT}.blob.core.windows.net" blob_service_client = BlobServiceClient( account_url=account_url, credential=AZURE_STORAGE_KEY ) container_client = blob_service_client.get_container_client(AZURE_CONTAINER_NAME) # Files to upload artifacts = [ ("manifest.json", True), # Required ("catalog.json", False), # Optional but recommended ("run_results.json", False), # Optional ("sources.json", False), # Optional ] uploaded = [] failed = [] for filename, required in artifacts: local_path = os.path.join(target_dir, filename) if os.path.exists(local_path): try: blob_client = container_client.get_blob_client(filename) with open(local_path, "rb") as data: blob_client.upload_blob(data, overwrite=True) uploaded.append(filename) print(f"✓ Uploaded {filename} to Azure Blob Storage") except Exception as e: error_msg = f"✗ Failed to upload {filename}: {e}" print(error_msg) if required: raise Exception(error_msg) failed.append(filename) else: if required: raise FileNotFoundError( f"Required artifact not found: {local_path}\n" f"Make sure 'dbt run' completed successfully." ) else: print(f"⊘ Skipping {filename} (not found - optional)") # Log summary print(f"\n{'='*50}") print(f"Upload Summary:") print(f" Uploaded: {', '.join(uploaded) or 'None'}") print(f" Skipped: {', '.join(failed) or 'None'}") print(f" Azure Location: {AZURE_STORAGE_ACCOUNT}/{AZURE_CONTAINER_NAME}/") print(f"{'='*50}") return { "uploaded": uploaded, "storage_account": AZURE_STORAGE_ACCOUNT, "container": AZURE_CONTAINER_NAME } # ============================================================================= # DAG DEFINITION # ============================================================================= with DAG( dag_id="dbt_with_azure", default_args=default_args, description="Run dbt models and sync metadata to Collate via Azure Blob", schedule_interval="0 6 * * *", # Daily at 6 AM UTC start_date=datetime(2024, 1, 1), catchup=False, max_active_runs=1, tags=["dbt", "collate", "azure", "data-pipeline"], ) as dag: # Task Group: dbt Execution with TaskGroup(group_id="dbt_execution") as dbt_tasks: dbt_run = BashOperator( task_id="dbt_run", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt run --profiles-dir {DBT_PROFILES_DIR} """, ) dbt_test = BashOperator( task_id="dbt_test", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt test --profiles-dir {DBT_PROFILES_DIR} """, trigger_rule="all_done", ) dbt_docs = BashOperator( task_id="dbt_docs_generate", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt docs generate --profiles-dir {DBT_PROFILES_DIR} """, ) dbt_run >> dbt_test >> dbt_docs # Upload to Azure Blob upload_to_azure = PythonOperator( task_id="upload_artifacts_to_azure", python_callable=upload_artifacts_to_azure, provide_context=True, ) # DAG Dependencies dbt_tasks >> upload_to_azure ``` ### 2.3 Alternative: Azure CLI Upload For simpler setups, use Azure CLI directly: ```python theme={null} upload_with_az_cli = BashOperator( task_id="upload_to_azure", bash_command=f""" cd {DBT_PROJECT_DIR}/target && \ az storage blob upload-batch \ --account-name {AZURE_STORAGE_ACCOUNT} \ --destination {AZURE_CONTAINER_NAME} \ --source . \ --pattern "*.json" \ --overwrite || true """, ) ``` ## Step 3: Configure Collate ### Configuration 1. In the left navigation menu, select **Connections** > **Database Services**. 2. Click the database service you want to configure (for example, "production-synapse"). 3. Go to the **Agents** tab. 4. Click **Add Agent**. 5. Select **DBT** from the dropdown. **Configure dbt Source (Azure)**: | Field | Value | Notes | | - | - | - | | **dbt Configuration Source** | `Azure` | Select from dropdown | | **Azure Account Name** | `dbtartifacts12345` | Your storage account name | | **Azure Container Name** | `dbt-artifacts` | Your container name | | **Azure Blob Prefix** | \`\` | Leave empty or specify folder | **Azure Credentials (choose one)**: **Option A: Using Account Key** | Field | Value | | | - | - | - | | **Azure Account Key** | `abc123...` | Storage account key | **Option B: Using Connection String** | Field | Value | | | - | - | - | | **Azure Connection String** | `DefaultEndpointsProtocol=https;AccountName=...` | Full connection string | **Configure dbt Options**: | Field | Recommended Value | | - | - | | **Update Descriptions** | `Enabled` | | **Update Owners** | `Enabled` | | **Include Tags** | `Enabled` | | **Classification Name** | `dbtTags` | **Test and Deploy**: 1. Click **Test Connection** 2. If successful, click **Deploy** 3. Click **Run** to trigger immediately ## Verification After running the full pipeline, verify: | Check | How to Verify | Expected Result | | - | - | - | | **Azure blobs exist** | `az storage blob list --container-name X` | manifest.json, catalog.json listed | | **Ingestion completed** | Collate UI > Service > Agents tab | Green status, no errors | | **Lineage appears** | Click on a dbt model > Lineage tab | Upstream/downstream connections | | **Descriptions synced** | Click on a table > Schema tab | Column descriptions visible | | **Tags appear** | Click on a table > Tags section | dbt tags shown | ## Troubleshooting | Issue | Symptom | Cause | Solution | | - | - | - | - | | **Access Denied** | "403 Forbidden" error | Insufficient permissions | Verify storage account key or SAS token is correct | | **Container Not Found** | "404 Not Found" | Container name incorrect | Check container name matches actual container | | **Invalid Credentials** | "Authentication failed" | Wrong credentials | Verify account key, connection string, or SAS token | | **No blobs found** | Artifacts not appearing | Wrong upload path or failed | Check container and verify upload succeeded | | **Stale data** | Old lineage/descriptions | Old artifacts in blob | Verify dbt DAG uploads fresh artifacts | ## Next Steps * [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * [Auto Ingest dbt Core](/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core) * [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) > [!NOTE] > > **Note**: See other storage options: [S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) | [GCS](/ai-2-0/connectors/database/dbt/storage-gcs-guide) | [HTTP](/ai-2-0/connectors/database/dbt/storage-http-guide) | [Local](/ai-2-0/connectors/database/dbt/storage-local-guide) | [dbt Cloud](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) # dbt Artifact Configuration Guide Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/storage-configuration-overview Choose the right storage method for your dbt artifacts with Collate. Compare S3, GCS, Azure, HTTP, and Local storage options. # dbt Artifact Configuration > [!NOTE] > > **Note**: > **Using dbt Cloud?** You don't need storage configuration. Go directly to the [dbt Cloud API guide](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) for a simpler setup. This guide is for **dbt Core** users. When using dbt Core, Collate needs access to dbt-generated artifacts (manifest.json, catalog.json, run_results.json) to extract metadata, lineage, and test results. Since dbt Core runs within your infrastructure, you must configure a storage method to make these artifacts accessible to Collate. ## How It Works If you're using **dbt Core**, you need to set up artifact storage: 1. **Generate artifacts**: Run `dbt run`, `dbt test`, and `dbt docs generate` to create manifest.json, catalog.json, and run_results.json 2. **Upload to storage**: Configure your workflow to upload these files to S3, GCS, Azure, HTTP server, or shared filesystem 3. **Configure Collate**: Point Collate to the storage location to pull and process the artifacts ## Storage Options for dbt Core Choose the storage method that matches your infrastructure: > [card] [AWS S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) > > Complete S3 setup with Airflow DAG, IAM policies, and configuration > [card] [Google Cloud Storage](/ai-2-0/connectors/database/dbt/storage-gcs-guide) > > GCS bucket setup with service accounts and Cloud Composer integration > [card] [Azure Blob Storage](/ai-2-0/connectors/database/dbt/storage-azure-guide) > > Azure storage account setup with managed identity and container config > [card] [HTTP Server](/ai-2-0/connectors/database/dbt/storage-http-guide) > > Nginx, Apache, or S3+CloudFront configuration for artifact hosting > [card] [Local Filesystem](/ai-2-0/connectors/database/dbt/storage-local-guide) > > Docker volumes, Kubernetes PVC, or NFS shared filesystem setup ## Quick Setup Summary ### AWS S3 ```bash theme={null} # Create bucket aws s3 mb s3://your-dbt-artifacts # Upload artifacts (manual) aws s3 sync target/ s3://your-dbt-artifacts/dbt/ --include "*.json" # Or use automated Airflow DAG (see detailed guide) ``` [View complete S3 guide →](/ai-2-0/connectors/database/dbt/storage-s3-guide) ### Google Cloud Storage ```bash theme={null} # Create bucket gsutil mb gs://your-dbt-artifacts # Upload artifacts (manual) gsutil -m cp target/*.json gs://your-dbt-artifacts/dbt/ # Or use Cloud Composer DAG (see detailed guide) ``` [View complete GCS guide →](/ai-2-0/connectors/database/dbt/storage-gcs-guide) ### Azure Blob Storage ```bash theme={null} # Create storage account and container az storage account create --name yourdbtartifacts az storage container create --name dbt-artifacts # Upload artifacts az storage blob upload-batch \ --destination dbt-artifacts \ --source target/ \ --pattern "*.json" ``` [View complete Azure guide →](/ai-2-0/connectors/database/dbt/storage-azure-guide) ### HTTP Server ```bash theme={null} # Upload via rsync to static file server rsync -avz target/*.json user@server:/var/www/dbt/ # Or configure S3 + CloudFront for HTTPS access ``` [View complete HTTP guide →](/ai-2-0/connectors/database/dbt/storage-http-guide) ### Local/Shared Filesystem ```yaml theme={null} # Docker Compose volume mount example volumes: - ./dbt/target:/dbt-artifacts # Collate reads directly from /dbt-artifacts path ``` [View complete Local guide →](/ai-2-0/connectors/database/dbt/storage-local-guide) ## Common Requirements Across All Methods Regardless of which storage method you choose, you need: ### 1. Required dbt Artifacts | File | Generated By | Purpose | | - | - | - | | `manifest.json` | `dbt run`, `dbt compile`, `dbt build` | **Required** - Model definitions, sources, lineage, tests | | `catalog.json` | `dbt docs generate` | Recommended - Column names, types, descriptions | | `run_results.json` | `dbt test`, `dbt run`, `dbt build` | Optional - Test execution results and timing | ### 2. dbt Command Sequence Run these commands to generate all artifacts: ```bash theme={null} dbt run # Execute models, generates manifest.json dbt test # Run tests, updates run_results.json dbt docs generate # Generate catalog.json with column metadata ``` ### 3. Collate Configuration After artifacts are accessible, configure Collate ingestion: * **UI Method**: See [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * **CLI Method**: See [Run dbt Workflow Externally](/ai-2-0/connectors/database/dbt/run-dbt-workflow-externally) * **Auto-ingest**: See [Auto Ingest dbt Core](/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core) ## Troubleshooting Common Issues | Issue | Possible Cause | Solution | | - | - | - | | **Artifacts not found** | Upload failed or wrong path | Verify artifacts uploaded successfully to correct location | | **Access denied** | Insufficient permissions | Check IAM policies, service account permissions, or access keys | | **Stale metadata** | Old artifacts | Ensure upload happens after dbt completes; verify timestamps | | **Missing lineage** | No compiled_code in manifest | Run `dbt compile` or `dbt docs generate` before upload | | **Missing column descriptions** | No catalog.json | Ensure `dbt docs generate` runs and catalog.json is uploaded | | **Test results not showing** | No run_results.json | Ensure `dbt test` runs and run_results.json is uploaded | For storage-specific troubleshooting, see the individual guides. ## Next Steps 1. **Choose your storage method** using the decision matrix above 2. **Follow the detailed guide** for your chosen method 3. **Configure Collate ingestion** after artifacts are accessible 4. **Set up scheduling** to keep metadata synchronized > [!NOTE] > > **Note**: Questions? See the main [dbt Overview](/ai-2-0/connectors/database/dbt) or [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) guide. # dbt Artifact Storage - Google Cloud Storage Configuration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/storage-gcs-guide Complete guide to configuring Google Cloud Storage for dbt artifact storage with Collate. Includes Cloud Composer DAG, service accounts, and setup. # dbt Artifact Storage: Google Cloud Storage Configuration This guide walks you through configuring **Google Cloud Storage (GCS)** as the artifact storage layer for dbt Core + Collate integration. ## Prerequisites Checklist | Requirement | Details | How to Verify | | - | - | - | | **GCP Account** | With permissions to create GCS buckets | `gcloud auth list` | | **gcloud CLI** | Installed and configured | `gcloud --version` | | **dbt Project** | Existing dbt project | `dbt debug` | | **Orchestration** | Cloud Composer or Airflow | Access to DAG configuration | | **Database Service** | Data warehouse already ingested | Check Connections > Database Services | ## Step 1: GCS Setup ### 1.1 Create GCS Bucket ```bash theme={null} # Set your variables export GCP_PROJECT="your-gcp-project-id" export BUCKET_NAME="your-company-dbt-artifacts" export REGION="us-central1" # Set active project gcloud config set project ${GCP_PROJECT} # Create the bucket gsutil mb -p ${GCP_PROJECT} -c STANDARD -l ${REGION} gs://${BUCKET_NAME} # Verify bucket creation gsutil ls | grep ${BUCKET_NAME} ``` **Expected output**: ``` gs://your-company-dbt-artifacts/ ``` ### 1.2 Create Service Account for dbt (Write Access) Your dbt environment needs permission to **write** to GCS. ```bash theme={null} # Create service account for dbt gcloud iam service-accounts create dbt-artifacts-writer \ --display-name="dbt Artifacts Writer" \ --project=${GCP_PROJECT} # Grant Storage Object Creator role gsutil iam ch \ serviceAccount:dbt-artifacts-writer@${GCP_PROJECT}.iam.gserviceaccount.com:roles/storage.objectCreator \ gs://${BUCKET_NAME} # Create and download service account key gcloud iam service-accounts keys create ~/dbt-sa-key.json \ --iam-account=dbt-artifacts-writer@${GCP_PROJECT}.iam.gserviceaccount.com echo "✓ Service account key saved to: ~/dbt-sa-key.json" ``` > [!WARNING] > > **Important**: Store the service account key securely. Never commit it to version control. ### 1.3 Create Service Account for Collate (Read Access) Collate needs permission to **read** from GCS. ```bash theme={null} # Create service account for Collate gcloud iam service-accounts create collate-dbt-reader \ --display-name="Collate dbt Reader" \ --project=${GCP_PROJECT} # Grant Storage Object Viewer role (read-only) gsutil iam ch \ serviceAccount:collate-dbt-reader@${GCP_PROJECT}.iam.gserviceaccount.com:roles/storage.objectViewer \ gs://${BUCKET_NAME} # Create and download service account key gcloud iam service-accounts keys create ~/collate-sa-key.json \ --iam-account=collate-dbt-reader@${GCP_PROJECT}.iam.gserviceaccount.com echo "✓ Service account key saved to: ~/collate-sa-key.json" ``` ### 1.4 (Alternative) Use Workload Identity on GKE If running on GKE, use Workload Identity instead of service account keys: ```bash theme={null} # Create GCP Service Account gcloud iam service-accounts create dbt-workload-identity \ --project=${GCP_PROJECT} # Grant bucket access gsutil iam ch \ serviceAccount:dbt-workload-identity@${GCP_PROJECT}.iam.gserviceaccount.com:roles/storage.objectCreator \ gs://${BUCKET_NAME} # Bind Kubernetes Service Account to GCP Service Account gcloud iam service-accounts add-iam-policy-binding \ dbt-workload-identity@${GCP_PROJECT}.iam.gserviceaccount.com \ --role roles/iam.workloadIdentityUser \ --member "serviceAccount:${GCP_PROJECT}.svc.id.goog[namespace/k8s-sa-name]" ``` ### 1.5 Verify GCS Access ```bash theme={null} # Set credentials export GOOGLE_APPLICATION_CREDENTIALS=~/dbt-sa-key.json # Create test file echo "test" > /tmp/test.txt # Upload to GCS gsutil cp /tmp/test.txt gs://${BUCKET_NAME}/dbt/test.txt # Verify it exists gsutil ls gs://${BUCKET_NAME}/dbt/ # Clean up gsutil rm gs://${BUCKET_NAME}/dbt/test.txt rm /tmp/test.txt ``` ## Step 2: Upload Artifacts from dbt ### 2.1 Understanding dbt Artifacts Collate requires these dbt-generated files: | File | Generated By | Required? | What It Contains | | - | - | - | - | | `manifest.json` | `dbt run`, `dbt compile`, `dbt build` | **YES** | Models, sources, lineage, descriptions, tests | | `catalog.json` | `dbt docs generate` | Recommended | Column names, types, descriptions | | `run_results.json` | `dbt run`, `dbt test`, `dbt build` | Optional | Test pass/fail results, timing | **Generate all artifacts**: ```bash theme={null} dbt run # Generates manifest.json dbt test # Updates run_results.json dbt docs generate # Generates catalog.json ``` ### 2.2 Complete Cloud Composer DAG This is a **complete, working DAG** for Cloud Composer or GKE-based Airflow. **Save as `dbt_with_gcs.py` in your Cloud Composer DAGs folder**: ```python theme={null} """ dbt + Collate Integration DAG (GCS Method) This DAG: 1. Runs dbt models 2. Runs dbt tests 3. Generates dbt documentation (catalog.json) 4. Uploads all artifacts to Google Cloud Storage Perfect for Cloud Composer or GKE deployments. """ import os from datetime import datetime, timedelta from airflow import DAG from airflow.operators.bash import BashOperator from airflow.operators.python import PythonOperator from airflow.utils.task_group import TaskGroup # ============================================================================= # CONFIGURATION # ============================================================================= # dbt Configuration DBT_PROJECT_DIR = os.getenv("DBT_PROJECT_DIR", "/home/airflow/gcs/dbt/my_project") DBT_PROFILES_DIR = os.getenv("DBT_PROFILES_DIR", "/home/airflow/gcs/dbt") # GCS Configuration GCS_BUCKET = os.getenv("GCS_BUCKET", "your-company-dbt-artifacts") GCS_PREFIX = os.getenv("GCS_PREFIX", "dbt") GCP_PROJECT = os.getenv("GCP_PROJECT", "your-gcp-project") # Service Account (if not using Workload Identity) GOOGLE_APPLICATION_CREDENTIALS = os.getenv( "GOOGLE_APPLICATION_CREDENTIALS", "/home/airflow/gcs/dbt-sa-key.json" ) # ============================================================================= # DAG DEFAULT ARGUMENTS # ============================================================================= default_args = { "owner": "data-engineering", "depends_on_past": False, "email": ["data-team@yourcompany.com"], "email_on_failure": True, "email_on_retry": False, "retries": 2, "retry_delay": timedelta(minutes=5), "execution_timeout": timedelta(hours=2), } # ============================================================================= # PYTHON FUNCTIONS # ============================================================================= def upload_artifacts_to_gcs(**context): """ Upload dbt artifacts to Google Cloud Storage. Uses google-cloud-storage library (pre-installed in Cloud Composer). For self-hosted: pip install google-cloud-storage """ from google.cloud import storage # Initialize GCS client if os.path.exists(GOOGLE_APPLICATION_CREDENTIALS): client = storage.Client.from_service_account_json( GOOGLE_APPLICATION_CREDENTIALS ) else: # Use default credentials (Workload Identity or ADC) client = storage.Client(project=GCP_PROJECT) bucket = client.bucket(GCS_BUCKET) target_dir = os.path.join(DBT_PROJECT_DIR, "target") # Files to upload artifacts = [ ("manifest.json", True), # Required ("catalog.json", False), # Optional but recommended ("run_results.json", False), # Optional ("sources.json", False), # Optional ] uploaded = [] failed = [] for filename, required in artifacts: local_path = os.path.join(target_dir, filename) gcs_path = f"{GCS_PREFIX}/{filename}" if os.path.exists(local_path): try: blob = bucket.blob(gcs_path) blob.upload_from_filename(local_path) uploaded.append(filename) print(f"✓ Uploaded {filename} to gs://{GCS_BUCKET}/{gcs_path}") except Exception as e: error_msg = f"✗ Failed to upload {filename}: {e}" print(error_msg) if required: raise Exception(error_msg) failed.append(filename) else: if required: raise FileNotFoundError( f"Required artifact not found: {local_path}\n" f"Make sure 'dbt run' completed successfully." ) else: print(f"⊘ Skipping {filename} (not found - optional)") # Log summary print(f"\n{'='*50}") print(f"Upload Summary:") print(f" Uploaded: {', '.join(uploaded) or 'None'}") print(f" Skipped: {', '.join(failed) or 'None'}") print(f" GCS Location: gs://{GCS_BUCKET}/{GCS_PREFIX}/") print(f"{'='*50}") return {"uploaded": uploaded, "bucket": GCS_BUCKET, "prefix": GCS_PREFIX} # ============================================================================= # DAG DEFINITION # ============================================================================= with DAG( dag_id="dbt_with_gcs", default_args=default_args, description="Run dbt models and sync metadata to Collate via GCS", schedule_interval="0 6 * * *", # Daily at 6 AM UTC start_date=datetime(2024, 1, 1), catchup=False, max_active_runs=1, tags=["dbt", "collate", "gcs", "data-pipeline"], ) as dag: # Task Group: dbt Execution with TaskGroup(group_id="dbt_execution") as dbt_tasks: dbt_run = BashOperator( task_id="dbt_run", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt run --profiles-dir {DBT_PROFILES_DIR} """, ) dbt_test = BashOperator( task_id="dbt_test", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt test --profiles-dir {DBT_PROFILES_DIR} """, trigger_rule="all_done", ) dbt_docs = BashOperator( task_id="dbt_docs_generate", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt docs generate --profiles-dir {DBT_PROFILES_DIR} """, ) dbt_run >> dbt_test >> dbt_docs # Upload to GCS upload_to_gcs = PythonOperator( task_id="upload_artifacts_to_gcs", python_callable=upload_artifacts_to_gcs, provide_context=True, ) # DAG Dependencies dbt_tasks >> upload_to_gcs ``` ### 2.3 Alternative: Simple gsutil Upload For simpler setups, use `gsutil` directly in a BashOperator: ```python theme={null} upload_with_gsutil = BashOperator( task_id="upload_to_gcs", bash_command=f""" cd {DBT_PROJECT_DIR}/target && \ gsutil -m cp manifest.json catalog.json run_results.json \ gs://{GCS_BUCKET}/{GCS_PREFIX}/ || true """, ) ``` ### 2.4 Verify DAG Deployment ```bash theme={null} # For Cloud Composer - upload DAG gcloud composer environments storage dags import \ --environment your-composer-env \ --location us-central1 \ --source dbt_with_gcs.py # Check GCS after DAG completes gsutil ls gs://your-company-dbt-artifacts/dbt/ ``` **Expected output**: ``` gs://your-company-dbt-artifacts/dbt/manifest.json gs://your-company-dbt-artifacts/dbt/catalog.json gs://your-company-dbt-artifacts/dbt/run_results.json ``` ## Step 3: Configure Collate ### Configuration 1. In the left navigation menu, select **Connections** > **Database Services**. 2. Click the database service you want to configure (for example, "production-bigquery"). 3. Go to the **Agents** tab. 4. Click **Add Agent**. 5. Select **DBT** from the dropdown. **Configure dbt Source (GCS)**: | Field | Value | Notes | | - | - | - | | **dbt Configuration Source** | `GCS` | Select from dropdown | | **GCS Bucket Name** | `your-company-dbt-artifacts` | Your bucket name | | **GCS Object Prefix** | `dbt` | Folder path (no leading `/`) | **GCP Credentials**: Upload the Collate service account key JSON: 1. Click **Upload Credentials** 2. Select `~/collate-sa-key.json` 3. Or paste the JSON content directly **Configure dbt Options**: | Field | Recommended Value | | - | - | | **Update Descriptions** | `Enabled` | | **Update Owners** | `Enabled` | | **Include Tags** | `Enabled` | | **Classification Name** | `dbtTags` | **Test & Deploy**: 1. Click **Test Connection** 2. If successful, click **Deploy** 3. Click **Run** to trigger immediately ## Verification After running the full pipeline, verify: | Check | How to Verify | Expected Result | | - | - | - | | **GCS artifacts exist** | `gsutil ls gs://bucket/dbt/` | manifest.json, catalog.json listed | | **Ingestion completed** | Collate UI > Service > Agents tab | Green status, no errors | | **Lineage appears** | Click on a dbt model > Lineage tab | Upstream/downstream connections | | **Descriptions synced** | Click on a table > Schema tab | Column descriptions visible | | **Tags appear** | Click on a table > Tags section | dbt tags shown | ## Cloud Composer Specific Setup ### Upload Service Account Key to Composer ```bash theme={null} export COMPOSER_ENV="your-composer-env" export COMPOSER_LOCATION="us-central1" # Get Composer bucket COMPOSER_BUCKET=$(gcloud composer environments describe ${COMPOSER_ENV} \ --location ${COMPOSER_LOCATION} \ --format="get(config.dagGcsPrefix)" | sed 's|/dags||') # Upload service account key gsutil cp ~/dbt-sa-key.json ${COMPOSER_BUCKET}/dbt/dbt-sa-key.json ``` ### Set Environment Variables ```bash theme={null} gcloud composer environments update ${COMPOSER_ENV} \ --location ${COMPOSER_LOCATION} \ --update-env-variables \ DBT_PROJECT_DIR="/home/airflow/gcs/dbt/my_project",\ GCS_BUCKET="your-company-dbt-artifacts",\ GCS_PREFIX="dbt",\ GOOGLE_APPLICATION_CREDENTIALS="/home/airflow/gcs/dbt/dbt-sa-key.json" ``` ## Troubleshooting | Issue | Symptom | Cause | Solution | | - | - | - | - | | **Access Denied** | "403 Forbidden" error | Insufficient permissions | Verify service account has `storage.objectViewer` role | | **Bucket Not Found** | "404 Not Found" | Bucket name incorrect | Check bucket name matches actual bucket | | **Invalid Credentials** | "Authentication failed" | Wrong service account key | Verify JSON key is for correct project and SA | | **No objects found** | Artifacts not appearing | Wrong prefix or upload failed | Check `GCS_PREFIX` matches upload path | | **Stale data** | Old lineage/descriptions | Old artifacts in GCS | Verify dbt DAG uploads fresh artifacts | ## Next Steps * [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * [Auto Ingest dbt Core](/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core) * [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) > [!NOTE] > > **Note**: See other storage options: [S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) | [Azure](/ai-2-0/connectors/database/dbt/storage-azure-guide) | [HTTP](/ai-2-0/connectors/database/dbt/storage-http-guide) | [Local](/ai-2-0/connectors/database/dbt/storage-local-guide) | [dbt Cloud](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) # dbt Artifact Storage - HTTP Server Configuration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/storage-http-guide Configure HTTP/HTTPS servers for dbt artifact storage with Collate. Includes Nginx, Apache, and S3+CloudFront examples. # dbt Artifact Storage: HTTP Server Configuration This guide walks you through configuring an **HTTP/HTTPS server** as the artifact storage layer for dbt Core + Collate integration. Ideal for multi-cloud or on-premises deployments. ## Prerequisites Checklist | Requirement | Details | How to Verify | | - | - | - | | **Web Server** | Nginx, Apache, or cloud CDN | `curl http://your-server/` | | **dbt Project** | Existing dbt project | `dbt debug` | | **Server Access** | SSH or deployment access | Can upload files to server | | **Database Service** | Data warehouse already ingested | Check Connections > Database Services | ## HTTP Server Options ### Option 1: S3 + CloudFront (Recommended) Combine S3 storage with CloudFront CDN for HTTPS and global access. **Setup**: 1. Follow [S3 guide](/ai-2-0/connectors/database/dbt/storage-s3-guide) to create bucket and upload artifacts 2. Create CloudFront distribution: ```bash theme={null} # Create CloudFront distribution (AWS Console or CLI) aws cloudfront create-distribution \ --origin-domain-name your-bucket.s3.amazonaws.com \ --default-root-object index.html ``` 3. Configure Collate with CloudFront URL: * URL: `https://d123abc.cloudfront.net/dbt/` ### Option 2: Nginx Static File Server **Install Nginx**: ```bash theme={null} # Ubuntu/Debian sudo apt update && sudo apt install -y nginx # CentOS/RHEL sudo yum install -y nginx # macOS brew install nginx ``` **Configure Nginx**: Create `/etc/nginx/sites-available/dbt-artifacts`: ```nginx theme={null} server { listen 80; server_name artifacts.yourcompany.com; # Root directory for dbt artifacts root /var/www/dbt-artifacts; # Enable directory listing (optional) autoindex on; # CORS headers for Collate access add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS'; location /dbt/ { alias /var/www/dbt-artifacts/; try_files $uri $uri/ =404; } # Optional: Basic authentication # auth_basic "Restricted Access"; # auth_basic_user_file /etc/nginx/.htpasswd; } ``` **Enable the site**: ```bash theme={null} sudo ln -s /etc/nginx/sites-available/dbt-artifacts /etc/nginx/sites-enabled/ sudo mkdir -p /var/www/dbt-artifacts sudo chmod 755 /var/www/dbt-artifacts sudo nginx -t sudo systemctl reload nginx ``` ### Option 3: Apache Static File Server **Install Apache**: ```bash theme={null} # Ubuntu/Debian sudo apt install -y apache2 # CentOS/RHEL sudo yum install -y httpd ``` **Configure Apache**: Create `/etc/apache2/sites-available/dbt-artifacts.conf`: ```apache theme={null} ServerName artifacts.yourcompany.com DocumentRoot /var/www/dbt-artifacts Options Indexes FollowSymLinks AllowOverride None Require all granted # Enable CORS Header set Access-Control-Allow-Origin "*" ErrorLog ${APACHE_LOG_DIR}/dbt-artifacts-error.log CustomLog ${APACHE_LOG_DIR}/dbt-artifacts-access.log combined ``` **Enable the site**: ```bash theme={null} sudo a2ensite dbt-artifacts sudo mkdir -p /var/www/dbt-artifacts sudo chmod 755 /var/www/dbt-artifacts sudo systemctl reload apache2 ``` ## Step 2: Upload Artifacts from dbt ### 2.1 Manual Upload with rsync ```bash theme={null} # Upload artifacts to server rsync -avz target/*.json user@server:/var/www/dbt-artifacts/ # Or via SCP scp target/*.json user@server:/var/www/dbt-artifacts/ ``` ### 2.2 Automated Upload in Airflow DAG ```python theme={null} """ dbt + HTTP Upload DAG """ from airflow import DAG from airflow.operators.bash import BashOperator from datetime import datetime, timedelta default_args = { "owner": "data-engineering", "retries": 2, "retry_delay": timedelta(minutes=5), } with DAG( dag_id="dbt_with_http", default_args=default_args, schedule_interval="0 6 * * *", start_date=datetime(2024, 1, 1), catchup=False, ) as dag: dbt_run = BashOperator( task_id="dbt_run", bash_command="cd /opt/airflow/dbt && dbt run && dbt test && dbt docs generate" ) upload_artifacts = BashOperator( task_id="upload_to_http_server", bash_command=""" rsync -avz /opt/airflow/dbt/target/*.json \ user@artifacts.yourcompany.com:/var/www/dbt-artifacts/ """ ) dbt_run >> upload_artifacts ``` ### 2.3 Upload with curl (Simple HTTP POST) If your server accepts POST requests: ```bash theme={null} cd target curl -X POST -F "file=@manifest.json" http://artifacts.yourcompany.com/upload curl -X POST -F "file=@catalog.json" http://artifacts.yourcompany.com/upload curl -X POST -F "file=@run_results.json" http://artifacts.yourcompany.com/upload ``` ## Step 3: Configure Collate ### Configuration 1. In the left navigation menu, select **Connections** > **Database Services**. 2. Click the database service you want to configure. 3. Go to the **Agents** tab. 4. Click **Add Agent**. 5. Select **DBT** from the dropdown. **Configure dbt Source (HTTP)**: | Field | Value | Notes | | - | - | - | | **dbt Configuration Source** | `HTTP` | Select from dropdown | | **dbt Catalog HTTP Path** | `http://artifacts.yourcompany.com/dbt/catalog.json` | Full URL to catalog.json | | **dbt Manifest HTTP Path** | `http://artifacts.yourcompany.com/dbt/manifest.json` | Full URL to manifest.json | | **dbt Run Results HTTP Path** | `http://artifacts.yourcompany.com/dbt/run_results.json` | Full URL to run_results.json (optional) | **If using Basic Auth**: | Field | Value | | - | - | | **Username** | `your-username` | | **Password** | `your-password` | **Configure dbt Options**: | Field | Recommended Value | | - | - | | **Update Descriptions** | `Enabled` | | **Update Owners** | `Enabled` | | **Include Tags** | `Enabled` | | **Classification Name** | `dbtTags` | ## Verification ```bash theme={null} # Verify artifacts are accessible curl http://artifacts.yourcompany.com/dbt/manifest.json | jq '.metadata.dbt_version' curl http://artifacts.yourcompany.com/dbt/catalog.json | jq '.metadata.dbt_version' # Check from Collate's network # (Run this from Collate's server/container) curl -I http://artifacts.yourcompany.com/dbt/manifest.json ``` ## Security Considerations ### Enable HTTPS Use Let's Encrypt for free SSL certificates: ```bash theme={null} # Install certbot sudo apt install -y certbot python3-certbot-nginx # Get certificate sudo certbot --nginx -d artifacts.yourcompany.com # Auto-renew sudo certbot renew --dry-run ``` ### Add Basic Authentication **For Nginx**: ```bash theme={null} # Create password file sudo apt install -y apache2-utils sudo htpasswd -c /etc/nginx/.htpasswd collate # Update Nginx config (already shown above) ``` **For Apache**: ```bash theme={null} # Create password file sudo htpasswd -c /etc/apache2/.htpasswd collate # Add to Apache config AuthType Basic AuthName "Restricted Access" AuthUserFile /etc/apache2/.htpasswd Require valid-user ``` ### IP Allowlisting **For Nginx**: ```nginx theme={null} location /dbt/ { allow 10.0.0.0/8; # Internal network allow 203.0.113.0/24; # Collate servers deny all; alias /var/www/dbt-artifacts/; } ``` ## Troubleshooting | Issue | Symptom | Solution | | - | - | - | | **403 Forbidden** | Access denied | Check file permissions: `chmod 644 /var/www/dbt-artifacts/*.json` | | **404 Not Found** | Files not found | Verify file paths and Nginx/Apache config | | **Connection Timeout** | Can't reach server | Check firewall rules, ensure port 80/443 open | | **CORS Error** | Browser blocks request | Add CORS headers to web server config | | **Stale Data** | Old metadata | Verify upload happens after dbt completes | ## Next Steps * [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) > [!NOTE] > > **Note**: See other storage options: [S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) | [GCS](/ai-2-0/connectors/database/dbt/storage-gcs-guide) | [Azure](/ai-2-0/connectors/database/dbt/storage-azure-guide) | [Local](/ai-2-0/connectors/database/dbt/storage-local-guide) | [dbt Cloud](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) # dbt Artifact Storage - Local Filesystem Configuration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/storage-local-guide Configure local or shared filesystem for dbt artifact storage with Collate. Includes Docker Compose and Kubernetes PVC examples. # dbt Artifact Storage: Local/Shared Filesystem This guide walks you through configuring a **local or shared filesystem** as the artifact storage layer for dbt Core + Collate integration. Ideal for development, single-server deployments, or Kubernetes with shared volumes. > [!WARNING] > > **Important**: > **Not recommended for production distributed systems.** dbt and Collate must access the same filesystem. Use cloud storage (S3/GCS/Azure) for production multi-server deployments. ## Prerequisites Checklist | Requirement | Details | How to Verify | | - | - | - | | **Shared Filesystem** | dbt on same machine or shared volume | Can access same directory | | **dbt Project** | Existing dbt project | `dbt debug` | | **Database Service** | Data warehouse already ingested | Check Connections > Database Services | ## Configuration Options ### Option A: Same Machine (Development) If dbt and Collate run on the same machine: **1. Run dbt and generate artifacts**: ```bash theme={null} cd /path/to/dbt/project dbt run dbt test dbt docs generate ``` **2. Note the target directory path**: ```bash theme={null} # Artifacts are in target/ directory ls -la target/ # Output: manifest.json, catalog.json, run_results.json ``` **3. Configure Collate with absolute path**: * Manifest: `/path/to/dbt/project/target/manifest.json` * Catalog: `/path/to/dbt/project/target/catalog.json` * Run Results: `/path/to/dbt/project/target/run_results.json` ### Option B: Docker Compose with Shared Volume Perfect for local development stacks. **docker-compose.yml**: ```yaml theme={null} version: '3.8' services: # dbt service (runs dbt commands) dbt: image: ghcr.io/dbt-labs/dbt-postgres:latest volumes: - ./dbt:/usr/app/dbt # dbt project - dbt-artifacts:/dbt-artifacts # Shared volume for artifacts command: > bash -c " dbt run --project-dir /usr/app/dbt && dbt test --project-dir /usr/app/dbt && dbt docs generate --project-dir /usr/app/dbt && cp /usr/app/dbt/target/*.json /dbt-artifacts/ " environment: DBT_PROFILES_DIR: /usr/app/dbt # Collate service collate: image: openmetadata/server:latest ports: - "8585:8585" volumes: - dbt-artifacts:/dbt-artifacts # Same shared volume environment: # Collate will read from /dbt-artifacts/ DBT_ARTIFACTS_PATH: /dbt-artifacts volumes: dbt-artifacts: # Named volume shared between services ``` **Configure Collate**: * Manifest: `/dbt-artifacts/manifest.json` * Catalog: `/dbt-artifacts/catalog.json` * Run Results: `/dbt-artifacts/run_results.json` ### Option C: Kubernetes with PersistentVolumeClaim For Kubernetes deployments where dbt and Collate run in the same cluster. **1. Create PersistentVolumeClaim**: ```yaml theme={null} # dbt-artifacts-pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: dbt-artifacts namespace: data-platform spec: accessModes: - ReadWriteMany # Critical: Allows multiple pods to read storageClassName: nfs-client # Use NFS, EFS, or similar resources: requests: storage: 1Gi ``` ```bash theme={null} kubectl apply -f dbt-artifacts-pvc.yaml ``` **2. dbt CronJob (uploads artifacts)**: ```yaml theme={null} # dbt-cronjob.yaml apiVersion: batch/v1 kind: CronJob metadata: name: dbt-runner namespace: data-platform spec: schedule: "0 6 * * *" # Daily at 6 AM jobTemplate: spec: template: spec: containers: - name: dbt image: ghcr.io/dbt-labs/dbt-postgres:latest command: - /bin/bash - -c - | dbt run && dbt test && dbt docs generate && cp target/*.json /dbt-artifacts/ volumeMounts: - name: dbt-project mountPath: /usr/app/dbt - name: dbt-artifacts mountPath: /dbt-artifacts volumes: - name: dbt-project configMap: name: dbt-project-config - name: dbt-artifacts persistentVolumeClaim: claimName: dbt-artifacts restartPolicy: OnFailure ``` **3. Mount volume in Collate deployment**: ```yaml theme={null} # collate-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: collate namespace: data-platform spec: replicas: 1 selector: matchLabels: app: collate template: metadata: labels: app: collate spec: containers: - name: collate image: openmetadata/server:latest ports: - containerPort: 8585 volumeMounts: - name: dbt-artifacts mountPath: /dbt-artifacts readOnly: true # Collate only reads volumes: - name: dbt-artifacts persistentVolumeClaim: claimName: dbt-artifacts ``` **Configure Collate**: * Manifest: `/dbt-artifacts/manifest.json` * Catalog: `/dbt-artifacts/catalog.json` * Run Results: `/dbt-artifacts/run_results.json` ### Option D: NFS Mounted Shared Storage For VMs or bare-metal servers with shared NFS storage. **1. Set up NFS share**: **On NFS server**: ```bash theme={null} # Install NFS server sudo apt install -y nfs-kernel-server # Create shared directory sudo mkdir -p /export/dbt-artifacts sudo chmod 777 /export/dbt-artifacts # Configure exports echo "/export/dbt-artifacts *(rw,sync,no_subtree_check,no_root_squash)" | \ sudo tee -a /etc/exports # Restart NFS sudo systemctl restart nfs-kernel-server ``` **2. Mount on client machines**: **On dbt server**: ```bash theme={null} sudo apt install -y nfs-common sudo mkdir -p /mnt/dbt-artifacts sudo mount nfs-server:/export/dbt-artifacts /mnt/dbt-artifacts # Make permanent echo "nfs-server:/export/dbt-artifacts /mnt/dbt-artifacts nfs defaults 0 0" | \ sudo tee -a /etc/fstab ``` **On Collate server**: ```bash theme={null} sudo apt install -y nfs-common sudo mkdir -p /mnt/dbt-artifacts sudo mount nfs-server:/export/dbt-artifacts /mnt/dbt-artifacts # Make permanent echo "nfs-server:/export/dbt-artifacts /mnt/dbt-artifacts nfs defaults 0 0" | \ sudo tee -a /etc/fstab ``` **3. Configure dbt to write to NFS**: ```bash theme={null} cd /path/to/dbt/project dbt run && dbt test && dbt docs generate cp target/*.json /mnt/dbt-artifacts/ ``` **Configure Collate**: * Manifest: `/mnt/dbt-artifacts/manifest.json` * Catalog: `/mnt/dbt-artifacts/catalog.json` * Run Results: `/mnt/dbt-artifacts/run_results.json` ## Step 2: Configure Collate ### Configuration 1. In the left navigation menu, select **Connections** > **Database Services**. 2. Click the database service you want to configure. 3. Go to the **Agents** tab. 4. Click **Add Agent**. 5. Select **DBT** from the dropdown. **Configure dbt Source (Local)**: | Field | Value | Notes | | - | - | - | | **dbt Configuration Source** | `Local` | Select from dropdown | | **dbt Catalog File Path** | `/dbt-artifacts/catalog.json` | Absolute path accessible by Collate | | **dbt Manifest File Path** | `/dbt-artifacts/manifest.json` | Absolute path accessible by Collate | | **dbt Run Results File Path** | `/dbt-artifacts/run_results.json` | Optional - absolute path | **Configure dbt Options**: | Field | Recommended Value | | - | - | | **Update Descriptions** | `Enabled` | | **Update Owners** | `Enabled` | | **Include Tags** | `Enabled` | | **Classification Name** | `dbtTags` | ## Verification ```bash theme={null} # Verify artifacts exist and are readable ls -la /dbt-artifacts/ cat /dbt-artifacts/manifest.json | jq '.metadata.dbt_version' # Check from Collate's perspective (if in Docker) docker exec collate-container ls -la /dbt-artifacts/ docker exec collate-container cat /dbt-artifacts/manifest.json | jq '.' ``` ## Best Practices ### 1. Use Absolute Paths Always use absolute paths, not relative: * ✓ `/dbt-artifacts/manifest.json` * ✗ `../dbt/target/manifest.json` ### 2. Ensure Read Permissions ```bash theme={null} # Set correct permissions chmod 644 /dbt-artifacts/*.json chown collate-user:collate-group /dbt-artifacts/*.json ``` ### 3. Automate Artifact Copying ```bash theme={null} # Add to dbt wrapper script dbt run && dbt test && dbt docs generate cp target/*.json /dbt-artifacts/ ``` ### 4. Use ReadWriteMany for Kubernetes For Kubernetes PVC, ensure `accessMode: ReadWriteMany`: * Works: NFS, EFS, Azure Files, GlusterFS * Doesn't work: EBS (ReadWriteOnce only) ## Troubleshooting | Issue | Symptom | Solution | | | - | - | - | - | | **File not found** | "No such file or directory" | Verify absolute path is correct and accessible from Collate | | | **Permission denied** | "Permission denied" | Run `chmod 644 /dbt-artifacts/*.json` | | | **Stale data** | Old metadata showing | Ensure dbt writes artifacts before Collate reads | | | **Mount issue** | "Transport endpoint not connected" | Check NFS mount: \`mount | grep dbt-artifacts\` | | **Volume not shared** | Works for dbt, not Collate | Verify both containers/pods mount the same volume | | * **No built-in versioning or backup** * **File locking issues** possible with concurrent access * **Requires shared filesystem** infrastructure For production, consider: * [S3 Storage](/ai-2-0/connectors/database/dbt/storage-s3-guide) for AWS * [GCS Storage](/ai-2-0/connectors/database/dbt/storage-gcs-guide) for GCP * [Azure Blob Storage](/ai-2-0/connectors/database/dbt/storage-azure-guide) for Azure ## Next Steps * [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) > [!NOTE] > > **Note**: See other storage options: [S3](/ai-2-0/connectors/database/dbt/storage-s3-guide) | [GCS](/ai-2-0/connectors/database/dbt/storage-gcs-guide) | [Azure](/ai-2-0/connectors/database/dbt/storage-azure-guide) | [HTTP](/ai-2-0/connectors/database/dbt/storage-http-guide) | [dbt Cloud](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) # dbt Artifact Storage - AWS S3 Configuration Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/storage-s3-guide Complete guide to configuring AWS S3 for dbt artifact storage with Collate. Includes Airflow DAG examples, IAM policies, and setup instructions. # dbt Artifact Storage: AWS S3 Configuration This guide walks you through configuring **AWS S3** as the artifact storage layer for dbt Core + Collate integration. After completing this guide, your dbt artifacts will automatically sync to Collate for metadata extraction and lineage tracking. ## Prerequisites Checklist | Requirement | Details | How to Verify | | - | - | - | | **AWS Account** | With permissions to create S3 buckets and IAM policies | `aws sts get-caller-identity` | | **AWS CLI** | Installed and configured | `aws --version` | | **dbt Project** | Existing dbt project | `dbt debug` | | **Orchestration** | Airflow or similar scheduler | Access to DAG configuration | | **Database Service** | Data warehouse already ingested | Check Connections > Database Services | ## Step 1: AWS S3 Setup ### 1.1 Create S3 Bucket ```bash theme={null} # Set your variables export AWS_REGION="us-east-1" export BUCKET_NAME="your-company-dbt-artifacts" # Create the bucket aws s3 mb s3://${BUCKET_NAME} --region ${AWS_REGION} # Verify bucket creation aws s3 ls | grep ${BUCKET_NAME} ``` **Expected output**: ``` 2026-02-10 10:30:00 your-company-dbt-artifacts ``` ### 1.2 Create IAM Policy for dbt (Write Access) Your Airflow/dbt environment needs permission to **write** to S3. Save this as `dbt-s3-write-policy.json`: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowDBTArtifactUpload", "Effect": "Allow", "Action": [ "s3:PutObject", "s3:PutObjectAcl" ], "Resource": "arn:aws:s3:::your-company-dbt-artifacts/dbt-artifacts/*" }, { "Sid": "AllowBucketListing", "Effect": "Allow", "Action": [ "s3:ListBucket" ], "Resource": "arn:aws:s3:::your-company-dbt-artifacts" } ] } ``` Create and attach the policy: ```bash theme={null} # Create the IAM policy aws iam create-policy \ --policy-name dbt-s3-write-policy \ --policy-document file://dbt-s3-write-policy.json # Attach to your Airflow/ECS role export AIRFLOW_ROLE_NAME="your-airflow-task-role" aws iam attach-role-policy \ --role-name ${AIRFLOW_ROLE_NAME} \ --policy-arn arn:aws:iam::YOUR_ACCOUNT_ID:policy/dbt-s3-write-policy ``` ### 1.3 Create IAM Policy for Collate (Read Access) Collate needs permission to **read** from S3. Save this as `collate-s3-read-policy.json`: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowCollateRead", "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::your-company-dbt-artifacts", "arn:aws:s3:::your-company-dbt-artifacts/dbt-artifacts/*" ] } ] } ``` Create the policy: ```bash theme={null} # Create the policy aws iam create-policy \ --policy-name collate-s3-read-policy \ --policy-document file://collate-s3-read-policy.json # Attach to Collate's role or create access keys for Collate user ``` ### 1.4 Verify S3 Access ```bash theme={null} # Create test file echo "test" > /tmp/test.txt # Upload it aws s3 cp /tmp/test.txt s3://${BUCKET_NAME}/dbt-artifacts/test.txt # Verify it exists aws s3 ls s3://${BUCKET_NAME}/dbt-artifacts/ # Clean up aws s3 rm s3://${BUCKET_NAME}/dbt-artifacts/test.txt rm /tmp/test.txt ``` ## Step 2: Upload Artifacts from dbt ### 2.1 Understanding dbt Artifacts Collate requires these dbt-generated files: | File | Generated By | Required? | What It Contains | | - | - | - | - | | `manifest.json` | `dbt run`, `dbt compile`, `dbt build` | **YES** | Models, sources, lineage, descriptions, tests | | `catalog.json` | `dbt docs generate` | Recommended | Column names, types, descriptions | | `run_results.json` | `dbt run`, `dbt test`, `dbt build` | Optional | Test pass/fail results, timing | **Generate all artifacts**: ```bash theme={null} dbt run # Generates manifest.json dbt test # Updates run_results.json dbt docs generate # Generates catalog.json ``` ### 2.2 Complete Airflow DAG Example This is a **complete, working DAG** for uploading dbt artifacts to S3. **Save as `dbt_with_collate.py` in your Airflow DAGs folder**: ```python theme={null} """ dbt + Collate Integration DAG (S3 Method) This DAG: 1. Runs dbt models 2. Runs dbt tests 3. Generates dbt documentation (catalog.json) 4. Uploads all artifacts to S3 No Collate packages are installed in this Airflow environment. Collate pulls the artifacts from S3 independently. """ import os from datetime import datetime, timedelta from airflow import DAG from airflow.operators.bash import BashOperator from airflow.operators.python import PythonOperator from airflow.utils.task_group import TaskGroup # ============================================================================= # CONFIGURATION # ============================================================================= # dbt Configuration DBT_PROJECT_DIR = os.getenv("DBT_PROJECT_DIR", "/opt/airflow/dbt/my_project") DBT_PROFILES_DIR = os.getenv("DBT_PROFILES_DIR", "/opt/airflow/dbt") # S3 Configuration S3_BUCKET = os.getenv("S3_BUCKET", "your-company-dbt-artifacts") S3_PREFIX = os.getenv("S3_PREFIX", "dbt-artifacts") AWS_REGION = os.getenv("AWS_DEFAULT_REGION", "us-east-1") # ============================================================================= # DAG DEFAULT ARGUMENTS # ============================================================================= default_args = { "owner": "data-engineering", "depends_on_past": False, "email": ["data-team@yourcompany.com"], "email_on_failure": True, "email_on_retry": False, "retries": 2, "retry_delay": timedelta(minutes=5), "execution_timeout": timedelta(hours=2), } # ============================================================================= # PYTHON FUNCTIONS # ============================================================================= def upload_artifacts_to_s3(**context): """ Upload dbt artifacts to S3. Uses boto3 (AWS SDK) which is typically available in Airflow. If not: pip install boto3 """ import boto3 from botocore.exceptions import ClientError s3_client = boto3.client("s3", region_name=AWS_REGION) target_dir = os.path.join(DBT_PROJECT_DIR, "target") # Files to upload artifacts = [ ("manifest.json", True), # Required ("catalog.json", False), # Optional but recommended ("run_results.json", False), # Optional ("sources.json", False), # Optional ] uploaded = [] failed = [] for filename, required in artifacts: local_path = os.path.join(target_dir, filename) s3_key = f"{S3_PREFIX}/{filename}" if os.path.exists(local_path): try: s3_client.upload_file(local_path, S3_BUCKET, s3_key) uploaded.append(filename) print(f"✓ Uploaded {filename} to s3://{S3_BUCKET}/{s3_key}") except ClientError as e: error_msg = f"✗ Failed to upload {filename}: {e}" print(error_msg) if required: raise Exception(error_msg) failed.append(filename) else: if required: raise FileNotFoundError( f"Required artifact not found: {local_path}\n" f"Make sure 'dbt run' completed successfully." ) else: print(f"⊘ Skipping {filename} (not found - optional)") # Log summary print(f"\n{'='*50}") print(f"Upload Summary:") print(f" Uploaded: {', '.join(uploaded) or 'None'}") print(f" Skipped: {', '.join(failed) or 'None'}") print(f" S3 Location: s3://{S3_BUCKET}/{S3_PREFIX}/") print(f"{'='*50}") return {"uploaded": uploaded, "bucket": S3_BUCKET, "prefix": S3_PREFIX} # ============================================================================= # DAG DEFINITION # ============================================================================= with DAG( dag_id="dbt_with_collate", default_args=default_args, description="Run dbt models and sync metadata to Collate via S3", schedule_interval="0 6 * * *", # Daily at 6 AM UTC start_date=datetime(2024, 1, 1), catchup=False, max_active_runs=1, tags=["dbt", "collate", "data-pipeline"], ) as dag: # Task Group: dbt Execution with TaskGroup(group_id="dbt_execution") as dbt_tasks: dbt_run = BashOperator( task_id="dbt_run", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt run --profiles-dir {DBT_PROFILES_DIR} """, ) dbt_test = BashOperator( task_id="dbt_test", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt test --profiles-dir {DBT_PROFILES_DIR} """, trigger_rule="all_done", # Run even if dbt_run fails ) dbt_docs = BashOperator( task_id="dbt_docs_generate", bash_command=f""" cd {DBT_PROJECT_DIR} && \ dbt docs generate --profiles-dir {DBT_PROFILES_DIR} """, ) dbt_run >> dbt_test >> dbt_docs # Upload to S3 upload_to_s3 = PythonOperator( task_id="upload_artifacts_to_s3", python_callable=upload_artifacts_to_s3, provide_context=True, ) # DAG Dependencies dbt_tasks >> upload_to_s3 ``` ### 2.3 Verify DAG Deployment ```bash theme={null} # Check DAG is visible in Airflow airflow dags list | grep dbt # Trigger manual run airflow dags trigger dbt_with_collate # Check S3 after DAG completes aws s3 ls s3://your-company-dbt-artifacts/dbt-artifacts/ ``` **Expected S3 output**: ``` 2026-02-10 10:30:00 5242880 manifest.json 2026-02-10 10:30:01 1048576 catalog.json 2026-02-10 10:30:01 102400 run_results.json ``` ## Step 3: Configure Collate ### Configuration 1. In the left navigation menu, select **Connections** > **Database Services**. 2. Click the database service you want to configure (for example, "production-snowflake"). 3. Go to the **Agents** tab. 4. Click **Add Agent**. 5. Select **DBT** from the dropdown. **Configure dbt Source (S3)**: | Field | Value | Notes | | - | - | - | | **dbt Configuration Source** | `S3` | Select from dropdown | | **S3 Bucket Name** | `your-company-dbt-artifacts` | Your bucket name | | **S3 Object Prefix** | `dbt-artifacts` | Folder path (no leading `/`) | | **AWS Region** | `us-east-1` | Your region | **AWS Credentials (choose one)**: **Option A: Using Access Keys** | Field | Value | | - | - | | **AWS Access Key ID** | `AKIA...` | | **AWS Secret Access Key** | `wJalrXUtn...` | **Option B: Using IAM Role** (if Collate runs on AWS) | Field | Value | | - | - | | **AWS Access Key ID** | *Leave empty* | | **AWS Secret Access Key** | *Leave empty* | **Configure dbt Options**: | Field | Recommended Value | | - | - | | **Update Descriptions** | `Enabled` | | **Update Owners** | `Enabled` | | **Include Tags** | `Enabled` | | **Classification Name** | `dbtTags` | **Test & Deploy**: 1. Click **Test Connection** 2. If successful, click **Deploy** 3. Click **Run** to trigger immediately ## Verification After running the full pipeline, verify: | Check | How to Verify | Expected Result | | - | - | - | | **S3 artifacts exist** | `aws s3 ls s3://bucket/dbt-artifacts/` | manifest.json, catalog.json listed | | **Ingestion completed** | Collate UI > Service > Agents tab | Green status, no errors | | **Lineage appears** | Click on a dbt model > Lineage tab | Upstream/downstream connections | | **Descriptions synced** | Click on a table > Schema tab | Column descriptions visible | | **Tags appear** | Click on a table > Tags section | dbt tags shown | ## Troubleshooting | Issue | Symptom | Cause | Solution | | - | - | - | - | | **Access Denied** | "403 Forbidden" error | IAM permissions insufficient | Verify IAM policy has `s3:GetObject` and `s3:ListBucket` | | **Manifest not found** | "dbtManifestFilePath not found" | S3 path incorrect | Check `dbtObjectPrefix` matches your S3 structure | | **No lineage** | Tables exist but no lineage | Database metadata not ingested first | Run database metadata ingestion before dbt ingestion | | **Stale data** | Old lineage/descriptions | Old artifacts in S3 | Verify dbt DAG uploads fresh artifacts | | **Missing columns** | No column descriptions | Missing catalog.json | Ensure `dbt docs generate` runs and uploads | ## Next Steps * [Configure dbt Workflow](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) * [Auto Ingest dbt Core](/ai-2-0/connectors/database/dbt/auto-ingest-dbt-core) * [dbt Troubleshooting](/ai-2-0/connectors/database/dbt/dbt-troubleshooting) > [!NOTE] > > **Note**: See other storage options: [GCS](/ai-2-0/connectors/database/dbt/storage-gcs-guide) | [Azure](/ai-2-0/connectors/database/dbt/storage-azure-guide) | [HTTP](/ai-2-0/connectors/database/dbt/storage-http-guide) | [Local](/ai-2-0/connectors/database/dbt/storage-local-guide) | [dbt Cloud](/ai-2-0/connectors/database/dbt/dbt-cloud-api-guide) # Database Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/database/index Discover Collate's database connectors to seamlessly integrate MySQL, PostgreSQL, Snowflake, and 50+ data sources for metadata management. # Database Services This is the supported list of connectors for Database Services: > [card] [ADLS Datalake](/ai-2-0/connectors/database/adls-datalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Athena](/ai-2-0/connectors/database/athena) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [AzureSQL](/ai-2-0/connectors/database/azuresql) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [BigQuery](/ai-2-0/connectors/database/bigquery) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [BigTable](/ai-2-0/connectors/database/bigtable) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [BurstIQ](/ai-2-0/connectors/database/burstiq) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Cassandra](/ai-2-0/connectors/database/cassandra) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Cockroach](/ai-2-0/connectors/database/cockroach) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Clickhouse](/ai-2-0/connectors/database/clickhouse) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [ClickZetta](/ai-2-0/connectors/database/clickzetta) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Couchbase](/ai-2-0/connectors/database/couchbase) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Databricks](/ai-2-0/connectors/database/databricks) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [DB2](/ai-2-0/connectors/database/db2) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [dbt](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Delta Lake](/ai-2-0/connectors/database/deltalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Domo](/ai-2-0/connectors/database/domo-database) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Doris](/ai-2-0/connectors/database/doris) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Dremio](/ai-2-0/connectors/database/dremio) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Druid](/ai-2-0/connectors/database/druid) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [DynamoDB](/ai-2-0/connectors/database/dynamodb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Epic](/ai-2-0/connectors/database/epic) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Exasol](/ai-2-0/connectors/database/exasol) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [GCS Datalake](/ai-2-0/connectors/database/gcs-datalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Glue](/ai-2-0/connectors/database/glue) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Greenplum](/ai-2-0/connectors/database/greenplum) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Hive](/ai-2-0/connectors/database/hive) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Impala](/ai-2-0/connectors/database/impala) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Informix](/ai-2-0/connectors/database/informix) > > BETA > [card] [IOMETE](/ai-2-0/connectors/database/iomete) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [MariaDB](/ai-2-0/connectors/database/mariadb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Microsoft Access](/ai-2-0/connectors/database/microsoftaccess) > > BETA > [card] [Microsoft Fabric](/ai-2-0/connectors/database/microsoftfabric) > > PROD > [card] [MongoDB](/ai-2-0/connectors/database/mongodb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [MSSQL](/ai-2-0/connectors/database/mssql) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [MySQL](/ai-2-0/connectors/database/mysql) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Oracle](/ai-2-0/connectors/database/oracle) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [PinotDB](/ai-2-0/connectors/database/pinotdb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [PostgreSQL](/ai-2-0/connectors/database/postgres) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Presto](/ai-2-0/connectors/database/presto) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [QuestDB](/ai-2-0/connectors/database/questdb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Redshift](/ai-2-0/connectors/database/redshift) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [S3 Datalake](/ai-2-0/connectors/database/s3-datalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Salesforce](/ai-2-0/connectors/database/salesforce) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Salesforce Data 360](/ai-2-0/connectors/database/data360) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [SAP ERP](/ai-2-0/connectors/database/sap-erp) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SAP HANA](/ai-2-0/connectors/database/sap-hana) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SAP BW/4HANA](/ai-2-0/connectors/database/sapbw4hana) > > BETA > [card] [SAP SuccessFactors](/ai-2-0/connectors/database/sap-successfactors) > > BETA > [card] [SAS](/ai-2-0/connectors/database/sas) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [ServiceNow](/ai-2-0/connectors/database/servicenow) > > BETA > [card] [SingleStore](/ai-2-0/connectors/database/singlestore) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Snowflake](/ai-2-0/connectors/database/snowflake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SQLite](/ai-2-0/connectors/database/sqlite) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SSAS](/ai-2-0/connectors/database/ssas) > > BETA > [card] [StarRocks](/ai-2-0/connectors/database/starrocks) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Synapse](/ai-2-0/connectors/database/synapse) > > PROD > [card] [Teradata](/ai-2-0/connectors/database/teradata) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [TimescaleDB](/ai-2-0/connectors/database/timescale) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Trino](/ai-2-0/connectors/database/trino) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Unity Catalog](/ai-2-0/connectors/database/unity-catalog) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Vertica](/ai-2-0/connectors/database/vertica) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD If you have a request for a new connector, don't hesitate to reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # Connectors | Integration Doc Source: https://docs.getcollate.io/ai-2-0/connectors/index Explore Collate's comprehensive connector library to integrate with databases, dashboards, pipelines, and ML platforms. Easy setup guides included. # Connectors Search
  • PROD Production-ready, fully supported connector
  • BETA Beta connector – may have limitations or missing features
  • ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) Also available on OpenMetadata (open-source)
## API > [card] [REST](/ai-2-0/connectors/api/rest) > > PROD > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) ## Database > [card] [ADLS Datalake](/ai-2-0/connectors/database/adls-datalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Athena](/ai-2-0/connectors/database/athena) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [AzureSQL](/ai-2-0/connectors/database/azuresql) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [BigQuery](/ai-2-0/connectors/database/bigquery) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [BigTable](/ai-2-0/connectors/database/bigtable) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [BurstIQ](/ai-2-0/connectors/database/burstiq) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Cassandra](/ai-2-0/connectors/database/cassandra) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Cockroach](/ai-2-0/connectors/database/cockroach) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Clickhouse](/ai-2-0/connectors/database/clickhouse) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [ClickZetta](/ai-2-0/connectors/database/clickzetta) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Couchbase](/ai-2-0/connectors/database/couchbase) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Databricks](/ai-2-0/connectors/database/databricks) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [DB2](/ai-2-0/connectors/database/db2) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [dbt](/ai-2-0/connectors/database/dbt/configure-dbt-workflow) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Delta Lake](/ai-2-0/connectors/database/deltalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Domo](/ai-2-0/connectors/database/domo-database) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Doris](/ai-2-0/connectors/database/doris) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Dremio](/ai-2-0/connectors/database/dremio) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Druid](/ai-2-0/connectors/database/druid) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [DynamoDB](/ai-2-0/connectors/database/dynamodb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Epic](/ai-2-0/connectors/database/epic) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Exasol](/ai-2-0/connectors/database/exasol) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [GCS Datalake](/ai-2-0/connectors/database/gcs-datalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Glue](/ai-2-0/connectors/database/glue) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Greenplum](/ai-2-0/connectors/database/greenplum) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Hive](/ai-2-0/connectors/database/hive) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Impala](/ai-2-0/connectors/database/impala) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Informix](/ai-2-0/connectors/database/informix) > > BETA > [card] [IOMETE](/ai-2-0/connectors/database/iomete) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [MariaDB](/ai-2-0/connectors/database/mariadb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Microsoft Access](/ai-2-0/connectors/database/microsoftaccess) > > BETA > [card] [Microsoft Fabric](/ai-2-0/connectors/database/microsoftfabric) > > PROD > [card] [MongoDB](/ai-2-0/connectors/database/mongodb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [MSSQL](/ai-2-0/connectors/database/mssql) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [MySQL](/ai-2-0/connectors/database/mysql) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Oracle](/ai-2-0/connectors/database/oracle) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [PinotDB](/ai-2-0/connectors/database/pinotdb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [PostgreSQL](/ai-2-0/connectors/database/postgres) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Presto](/ai-2-0/connectors/database/presto) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [QuestDB](/ai-2-0/connectors/database/questdb) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Redshift](/ai-2-0/connectors/database/redshift) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [S3 Datalake](/ai-2-0/connectors/database/s3-datalake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Salesforce](/ai-2-0/connectors/database/salesforce) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Salesforce Data 360](/ai-2-0/connectors/database/data360) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [SAP ERP](/ai-2-0/connectors/database/sap-erp) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SAP HANA](/ai-2-0/connectors/database/sap-hana) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SAP BW/4HANA](/ai-2-0/connectors/database/sapbw4hana) > > BETA > [card] [SAP SuccessFactors](/ai-2-0/connectors/database/sap-successfactors) > > BETA > [card] [SAS](/ai-2-0/connectors/database/sas) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [ServiceNow](/ai-2-0/connectors/database/servicenow) > > BETA > [card] [SingleStore](/ai-2-0/connectors/database/singlestore) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Snowflake](/ai-2-0/connectors/database/snowflake) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SQLite](/ai-2-0/connectors/database/sqlite) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SSAS](/ai-2-0/connectors/database/ssas) > > BETA > [card] [StarRocks](/ai-2-0/connectors/database/starrocks) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Synapse](/ai-2-0/connectors/database/synapse) > > PROD > [card] [Teradata](/ai-2-0/connectors/database/teradata) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [TimescaleDB](/ai-2-0/connectors/database/timescale) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Trino](/ai-2-0/connectors/database/trino) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Unity Catalog](/ai-2-0/connectors/database/unity-catalog) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Vertica](/ai-2-0/connectors/database/vertica) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD ## Dashboard > [card] [Domo](/ai-2-0/connectors/dashboard/domo-dashboard) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Grafana](/ai-2-0/connectors/dashboard/grafana) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Hex](/ai-2-0/connectors/dashboard/hex) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Lightdash](/ai-2-0/connectors/dashboard/lightdash) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Looker](/ai-2-0/connectors/dashboard/looker) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Metabase](/ai-2-0/connectors/dashboard/metabase) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [MicroStrategy](/ai-2-0/connectors/dashboard/microstrategy) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Mode](/ai-2-0/connectors/dashboard/mode) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Omni](/ai-2-0/connectors/dashboard/omni) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [PowerBI](/ai-2-0/connectors/dashboard/powerbi) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [PowerBI Report Server](/ai-2-0/connectors/dashboard/powerbireportserver) > > PROD > [card] [Qlik Cloud](/ai-2-0/connectors/dashboard/qlikcloud) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Qlik Sense](/ai-2-0/connectors/dashboard/qliksense) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [QuickSight](/ai-2-0/connectors/dashboard/quicksight) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Redash](/ai-2-0/connectors/dashboard/redash) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Rill](/ai-2-0/connectors/dashboard/rill) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SAP S/4HANA](/ai-2-0/connectors/dashboard/saps4hana) > > BETA > [card] [Sigma](/ai-2-0/connectors/dashboard/sigma) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SSRS](/ai-2-0/connectors/dashboard/ssrs) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Superset](/ai-2-0/connectors/dashboard/superset) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Tableau](/ai-2-0/connectors/dashboard/tableau) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [ThoughtSpot](/ai-2-0/connectors/dashboard/thoughtspot) > > BETA ## Drive > [card] [Custom Drive](/ai-2-0/connectors/drive/custom-drive) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Google Drive](/ai-2-0/connectors/drive/googledrive) > > BETA > [card] [SFTP](/ai-2-0/connectors/drive/sftp) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA ## Messaging > [card] [Kafka](/ai-2-0/connectors/messaging/kafka) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Kinesis](/ai-2-0/connectors/messaging/kinesis) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [NATS JetStream](/ai-2-0/connectors/messaging/nats) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Pub/Sub](/ai-2-0/connectors/messaging/pubsub) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Redpanda](/ai-2-0/connectors/messaging/redpanda) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD ## Pipeline > [card] [Airbyte](/ai-2-0/connectors/pipeline/airbyte) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Airflow](/ai-2-0/connectors/pipeline/airflow) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Azure Data Factory](/ai-2-0/connectors/pipeline/datafactory) > > PROD > [card] [Dagster](/ai-2-0/connectors/pipeline/dagster) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Databricks](/ai-2-0/connectors/pipeline/databricks-pipeline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [dbt Cloud](/ai-2-0/connectors/pipeline/dbtcloud) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Domo](/ai-2-0/connectors/pipeline/domo-pipeline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Fivetran](/ai-2-0/connectors/pipeline/fivetran) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Flink](/ai-2-0/connectors/pipeline/flink) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Glue](/ai-2-0/connectors/pipeline/glue-pipeline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [KafkaConnect](/ai-2-0/connectors/pipeline/kafkaconnect) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [KinesisFirehose](/ai-2-0/connectors/pipeline/kinesis-firehose) > > PROD > [card] [Matillion](/ai-2-0/connectors/pipeline/matillion) > > PROD > [card] [Microsoft Fabric Pipeline](/ai-2-0/connectors/pipeline/microsoftfabricpipeline) > > PROD > [card] [Mulesoft](/ai-2-0/connectors/pipeline/mulesoft) > > BETA > [card] [NiFi](/ai-2-0/connectors/pipeline/nifi) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [OpenLineage](/ai-2-0/connectors/pipeline/openlineage) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Prefect](/ai-2-0/connectors/pipeline/prefect) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Salesforce Data 360 Pipeline](/ai-2-0/connectors/pipeline/data360) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [SAP BW/4HANA Pipeline](/ai-2-0/connectors/pipeline/sapbw4hana-pipeline) > > BETA > [card] [Spline](/ai-2-0/connectors/pipeline/spline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Stitch](/ai-2-0/connectors/pipeline/stitch) > > BETA > [card] [Wherescape](/ai-2-0/connectors/pipeline/wherescape) > > PROD > [card] [Snowplow](/ai-2-0/connectors/pipeline/snowplow) > > PROD > [card] [SSIS](/ai-2-0/connectors/pipeline/ssis) > > PROD ## ML Model > [card] [MLflow](/ai-2-0/connectors/ml-model/mlflow) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Sagemaker](/ai-2-0/connectors/ml-model/sagemaker) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [VertexAI](/ai-2-0/connectors/ml-model/vertexai) > > PROD ## Storage > [card] [ADLS](/ai-2-0/connectors/storage/adls) > > PROD > [card] [GCS](/ai-2-0/connectors/storage/gcs) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [S3 Storage](/ai-2-0/connectors/storage/s3) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD ## Metadata > [card] [Alation](/ai-2-0/connectors/metadata/alation) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [AlationSink](/ai-2-0/connectors/metadata/alationsink) > > PROD > [card] [Amundsen](/ai-2-0/connectors/metadata/amundsen) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Atlas](/ai-2-0/connectors/metadata/atlas) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Collibra](/ai-2-0/connectors/metadata/collibra) > > BETA ## Security > [card] [Ranger](/ai-2-0/connectors/security/ranger) > > BETA ## Search > [card] [Elasticsearch](/ai-2-0/connectors/search/elasticsearch) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [OpenSearch](/ai-2-0/connectors/search/opensearch) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA # Before You Begin Source: https://docs.getcollate.io/ai-2-0/getting-started/before-you-begin Prerequisites and SaaS setup guide for Collate 2.0. # Before You Begin Confirm which plan you're on before setting up Collate. Your setup path depends on it. ## Account Types Your plan determines how ingestion runs, what infrastructure you need, and which features are available. ### Free Tier For small data teams. Includes up to 5 users and 500 data assets on a **multi-tenant SaaS** deployment. The recommended ingestion path is **Collate SaaS ingestion**: connectors run inside Collate's infrastructure and pull metadata from your sources over the public network. No infrastructure required on your end. Supports basic authentication only. If your data sources are not reachable from the public internet, you can optionally run a **Local Ingestion Agent** via Docker on your own laptop. This lets you push metadata from inside your network without any cloud infrastructure. > [!NOTE] > > **Note**: The Local Ingestion Agent is a lightweight self-hosted option for Free Tier users. For production-grade, infrastructure-managed ingestion, upgrade to Premium to use the full Hybrid Runner. Contact free tier [Collate support](mailto:free-tier-support@getcollate.io). ### Premium For teams and small businesses. Includes up to 25 users and 5,000 data assets on a **single-tenant** or **Hybrid SaaS** deployment with an 8-hour data refresh frequency. Ingestion can run fully within your own infrastructure using the **Hybrid Ingestion Runner**: a Kubernetes-based agent that never exposes your internal network to Collate. Includes SSO, Automated PII Classification, and APIs & SDK support. Your admin receives credentials from the Collate support team by email. ### Enterprise For complex use cases and enterprise-wide initiatives. Includes up to 50 users and 10,000 data assets (unlimited options available) with **hourly** data refresh frequency. Supports **Single-tenant SaaS**, **Hybrid SaaS**, or **Private BYOC** (bring your own cloud) deployment on AWS, GCP, or Azure. Includes all Premium features plus custom integrations, audit logs, AWS VPN add-on, and dedicated support. Contact the Collate team for credentials and deployment setup. ## What to Prepare * Your Collate workspace URL and login credentials * Connection details for at least one data source (host, port, and credentials) * **Premium and Enterprise:** Network access to deploy the Hybrid Runner on Kubernetes 1.28 or later * **Premium and Enterprise:** Your identity provider details for SSO configuration * **Enterprise (BYOC):** An AWS, GCP, or Azure environment for private cloud deployment * **Free Tier only:** Docker installed on your laptop if you plan to use the Local Ingestion Agent > [!NOTE] > > **Note**: > **Need credentials?** Contact [support@getcollate.io](mailto:support@getcollate.io) before starting setup. ## Browser Requirements Collate works in any modern browser. The following browsers are recommended for the best experience: * Google Chrome (latest) * Microsoft Edge (latest) * Mozilla Firefox (latest) * Safari (latest) ## Supported SSO Providers Collate supports single sign-on (SSO) via the following identity providers: * **SAML 2.0**: Okta, Azure AD, Google Workspace, and other SAML-compliant providers * **OIDC (OpenID Connect)**: Auth0, Keycloak, and other OIDC-compliant providers * **Google OAuth** * **Azure AD** * **Okta** * **AWS Cognito** * **Custom OIDC providers** SSO configuration is performed by an Admin in **Settings** > **Authentication**. Premium and Enterprise accounts may need to configure their SSO redirect URI to include the Collate callback URL provided by the Collate support team. ## Required Roles and Permissions Collate uses a hybrid Role-Based and Attribute-Based Access Control (RBAC + ABAC) model. Assign the base role that matches each user's primary job, then layer on additional permissions as needed. | Role | Best for | Key capabilities | | - | - | - | | **Platform Administrator** | Platform setup and administration | Full access to all data assets, services, users, teams, and settings. Can perform all create, edit, and delete operations. | | **Data Steward** | Metadata governance | Edit descriptions, tags, glossary terms, and certifications for owned or assigned assets. | | **Data Engineer** | Pipelines and ingestion | Build ingestion pipelines, deploy workflows, and manage service connections. | | **Data Analyst** | Analysis and reporting | Run analyses, build reports, and write SQL against cataloged assets. | | **AI / ML Engineer** | AI agent development | Build AI agents, author AI governance policies, and develop prompt-driven applications. | | **Compliance Officer** | Compliance and PII | Monitor compliance, tag PII, and review audit trails. | | **Read-Only Viewer** | Catalog browsing | Browse and search data assets, follow assets, and add comments. Cannot edit metadata. | An organization can have multiple Platform Administrators, each managing specific teams and departments independently. For more information about how to create custom roles, define fine-grained policies, and manage access control across your organization, see [Advanced Guide for Roles and Policies](/ai-2-0/admin-guide/roles-policies) ## Connecting to Your Collate Instance To access your Collate workspace: 1. Open your browser and navigate to your Collate workspace URL. This is typically in the format `https://.getcollate.io`. 2. Sign in with your credentials. If SSO is configured, you will be redirected to your identity provider. 3. After signing in, you will land on the **My Data** home page (or the Collate AI Chat experience in Collate 2.0). ## Select Your Setup Path All plans end at the same place: a connected data source, ingested metadata, and an invited team. Select the column that matches your setup. | Step | Collate SaaS (Free Tier) | Hybrid Runner (Premium) | Enterprise (BYOC / Hybrid) | | - | - | - | - | | 1 | — | Set up SSO | Set up SSO | | 2 | Connect a data source via SaaS | Deploy the Hybrid Runner | Set up BYOC or Hybrid deployment | | 3 | Set up Local Ingestion Agent *(optional)* | Connect a data source via Hybrid Runner | Deploy the Hybrid Runner | | 4 | Ingest metadata | Ingest metadata | Connect a data source | | 5 | Invite users and assign roles | Invite users and assign roles | Ingest metadata | | 6 | — | — | Invite users and assign roles | ## What Admins Can Do Administrators can configure and manage every area of the platform: * [**Users, Teams, and Roles**](/ai-2-0/admin-guide/teams-and-users) — Invite users, create hierarchical teams, assign roles, and define fine-grained access policies. * [**SSO & Authentication**](/ai-2-0/how-to-guides/sso) — Set up single sign-on via Okta, Azure AD, Google, Auth0, SAML, OIDC, or custom providers. * [**Services and Ingestion**](/ai-2-0/admin-guide/how-to-ingest-metadata) — Connect data sources, configure ingestion pipelines, and manage service connections. * [**Applications**](/ai-2-0/admin-guide/applications) — Run platform-wide jobs — Autopilot, Reverse Metadata, Query Runner, and others. * [**Search and Personas**](/ai-2-0/admin-guide/search-configuration-settings) — Configure search indexing, tune relevance settings, and customize persona landing pages. * [**Custom Properties and Data Insights**](/ai-2-0/admin-guide/data-insights) — Extend data models with custom fields and monitor data health across sources. * [**Notifications**](/ai-2-0/how-to-guides/data-quality-observability/alerts-notifications) — Set up notification rules and alert channels for data events and pipeline activity. * [**Audit Logs**](/ai-2-0/admin-guide/audit-logs) — Review a full audit trail of user actions and platform changes (Enterprise). * [**Billing and AI Credits**](/ai-2-0/admin-guide/billing-and-ai-credits) — Monitor AI credit consumption, track plan usage, and troubleshoot blocked agent runs. ## What's Next 1. [**Ingest Your Data**](/ai-2-0/getting-started/lets-get-started/ingest-your-data): Connect your first data source using SaaS ingestion, the Hybrid Runner, or a Local Ingestion Agent. 2. [**Configure Metadata Ingestion**](/ai-2-0/getting-started/lets-get-started/ingest-metadata): Set up ingestion workflows to pull schemas, lineage, and usage from your connected sources. 3. [**Invite Users**](/ai-2-0/getting-started/lets-get-started/invite-users): Add your team, assign roles, and configure access so everyone can start collaborating on data. 4. [**Explore Features**](/ai-2-0/getting-started/lets-get-started/explore-features): Discover data discovery, lineage, quality, governance, and AI features across the platform. # Get Started Source: https://docs.getcollate.io/ai-2-0/getting-started/index Everything you need to get up and running with Collate 2.0. # Get Started Everything you need to get up and running with Collate — from setup to your first data exploration. ## Start Here > [card] [Overview](/ai-2-0/getting-started/overview) > > What Collate is, how the platform is organized, and the key concepts every user should know. > [card] [Before You Begin](/ai-2-0/getting-started/before-you-begin) > > Prerequisites and SaaS setup guide to prepare your environment. ## Let's Get Started > [card] [Step 1 – Ingest Your Data](/ai-2-0/getting-started/lets-get-started/ingest-your-data) > > Choose your ingestion method — Collate SaaS, Hybrid Runner, or Local Agent. > [card] [Step 2 – Configure Metadata Ingestion](/ai-2-0/getting-started/lets-get-started/ingest-metadata) > > Run your first metadata ingestion to populate the catalog with assets and lineage. > [card] [Step 3 – Invite Users](/ai-2-0/getting-started/lets-get-started/invite-users) > > Add team members, assign roles, and organise users into teams. > [card] [Step 4 – Explore Features](/ai-2-0/getting-started/lets-get-started/explore-features) > > A guided tour of Collate 2.0's core capabilities — AI, discovery, governance, and more. ## Platform > [card] [Home Dashboard](/ai-2-0/getting-started/platform/home-dashboard) > > Platform Health, Services, Action Required, Pending Approvals, and adoption metrics. > [card] [Collate Desktop](/ai-2-0/getting-started/platform/collate-desktop) > > Native Mac and Windows app with Collate AI Chat and full catalog access. # Explore Features Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/explore-features A guided tour of Collate 2.0's core capabilities — from AI-powered discovery to governance automation. # Explore Features Here's a quick map of what Collate 2.0 can do and where to find it. Each section below maps to a section in your sidebar. ## Collate AI > [card] [Collate AI Chat](/ai-2-0/collate-ai/collate-ai-chat) > > Chat with your data catalog — ask questions about tables, pipelines, lineage, and ownership in plain language. > [card] [AI Analytics](/ai-2-0/collate-ai/ai-analytics) > > Generate AI-powered charts and dashboards from your metadata. Add Collate AI Chat charts directly to dashboards. > [card] [AI Automations](/ai-2-0/collate-ai/ai-automations) > > Automate metadata workflows — auto-tagging, ownership assignment, classification, and governance triggers. > [card] [AI Studio](/ai-2-0/collate-ai/ai-studio) > > Build, configure, and deploy AI agents and personas to automate metadata tasks and governance reviews. ## Context Center > [card] [Context Center](/ai-2-0/collate-ai/context-center) > > Create and manage articles, documents, and persistent memories alongside your data assets. ## Explore > [card] [Search & Discovery](/ai-2-0/how-to-guides/data-discovery) > > Full-text search across all your data assets with filters for type, tier, tag, owner, and service. > [card] [Lineage](/ai-2-0/how-to-guides/data-lineage) > > Visual end-to-end lineage across pipelines, databases, dashboards, and ML models. > [card] [Collaboration](/ai-2-0/how-to-guides/data-collaboration) > > Conversations, announcements, tasks, and @mentions directly on data assets. ## Connections > [card] [Connect a Data Source](/ai-2-0/connectors) > > 50+ connectors for databases, dashboards, pipelines, ML models, and more. > [card] [Ingestion Runners](/ai-2-0/getting-started/lets-get-started/ingest-your-data) > > Deploy the Hybrid Runner or Local Agent to extract metadata from within your environment. ## Observability > [card] [Data Quality](/ai-2-0/how-to-guides/data-quality-observability) > > Define and run data quality tests. Monitor results and set up alerts for failures. > [card] [Incidents](/ai-2-0/how-to-guides/data-quality-observability/incident-manager) > > Track, triage, and resolve data quality incidents with assigned owners and resolution workflows. > [card] [Alerts](/ai-2-0/how-to-guides/data-quality-observability/alerts-notifications) > > Configure notifications for pipeline failures, data quality issues, and schema changes. ## Data Marketplace > [card] [Data Marketplace](/ai-2-0/how-to-guides/data-marketplace) > > Browse and request access to curated data products across your organization. ## Governance > [card] [Glossary](/ai-2-0/how-to-guides/data-governance/glossary) > > Define business terms and link them to columns and tables for consistent language across your org. > [card] [Classification](/ai-2-0/how-to-guides/data-governance/classification) > > Tag sensitive data automatically using AI-powered classification and custom recognizers. > [card] [Workflows](/ai-2-0/how-to-guides/data-governance/workflows) > > Automate governance tasks — certification, access requests, ownership assignment, and policy enforcement. > [card] [Roles & Policies](/ai-2-0/admin-guide/roles-policies) > > Define fine-grained access policies and assign them to roles and teams. ## SQL Studio > [card] [SQL Studio](/ai-2-0/how-to-guides/sql-studio) > > Run and save SQL queries against your connected data sources directly from Collate. # Configure Metadata Ingestion Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/ingest-metadata Run your first metadata ingestion in Collate to populate the catalog with assets, schemas, lineage, and ownership from your connected data sources. # Configure Metadata Ingestion After a connector is added, set up a metadata ingestion agent to bring data into Collate automatically. To configure the Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following: * **Name**: Enter a unique recognizable **Name** for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. * **Advanced Config**: Optional connector-specific settings such as Include Views and Extract JSON Schema. 5. On the Schedule Interval page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. After ingestion completes, to view your added data assets in the Collate platform, click **Explore** in the left navigation menu. Next [Step 3 - Invite Users](/ai-2-0/getting-started/lets-get-started/invite-users). # Collate SaaS Setup Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/ingest-your-data/collate-saas Connect a database service in Collate SaaS, allow IP access, test the connection, and run your first metadata extraction. ## Collate SaaS Collate SaaS is the simplest way to connect a data source. Collate connects directly to your data source from its cloud — no local agent or additional infrastructure required. > [!TIP] > > **Tip**: > **When to use this**: Use Collate SaaS when your data source is accessible from the internet or you're able to allowlist an IP address in your data source's firewall settings. ### Setting Up a Database Service To set up a database service, follow these steps: 1. Log in to the Collate platform. 2. In the left navigation bar, select **Connections** and click **Add New Service**. ![](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) 3. On the **Add New Service** page, select the service type and click the connector you want to add. ![Selecting Service Type](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/select-service.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=1a3cbacee29ff65c5a379ec564dc177e) 4. Enter a unique **Service Name**. Optionally, add a description. 5. In the **Ingestion Runner** drop-down, select **Collate SaaS Agent**. ![Selecting Ingestion Runner](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/select-ingestion-runner.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=8c6e5ff4e0a1ef5f3f95546de4101047) 6. Enter the **Connection Details**. > [!NOTE] > > **Note**: The connection details vary based on the selected service type and connector. For more information about configuring each connector, see [Connector](/ai-2-0/connectors). 7. In the Connection Details, you will see the IP Address unique to your cluster. Add this IP to your data source's allowlist so Collate can access your data source. > [!NOTE] > > **Note**: This step applies to Collate SaaS only. If you're using the Hybrid Runner, no IP allowlist is needed — the runner connects from inside your own infrastructure. ![Collate SaaS IP](https://mintcdn.com/collatedocs/x9hR_QWXd39IXESB/public/images/getting-started/collate-saas-ip.png?fit=max\&auto=format\&n=x9hR_QWXd39IXESB\&q=85\&s=c32fa6208d1f773c28a4fb6f06ee31e5) 8. Click **Test Connection**. The test confirms the service is reachable and the credentials are valid. After connection test is successful, click **Next: What to Ingest**. 9. Set the filter patterns to control which assets Collate ingests from your database service. Filter patterns use regular expressions applied to asset names. 10. Click **Create & Deploy**. Collate saves the service configuration and immediately begins pulling metadata from the source. When you click **Create & Deploy** the services, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. You can view its status and run history from the **Agents** tab on the service detail page. To manually configure the metadata agent and schedule the ingestion, see [Step 2 - Configure Metadata Agent and Schedule Ingestion](/ai-2-0/getting-started/lets-get-started/ingest-metadata). # Hybrid Ingestion Runner Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner Deploy and configure the Hybrid Ingestion Runner to securely execute metadata workflows inside your own cloud infrastructure using AWS, Azure, or GCP. # Hybrid Ingestion Runner The Hybrid Ingestion Runner lets Collate trigger and manage ingestion workflows inside your own cloud infrastructure. Your Collate SaaS instance stays hosted on Collate's cloud, while workflows run in your private environment. Collate never stores or accesses your secrets directly — only the runner retrieves them at runtime. **Before you start**: Contact [Collate Support](mailto:support@getcollate.io) to have the Hybrid Runner installed in your infrastructure. Your DevOps team handles the initial Kubernetes deployment. ## Prerequisites * Kubernetes cluster running version 1.28 or later * Helm and kubectl installed * AWS credentials provided by Collate for pulling Docker images from ECR * Secrets manager configured in your cloud (AWS, Azure, or GCP). See [Manage Secrets](#manage-secrets). ## Set Up Hybrid Ingestion Runner Follow these steps to deploy, validate, and connect your Hybrid Runner to a data source. ### Step 1: Get Collate Authentication Token The Hybrid Runner authenticates to the Collate API using a JWT token from the ingestion bot. To obtain a JSON Web Token (JWT), follow these steps: 1. Log in to the Collate platform as an administrator. 2. Click the **Profile** icon and navigate to **Settings** > **Bots**. ![Access Bots](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/access-bot.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=3cf0c1da85a22beb4ea6332d8f85f8a1) 3. Click **Add Bot**. ![Add Bot](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/add-bot.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=a01e703bfacd28084d1a5f70ed58f0b7) 4. Fill in the following details and click **Create**: * **Email**: The bot's login email, used as its username for authentication. * **Display Name**: The name shown for this bot throughout the Collate UI. * **Token Expiration**: How long the generated JWT stays valid before you need to regenerate it: `1 Hour`, `1`, `7`, `30`, `60`, or `90` days, or `Unlimited`. * **Allow Impersonation**: Lets this bot act on behalf of other users. Your policies control which users can be impersonated; admins and other bots are excluded by default. You can only turn this on while creating the bot, not afterward. * **Description** (optional): A description of what this bot is used for. ![Bot details](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/enter-bot-details.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=f5064be0dd281ddaa4395f14b7bd6d57) 5. In the **Bots** home page, search and select the bot you created. 6. Assign the appropriate roles. Typically **Default Bot Role** and **Ingestion Bot Role**. ![Assign Roles](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/assign-roles.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=c83f0fe582e6b820908ace709082af17) 7. Copy the generated JWT token and save it for use in step 2 below. ![JWT Token](https://mintcdn.com/collatedocs/FoWk7SLqRmOEe_Qd/public/images/getting-started/jwt-token.png?fit=max\&auto=format\&n=FoWk7SLqRmOEe_Qd\&q=85\&s=3c2f18d994bdb777cd3b0557973d5a3e) > [!NOTE] > > **Note**: This token has no expiration date. Store it securely and treat it as a secret. ### Step 2: Deploy via Helm Use Helm to install the Hybrid Runner chart into your Kubernetes cluster with your authentication token and ECR credentials. 1. **Create a `values.yaml` file** Use the following minimal configuration: ```yaml theme={null} config: agentId: "aws-prod" authToken: serverHost: .getcollate.io ecrRegistryHelper: collateCredentials: values: accessKeyId: secretAccessKey: installArgoWorkflows: true ``` 2. **Install the Helm chart** ```bash theme={null} helm repo add collate-hybrid https://open-metadata.github.io/hybrid-ingestion-runner-helm-chart helm repo update helm install collate-prod collate-hybrid/hybrid-ingestion-runner \ --namespace argo-workflows --create-namespace \ --values values.yaml ``` ### Step 3: Validate the Runner Confirm the runner is live and reachable from your Collate instance before configuring any services. 1. Click the **Profile** icon and navigate to **Settings** > **Preferences** > **Ingestion Runners**. ![Ingestion Runner Preferences](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/access-ingestion-runners.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=9139ce1599614aaf54f7d6bc91905244) 2. Confirm your runner appears in the list with a status of **Active**. ![Ingestion Runner List](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/status-ingestion-runner.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=d4412a06d34ec6dc672e018d1b5008e9) If the runner shows as **Inactive**, contact [Collate support](mailto:support@getcollate.io). ### Step 4: Create a Service Connect your first data source and route its ingestion through your Hybrid Runner. To create a service, follow these steps: 1. In the left navigation bar, select **Connections** and click **Add New Service**. ![](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) 2. On the **Add New Service** page, select the service type and click the connector you want to add. ![Selecting Service Type](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/select-service.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=1a3cbacee29ff65c5a379ec564dc177e) 3. Enter a unique **Service Name**. Optionally, add a description. 4. In the **Ingestion Runner** dropdown, select your Hybrid Runner. ![Select Hybrid Runner](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/select-ingestion-runner.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=8c6e5ff4e0a1ef5f3f95546de4101047) > [!NOTE] > > **Note**: You can also select **Collate SaaS Runner** in the dropdown at any time to run a specific ingestion via Collate's cloud instead of your Hybrid Runner. 5. Fill the connection details. For any credential field that shows a hide or show icon, enter the secret reference path from your secrets store instead of the actual value. ``` secret: ``` > [!WARNING] > > **Important**: > **Important:** The secret must be stored in your secrets store before you can reference it here. See [Manage Secrets](#manage-secrets). 6. Click **Test Connection** to verify the connection is successful. After connection test is successful, click **Next: What to Ingest**. 7. Set the filter patterns to control which assets Collate ingests from your database service. Filter patterns use regular expressions applied to asset names. 8. Click **Create & Deploy**. Collate saves the service configuration and immediately begins pulling metadata from the source. When you click **Create & Deploy** the services, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. You can view its status and run history from the **Agents** tab on the service detail page. ### Step 5: Configure Metadata Agent and Schedule Ingestion To configure the metadata agent and schedule the ingestion, see [Step 2 - Configure Metadata Agent and Schedule Ingestion](/ai-2-0/getting-started/lets-get-started/ingest-metadata). ## Manage Secrets When running workflows in your hybrid environment, store sensitive credentials—like passwords or tokens—in your cloud provider's secrets manager and reference them securely in Collate via the Hybrid Runner. > [!NOTE] > > **Note**: Collate doesn't store or access your secrets directly. Only the Hybrid Runner retrieves them at runtime from your own infrastructure. The Hybrid Runner supports two approaches for secrets management. Kubernetes Secrets is the default and requires no additional configuration. ### Kubernetes Secrets (Default) The Helm chart uses native Kubernetes Secrets and automatically installs the required RBAC (Role-Based Access Control) permissions on your cluster. This works for most customers without any additional setup. **Storing a Secret** — Create a Kubernetes Secret in the `argo-workflows` namespace: ```bash theme={null} kubectl create secret generic my-db-password \ --from-literal=value='your-secret-value' ``` ### Cloud Secret Stores 1. Open your secrets manager of choice: * Amazon Web Services (AWS) Secrets Manager. See [AWS Secret Manager](https://docs.getcollate.io/how-to-guides/deployment/hybrid-runner/aws#option-2-—-aws-secrets-manager-optional). * Azure Key Vault. See [Azure Key Vault](https://docs.getcollate.io/how-to-guides/deployment/hybrid-runner/azure#option-2-—-azure-key-vault-optional). * Google Cloud Platform (GCP) Secret Manager. See [GCP Secret Manager](https://docs.getcollate.io/how-to-guides/deployment/hybrid-runner/gke#option-2-—-gcp-secret-manager-optional). 2. Store the secret value as plain text—for example, `password123`— without any formatting or encoding. The Hybrid Runner retrieves and decrypts the value at runtime. For example, in AWS Secrets Manager: select **Store a new secret** > **Other type of secret** > **Plaintext**, then paste the value as-is, without quotes, JSON, or other formatting. ![Create a secret in AWS Secrets Manager](https://mintcdn.com/collatedocs/x9hR_QWXd39IXESB/public/images/getting-started/hybrid-create-secret.png?fit=max\&auto=format\&n=x9hR_QWXd39IXESB\&q=85\&s=f59066763c2df47515ac004f12d0569c) #### AWS (EKS Pod Identity or IRSA) Configure Pod Identity via EKS Pod Identity or IRSA to assume an IAM role. The `serviceAccount` name is `ingestion` by default. **Required IAM permissions**: * `secretsmanager:GetSecretValue` * `secretsmanager:DescribeSecret` * `secretsmanager:ListSecrets` For IRSA, add the following to your `values.yaml`: ```yaml theme={null} config: secretsManager: "managed-aws" ingestionPods: serviceAccount: annotations: eks.amazonaws.com/role-arn: arn:aws:iam:::role/ ``` #### Azure (Workload Identity) Configure Workload Identity with a User Assigned Managed Identity. The required role is **Key Vault Secrets Officer**. ```yaml theme={null} config: secretsManager: "managed-azure-kv" ingestionPods: serviceAccount: annotations: "azure.workload.identity/client-id": extraEnvs: - "AZURE_KEY_VAULT_NAME:" argoWorkflows: controller: workflowDefaults: spec: podMetadata: labels: azure.workload.identity/use: "true" ``` > [!NOTE] > > **Note**: The `argoWorkflows:` section above is only required when `installArgoWorkflows: true`. Remove it if you are using the Simple Kubernetes executor. #### GKE (GCP Secret Manager) Use [Workload Identity](https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity) to grant ingestion pods access to GCP Secret Manager without managing service account keys. The required IAM role is `roles/secretmanager.secretAccessor`. Add the following to your `values.yaml`: ```yaml theme={null} config: secretsManager: "gcp" ingestionPods: serviceAccount: annotations: iam.gke.io/gcp-service-account: @.iam.gserviceaccount.com ``` Replace `` and `` with your GCP values. You can restrict Secret Manager access to a specific path prefix, for example: `projects//secrets/collate/*`. **Storing a Secret** In the GCP Console, navigate to **Secret Manager** and select **Create Secret**. Store the raw secret value without quotes or JSON wrapping. ### Reference the Secret in Collate In the service connection form in Collate, reference the secret using the `secret:` prefix followed by the full path to your secret. ``` secret: ``` **Example:** If your secret is stored in AWS Secrets Manager at `/my/database/password`, enter the following in the password field: ``` secret:/my/database/password ``` > [!NOTE] > > **Note**: Secret references only work for masked fields—those with a hide or show icon. ## Configure Node Scheduling > [!WARNING] > > **Important**: > > **Common production issue:** If every node in your Kubernetes cluster has a `NoSchedule` taint, ingestion pods fail to schedule with a `FailedScheduling` error. This is the most frequent cause of pods stuck in `Pending` state after deploying the Hybrid Runner. Ingestion pods run as independent Kubernetes pods. If your cluster uses node taints to isolate workloads, configure tolerations and node affinity so ingestion pods schedule on the correct nodes. Configuration differs by executor type — use the section that matches your setup: * **Argo Workflows executor** (Hybrid Runner with Argo): use `ARGO_PIPELINE_TYPE_CONFIGS` * **Simple Kubernetes executor** (default, Hybrid Runner without Argo): use `SIMPLEK8S_PIPELINE_TYPE_CONFIGS` Don't mix these two environment variables. Each executor reads from its own configuration key. Setting `SIMPLEK8S_PIPELINE_TYPE_CONFIGS` when using Argo has no effect, and vice versa. The configuration value is a JSON string scoped by pipeline type: `automation`, `metadata`, `profiler`, and `lineage`. ### Argo Workflows Executor Add the following to your `values.yaml`: ```yaml theme={null} extraEnvs: - name: ARGO_PIPELINE_TYPE_CONFIGS value: >- { "automation": { "toleration": "openmetadata-hybrid-runner", "affinity": { "nodeAffinity": { "requiredDuringSchedulingIgnoredDuringExecution": { "nodeSelectorTerms": [ { "matchExpressions": [ { "key": "nodetype", "operator": "In", "values": ["openmetadata-hybrid-runner"] } ] } ] } } } }, "metadata": { "toleration": "openmetadata-hybrid-runner" }, "profiler": { "toleration": "openmetadata-hybrid-runner" }, "lineage": { "toleration": "openmetadata-hybrid-runner" } } ``` > [!NOTE] > > **Note**: `toleration` accepts a single string value. The runner creates a `dedicated=` Kubernetes toleration for all ingestion pods of that type. For full Kubernetes toleration objects (multiple taints, custom operators, or effects), use `config.ingestionPods.customConfig.workflowParams` instead. Replace `openmetadata-hybrid-runner` with the taint value used in your cluster. Check your node taints by running: ```bash theme={null} kubectl get nodes -o=custom-columns=NAME:.metadata.name,TAINTS:.spec.taints ``` ### Simple Kubernetes Executor If you're using the default Simple Kubernetes executor (no Argo Workflows), use `SIMPLEK8S_PIPELINE_TYPE_CONFIGS` instead: ```yaml theme={null} extraEnvs: - name: SIMPLEK8S_PIPELINE_TYPE_CONFIGS value: >- { "automation": { "tolerations": [ { "key": "nodetype", "operator": "Equal", "value": "openmetadata-hybrid-runner", "effect": "NoSchedule" } ], "nodeSelector": { "nodetype": "openmetadata-hybrid-runner" } } } ``` ### Supported Configuration Fields per Pipeline Type Each pipeline type entry (`automation`, `metadata`, `profiler`, `lineage`) supports the following fields: | Field | Executor | Description | | - | - | - | | `toleration` | Argo | A single taint value string. The runner creates a `dedicated=` Kubernetes toleration. For full toleration control, use `config.ingestionPods.customConfig.workflowParams`. | | `tolerations` | Simple K8s | List of Kubernetes toleration objects to allow scheduling on tainted nodes | | `affinity` | Argo | Node and pod affinity rules (`nodeAffinity`, `podAffinity`, `podAntiAffinity`) | | `nodeSelector` | Both | Key-value labels to target specific nodes | | `priorityClass` | Both | Kubernetes priority class for the pod | | `resources` | Both | CPU and memory requests and limits | ## Monitor the Runner The Hybrid Runner exposes operational metrics in Prometheus-compatible format via an HTTP endpoint. These metrics provide insight into agent state, activity, and performance. **Example metric** ``` # HELP collate_hybrid_agent_connected Is the agent connected to the server? (0 = No, 1 = Yes) # TYPE collate_hybrid_agent_connected gauge collate_hybrid_agent_connected 1.0 ``` ### Configure Metrics Exposure ```yaml theme={null} metricsServerConfiguration: port: 8989 path: /metrics ``` * `port` — port on which the metrics endpoint is served (default: `8989`) * `path` — HTTP path for accessing metrics (default: `/metrics`) Both parameters support environment variable overrides for flexibility across deployment environments. ### Access Metrics Once configured, access metrics at: ``` http://:/ ``` For example, with default settings: ``` http://localhost:8989/metrics ``` ## Additional Settings ### Hosting Your Own Docker Images To use your own Docker registry instead of Collate's ECR, update the following Helm values. For the **Hybrid Runner** pod: ```yaml theme={null} image: repository: my-repo.com/my-image tag: my-tag imagePullSecrets: - name: my-credentials ``` For **ingestion pods**: ```yaml theme={null} config: ingestionPods: repository: my-repo.com/my-image tag: my-tag imagePullSecrets: my-credentials ``` > [!NOTE] > > **Note**: Update images for **both** the Hybrid Runner and ingestion pods. Updating only one will cause version mismatches. By default, the Hybrid Runner dynamically resolves ingestion pod image tags to match the Collate server version (for example, server version `2.0.5` maps to image tag `om-2.0.5-cl-2.0.5`). To manage your own tags, disable this behavior: ```yaml theme={null} extraEnvs: - name: DYNAMIC_INGESTION_VERSION_ENABLED value: 'false' ``` # Ingest Your Data Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/ingest-your-data/index Connect your first data source to Collate by configuring a connector. ## Ingestion Methods Collate supports 90+ connectors across data warehouses, databases, dashboards, pipelines, messaging services, ML models, and storage services. Custom connectors are also available via API. Choose the connection method that fits your plan and infrastructure: * **Collate SaaS Runner**: Collate connects directly to your data source from its cloud. Add the service, then allowlist the IP address shown in the connection form. No local agent or additional infrastructure required. * **Hybrid Ingestion Runner (Premium Users)**: Metadata is collected inside your own infrastructure and sent securely to Collate SaaS. Collate never accesses your underlying data directly. Set up the Hybrid Runner before adding a service. * **Local Ingestion Agent (Free Tier Users)**: Run metadata ingestion from your laptop when direct SaaS connectivity isn't possible. No Kubernetes or server infrastructure required — just Docker. > [card] [Collate SaaS](/ai-2-0/getting-started/lets-get-started/ingest-your-data/collate-saas) > > Connect data sources directly from Collate's cloud with no local agent or infrastructure required. > [card] [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner) > > Run ingestion workflows inside your own infrastructure. Available for Premium users. > [card] [Local Ingestion Agent](/ai-2-0/getting-started/lets-get-started/ingest-your-data/local-ingestion-agent) > > Run metadata ingestion from your laptop using Docker. Available for Free Tier users. # Local Ingestion Agent Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/ingest-your-data/local-ingestion-agent Deploy the Collate Local Ingestion Agent to run metadata ingestion inside your own infrastructure, without exposing your network to external connections. # Local Ingestion Agent [https://drive.google.com/file/d/16-2l9EYBE9DjlHepPKTpVFvashMy1buu/preview](https://drive.google.com/file/d/16-2l9EYBE9DjlHepPKTpVFvashMy1buu/preview) The Local Ingestion Agent lets you securely push metadata from your own infrastructure into Collate — without exposing your internal systems or relying on additional server infrastructure. It's the right choice when you need to run connectors on-premises and want to be up and running from your local system. Unlike the Hybrid Ingestion Runner, the Local Ingestion Agent doesn't require a Kubernetes cluster or any cloud infrastructure — just Docker. With the Local Ingestion Agent, you can: * Set up ingestion workflows from a UI. * Run end-to-end metadata extraction workflows: metadata, profiling, lineage, usage, dbt, auto-classification, and data quality. > [!NOTE] > > **Note**: > **Before you start**: Contact [Collate support](mailto:free-tier-support@getcollate.io) to get your Docker credentials before setting up the Local Ingestion Agent. ## Setting Up the Collate Ingestion Agent Follow these steps to install, connect, and configure the Local Ingestion Agent on your machine. ### Step 1: Install and Start the Agent You need Docker installed on your laptop. Run the following commands: 1. Authenticate with the Docker registry using the credentials provided by Collate support. For example, the following command shows the registry URL specific to AWS provided by Collate: ```shell theme={null} docker login --username AWS -p eyJwY... 118146679784.dkr.ecr.eu-west-1.amazonaws.com ``` 2. Run the Docker image to start the Local Agent: ```shell theme={null} docker run -it --rm -p 8001:8001 -e CL_BASE_DIR='/collate/collate-local-webserver/' -v ./.collate:/collate/collate-local-webserver/.collate 118146679784.dkr.ecr.eu-west-1.amazonaws.com/collate-customers-local-ingestion: ``` > [!NOTE] > > **Note**: Replace `` with your Collate instance version. For example, `2.0.5`. ### Step 2: Connect the Agent to Collate Generate a JWT token from your Collate instance and use it to authenticate the agent. 1. In your web browser, navigate to `http://localhost:8001` to open the local agent UI. 2. Enter your Collate platform URL (for example, `https://.getcollate.io/api`). 3. In your Collate instance, navigate to **Settings** > **Bots**. ![Access Bots](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/access-bot.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=3cf0c1da85a22beb4ea6332d8f85f8a1) 4. Click **Add Bot**. ![Add Bot](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/add-bot.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=a01e703bfacd28084d1a5f70ed58f0b7) 5. Fill in the following details and click **Create**: * **Email**: The bot's login email, used as its username for authentication. * **Display Name**: The name shown for this bot throughout the Collate UI. * **Token Expiration**: How long the generated JWT stays valid before you need to regenerate it: `1 Hour`, `1`, `7`, `30`, `60`, or `90` days, or `Unlimited`. * **Allow Impersonation**: Lets this bot act on behalf of other users. Your policies control which users can be impersonated; admins and other bots are excluded by default. You can only turn this on while creating the bot, not afterward. * **Description** (optional): A description of what this bot is used for. ![Bot details](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/enter-bot-details.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=f5064be0dd281ddaa4395f14b7bd6d57) 6. In the **Bots** home page, search and select the bot you created. 7. Assign the appropriate roles. Typically **Default Bot Role** and **Ingestion Bot Role**. ![Assign Roles](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/assign-roles.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=c83f0fe582e6b820908ace709082af17) 8. Copy the generated JWT token and save it for use in step 2 below. ![JWT Token](https://mintcdn.com/collatedocs/FoWk7SLqRmOEe_Qd/public/images/getting-started/jwt-token.png?fit=max\&auto=format\&n=FoWk7SLqRmOEe_Qd\&q=85\&s=3c2f18d994bdb777cd3b0557973d5a3e) ### Step 3: Add a New Service Add a data service in the Local Collate UI and verify the connection before running ingestion. 1. From the left navigation bar, navigate to the **Connections** and click **Add New Service**. 2. On the **Add New Service** page, select the service type and click the connector you want to add. 3. Enter a unique service name. Optionally, add a description. 4. Fill the connection details. 5. Click **Test Connection** to verify the connection is successful. ### Step 4: Verify Ingested Data Confirm that metadata from your data source is now visible in the Collate platform. 1. Return to the Collate platform at `https://.getcollate.io` and refresh the database services page. Your new service will appear there now. 2. Verify that the ingested metadata, including schemas, tables, and column details, is available. ### Step 5: Configure Metadata Agent and Schedule Ingestion To configure the metadata agent and schedule the ingestion, see [Step 2 - Configure Metadata Agent and Schedule Ingestion](/ai-2-0/getting-started/lets-get-started/ingest-metadata). ## Troubleshooting ### Cannot connect to a data source on Windows when running via WSL/Docker If the Local Ingestion Agent is running inside Docker on WSL and your data source (for example, SQL Server) is installed on the Windows host, using `localhost` or `127.0.0.1` as the hostname will fail — inside a Docker container these addresses refer to the container itself, not the Windows machine. Use `host.docker.internal` as the hostname instead. ### Connection tested successfully but not appearing in the services list If you clicked **Test Connection** and it passed but the service does not appear in the connection list, the service was likely tested from the form without being saved. **Fix**: Go back to **Connections**, click **Add New Service**, complete all the steps, and make sure to save the service before testing the connection. ## Additional Features The Collate Ingestion Agent supports various ingestion workflows, letting you: * **Generate YAML Configurations** — Download YAML files for external scheduling. * **Manage Ingestion Types** — Run metadata, profiling, lineage, usage, and other workflows as needed. * **Monitor Progress** — View logs and monitor real-time ingestion activity. # Invite Users Source: https://docs.getcollate.io/ai-2-0/getting-started/lets-get-started/invite-users Add team members to Collate 2.0, assign roles, and organize users into teams. # Invite Users Collate 2.0 is built for collaboration. Invite your data engineers, analysts, and governance leads so they can discover data, review lineage, and participate in governance workflows. ## Invite a user 1. Select the **Profile** icon and navigate to **Settings** > **Team & User Management** > **Users**. ![Access Users](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/admin-guide/team-users/acces-users.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=c8c20495381828bfa2053c312085a915) 2. Click **Add User**. ![Add user](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/admin-guide/team-users/add-users.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=55b0b1cd20a1c571837754898813553a) 3. Fill in the following details and click **Create**: * **Email** (required) — The user's email address. * **Display Name** (optional) — The name shown in the Collate UI. * **Description** (optional) — Add context about the user's role or responsibilities. * **Teams** (optional) — Search and select one or more teams to assign the user to. * **Roles** (optional) — Select one or more roles to assign directly to the user. * **Admin** (optional) — Toggle on to grant the user full admin access. ![Create User form](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/admin-guide/team-users/users-details.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=537826fddf7b299e11859fdbef39f8a6) > [!TIP] > > **Tip**: Users inherit the roles assigned to their teams. Additional roles can be assigned directly to a user when they need permissions beyond what their team provides. > [!NOTE] > > **Note**: If you were invited by email, you need to finish setting up your account before you can log in. If your company uses SSO (single sign-on), your account is created automatically the first time you log in. ## Roles Collate uses role-based access control (RBAC). The built-in roles are: | Role | What they can do | | - | - | | **Admin** | Full access — manage users, settings, policies, and all data assets | | **Data Steward** | Manage glossary, classification, governance workflows, and tags | | **Data Consumer** | Browse, search, and follow data assets; raise access requests | You can also create custom roles with fine-grained permissions under **Settings** > **Roles & Policies**. ## Teams Teams let you group users by function such as Data Engineering, Analytics, and Finance. Teams can own data assets, be assigned governance tasks, and receive notifications. 1. Select the **Profile** icon and navigate to **Settings** > **Team & User Management** > **Teams**. ![Access Teams](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/admin-guide/team-users/access-teams.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=b7a97fca4f6ec040873fa31fbe96fd70) 2. Click **Add Team**. ![select-team-type](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/admin-guide/team-users/add-team.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=6daff414c4f9c34f3c4d44e39f4bd9c6) 3. In the **Add Team** panel, fill the following details and click **Save**: * **Name** (required) — A unique identifier for the team. * **Display Name** (required) — The human-readable name shown in the Collate UI. * **Email** (optional) — A contact email address for the team. * **Team Type** — Select the type that matches this team's role in your hierarchy. The available options depend on the parent team's type. See [Team Structure in Collate](/ai-2-0/admin-guide/teams-and-users/team-structure-openmetadata). * **Public Team** — Toggle on to allow anyone in the organization to join, view data, and collaborate without an explicit invitation. * **Description** (optional) — Add context about the team's purpose. ![Add Team form](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/admin-guide/team-users/team-details.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=e11129b48617ab8fdbbc0d88e2dce009) > [!WARNING] > > **Important**: > > * The team type cannot be changed after a **Group** team is created. > * Only teams of type **Group** can own data assets. ## Bulk invite via SSO If your organisation uses an identity provider (Okta, Azure AD, Google Workspace, etc.), you can configure SSO and SCIM to provision users automatically. See [SSO](/ai-2-0/how-to-guides/sso) for setup instructions. # Collate Overview Source: https://docs.getcollate.io/ai-2-0/getting-started/overview What Collate is, how the platform is organized, and the key concepts — data assets, catalog, ingestion, AI agents, and personas — every user should know. # Collate Collate is your organization's intelligent data platform — a single place where everyone, from analysts to executives, can find, understand, trust, and act on data. Think of it as a smart catalog that knows everything about your company's data: where it lives, what it means, how reliable it is, and who's responsible for it. Then layer on an AI assistant that can answer your questions, build charts, write documentation, and automate repetitive tasks — all in plain English. ## The Problem Collate Solves Every organization has the same pain: * Data is scattered across dozens of systems — databases, dashboards, spreadsheets, pipelines. * Nobody knows which dataset is the "right" one to use. * Getting a simple answer requires a data analyst, a multi-day wait, and three rounds of back-and-forth. * Governance work — tagging assets, writing documentation, running quality checks — is manual and never quite catches up. Collate fixes this. It connects to all your data sources, builds a living map of your data, and puts AI to work so your team spends less time hunting and more time deciding. ## What You Can Do ### Find Any Data, Instantly Search across every database, dashboard, pipeline, and report in one place. Every asset shows you who owns it, how reliable it is, where it came from, and who's using it. No more asking around. See [Data Discovery](/ai-2-0/how-to-guides/data-discovery). ### Ask Questions and Get Answers — No SQL Required Just type your question in plain English. Collate AI finds the right data, runs the analysis, and returns a chart or summary — complete with the logic behind it so you can trust the result. See [AI Analytics](/ai-2-0/collate-ai/ai-analytics). ### Put Governance on Autopilot AI agents run in the background to write table descriptions, classify sensitive data, assign business-criticality tiers, and flag quality issues. Your team reviews and approves — no manual cataloging marathon. See [AI Automations](/ai-2-0/collate-ai/ai-automations). ### Build AI Assistants for Your Team Use AI Studio to create custom AI agents tailored to your workflows — a compliance auditor, a PII reviewer, a documentation writer. No coding required. See [AI Studio](/ai-2-0/collate-ai/ai-studio). ### Connect Your AI Tools to Your Catalog If your team uses AI tools like Claude, Cursor, or VS Code with AI features, the Collate MCP Server lets those tools read directly from your data catalog — giving external AI assistants the context they need for accurate answers. See [MCP Server](/ai-2-0/how-to-guides/mcp). ## Key Concepts ### Data Assets Everything in your data ecosystem — tables, dashboards, pipelines, ML models, topics, and containers — is a **data asset** in Collate. Each asset has an owner, tags, descriptions, lineage connections, and quality scores attached to it. ### The Catalog The catalog is Collate's living map of all your data assets. It updates automatically as ingestion runs pull fresh metadata from your connected sources. Search, browse, and filter across every source from a single place. ### Ingestion Runners Ingestion is how metadata flows into Collate. Depending on your plan: * **Collate SaaS Ingestion** — connectors run inside Collate's infrastructure and pull metadata over the public network. No setup required. * **Hybrid Runner** — a Kubernetes-based agent you deploy inside your own network. It pushes metadata to Collate without exposing your internal environment. * **Local Ingestion Agent** — a lightweight Docker-based agent for development environments and Free Tier users. ### AI Agents AI agents are purpose-built workers that run inside AI Studio to automate metadata tasks — writing descriptions, classifying sensitive data, assigning ownership, and flagging quality issues. Each agent runs against a defined scope and returns suggestions for your team to review and approve. ### Personas A persona is a role-based configuration that controls what a user sees in Collate — which navigation sections appear, what widgets show on their home page, and which features are surfaced. Admins configure personas in **Settings** > **Personas**; users can switch between any persona they are assigned. ### AI Credits AI credits are consumed when AI-powered features run — Collate AI Chat queries, agent executions, automated classification, and more. Your plan includes a shared credit pool visible in **Settings** > **Billing & AI Credits**. ## Platform Sections | Section | Purpose | | - | - | | **Collate AI** | AI Chat, AI Analytics, AI Automations, AI Studio, and Context Center | | **Explore** | Search and browse all data assets, view lineage, and collaborate | | **Connections** | 50+ connectors for databases, dashboards, pipelines, ML models, and more | | **SQL Studio** | Run and save SQL queries directly against connected data sources | | **Observability** | Data quality tests, incident tracking, and alert notifications | | **Data Marketplace** | Domains, data products, and self-service data access requests | | **Governance** | Glossary, classification, automated workflows, and access policies | | **Admin Settings** | Users, teams, SSO, ingestion pipelines, applications, and platform configuration | ## Who Is Collate For? | Role | What you'll use it for | | - | - | | **Data analyst** | Find trusted data, ask questions, get instant charts, share findings with your team | | **Data engineer** | Track lineage, monitor quality, automate ingestion, debug pipeline issues | | **Data steward / governance** | Manage ownership, glossary terms, policies, and compliance workflows | | **Business user** | Ask questions in plain English and get answers — no SQL, no waiting | | **Admin** | Manage users, SSO, ingestion, access control, and AI agent configuration | ## Ready to Get Started? > [card] [Before You Begin](/ai-2-0/getting-started/before-you-begin) > > Check prerequisites and set up your Collate workspace. > [card] [Connect Your Data](/ai-2-0/getting-started/lets-get-started/ingest-your-data) > > Choose your ingestion method and bring in your first data source. > [card] [Explore Features](/ai-2-0/getting-started/lets-get-started/explore-features) > > A guided tour of what Collate can do for your team. > [card] [Collate AI Chat](/ai-2-0/collate-ai/collate-ai-chat) > > Try the AI assistant — ask a question about your data right now. # Collate Desktop Source: https://docs.getcollate.io/ai-2-0/getting-started/platform/collate-desktop The Collate Desktop app gives you native Mac and Windows access to the Collate AI experience. # Collate Desktop Collate Desktop is a dedicated app for macOS and Windows that puts your whole Collate workspace, Home, Explore, Governance, AI Analytics, and more, on your desktop, no browser tab required. It opens your hosted Collate instance directly and adds native touches like deep links, a global command palette, and desktop notifications. > [card] [Download Collate Desktop](http://collate-desktop.getcollate.io/) > > Get the macOS or Windows installer. ## Key Features Collate Desktop opens your hosted Collate instance in a native window, so every area of the product looks and works the same as it does in the browser. ### Home Your home dashboard surfaces platform health, pending approvals, announcements, and recommended improvements as soon as you open the app. ![Home dashboard with platform health and pending approvals](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/home-dashboard.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=9730e7732a9657634113afef483221dc) ### Explore Your Catalog Browse databases, dashboards, pipelines, and every other asset in your data estate, with filters for domain, owner, tag, and tier. ![Explore Assets page showing the catalog browser](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/explore-assets.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=f358d37d9e568ff436411ddbc1b3c981) ### Connections View and manage every connected service across your data platform from one screen. ![Connections page listing connected services](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/connections.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=5d088e1875595c63f617f65e200c0ce5) ### Governance Manage glossary terms, classifications, and metrics that keep your data estate consistent and compliant. ![Governance glossary showing Data Privacy and PII terms](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/governance-glossary.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=996fd8f6b64637934a78a052ae259b28) ### Observability Monitor data quality with test case results, data health scores, and dimension-level breakdowns like accuracy and completeness. ![Data Quality observability dashboard](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/data-quality-observability.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=a08d60f51499bc6b8c756c1a1bd7303b) ### AI Analytics Create and browse dashboards built with Collate AI, from high-level summaries down to chart-level detail. ![AI Analytics dashboard gallery](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/ai-analytics-dashboards.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=e21c828adc35fa146507966b20a55efb) ![AI Analytics dashboard detail view](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/ai-analytics-dashboard-detail.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=fb5c9412c0d9c7d9c4691cf33ea77250) ### AI Automations Automate routine data work with agents that document, test, and classify your data on a schedule. ![AI Automations page listing automation templates and runs](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/ai-automations.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=6a5dcc0de6e1b8f9b7414b3098f0c590) ### Data Marketplace Discover trusted data products and domains, and track data access requests from one place. ![Data Marketplace overview with data products and domains](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/data-marketplace-overview.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=cf718e50505051d5b9df68e9ce31eb20) ![Data Marketplace access request detail panel](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/data-marketplace-access-request.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=ebeca03038a4f908257312e0eccd99b3) ### Context Center Keep your knowledge base close at hand, with articles, documents, and memories the AI can reference. ![Context Center dashboard showing articles, documents, and memories](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/context-center-dashboard.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=9e0644bcf956d57d0cf0bdd0e9e67762) ### AI Studio Build and manage the AI agents that power your automations and AI chat experience. ![AI Studio agents list](https://mintcdn.com/collatedocs/TbSXPuFDM1WXNKIC/public/images/ai-2.0/collate-desktop/ai-studio-agents.png?fit=max\&auto=format\&n=TbSXPuFDM1WXNKIC\&q=85\&s=2ed552c07ebdd68ad88a60b63a8f5960) ## Key Capabilities ### Deep-Link Protocol (`collate://`) Collate Desktop registers the `collate://` link type on your computer. Deep links let any app, notification, or message open a specific view in Collate Desktop with a single click. Supported deep-link actions include: * **Chat prompts**: `collate://chat?prompt=` opens Collate AI Chat with a question already filled in. * **Asset FQNs**: `collate://asset?type=table&fqn=` opens the detail page for any data asset by its Fully Qualified Name. * **Search**: `collate://search?query=` opens the Explore page with a search term already filled in. * **Notifications**: `collate://notify` lets the web app send native desktop notifications that link back to the relevant activity or task. * **Auth callbacks**: SSO redirects route through `collate://auth-callback?url=` so browser-based SSO flows finish inside the app. ### Global Command Palette Press `Cmd+Shift+Space` (macOS) or `Ctrl+Shift+Space` (Windows) from anywhere on your desktop to open the Collate AI Chat command palette. Enter a question, paste an asset name, or enter a `collate://` deep link. No window switching or browser tab required. ### Native Menus and System Tray Collate Desktop includes a native menu bar (macOS) and system tray icon (Windows and macOS) for quick access to common actions, recent searches, and notification summaries. ### File Associations Collate Desktop registers as the default handler for the following file types: | Extension | Use case | | - | - | | `.sql` | Open SQL files and send them to Collate AI Chat for explanation or lineage lookup | | `.yaml` / `.yml` | Open connector configuration files for review | | `.json` | Open JSON schema or metadata export files | | `.csv` | Open CSV exports from Collate's bulk operations | ### Automatic Updates Collate Desktop checks for updates automatically in the background. When a new version is available, an in-app prompt appears at the bottom of the window. Select **Install Update** to apply the update and restart the app. Updates are silent and do not require you to sign in again. ### Native Browser-Based SSO Collate Desktop handles SSO by opening your organization's login page in the system browser. After sign-in, the browser redirects to `collate://auth-callback`, which hands control back to the desktop app and stores the session securely. ## Installation Download Collate Desktop from [collate-desktop.getcollate.io](http://collate-desktop.getcollate.io/). Installers are available for both macOS and Windows. | Platform | Installer type | | - | - | | macOS | `.dmg` (universal binary, works on Intel and Apple Silicon) | | Windows | `.exe` installer | #### macOS 1. Download the `.dmg` file. 2. Open the `.dmg` and drag the Collate app to your Applications folder. 3. Launch Collate from Applications or Spotlight. #### Windows 1. Download the `.exe` installer. 2. Run the installer and follow the prompts. 3. Collate Desktop appears in your Start Menu and system tray after installation. ## Connecting to Your Collate Instance On first launch, Collate Desktop prompts you to enter your organization's Collate workspace URL. 1. Enter your workspace URL in the format `https://.getcollate.io`. 2. Select **Connect**. 3. Sign in using your organization's SSO provider. The login page opens inside the app. 4. After you sign in, Collate Desktop takes you to your home screen. Your workspace URL and session are remembered across restarts. To switch workspaces, go to **Settings** > **Workspace** inside the app. ## Using the Command Palette The global command palette is the fastest way to use Collate AI Chat from anywhere on your desktop. 1. Press `Cmd+Shift+Space` (macOS) or `Ctrl+Shift+Space` (Windows) from any application. 2. The Collate AI Chat command palette appears in the foreground. 3. Enter a question (for example, "What is the customers table used for?"), paste an asset name, or paste a `collate://` deep link. 4. Press Enter to submit. The command palette doesn't require Collate Desktop to be the active window. Trigger it from any application, including your BI tool, SQL editor, or terminal. ## Deep Links Use `collate://` deep links to navigate directly to specific views in Collate Desktop from external sources such as Slack messages, emails, Jira tickets, or CI/CD notifications. ### Open a Collate URL ``` collate://open?url=https%3A%2F%2Facme.getcollate.io%2Ftable%2F... ``` Opens any Collate URL inside the desktop app. URL-encode the `url` parameter. ### Open a Chat with a Pre-Filled Prompt ``` collate://chat?prompt=What+is+the+monthly_revenue+table+used+for ``` Encodes the question as a URL query parameter. Encode spaces as `+` or `%20`. ### Open an Asset by Fully Qualified Name ``` collate://asset?type=table&fqn=snowflake.prod.public.customers ``` Use the asset's type (for example, `table`, `dashboard`, or `pipeline`) and its Fully Qualified Name as query parameters. ### Open a Search ``` collate://search?query=customer+revenue ``` Opens the Explore page with the search term pre-filled. ### Open Preferences ``` collate://open-preferences ``` Opens the Settings screen inside the app. Equivalent to pressing `Cmd+,` on macOS. ### Auth Callback ``` collate://auth-callback?url=https%3A%2F%2Facme.getcollate.io%2F... ``` Used internally by the SSO flow. Collate Desktop constructs and handles this URL automatically during sign-in. # Home Dashboard Source: https://docs.getcollate.io/ai-2-0/getting-started/platform/home-dashboard Your Collate 2.0 home — Platform Health, AI insights, Action Required, Recommended Improvements, and Pending Approvals. # The Home Page When you log in to Collate, you land on a dashboard that gives you a real-time picture of your data platform's health, outstanding actions, AI-generated recommendations, and recent activity — all in one view. ## Navigation Sidebar The left sidebar is the primary way to navigate between sections. It can be collapsed to a compact icon rail and supports persona-based customization by Admins. | Sidebar Section | What it does | | - | - | | **New Chat** | Start a new Collate AI Chat conversation | | **Home** | Return to the home dashboard | | **Explore** | Browse and search all data assets | | **AI Analytics** | AI-powered charts and dashboards | | **AI Automations** | Automated metadata workflows | | **AI Studio** | Build and manage agents and personas | | **Context Center** | Articles, documents, and memories | | **Connections** | Data source connectors and ingestion | | **SQL Studio** | Run SQL queries directly against your connected database services | | **Observability** | Data quality, incidents, and alerts | | **Data Marketplace** | Domains, data products, and access requests | | **Governance** | Glossary, classification, and workflows | ![Navigation Menu](https://mintcdn.com/collatedocs/L6L3DHxVlrjK6Pt4/public/images/ai-2.0/homepage-sidenav.png?fit=max\&auto=format\&n=L6L3DHxVlrjK6Pt4\&q=85\&s=9f49e92ef588f24796aa5ff8d30b21d6) ## Home Page Dashboard The home dashboard is organized into a grid of widgets. Each widget surfaces a different facet of your platform. ![Home Dashboard](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/homepage.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=f17a74c7e227abd83a71c1150307bf62) ### Platform Health Summary The largest widget on the home page lists every service with a pipeline or agent that didn't complete successfully. Each failure carries a badge colored by pipeline type, making the kind of failure recognizable before reading the label: | Pipeline Type | Badge Color | | - | - | | Profiler | Red | | Lineage | Light blue | | Metadata | Green | | Policy Agent | Amber | | Dbt | Purple | | Data Insight | Pink | | Auto Classification | Orange | | Elastic Search Reindex | Indigo | | Test Suite | Brand blue | | Usage | Blue-gray | | Any other type | Gray | Click a service to open its **Agents** tab, where you can review the failing agent and its logs. From there, use the **Collate AI** option to analyze the failure. It opens a new tab in the sidebar with a root-cause analysis and suggested fixes for that service. Collate hides both the option to retry the AI summary and the **Collate AI** button when credits are exhausted, because generating a new summary wouldn't succeed until credits are restored. > [!NOTE] > > **Note**: This widget is visible to platform admins only. ![Platform Health Summary](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/platform.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=482986c26778540fe3fee3f8bcdf2413) ### Pending Approvals Lists open governance tasks that require your action: access requests, certification sign-offs, and ownership assignments waiting on you or your team. * **Approve or reject directly from the widget**: Most tasks show inline **Approve** and **Reject** buttons, so you can resolve them without leaving the home page. * **Incident tasks**: Tasks tied to a data quality incident don't have inline approve/reject actions. Click one to open its detail page instead. * **View All**: Opens your full task list for a complete view of everything pending across your account. ![Pending Approvals](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/pending-approvals.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=cde4df7229e794c8ff4c37d49bf6feb1) ### Action Required AI-generated items that need your attention, prioritized by severity: * **Critical** — issues that may impact data consumers now * **Warning** — items that should be addressed soon * **Info** — lower-priority improvements Each card surfaces the affected asset and describes the issue. The widget detects and prioritizes — it does not resolve. Click a card to open a Collate AI conversation with the context already loaded so you can diagnose and act. ![Action Required](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/action-required.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=f84a053516ccf895b15e186b210c7b36) ### Recommended Improvements AI-generated suggestions for improving your metadata coverage — descriptions, ownership gaps, quality issues, and classification opportunities. Each suggestion is tagged **High**, **Medium**, or **Low** impact so you can prioritize. Click a suggestion to open a Collate AI conversation with the context pre-loaded so you can act on it directly. ![Recommended Improvements](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/recommended-improvements.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=bde9da5e27a29dec5a32dbb42401c202) ### Announcements Recent announcements posted on data assets you own or follow. Only appears when there are active announcements. Each card shows the announcement's title, a preview of its description, who posted it, and how long ago. Click a card to jump to the announcement on its asset, or click the **X** to dismiss it from the widget. ![Announcements](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/announcements.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=37c8aa50ee0d4299fd4d95d97e32961e) ### Data Products A list of data products published in your organization's marketplace. * **Filter**: Switch between **All** and **My Domain** to scope the list to data products in your own domain. * **Each row** shows the data product's domain and how many assets it contains. * **Attention badges**: A data product missing an owner, description, or domain, or with an expired certification, shows a badge flagging the gap. * **New Data Product**: If you have permission, create a new data product directly from the widget. ![Data Products](https://mintcdn.com/collatedocs/rZhhFXbbYu7NTMpy/public/images/ai-2.0/getting-started/data-products.png?fit=max\&auto=format\&n=rZhhFXbbYu7NTMpy\&q=85\&s=cf65948880c5fb9a0bd7fcc0d1137ba5) ### Top Tier Assets Your most important data assets, surfaced here for quick access and visibility. * **Filter**: Switch between **All**, **Tier 1**, and **Tier 2** to narrow the list. * Results are sorted alphabetically and limited to assets you have permission to view. * **Attention badges**: The same governance-gap badges as Data Products (missing owner, description, domain, expired certification, or undocumented columns) appear here too, so you can spot high-visibility assets that need cleanup. ![Top Tier Assets](https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/getting-started/top-tier-assets.png?fit=max\&auto=format\&n=ZqXWD0tEXLu1jde7\&q=85\&s=33eee29aec3757e699d1e95896c96aa7) ## Collate AI Chat Input The chat input bar at the bottom of the home page lets you type a question or select a suggested prompt to start a Collate AI Chat conversation. Suggestions are personalized — they're drawn from your Action Required and Recommended Improvements cards, so they reflect what's actually relevant to you right now. ## Critical Alert Banner When there are critical data quality incidents, a red banner appears at the top of the home page with a count and a link directly to the Incident Manager in Observability. Dismiss it once you've reviewed the incidents. ## Persona-Based Customization Admins can customize the home dashboard layout per persona. Navigate to **Settings** > **Personas**, select a persona, and choose **Customize Homepage** to add, remove, or rearrange widgets. # Breaking Changes - AI Agents & Automations Source: https://docs.getcollate.io/ai-2-0/release-2.0/ai-agents-and-automations The Documentation, Tier and Quality agent apps are replaced by AI Automations in Collate 2.0. What the migration does, what you must do afterwards, and the Skills, Context Plugin and AI Analytics changes. # AI Agents & Automations **This is one of the most disruptive changes in Collate 2.0.** The three agent applications are deleted during the upgrade and replaced by AI Automations. The migration preserves your configuration, but the replacements arrive switched off. ## The agent apps are removed > [!WARNING] > > **Breaking.** Affects every deployment that installed the Documentation, Tier or Quality agent. These three applications no longer exist: | Removed application | Replaced by | | - | - | | `CollateAIApplication` (Documentation Agent) | An AI Automation built from the Documentation template | | `CollateAITierAgentApplication` (Tier Agent) | An AI Automation built from the Tier template | | `CollateAIQualityAgentApplication` (Quality Agent) | An AI Automation built from the Quality template | Their `agentType` values (`CollateAI`, `CollateAITierAgent`, `CollateAIQualityAgent`) are removed from the schema, their marketplace definitions are deleted, and their Quartz jobs are removed. > [!NOTE] > > Only `Metadata` remains as an `agentType`. Automation that filters ingestion pipelines by > `agentType` should move to the new values `metadata` and `application`. ## What the migration does The 2.0.0 migration runs these steps in order: **1. Strip the dead agentType** The retired `agentType` values are removed from the schema enum, so a persisted app row carrying one would fail strict deserialization before any field is read. The migration clears the value first (an update, not a delete), so the apps survive long enough to be converted. **2. Seed the Data Access Request workflow** `DataAccessRequestTaskWorkflow` is seeded so Data Access Requests can route through governance workflows. **3. Reseed the AutoPilot workflow** AutoPilot's legacy `runAppTask` nodes (which called the three agent apps) are replaced with `createAndRunAIAutomationTask` nodes. Tier now runs **before** the profiler. Documentation and Quality run **after** it. **4. Convert each app into an AI Automation** Each installed agent app is deep-copied from its matching packaged template into a real automation that carries the app's Elasticsearch filter, links the template's agent, and is named with a `Migrated` suffix and a **(migrated)** display suffix. Provider is set to `USER` so it surfaces in your review list. **5. Delete the apps** The apps are hard-deleted. Each owns its bot, so the bot cascades away with it, and the backing ingestion pipeline is undeployed from the runner rather than orphaned. Marketplace definitions are removed separately, because deleting an app doesn't remove its definition. **6. Repair AI charts** Multi-parent AI charts are split, and chart and dashboard data is repaired for the 1.13 → 2.0 shape. Each step is fault-isolated and idempotent. A failure on one app is logged and doesn't block startup or the remaining steps. ## What you must do after upgrading > [!WARNING] > > **The migrated automations are created disabled and unscheduled.** Your Documentation, Tier and > Quality agents stop running at the upgrade and stay stopped until you turn them back on. **1. Open AI Automations** In AI Mode, go to **AI Automations**. Look for entries whose display name ends in **(migrated)**. **2. Review the carried-over filter** The automation carries the asset filter from the app it replaced. Confirm the scope is still what you want. Asset counts are shown in the wizard. **3. Set a schedule and enable it** The migration deliberately doesn't schedule the automation. Pick a cadence and toggle it on. **4. Add destinations if you had notifications** The migration never sets `destinations`. If the original agent notified a channel, reattach it. > [!NOTE] > > Fresh 2.0 installs never had the agent apps, so none of this applies. The templates are simply > available in the AI Automations catalog. ### The agent app bots are removed with them > [!WARNING] > > **Breaking for API and SDK clients.** Each removed app owned its bot through a containment > relationship, so the recursive delete removes the bot too. `CollateAIApplicationBot` (which was > attached to the Documentation agent) no longer exists after the upgrade, along with the Tier and > Quality agent bots. > [!TIP] > > If any script, SDK client or integration authenticates with a token issued to > `CollateAIApplicationBot`, it will start failing authorization after the upgrade. Reissue those > tokens against a bot that still exists before you upgrade. Collate AI impersonation is handled by the > automation bot going forward. ![The AI Automations listing in Collate 2.0 AI Mode](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/ai-automations.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=ef03a7e8ce062c7f30631a9bf24971ff) ## AI Automations: what you get instead AI Automations are a first-class entity at `/v1/ai/automations` with a considerably larger surface than the apps they replace. | Capability | Detail | | - | - | | **Templates** | Ship with Documentation, Tier, Quality, **PII Discovery**, **Glossary Term Linking** and **Domain Assignment** templates | | **3-step wizard** | Template → Configure → Schedule, with agent icons, scope asset count and a flat query builder | | **Server-side listing** | Search, filters, pagination and a `runState` filter: `GET /v1/ai/automations/search/list` | | **Categories & providers** | Filter the catalog by category and by provider | | **Run history with impact** | Per-run impact statistics, and a persisted latest-run impact snapshot | | **Streamed logs** | `GET /v1/ai/automations/{id}/logs/stream/{runId}` streams run logs over SSE. A centralised logs modal is also available in the UI. | | **Lifecycle control** | `deploy`, `trigger`, `toggle`, `kill` | | **Reporting** | `runs/report` and `runs/publish`, plus chart-bearing email reports that can target Collate AI | | **Incremental** | Entities already processed in previous runs are skipped | | **Summary** | `GET /v1/ai/automations/summary` and `GET /v1/ai/automations/status` | > [!NOTE] > > Run records are mapped onto the same shape the app run history used, so dashboards built on agent run > records keep working, but they must read from the automations endpoints, not > `GET /v1/collate/apps/name/{name}/agentRuns`, which is removed. ## Abilities are now Skills > [!WARNING] > > **Breaking.** The `/v1/agents/abilities` namespace is renamed to `/v1/agents/skills`. All fifteen endpoints move: ```diff theme={null} - GET|POST|PUT /v1/agents/abilities - GET|PATCH|DELETE /v1/agents/abilities/{id} - GET|DELETE /v1/agents/abilities/name/{fqn} - PUT /v1/agents/abilities/restore - PUT /v1/agents/abilities/{id}/restoreDefault - PUT|DELETE /v1/agents/abilities/{id}/followers[/{userId}] - GET /v1/agents/abilities/{id}/versions[/{version}] - DELETE /v1/agents/abilities/async/{id} + ...the same fifteen operations under /v1/agents/skills ``` > [!TIP] > > The request and response shapes are unchanged: this is a path rename. Update the base path in any > client and you are done. ## Knowledge Center and Context Memory moved into the platform > [!WARNING] > > **Breaking.** Knowledge Center is removed because the capability moved into the platform's own > Context Center. Context Memory keeps its paths but is reimplemented by the platform, dropping > three operations. | Removed | Replacement | | - | - | | `/v1/knowledgeCenter/**` (18 endpoints) | `/v1/contextCenter/pages/**` | The Knowledge Center UI is removed and replaced by **Context Center**, which adds articles, documents, uploaded files, memories and an archive. Memory storage is delegated to the AI platform via a user memory context, while the entity itself is now a platform entity. > [!WARNING] > > The memory endpoints (`/v1/contextCenter/memories/**`, 10 endpoints) keep their **paths** but are > served by the platform implementation, and three operations are gone: `check-duplicates`, > `promote-chat` and `remember`. Rework any client that called them. ![Collate 2.0 Context Center showing articles, documents, uploaded files, memories and the archive](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/context-center.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=6ae29b402521df81bc7728bd060113af) ## Context Plugins > [!NOTE] > > **New.** `/v1/ai/contextPlugins` lets you connect external knowledge sources so the assistant can > read from them. Notion, Slack, GitHub and Google Drive ship seeded, and each plugin has a > `testConnection` endpoint. ## Context memories enforce visibility > [!NOTE] > > **Behavioural.** Memories are now visibility-scoped in both AI answers and semantic search. You see > org-wide memories, memories you own, and memories shared with you or your team, not everything. > [!TIP] > > No action required. Search indexing applies the visibility automatically once the instance is > upgraded. If a memory seems to have disappeared from results, check who it is shared with. ## AI Studio labelling follows the Skills rename > [!NOTE] > > **Behavioural.** Because *abilities* became *skills* across the backend and UI, AI Studio's > terminology, labels and navigation change to match. Enablement material and screenshots that say > "abilities" need updating. ## AI Analytics: dashboards and charts ![Collate 2.0 AI Analytics showing AI Dashboards and AICharts](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/ai-analytics.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=5d98c1c243dded958df2716729a19a6e) ### AI Dashboards now enforce visibility > [!WARNING] > > **Breaking behaviour.** Dashboard visibility (**Private**, **Shared**, **Public**) was stored in > 1.13 but never applied, so any user with view rights could open any dashboard. 2.0 enforces it, and > new dashboards default to **Private**. > [!WARNING] > > To preserve existing access, the upgrade sets **every existing dashboard to Public**. That is > deliberately permissive. It keeps 1.13 behaviour on day one rather than silently hiding content. > [!TIP] > > Owners should review their dashboards after upgrading and restrict the ones that should not be > org-wide. Until they do, every dashboard remains visible to everyone who can reach AI Analytics. ### An AI chart now belongs to exactly one dashboard > [!WARNING] > > **Breaking, and a security fix.** In 1.13 a chart carried a *list* of dashboards and its read access > was the **union** of them, so any user could read someone else's chart by pinning it to a dashboard > of their own. In 2.0 access comes from the single parent dashboard. The create contract changes accordingly: ```diff theme={null} - "dashboards": ["", ""] // array of parents + "dashboard": "" // exactly one parent - "required": ["name", "queryConfig"] + "required": ["name", "queryType", "dashboard"] ``` The query configuration is also split into a discriminated union: ```diff theme={null} - "queryConfig": { ... } + "queryType": "sql" | "dataInsight", + "sqlQueryConfig": { ... }, // when queryType is sql + "dataInsightQueryConfig": { ... } // when queryType is dataInsight ``` > [!WARNING] > > On upgrade, charts pinned to several dashboards are **split into one copy per dashboard**, keeping > title, owners and query but starting a fresh version history. Pinning to a second dashboard now > creates an independent copy rather than sharing one chart. > [!TIP] > > Any client that posts `dashboards: [...]` or `queryConfig` must be rewritten. `dashboard` is now > required at creation. A chart can no longer exist without a parent. ### Other AI Analytics changes | Change | Class | Detail | | - | - | - | | `GET /v1/ai/charts` (list) removed | Breaking | Chart listing moves under the owning dashboard: `GET /v1/ai/dashboards/{id}/charts` | | `POST /v1/ai/charts/preview` removed | Breaking | Replaced by a single consolidated preview endpoint. Time-range resolution is de-duplicated. | | Scheduled refresh re-platformed | Behavioural | Refresh now runs on in-JVM Quartz. The ingestion pipeline, Argo workflow and Python path are retired | | Provenance | Additive | `GET /v1/ai/dashboards/{id}/provenance` and chart-level provenance record how a chart was produced, with dashboard-scoped visibility per chart | | Chart types | Additive | Composed and Donut chart types. Horizontal scroll and adaptive axis ticks for dense charts. | | Manual refresh | Additive | Data Insight and SQL charts can be refreshed on demand | | Favourites & sharing | Additive | Favourite toggle in the dashboard header, plus dashboard schedule sharing | > [!WARNING] > > Because scheduled refresh no longer runs through an ingestion pipeline, any monitoring you built on > those pipelines (alerting on a failed AI dashboard refresh pipeline, for example) will see the > pipelines disappear. Monitor the automation and dashboard endpoints instead. ## AI Studio > [!NOTE] > > **Additive.** AI Studio gains authoring for agents, personas and skills directly in the UI, including > drafting a planner description for a dynamic agent. The UI-selected persona is forwarded to the AI > platform so agent behaviour follows the persona. ![AI Studio in Collate 2.0, where agents, personas and skills are authored](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/ai-studio.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=209b751244cae5a4e9c7390eac32693c) ## Agent invocation | Change | Detail | | - | - | | `POST /v1/agents/invoke` | New synchronous invocation endpoint alongside the streaming path | | `GET /v1/agents/run/{conversationId}/events` | Server-sent events for an agent run | | `GET /v1/agents/dynamic/run/{conversationId}/events` | The same for dynamic agents | | `POST /v1/agents/dynamic/draftPlannerDescription` | Draft a planner description when authoring | Dynamic agents that pointed at the deleted agent-app bots are repointed by the migration. # AI Mode in Collate 2.0 | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/ai-mode Collate 2.0 introduces AI Mode, a new AI-native interface where the new capabilities live. Learn what is in it and how to turn it on for yourself, for a persona, or for the whole tenant. # AI Mode **Collate 2.0 introduces AI Mode: a second, AI-native interface for the whole platform.** Classic Mode is the Collate you already know: the catalog-first navigation with Explore, Govern, Observability and Settings. AI Mode puts an assistant at the centre and rebuilds the same estate around conversation, agents and automations. Both modes run against the same data, the same permissions and the same APIs. Switching modes changes the interface, never the content or what you are allowed to see. ![Collate 2.0 AI Mode home, showing the AI sidebar, Platform Health, Pending Approvals, Announcements and Recommended Improvements alongside the Ask anything prompt](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/ai-mode-home.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=04761301b532b2ce34570cf6d5a17fc0) > [!WARNING] > > AI Mode is where every new 2.0 experience lands first. If you upgrade and stay in Classic Mode, you > won't see AI Automations, AI Analytics dashboards, AI Studio, the Inbox, or the conversational > surface at all. Nothing is lost, but the new capability isn't visible until someone switches. *** ## What is in AI Mode The AI sidebar is the entry point to every module in the mode. Every item is a full module, not a shortcut. | Module | What it gives you | | - | - | | **New Chat / Conversations** | Collate AI about your estate in natural language. Conversations are shareable, with collaborators and roles. | | **Home** | Platform Health, Pending Approvals, Announcements, Action Required, Recommended Improvements, Data Products and Top Tier Assets, with AI-written summaries. | | **Explore** | The full 2.0 Explore experience, redesigned. See [Discovery & Search](/ai-2-0/release-2.0/discovery-and-search). | | **Connections** | Services, connections and ingestion agents, with live job progress and streamed logs. | | **Governance** | Glossary, Ontology Explorer, Tags, Metrics, Column Bulk Operations, Workflows, plus the new **AI Governance** registry, shadow-AI triage, approvals, frameworks, policies and reports. | | **Observability** | Data Quality, Incident Manager, Alerts, Test Library, and pipeline observability, reworked for AI Mode. | | **AI Analytics** | AI Dashboards and AICharts, with provenance, scheduled refresh and sharing. | | **AI Automations** | Scheduled agent work, the replacement for the old agent apps. See [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations). | | **Data Marketplace** | Domains, Data Products and **Data Access Requests**. | | **Context Center** | Articles, documents, memories and the archive, the knowledge layer the assistant reads from. | | **Inbox** | Activity and Tasks in one place, with assign/reassign and incident root-cause support. | | **AI Studio** | Author your own agents, personas and skills. | Two things sit outside the sidebar and are worth knowing: * **`Cmd`/`Ctrl` + `K`** opens the Ask box from anywhere in AI Mode. * The **prompt input** carries persona-aware suggestions and quick actions such as *Tag Column*, *Add Descriptions* and *Tag PII Fields*. *** ## How to turn AI Mode on Three levers control this. They resolve in a strict order, highest priority first: ``` user preference → persona app mode → tenant default → Classic ``` **1. Per user: the interface switcher** Any user can switch themselves, at any time, from the profile card at the bottom of the sidebar (AI Mode) or from the profile dropdown in the navbar (Classic Mode). ![The Switch Interface menu showing Classic and AI options, with AI marked Current and an Open in AI when I log in checkbox](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/ai-mode-switcher.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=bfaf0f6cd4648833861572e128e6f7d2) * **Classic / AI** switches the current session immediately. * **Open in AI when I log in** persists the choice. This is the per-user preference and it wins over everything else. Switching is the only sanctioned way to change mode. No URL forces the switch. **2. Per persona: force a mode on login** A persona can pin the interface for everyone assigned to it. Set `appMode` on the persona to `AI` or `classic` (default `classic`). Use this to roll AI Mode out to a pilot group (for example a *Data Analyst* persona) without touching anyone else. A user's own preference still overrides the persona. **3. Per tenant: set a default for new users** Admins can set a tenant-wide default under **Settings** > **Preferences** > **App Mode**. Three options: | Option | Effect | | - | - | | **No default** | Users land in Classic unless a persona or their own preference says otherwise. | | **Classic** | New users start in Classic. | | **AI** | New users start in AI Mode. | The same value can be seeded at first boot with `APP_DEFAULT_MODE=ai` (or `classic`) in `openmetadata.yaml`. After first boot the database row wins and the YAML value is ignored. The setting is admin-mutable at runtime. > [!NOTE] > > The switcher only appears when the AI application is installed. On a deployment without it, users > stay in Classic Mode and the toggle is hidden rather than shown in a broken state. It is also hidden in the > Collate desktop app, which manages its own shell. ### Recommended rollout > [accordion] Evaluating 2.0 > > Leave the tenant default at **No default**. Switch yourself with the interface switcher and tick > **Open in AI when I log in**. Nobody else is affected. > [accordion] Piloting with a team > > Create or reuse a persona for the pilot group and set its `appMode` to `AI`. Members land in AI > Mode on login, and any individual can still switch back to Classic for themselves. > [accordion] Rolling out to everyone > > Set **Settings** > **Preferences** > **App Mode** to **AI**. Existing users who have already expressed a > preference keep it. The tenant default only decides for users who haven't chosen. *** ## AI Mode URLs changed > [!WARNING] > > **Breaking.** AI Mode routes dropped the `/askCollate` prefix in 2.0. | 1.13 | 2.0 | | - | - | | `/askCollate/conversations` | `/conversations` | | `/askCollate/ai-studio` | `/ai-studio` | | `/askCollate/connections/...` | `/connections/...` | Legacy `/askCollate/*` links are redirected, but anything that parses or constructs those paths (bookmarks in a team wiki, deep links in a Slack workflow, browser extensions) should be updated. AI Mode also **no longer auto-engages** from a URL. In 1.13, visiting certain paths would silently flip you into the AI experience. In 2.0 the mode is explicit: it comes from your preference, your persona or the tenant default, and navigating to an AI-only route while in Classic Mode doesn't change it. *** ## What this means for existing users > [!NOTE] > > **Nobody is moved automatically.** The 2.0 upgrade doesn't set anyone's app mode. Every user stays > in Classic Mode until they switch, are assigned a persona that pins AI, or an admin sets the tenant > default. Practical consequences: * **Training and screenshots**: if you maintain internal enablement material, it now needs to cover two interfaces, or state which one your organisation standardises on. * **Support**: "where is X" questions now depend on the user's mode. The mode is visible on the profile card, so ask for that first. * **Automation**: nothing changes. Both modes call the same REST APIs. App mode is purely a UI concern and is never sent to the server as part of a data request. *** ## Related > [card] [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations) > > The agent apps are gone. What replaced them and what you must do after upgrading. > [card] [Collate AI & Credits](/ai-2-0/release-2.0/collate-ai-and-credits) > > Conversation sharing, collaborators, and the reworked credit model. > [card] [Discovery & Search](/ai-2-0/release-2.0/discovery-and-search) > > The redesigned Explore experience, shared by both modes. > [card] [All breaking changes](/ai-2-0/release-2.0) > > The full 1.13 → 2.0 breakdown, component by component. # Breaking Changes - API & Schema | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/api-and-schema Removed REST endpoints, changed request and response shapes, tightened validation and enum changes in Collate 2.0. # API & Schema Contracts Across the 1.13 → 2.0 jump the REST surface gains **208 endpoints** and loses **10**. The JSON Schema specification gains **86 files**, modifies **107** and removes **three**. ## Removed endpoints ### The Suggestions API is removed > [!WARNING] > > **Breaking.** Affects API clients, SDKs and automation bots. The entire `/v1/suggestions` namespace is gone: | Removed in 2.0 | | - | | `GET /v1/suggestions` | | `POST /v1/suggestions` | | `GET /v1/suggestions/{id}` | | `PUT /v1/suggestions/{id}` | | `PUT /v1/suggestions/{id}/accept` | | `PUT /v1/suggestions/{id}/reject` | | `PUT /v1/suggestions/accept-all` | | `PUT /v1/suggestions/reject-all` | | `DELETE /v1/suggestions/{suggestionId}` | | `DELETE /v1/suggestions/{entityType}/name/{entityFQN}` | > [!TIP] > > Replace suggestion calls with `/v1/tasks` filtered by `type=Suggestion` (`category=MetadataUpdate`). > Accept and reject become `PUT /v1/tasks/{id}/suggestion/apply` (then resolve) and `POST /v1/tasks/{id}/resolve`. > Existing suggestions are migrated into `task_entity` by the 2.0.0 migration. See > [Collaboration](/ai-2-0/release-2.0/collaboration). ## Changed request contracts ### `search_after` is now a repeated query parameter > [!WARNING] > > **Breaking.** Affects anyone paginating `/v1/search/query`. Each sort value is carried as its own parameter so values containing a comma (for example a glossary term fully qualified name) are safe. > [tab] 1.13 > > ```http theme={null} > GET /api/v1/search/query?q=*&index=table&search_after=1712345678000,abc-123 > ``` > [tab] 2.0 > > ```http theme={null} > GET /api/v1/search/query?q=*&index=table&search_after=1712345678000&search_after=abc-123 > ``` > [!TIP] > > Split the cursor on the client and emit one `search_after` parameter per sort value. ### The `deleted` search parameter is deprecated > [!NOTE] > > **Deprecated.** `deleted` on `/v1/search/query` is annotated for removal in 2.0. Express > deleted-entity filtering through `query_filter` instead. ### `testCaseStatus` accepts multiple values `GET /v1/dataQuality/testCases` binds `testCaseStatus` as a repeated parameter: ```http theme={null} GET /api/v1/dataQuality/testCases?testCaseStatus=Failed&testCaseStatus=Aborted ``` Values are validated against the `TestCaseStatus` enum, and an unknown value now returns `400 Bad Request` naming the allowed values. A single-value call is unchanged. ## Validation changes ### Entity name validation is tightened > [!WARNING] > > **Breaking.** Affects every write path, ingestion connectors and CSV import. `entityName` and `testCaseEntityName` change pattern: ```diff theme={null} - "pattern": "^((?!::).)*$" + "pattern": "^((?!::)[^>\"\\x00-\\x1f])*$" ``` In addition to the existing `::` restriction, names may no longer contain: * `>` (greater-than) * `"` (double quote) * any ASCII control character (`\x00`–`\x1f`) > [!WARNING] > > Entities already stored with these characters are not rewritten by the migration, but the next `PUT` > or `PATCH` that revalidates the name will fail. Audit source systems whose object names can contain > quotes or angle brackets before upgrading. ## Enum changes ### Removed enum values > [!WARNING] > > **Breaking.** | Schema | Enum | Removed values | | - | - | - | | `entity/applications/app.json` | `agentType` | `CollateAI`, `CollateAITierAgent`, `CollateAIQualityAgent` | Only `Metadata` remains. The corresponding application configuration schemas were deleted: * `entity/applications/configuration/external/collateAIQualityAgentAppConfig.json` * `entity/applications/configuration/external/collateAITierAgentAppConfig.json` * `entity/applications/configuration/private/internal/collateAITierAgentAppPrivateConfig.json` ### Added enum values > [!NOTE] > > **Additive**, but clients doing exhaustive `switch` or pattern matching on these enums need new > branches. | Schema | Enum | Added values | | - | - | - | | `resourceDescriptor.json` | `operation` | `CreateTask`, `EditTask`, `ResolveTask`, `CloseTask`, `ReassignTask` | | `type/changeEventType.json` | N/A | `taskCreated`, `taskUpdated`, `entityLineageAdded`, `entityLineageDeleted`, `entityLineageUpdated` | | `type/entityRelationship.json` | `relationshipType` | `assignedTo` | | `type/workflowTriggerFields.json` | N/A | `entityStatus` | | `settings/settings.json` | `settingType` | `appConfiguration` | | `nodeSubType.json` | N/A | `policyAgentTask`, `createAndRunAIAutomationTask` | | `jobs/backgroundJob.json` | `jobType` | `CSV_IMPORT`, `CSV_EXPORT`, `AUDIT_EXPORT` | | `jobs/backgroundJob.json` | `status` | `CANCELLED` | | `ingestionPipeline.json` | `pipelineType` | `policyAgent` | | `entity/data/table.json` | `tableType` | `SemanticView` | | `entity/data/metric.json` | `metricType` | `SIMPLE`, `CUMULATIVE`, `DERIVED`, `CONVERSION` | | `databaseService.json` | `databaseServiceType` | `SapBw4Hana` | | `dashboardService.json` | `dashboardServiceType` | `Omni` | | `pipelineService.json` | `pipelineServiceType` | `Prefect`, `SapBw4HanaPipeline` | ## Default value changes > [!NOTE] > > **Behavioural.** Affects deployments that never set these explicitly. | Schema | Field | 1.13 | 2.0 | | - | - | - | - | | `rdfConfiguration.json` | `bulkEntityBatchSize` | `50` | `100` | | `rdfConfiguration.json` | `bulkRelationshipSourceBatchSize` | `25` | `100` | | `rdfConfiguration.json` | `inferenceEnabled` | `true` | **`false`** | | `workflowSettings.json` | `executorConfiguration.asyncJobAcquisitionInterval` | `10000` ms | `1000` ms | The 2.0.0 post-data migration also lowers `timerJobAcquisitionInterval` to `5000` ms and the `WorkflowEventConsumer` poll interval from 10 s to 1 s, so governance workflows fire near-real-time. > [!WARNING] > > RDF inference is off by default in 2.0. If you relied on inferred triples in SPARQL queries, set > `RDF_INFERENCE_ENABLED=true` explicitly. ### Connector filter-pattern defaults > [!NOTE] > > **Behavioural.** Applies to new **and** existing ingestion runs. | Connector | Field | New default excludes | | - | - | - | | Redshift | `tableFilterPattern` | `^(?:.*\.)?mv_tbl__.*__\d+$` | | Kafka | `topicFilterPattern` | `^__.*`, `^_schemas$`, `^_confluent.*` | | Redpanda | `topicFilterPattern` | `^__.*`, `^_schemas$`, `^_confluent.*` | > [!TIP] > > If you deliberately ingest Redshift materialised-view backing tables or Kafka internal topics, > override the filter pattern explicitly. The default now excludes them. ## Schema reference relocations > [!NOTE] > > **Behavioural.** Affects code generated from the specification and JSON Schema validators. Chart `function` and `kpiDetails` definitions moved out of `dataInsightCustomChart.json` into a new `dataInsight/custom/chartFunctions.json`: ```diff theme={null} - "$ref": "dataInsightCustomChart.json#/definitions/function" + "$ref": "chartFunctions.json#/definitions/function" ``` Affected files: `formulaHolder.json`, `lineChart.json`, `summaryCard.json` and `dataInsightCustomChartResultList.json`. Similarly, `entity/data/table.json` extracts the inline `columnProfile.cardinalityDistribution` object into a named definition. The wire shape is unchanged. Only the pointer moved. > [!TIP] > > Regenerate any client models built from the JSON Schema. If you resolve `$ref` pointers by hand, > update the paths. ## Notable new endpoint groups > [!NOTE] > > **Additive.** These don't break anything, but they replace patterns you might currently implement > client-side. | Namespace | Purpose | Replaces | | - | - | - | | `/v1/tasks/**` | First-class Task entity (22 endpoints) | `/v1/feed/tasks/*`, `/v1/suggestions/*` | | `/v1/announcements/**` | Standalone Announcement entity | `/v1/feed?type=Announcement` | | `/v1/activity/**` | Ephemeral activity stream | System-generated `/v1/feed` threads | | `/v1/csvAsyncJobs/**` | CSV import/export job status and result download | WebSocket-only job tracking | | `/v1/csv/documentation/{entityType}` | Machine-readable CSV column documentation | Hard-coded column lists | | `/v1/services/overview` | One call for per-type and per-connector service counts | N per-service `GET` calls | | `/v1/lineage/hydrate` | Batch-hydrate up to 200 lineage nodes | N per-node entity `GET` calls | | `/v1/{entityType}/deleteStale` | Connector-driven stale-entity cleanup | Manual delete loops | | `/v1/search/export/async` | Queue a CSV export as a background job | Synchronous `/v1/search/export` | | `/v1/columns/name/{fqn}` | Fetch a single column by fully qualified name | Fetching the whole table | | `/v1/personas/{id}/context`, `/v1/personas/me/context` | Persona-scoped AI context | N/A | | `/v1/contextCenter/**`, `/v1/attachments/**` | Knowledge and Context Center, plus file assets | N/A | | `/v1/aiGovernance/**` and related | AI Governance Studio | N/A | `deleteStale` is available on 18 entity types: * `tables`, `databases`, `databaseSchemas`, `storedProcedures` * `dashboards`, `charts`, `dashboard/datamodels` * `pipelines`, `topics`, `mlmodels`, `searchIndexes`, `containers` * `apiCollections`, `apiEndpoints` * `drives/directories`, `drives/files`, `drives/spreadsheets`, `drives/worksheets` ## Deprecations to plan for | Item | Status in 2.0 | Replacement | | - | - | - | | `GET /v1/search/query?deleted=` | Deprecated for removal | `query_filter` | | `authenticationConfiguration.oidcConfiguration.sessionExpiry` | Deprecated fallback | `authenticationConfiguration.sessionExpiry` | | `EntityResource.patchInternal(uriInfo, ctx, id, patch)` (Java) | Deprecated | Overload taking `ChangeSource` | # Breaking Changes - AI Agents & Automations | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations Agent apps deleted and replaced by AI Automations, abilities renamed to skills, Knowledge Center folded into Context Center, and AI Dashboard/chart access changes in Collate 2.0. # AI Agents & Automations Collate 2.0 replaces the fixed agent-app model with a general AI Automations system, renames the Skills API, folds Knowledge Center into the platform's Context Center, and closes two long-standing access-control gaps on AI Dashboards and AI charts. ## The Documentation, Tier, and Quality agent apps are deleted **Breaking.** Affects every deployment that installed the Documentation, Tier, or Quality agent. | Removed application | Replaced by | | - | - | | `CollateAIApplication` (Documentation Agent) | An AI Automation built from the Documentation template | | `CollateAITierAgentApplication` (Tier Agent) | An AI Automation built from the Tier template | | `CollateAIQualityAgentApplication` (Quality Agent) | An AI Automation built from the Quality template | Their `agentType` enum values (`CollateAI`, `CollateAITierAgent`, `CollateAIQualityAgent`) are removed from the schema — only `Metadata` remains — and each app's bot is deleted along with it. `CollateAIApplicationBot` and the Tier and Quality agent bots no longer exist after the upgrade, so any token issued to one of them stops authorizing immediately. The migration converts each installed app into an AI Automation carrying the original Elasticsearch filter, named with a **(migrated)** suffix, but it arrives **disabled and unscheduled** — your Documentation, Tier, and Quality automation stops running at the upgrade and stays stopped until someone turns it back on. Fresh 2.0 installs never had the agent apps, so none of this applies to them; the templates are simply available in the catalog from day one. > [!WARNING] > > Reissue any bot token built against `CollateAIApplicationBot` or the other removed bots **before** > you upgrade, then open **AI Automations**, find the entries suffixed **(migrated)**, review the > carried-over filter, set a schedule and enable it. If the original agent notified a channel, reattach > a destination — the migration never sets one. Automation that filters `GET /v1/services/ingestionPipelines` by the old `agentType` values must move to the new values `metadata` and `application`. ## AI Automations: a materially larger replacement surface **Additive**, but the shape is different enough that anything built against the old agent-app APIs needs to change, not just repoint. AI Automations are a first-class entity at `/v1/ai/automations` with a considerably larger surface than the apps they replace: | Capability | Detail | | - | - | | Templates | Ship with Documentation, Tier, Quality, **PII Discovery**, **Glossary Term Linking**, and **Domain Assignment** templates | | 3-step wizard | Template → Configure → Schedule, with agent icons, scope asset count, and a flat query builder | | Server-side listing | Search, filters, pagination, and a `runState` filter: `GET /v1/ai/automations/search/list` | | Categories & providers | Filter the catalog by category and by provider | | Run history with impact | Per-run impact statistics, and a persisted latest-run impact snapshot | | Streamed logs | `GET /v1/ai/automations/{id}/logs/stream/{runId}` streams run logs over SSE; a centralised logs modal is also available in the UI | | Lifecycle control | `deploy`, `trigger`, `toggle`, `kill` | | Reporting | `runs/report` and `runs/publish`, plus chart-bearing email reports that can target Collate AI | | Incremental | Entities already processed in previous runs are skipped | | Summary | `GET /v1/ai/automations/summary` and `GET /v1/ai/automations/status` | > [!NOTE] > > Run records are mapped onto the same shape the app run history used, so dashboards built on agent run > records keep working, but they must read from the automations endpoints, not > `GET /v1/collate/apps/name/{name}/agentRuns`, which is removed. ## Abilities renamed to Skills, Knowledge Center moves into Context Center **Breaking.** Affects any client, script, or integration calling `/v1/agents/abilities` or `/v1/knowledgeCenter`. All fifteen `/v1/agents/abilities` endpoints move to `/v1/agents/skills` — a pure path rename, the request and response shapes are unchanged: ```diff theme={null} - GET|POST|PUT /v1/agents/abilities - GET|PATCH|DELETE /v1/agents/abilities/{id} - GET|DELETE /v1/agents/abilities/name/{fqn} - PUT /v1/agents/abilities/restore - PUT /v1/agents/abilities/{id}/restoreDefault - PUT|DELETE /v1/agents/abilities/{id}/followers[/{userId}] - GET /v1/agents/abilities/{id}/versions[/{version}] - DELETE /v1/agents/abilities/async/{id} + ...the same fifteen operations under /v1/agents/skills ``` Because *abilities* became *skills* across the backend, AI Studio's labels and navigation change to match — behavioural, but expect enablement material and screenshots that say "abilities" to go stale. > [!NOTE] > > **Additive.** AI Studio itself also gains in-UI authoring for agents, personas, and skills in 2.0, > including drafting a planner description for a dynamic agent. The UI-selected persona is forwarded > to the AI platform, so agent behaviour follows the persona. Agent invocation gains new surface alongside the rename: | Change | Detail | | - | - | | `POST /v1/agents/invoke` | New synchronous invocation endpoint alongside the streaming path | | `GET /v1/agents/run/{conversationId}/events` | Server-sent events for an agent run | | `GET /v1/agents/dynamic/run/{conversationId}/events` | The same for dynamic agents | | `POST /v1/agents/dynamic/draftPlannerDescription` | Draft a planner description when authoring | Dynamic agents that pointed at the deleted agent-app bots are repointed by the migration. Separately, Knowledge Center is removed because the capability moved into the platform's own Context Center: | Removed | Replacement | | - | - | | `/v1/knowledgeCenter/**` (18 endpoints) | `/v1/contextCenter/pages/**` | The memory endpoints (`/v1/contextCenter/memories/**`, 10 endpoints) keep their **paths** but are now served by the platform implementation, and three operations are gone entirely: `check-duplicates`, `promote-chat` and `remember`. Any client calling those three must be reworked, not just repointed. Context memories are also now visibility-scoped in both AI answers and semantic search (**behavioural**) — you see org-wide memories, memories you own, and memories shared with you or your team, not everything. No action is required; if a memory seems to have disappeared, check who it's shared with. `/v1/ai/contextPlugins` is new and additive: it lets the assistant read from external sources (Notion, Slack, GitHub, Google Drive ship seeded). ## AI Dashboard visibility is enforced, and a chart now belongs to one dashboard **Breaking, and a security fix.** Affects every existing AI Dashboard and any client creating AI charts. Dashboard visibility (**Private**, **Shared**, **Public**) was stored in 1.13 but never applied — any user with view rights could open any dashboard. 2.0 enforces it, and new dashboards default to **Private**. To preserve existing access on upgrade, **every existing dashboard is set to Public**; owners should review and restrict theirs afterward. Separately, a chart carried a *list* of parent dashboards in 1.13, and its read access was the **union** of them — so any user could read someone else's chart by pinning it to a dashboard of their own. In 2.0 a chart belongs to exactly **one** dashboard: ```diff theme={null} - "dashboards": ["", ""] // array of parents + "dashboard": "" // exactly one parent - "required": ["name", "queryConfig"] + "required": ["name", "queryType", "dashboard"] ``` On upgrade, charts pinned to several dashboards are split into one copy per dashboard, keeping title, owners and query but starting a fresh version history. Any client posting `dashboards: [...]` or the old `queryConfig` shape must be rewritten — `dashboard` (singular) and `queryType` are now required. Two related endpoint removals: `GET /v1/ai/charts` (list) is gone — chart listing now hangs off the owning dashboard at `GET /v1/ai/dashboards/{id}/charts` — and `POST /v1/ai/charts/preview` is replaced by a single consolidated preview endpoint. Scheduled chart refresh is also re-platformed onto in-JVM Quartz (**behavioural**): the ingestion pipeline, Argo workflow and Python path that used to run it are retired, so any monitoring built on those pipelines (alerting on a failed refresh pipeline, for example) will see the pipelines disappear — monitor the automation and dashboard endpoints instead. AI Analytics also gains further additive changes in 2.0: | Change | Class | Detail | | - | - | - | | Provenance | Additive | `GET /v1/ai/dashboards/{id}/provenance` and chart-level provenance record how a chart was produced, with dashboard-scoped visibility per chart | | Chart types | Additive | Composed and Donut chart types, plus horizontal scroll and adaptive axis ticks for dense charts | | Manual refresh | Additive | Data Insight and SQL charts can be refreshed on demand | | Favourites & sharing | Additive | Favourite toggle in the dashboard header, plus dashboard schedule sharing | ## Legacy Slack webhook receivers on AI Automations are not migrated **Breaking.** Affects any AI Automation that notified a Slack channel via a webhook URL. Legacy webhook-URL Slack notification configs on AI Automations are **not migrated** during the upgrade. Any channel receivers configured this way are lost. > [!WARNING] > > After upgrading, re-enter your Slack channel receivers directly in the AI Automations UI to restore > notifications. ## Full detail For the full narrative walkthrough of AI Agents & Automations in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations). # Breaking Changes - API & Schema Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/api-and-schema The Suggestions API is removed, search_after and entity name validation change shape, and several enum and default values change across the REST surface in Collate 2.0. # API & Schema Across the 1.13 → 2.0 jump the REST surface gains **208 endpoints** and loses **10** (Collate's own surface adds 76 and removes 47 on top of that). The JSON Schema specification gains **86 files**, modifies **107**, and removes **3** — verified directly against the `openmetadata-spec` module at the `2.0.0` tag. This page covers the schema and contract changes that cut across components; component pages cover the domain-specific ones. ## The Suggestions API is removed **Breaking.** Affects API clients, SDKs, and automation bots. The entire `/v1/suggestions` namespace (ten endpoints, including accept-all/reject-all) is gone — see [Collaboration](/ai-2-0/release-2.0/breaking-changes/collaboration) for the full replacement mapping onto `/v1/tasks`. ## search_after becomes a repeated parameter **Breaking.** Affects anyone paginating `/v1/search/query`. Each sort value is now carried as its own `search_after` parameter, rather than one comma-joined string, so values containing a comma (a glossary term's fully qualified name, for example) are safe: ```diff theme={null} - GET /api/v1/search/query?q=*&index=table&search_after=1712345678000,abc-123 + GET /api/v1/search/query?q=*&index=table&search_after=1712345678000&search_after=abc-123 ``` Split the cursor on the client and emit one parameter per sort value. The `deleted` parameter on the same endpoint is **deprecated** for removal — express deleted-entity filtering through `query_filter` instead. Separately, `GET /v1/dataQuality/testCases` now binds `testCaseStatus` as a repeated parameter too, validated against the enum, with an unknown value returning `400` naming the allowed values. ## Entity name validation is tightened **Breaking.** Affects every write path, ingestion connectors and CSV import. `entityName` and `testCaseEntityName` change pattern: ```diff theme={null} - "pattern": "^((?!::).)*$" + "pattern": "^((?!::)[^>\"\\x00-\\x1f])*$" ``` Verified directly against `openmetadata-spec/.../type/basic.json` — confirmed present at the `2.0.0` tag and absent at `1.13.4-release`. In addition to the existing `::` restriction, names may no longer contain `>`, `"`, or any ASCII control character. Entities already stored with these characters are not rewritten by the migration, but the next `PUT` or `PATCH` that revalidates the name will fail — audit source systems whose object names can contain quotes or angle brackets before upgrading. ## Enum values are removed and added across several schemas **Breaking** where values are removed, **additive-with-caveats** where they're added. | Schema | Enum | Removed values | | - | - | - | | `entity/applications/app.json` | `agentType` | `CollateAI`, `CollateAITierAgent`, `CollateAIQualityAgent` | Only `Metadata` remains, and the corresponding application configuration schemas are deleted entirely. Additions worth checking exhaustive `switch` statements or pattern matching against: `resourceDescriptor.operation` gains the five task operations, `changeEventType` gains `taskCreated`/`taskUpdated`/three lineage event types, `entityRelationship.relationshipType` gains `assignedTo`, `backgroundJob.jobType` gains `CSV_IMPORT`/`CSV_EXPORT`/`AUDIT_EXPORT`, and `table.tableType` gains `SemanticView`. ## Default values change for RDF, workflow timing and connector filters **Behavioural.** Affects deployments that never set these explicitly. | Schema | Field | 1.13 | 2.0 | | - | - | - | - | | `rdfConfiguration.json` | `inferenceEnabled` | `true` | **`false`** | | `rdfConfiguration.json` | `bulkEntityBatchSize` | `50` | `100` | | `rdfConfiguration.json` | `bulkRelationshipSourceBatchSize` | `25` | `100` | | `workflowSettings.json` | `executorConfiguration.asyncJobAcquisitionInterval` | `10000` ms | `1000` ms | > [!WARNING] > > RDF inference is off by default in 2.0. If you relied on inferred triples in SPARQL queries, set > `RDF_INFERENCE_ENABLED=true` explicitly. ## Schema reference relocations affect generated models **Behavioural.** Affects code generated from the specification and JSON Schema validators. Chart `function` and `kpiDetails` definitions moved out of `dataInsightCustomChart.json` into a new `dataInsight/custom/chartFunctions.json` — `formulaHolder.json`, `lineChart.json`, `summaryCard.json` and `dataInsightCustomChartResultList.json` all update their `$ref` accordingly. Regenerate any client model built from the JSON Schema; if you resolve `$ref` pointers by hand, update the paths. ## Notable new endpoint groups replace common client-side patterns **Additive.** None of these break anything, but they replace patterns you may currently implement yourself. | Namespace | Purpose | Replaces | | - | - | - | | `/v1/tasks/**` | First-class Task entity (22 endpoints) | `/v1/feed/tasks/*`, `/v1/suggestions/*` | | `/v1/announcements/**` | Standalone Announcement entity | `/v1/feed?type=Announcement` | | `/v1/activity/**` | Ephemeral activity stream | System-generated `/v1/feed` threads | | `/v1/csvAsyncJobs/**` | CSV import/export job status and result download | WebSocket-only job tracking | | `/v1/services/overview` | One call for per-type and per-connector service counts | N per-service `GET` calls | | `/v1/lineage/hydrate` | Batch-hydrate up to 200 lineage nodes | N per-node entity `GET` calls | | `/v1/{entityType}/deleteStale` | Connector-driven stale-entity cleanup | Manual delete loops | | `/v1/search/export/async` | Queue a CSV export as a background job | Synchronous `/v1/search/export` | | `/v1/columns/name/{fqn}` | Fetch a single column by fully qualified name | Fetching the whole table | | `/v1/personas/{id}/context`, `/v1/personas/me/context` | Persona-scoped AI context | — | | `/v1/contextCenter/**`, `/v1/attachments/**` | Context Center and file assets | — | | `/v1/aiGovernance/**` and related | AI Governance Studio | — | ## Two items are deprecated, not yet removed **Deprecated**, plan a migration but no immediate action is required: | Item | Replacement | | - | - | | `GET /v1/search/query?deleted=` | `query_filter` | | `authenticationConfiguration.oidcConfiguration.sessionExpiry` | `authenticationConfiguration.sessionExpiry` | ## Full detail For the full narrative walkthrough of API & Schema in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: API & Schema](/ai-2-0/release-2.0/api-and-schema). # Breaking Changes - Applications & Automation Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/applications-and-automation Search Indexing app config fields are removed, RDF Index defaults change, and MCP tool contracts change for 15 tools in Collate 2.0. # Applications & Automation Four installed applications have their stored configuration rewritten by the 2.0.0 migration: Search Indexing, RDF Index, Data Insights and MCP. If you manage application configuration as code, read this before you replay it. The Documentation, Tier, and Quality agent apps are deleted by the same migration — that's covered separately under [AI Agents & Automations](/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations). ## Search Indexing app configuration fields are removed **Breaking.** Affects scripted reindex triggers and infrastructure-as-code. ```diff theme={null} - "recreateIndex": { "type": "boolean", "default": true }, - "useDistributedIndexing": { "type": "boolean", "default": true }, ``` In 2.0, reindex **always** recreates the index and distributed indexing is **always** used — there is no incremental mode. New supporting infrastructure: `search_index_job` for distributed reindex job tracking, and `search_index_retry_queue` for failed search-index writes with claim leasing. > [!WARNING] > > Any automation triggering a reindex with `{"recreateIndex": false}` — an "incremental reindex" job, > for example — must drop the field. New diagnostics ship alongside: reindex-drift and index-health > checks in `/v1/system/validate`, plus a cluster-fitness diagnostic. ## RDF Index app defaults change, and your settings get overwritten **Behavioural.** The migration overwrites your settings, not just the schema defaults. | Setting | Before | After | | - | - | - | | `appSchedule.cronExpression` | daily | **`0 0 * * 6`** (weekly, Saturday) | | `appConfiguration.recreateIndex` | incremental | **`true`** (full rebuild every run) | | `appConfiguration.entities` | operator's subset | **`["all"]`** | Incremental RDF indexing produced unbounded triple growth because relationship-removal paths weren't fully reconciled. A full per-run clear always converges to the relational state, and the weekly cadence keeps per-run cost from saturating the triple store. The `entities` reset is a safety measure: with a full rebuild issuing a clear before indexing, a narrowed entity subset would wipe triples for entity types still present in the database. > [!WARNING] > > Your `entities` subset is **not preserved**. Reapply it after the migration if you need partial RDF > indexing — understanding that the following run will still clear first. `inferenceEnabled` also > flips from `true` to `false`; set `RDF_INFERENCE_ENABLED=true` to restore 1.13 behaviour. ## Data Insights and MCP application configuration are stripped **Breaking**, for two unrelated reasons landing in the same migration pass. A stored `DataInsightsApplication` configuration containing `moduleConfiguration.dataQuality` fails to deserialize at startup — see [Data Quality](/ai-2-0/release-2.0/breaking-changes/data-quality) for the full removal. Separately, MCP configuration now lives **solely** in the `mcpConfiguration` setting; the application-level copy (which no code read) is dropped by the migration, and the now-empty configure step is hidden in the UI. Configure MCP through **Settings** > **MCP**, not through the application's own configuration. Two more fields are stripped from stored application rows for security reasons (**behavioural**): `openMetadataServerConnection` and `privateConfiguration` were being persisted into application rows and version history despite being runtime-only. 2.0 also stops exposing the application bot JWT and `privateConfiguration` secrets in API responses — if your tooling read the bot token out of `/v1/apps/...`, obtain it through the bot API instead. > [!NOTE] > > The `appConfig` union also drops the three Collate AI agent configurations and gains a permissive > terminal branch — branch **indexes shift**, so generated unions that key on position must be > regenerated rather than hand-patched. ## MCP tool contracts change for 15 tools, and 7 tools are added **Breaking for MCP clients that parse responses.** No tools are removed, but the contract changes in ways that will silently misbehave if you don't update the client: | Change | Detail | | - | - | | `queryFilter` no longer honours `size` or `aggs` | A `size`/`aggs` key inside `search_metadata`'s `queryFilter` is **ignored**. Read `totalFound` for counts, or set `includeAggregations=true` for facets — a count query written as `{"size": 0, "aggs": {...}}` silently returns a normal result page in 2.0. | | Opaque `nextCursor` pagination | All read tools page behind a single opaque cursor instead of per-tool offset conventions. | | Response size budget | A global budget trims wide payloads by **paging items, not truncating content** — a response can now be a partial page where 1.13 returned a truncated blob. | | `queries` is not a retrievable field | `search_metadata`'s `fields` no longer resolves `queries`. Search `entityType='query'` instead. | | Name term queries must be lowercased | `fullyQualifiedName` is indexed with a lowercase normalizer, so `{"terms": {"fullyQualifiedName": ["DailyActiveUsers"]}}` silently matches nothing. | | `create_*` tools return a compact entity | Instead of the full entity. | The changed tools are `create_classification`, `create_data_product`, `create_domain`, `create_glossary`, `create_glossary_term`, `create_lineage`, `create_metric`, `create_tag`, `create_test_case`, `get_entity_lineage`, `get_test_definitions`, `patch_entity`, `root_cause_analysis`, `search_metadata` and `semantic_search`. The seven new tools are all Context Center and AI-context tools: `create_context_memory`, `find_context`, `get_asset_context`, `get_company_context`, `get_knowledge_content`, `get_persona_context` and `search_company_context`. > [!TIP] > > Re-run your MCP client against 2.0 before rolling out. Anything that counted results with a > `size: 0` aggregation query, or paged with a bespoke offset, must change. ## CSV import and export become tracked background jobs **Behavioural.** Affects CSV automation and the UI. In 1.13, async CSV progress was delivered **only** over WebSocket — a client without a live socket had no way to observe the job. In 2.0, `background_jobs` gains `progress`, `total`, `result`, `error`, `cancelRequested` and `completedAt`; jobs are pollable at `GET /v1/csvAsyncJobs/{jobId}` and downloadable from `GET /v1/csvAsyncJobs/{jobId}/result`, and the UI surfaces them in a **Background jobs** tray. Async entity restore is also available via `PUT /v1/{entityType}/restore?async=true`. ## Concurrency limits protect the connection pool during background fan-out **Additive.** A new `openmetadata.yaml` block caps how much background work can run at once: ```yaml theme={null} asyncOperations: maxConcurrentDbTasks: ${ASYNC_MAX_CONCURRENT_DB_TASKS:-25} maxConcurrentRdfWrites: ${ASYNC_MAX_CONCURRENT_RDF_WRITES:-8} dataInsightsMaxConcurrentDbTasks: ${DATA_INSIGHTS_MAX_CONCURRENT_DB_TASKS:-16} ``` This prevents background fan-out (reindex, Data Insights runs) from exhausting the request connection pool. Tune the values down if you see connection-pool starvation during those runs. ## Search and vector infrastructure gain new capabilities **Additive.** Native Elasticsearch vector search is available alongside the existing OpenSearch path, and Google Gemini joins as an embedding provider. Multi-chunk hybrid ranking is backed by denormalised chunk documents with a staged, generation-based index recreate, inspectable at `GET /v1/search/vector/fingerprint`. The candidate multiplier for vector search is tunable via `knnNumCandidatesMultiplier` (`num_candidates = max(k × multiplier, 100)`, default `2`), and NLQ's `filterExtractor` block gains its own cache size, TTL, and prompt sample limits. ## A new cache layer ships with admin controls **Additive.** New admin endpoints — `GET /v1/system/cache/keys`, `POST /v1/system/cache/invalidate` and `POST /v1/system/cache/invalidate/entity` — manage a cache layer that's a no-op by default. Set `CACHE_PROVIDER=redis` to enable the Redis L2 cache; it falls back to the no-op provider if Redis is unreachable at startup. ## Full detail For the full narrative walkthrough of Platform Applications in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Platform Applications](/ai-2-0/release-2.0/platform-applications). # Breaking Changes - Collaboration Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/collaboration Tasks, suggestions, announcements, and system activity all move out of thread_entity into purpose-built entities with their own APIs in Collate 2.0. # Collaboration 2.0 retires the thread-backed collaboration model. Tasks, suggestions, announcements, and system activity each move out of `thread_entity` into purpose-built entities with their own tables, APIs and permissions. Human conversations stay on `/v1/feed`. | Concern | 1.13 storage | 2.0 storage | | - | - | - | | Conversations | `thread_entity` | `thread_entity` (unchanged) | | Tasks | `thread_entity` (`type=Task`) | **`task_entity`** | | Suggestions | `suggestions` table | **`task_entity`** (`type=Suggestion`) | | Announcements | `thread_entity` (`type=Announcement`) | **`announcement_entity`** | | System activity | `thread_entity` generated rows | **`activity_stream`** (partitioned, retention-bounded) | ## Tasks become a first-class entity **Breaking.** Affects API clients, bots, and workflow integrations reading `/v1/feed/tasks/*`. Tasks are now backed by `task_entity`, with full CRUD and versioning at `/v1/tasks` (22 new endpoints: list/create/upsert, resolve/close lifecycle transitions, scoped lists like `/assigned` and `/dataAccessRequests`, bulk operations, version history). Required fields are `id`, `name`, `category`, `type`, `status`, `createdBy`, and typed payload schemas ship per task type (`glossaryApprovalPayload`, `dataAccessRequestPayload`, and nine others). `/v1/feed` still exposes `GET /v1/feed/tasks/{id}`, `PUT /v1/feed/tasks/{id}/resolve` and `PUT /v1/feed/tasks/{id}/close`, but **creating** a task thread through `POST /v1/feed` now validates the task type and rejects anything outside the supported legacy set (description, tag, approval, test-case-failure-resolution), plus enforces that `about` is non-blank and `taskDetails` is present only on task threads. > [!WARNING] > > Move task creation to `POST /v1/tasks`. If you must stay on `/v1/feed`, restrict yourself to the four > supported legacy task types and supply well-formed `taskDetails`. Five new policy operations gate this: `CreateTask`, `EditTask`, `ResolveTask`, `CloseTask` and `ReassignTask` (**behavioural** — affects non-admin users and application bots). The migration backfills them onto the seed `DataConsumerPolicy` and `ApplicationBotPolicy`, but **custom policies that replaced those seeds are not backfilled** — non-admins get `403` creating or editing tasks until you add the operations yourself. Task authorization is also self-approval guarded: a task's creator cannot approve their own task, even where policy would otherwise allow it. ## Suggestions become Tasks **Breaking.** Affects AI and automation bots, and SDK users calling `/v1/suggestions`. The entire `/v1/suggestions` namespace is removed: | 1.13 | 2.0 | | - | - | | `GET /v1/suggestions?entityFQN=…` | `GET /v1/tasks?…` filtered on `type=Suggestion` | | `POST /v1/suggestions` | `POST /v1/tasks` with `type: Suggestion` | | `PUT /v1/suggestions/{id}/accept` | `PUT /v1/tasks/{id}/suggestion/apply`, then resolve | | `PUT /v1/suggestions/{id}/reject` | `POST /v1/tasks/{id}/resolve` with a rejecting resolution | | `PUT /v1/suggestions/accept-all` / `reject-all` | `POST /v1/tasks/bulk` | The suggestion field path also moves from an entity link to `payload.fieldPath` in dot notation (`columns.col_name.description`). Existing suggestions are migrated into `task_entity` automatically. ## Announcements become a standalone entity **Breaking.** Affects anything reading or writing announcements through the feed API. `/v1/feed` now rejects announcements outright — list, get, patch, create, delete, posts, and reactions on an announcement thread all return `400` with `Announcements are no longer served from /v1/feed. Use /v1/announcements instead.` Announcements are full entities in 2.0 (versioned, soft-deletable, restorable) at `/v1/announcements`, and the UI renders them in the entity header rather than only in the feed widget. ## System activity moves to a retention-bounded Activity Stream **Breaking**, with a **data-loss note**. Affects anything treating the feed as an audit trail. System-generated activity (field changes, entity created/updated) no longer lives in `thread_entity`. It moves to a time-partitioned `activity_stream` table at `/v1/activity/**`, and **events older than 30 days are deleted automatically by default** (`activityStreamConfig.retentionDays`, configurable globally or per domain). > [!WARNING] > > Do not use the activity stream as an audit trail. For compliance history use entity version history > (`/v1/{entityType}/{id}/versions`) and the audit log (`/v1/audit/logs`, which gains a searchable > `search_text` column and an export endpoint in 2.0). Activity events are ephemeral by design. `thread_entity` itself is renamed to `thread_entity_legacy` post-migration (**behavioural** — affects anyone querying the database directly); the feed repository resolves the legacy table dynamically so migrated threads stay readable, but BI dashboards, or retention jobs querying `thread_entity` directly need updating. ## Alert filters are scoped and matched literally **Behavioural.** Affects existing alert subscriptions. In 1.13, the entity-FQN filter returned `true` unconditionally for thread change events — thread activity bypassed the filter entirely. In 2.0 a thread event is matched against the fully qualified name of the entity the thread is **about**. An alert scoped to `service.db.schema` that previously fired for every conversation and task in the system now fires only for threads about entities under that name; alerts that looked noisy will go quiet, and alerts you relied on for global thread coverage will stop firing. Filter functions also now match fully qualified names **literally**, not as regular expressions. An alert whose filter used `.`, `*` or `|` to match a family of names no longer matches — enumerate the names or rely on descendant matching instead. > [!TIP] > > Audit every alert with an entity name filter after upgrading, and test with > `POST /v1/events/subscriptions/testDestination`. ## A few smaller additive pieces round out the redesign `/v1/taskFormSchemas` stores per-task-type form definitions, referenced from a Task via `taskFormSchemaId` and `taskFormSchemaVersion` — this is what lets governance workflows render custom task forms. `changeEventType` adds `taskCreated`, `taskUpdated`, `entityLineageAdded`/`Deleted`/`Updated` for webhook and event-subscription consumers, and `changeEvent` gains a `recursive` flag marking cascade deletes — a single event is recorded for the deleted root, so consumers that previously counted per-child delete events must read `recursive` instead. Both the feed list and task list APIs also accept `startTs`/`endTs` for server-side time-range filtering, replacing client-side windowing. ## Full detail For the full narrative walkthrough of Collaboration in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Collaboration](/ai-2-0/release-2.0/collaboration). # Breaking Changes - Collate AI & Credits Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/collate-ai-and-credits AskCollate is renamed to Collate AI, credits become weighted and cache-aware, runs that can't finish are refused up front, and the Slack app moves to agent mode in Collate 2.0. # Collate AI & Credits The product rename is the visible part. Underneath it, the credit model, the desktop app's version gate, and the Slack/Teams integration all change in ways that affect anyone forecasting spend or relying on existing automation triggers. ## AskCollate is renamed to Collate AI **Breaking for anything that matches on the product name.** AskCollate is renamed to **Collate AI** everywhere: the UI, the backend, billing labels, chat prompts, and the Slack and Microsoft Teams integrations. This is a label change across the product, not a new feature, but it breaks exact-match automation. > [!WARNING] > > Grep saved searches, dashboards, runbooks, alert rules and Slack/Teams workflow triggers for the > literal string `AskCollate` and update them to `Collate AI`. Billing exports carry the new label too, > so any spreadsheet or BI report keyed on the old one needs repointing. ## Credits become weighted, and unfinishable runs are refused up front **Behavioural.** The same workload consumes a different number of credits in 2.0 than in 1.13, and runs that can't complete no longer start. 1.13 charged credits from a flat token count. 2.0 introduces a weighted, cache-aware model: | Change | Effect | | - | - | | Weighted by token type | Input, output, cache-read and cache-write tokens carry different cost ratios, so a cache-heavy conversation costs materially less than the same token count of fresh generation | | Weighted by model | Credits are weighted by the model that actually served each call, so a request routed to a cheaper model costs fewer credits | | Fixed divisor | The weighted basis is divided by a locked `tokensPerCredit` of 58,000 | | Cache-only usage is recorded | Lump-sum recording is guarded on the weighted basis, so cache-only usage is no longer silently dropped | | Per-conversation attribution | Credits are attributed to the conversation that spent them, not just to the tenant pool | If you forecast spend from 1.13 token counts, re-baseline after upgrading rather than converting the old numbers — re-run a representative week and compare. Separately, 2.0 warns before the credit limit is reached and **refuses to start work that cannot complete** within the remaining pool. In 1.13 a long automation could start and exhaust the pool part-way through, leaving partial results and no credits; in 2.0 the run is rejected up front with a clear reason. Operators get a live view at `GET /v1/status/credits`, and credits can be refunded from the operator API. ## Billing is reorganized and admins gain read access to conversations **Additive**, but with a policy implication worth flagging: the **Billing** area is reorganized into Overview, Product, User Adoption, AI Credits and MCP requests, backed by new endpoints (`GET /v1/billing/credits/conversations`, `GET /v1/billing/adoption/users`, `GET /v1/billing/weekly-impact`). AI chat response time is now measured server-side rather than in the browser. > [!NOTE] > > Admins can now read any conversation from Billing in read-only mode, so credit spend can be > explained. This is new. If your policy forbids administrators reading user conversations, restrict > the admin role accordingly before upgrading. Conversations also become collaborative (additive) — a conversation is no longer private to its author, and collaborators are emailed when added. If your compliance posture assumed conversations were single-user, review it before upgrading: content previously visible only to its author can now be shared by that author via `PUT /v1/assistants/chatConversations/{id}/collaborators/{userId}`. Collate's MCP integration also gains additive changes in 2.0: | Change | Class | Detail | | - | - | - | | Tool annotations | Additive | Collate tools are annotated with title, read-only, destructive, and open-world hints | | Size budget | Behavioural | Collate tools route through the shared response size-budget net, with null-guarded error messages | | Usage tracking | Additive | MCP tool-call usage is tracked and rolled up daily into telemetry, surfaced in the Billing MCP requests tab above | See [Applications & Automation](/ai-2-0/release-2.0/breaking-changes/applications-and-automation) for the platform-level MCP tool contract changes (new tools, changed tools, pagination and payload contracts) that also apply to every MCP client. ## Natural-language query configuration moves **Breaking.** NLQ provider configuration moves into the unified `llmConfiguration` block — see [Platform & Security](/ai-2-0/release-2.0/breaking-changes/platform-and-security) for the full shape. NLQ also gains a client abstraction with OpenAI and Google Gemini providers alongside the existing one. ## The Collate desktop app refuses to save pre-2.0 instance URLs **Breaking.** Saving a Collate instance URL in desktop Settings probes `GET /api/v1/system/version` and, if the version parses below **2.0.0**, reopens the dialog with an inline alert instead of saving. It fails open on an unparseable version. > [!WARNING] > > Upgrade your Collate instances before rolling out the 2.0 desktop client, or users will be unable to > point the app at them. ## The Slack app moves from assistant mode to agent mode **Breaking.** The Collate AI Slack app moves from assistant mode to **agent mode**, and now requires **file-attachment permissions** so it can deliver AI Analytics reports. > [!WARNING] > > Reinstall the Slack app from the updated manifest and re-approve the requested scopes. Without the > file permission, report delivery to Slack fails. Response language is also now taken from the `X-OpenMetadata-Language` header, set from the **Language** tab of profile settings, instead of being inferred from the conversation (**behavioural**) — a user whose profile language differs from the language they type in will get replies in their profile language. ## Full detail For the full narrative walkthrough of Collate AI & Credits in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Collate AI & Credits](/ai-2-0/release-2.0/collate-ai-and-credits). # Breaking Changes - Data Governance Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/data-governance New task-based policy operations, PII recognizer accuracy fixes, faster-firing governance workflows, and Policy Agent defaults backfilled onto existing services in Collate 2.0. # Data Governance Most of what changes here is downstream of the Task redesign: policies, workflows, and the new Data Access Request / Policy Agent feature are all task-shaped in 2.0. A PII recognizer fix and a governance-workflow timing change are the two items worth planning around independently. ## New task operations are not backfilled onto custom policies **Behavioural.** Affects custom policies, non-admin users and bots. `resourceDescriptor` gains five new task operations: `CreateTask`, `EditTask`, `ResolveTask`, `CloseTask` and `ReassignTask`. The migration seeds a new `TaskAuthorPolicy`, attaches it to the `DataConsumer` role, and adds task rules to `DataConsumerPolicy` and `ApplicationBotPolicy` — but seed policies are **create-if-not-exists**. > [!WARNING] > > If you replaced `DataConsumerPolicy` or `ApplicationBotPolicy` with your own definition, the > migration does **not** backfill the new task operations onto it. Non-admin users and application > bots will receive `403` when creating or editing tasks until you add a rule like: > > ```json theme={null} > { > "name": "DataConsumerPolicy-CreateTask-Rule", > "resources": ["task"], > "operations": ["Create"], > "effect": "allow" > } > ``` Task authorization is also self-approval guarded — a task's creator cannot approve their own task, even where policy would otherwise allow it. Approval automation that submitted and approved with the same service account must be split across two principals, or use `emptyAssigneeStrategy: assignAdmins`. Separately, the reviewer-authorization shortcut that let a reviewer create an entity without an explicit grant is removed (**behavioural**): flows relying on it now need an explicit `Create` grant. ## A PII recognizer fix changes existing tags **Behavioural.** Existing tags might be wrong; new runs will differ. The CVV recognizer's regular expression is anchored by the migration, from `\b\d{3,4}\b` to `\A\d{3,4}\Z`. The unanchored pattern matched the `125` inside values like `SCN-125`, so any column whose name carried a CVV context word (`code`, `card`, `cvv`) and whose values contained a 3–4 digit run was tagged `PII.Sensitive` — for example `scenario_code` or `error_code` — because the context boost set the score straight to the maximum, turning a low-confidence pattern into a certain match. > [!TIP] > > Review existing `PII.Sensitive` tags on columns named `*_code`. The migration fixes the recognizer > going forward; it doesn't retract tags already applied. Related fixes: overly broad context keywords are removed from PII recognizers, sibling-tag score ties are now broken by column-name match, and temporal table period columns are excluded from auto-classification sampling. Separately, auto-classification now extends to topics and storage containers (**additive**) — expect new tags to appear on messaging and storage assets, and widen any PII-tag-keyed policy or alert coverage accordingly. ## Governance workflows fire far sooner **Behavioural.** Affects every governance workflow, and raises steady-state database polling. The migration lowers three intervals on **existing** deployments: | Setting | 1.13 | 2.0 | | - | - | - | | `WorkflowEventConsumer.pollInterval` | 10 s | **1 s** | | `asyncJobAcquisitionInterval` | 10,000 ms | **1,000 ms** | | `timerJobAcquisitionInterval` | 60,000 ms | **5,000 ms** | Approval tasks now appear near-instantly after the triggering change instead of up to 10 seconds (or, under load, minutes) later. On very large clusters, monitor database load after the upgrade and raise the intervals if needed. > [!NOTE] > > Workflow migrations run inside a guard: a workflow-handler failure logs and continues rather than > aborting the rest of the data migration. If you see *"Failed to initialize WorkflowHandler … in > v200"* in the upgrade logs, restart the server to complete workflow wiring. The `userApprovalTask` node also gains task-lifecycle configuration (additive, backwards compatible): an `assignees.emptyAssigneeStrategy` of `assignAdmins` falls back to all platform admins, excluding the requester, instead of the 1.13-matching default of auto-approving or leaving the task unassigned. Set it explicitly on approval nodes where unassigned tasks were silently auto-approving. ## Policy Agent defaults are backfilled onto existing services **Behavioural.** Affects existing Snowflake, Databricks, and Unity Catalog services. Collate 2.0 introduces self-service Data Access Requests backed by a Policy Agent that executes grants and revokes against the source system. Because schema-level defaults only apply at create-time deserialization, the migration rewrites **stored rows** for existing services: | Service type | `enabled` | `supportsFullAccess` | `supportsMaskedAccess` | `supportsColumnAccess` | | - | - | - | - | - | | Snowflake | `true` | `true` | `true` | `false` | | Databricks | `true` | `true` | `false` | `false` | | Unity Catalog | `true` | `true` | `false` | `false` | Operator-set `true` values are preserved; only `false` or missing values change. `policyAgentConfig` is **removed** from the Postgres schema and stripped from stored rows entirely. > [!WARNING] > > After the upgrade, the Request Access affordance appears on Snowflake, Databricks, and Unity Catalog > assets, and disappears from Postgres. Set `enabled: false` explicitly on services where you don't > want Data Access Requests available. ## Glossaries gain native OWL/RDF ontology import **Additive.** ``` PUT /v1/glossaries/name/{name}/importRdf ``` Imports an OWL/RDF ontology into a glossary, preserving identity for round-trips. Two new fields support this: | Entity | Field | Purpose | | - | - | - | | `glossaryTerm` | `iri` | Canonical IRI of the term in its source ontology, used as the RDF subject when present | | `glossary` | `namespaces[]` | Prefix-to-namespace IRI mappings, so CURIEs render and re-export preserves identity | > [!NOTE] > > A glossary term created in the UI has no `iri`. Terms imported from an ontology carry one, and export > re-emits it. Do not rewrite `iri` on update, or you'll break round-trip identity. Relation types also gain OWL property characteristics used for RDF round-trip and optional validation (not enforced by default): `domain[]`/`range[]` (term names or class IRIs a source/target term must be typed as), `isFunctional`/`isInverseFunctional`, and `isReflexive`/`isIrreflexive`/`isAsymmetric`. Relation types are readable by any authenticated user and paginated, all relation types between the same term pair are preserved, and glossary rename now cascades to child terms in the search index. ## Domains, data products, and intake forms round out the release **Additive.** No breaking changes in this area for 1.13 → 2.0. * An ODPS data product schema (`entity/domains/odps/odpsDataProduct.json`), Data Product support in the Observability UI, a certification quick filter on the Data Products listing, and a request-access button for data products. * A new `assignedTo` relationship type, and domain-scoped activity-feed visibility (task domains are backfilled by the migration). * `governance/intakeForm.json` and `POST /v1/governance/intakeForms` add structured intake forms, used with `taskFormSchema` to drive request and approval workflows with typed inputs. ## Collate AI agent types are removed from the governance schema **Breaking.** The `agentType` enum drops `CollateAI`, `CollateAITierAgent` and `CollateAIQualityAgent` — only `Metadata` remains — and their configuration schemas are deleted. See [AI Agents & Automations](/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations) for the full migration. Remove references to these agent types from application configuration and any automation filtering ingestion pipelines by `agentType`; use the new filter values `metadata` and `application` on `GET /v1/services/ingestionPipelines` instead. ## Full detail For the full narrative walkthrough of Data Governance in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Data Governance](/ai-2-0/release-2.0/data-governance). # Breaking Changes - Data Quality Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/data-quality Incidents move onto the Task entity, Data Insights stops computing data quality, and the profiler samples dynamically by default in Collate 2.0. # Data Quality Test cases, incidents, and the reporting surface all change shape in 2.0, and one documentation correction means test definitions that followed the 1.13 docs may already have been broken. ## Incidents move onto the Task entity **Breaking.** Affects incident automation and feed-based incident integrations. | | 1.13 | 2.0 | | - | - | - | | Storage | `thread_entity` (`type=Task`) | `task_entity` | | Task type | thread task type | `TestCaseResolution` / `IncidentResolution` | | Category | N/A | `Incident` | | Payload | untyped `taskDetails` | `testCaseResolutionPayload` / `incidentResolutionPayload` | | Resolve | `PUT /v1/feed/tasks/{id}/resolve` | `POST /v1/tasks/{id}/resolve` | The test case resolution status time series is unchanged — it still drives incident state. What changed is the **task** attached to it. `POST /v1/feed` still accepts test-case-failure-resolution task types, so existing integrations keep working, but new work should target `/v1/tasks`. Two additive fields reduce round trips: `incidentStatus` is now inlined on `TestCase` (no extra lookup per test case to render current incident status), and a new `autoCloseIncident` boolean (default `false`, opt-in per test case) automatically resolves an open incident as `AutoResolved` when a subsequent test result succeeds. The default is unchanged behaviour unless you opt in — 2.0 makes auto-close available but doesn't enable it retroactively. ## Data Insights no longer computes data quality **Breaking.** Affects `DataInsightsApplication` configuration and Data Insights dashboards built on the data quality module. ```diff theme={null} - "dataQualityConfig": { "enabled": true }, "moduleConfiguration": { - "dataQuality": { "$ref": "#/definitions/dataQualityConfig" }, - "required": ["dataAssets", "appAnalytics", "dataQuality", "costAnalysis"] + "required": ["dataAssets", "appAnalytics", "costAnalysis"] } ``` `moduleConfiguration` is `additionalProperties: false`, so **any persisted configuration still carrying the `dataQuality` key makes `DataInsightsApplication` fail to deserialize on startup.** The migration strips it from `installed_apps`, `apps_marketplace` and every application version row — but if you manage application configuration as infrastructure-as-code, strip `moduleConfiguration.dataQuality` yourself before replaying a 1.13 configuration into 2.0. What replaces it: test case results and resolution statuses are read straight from their live search indexes, which also drops the previous 30-day cap on incident data in Data Insights — incident history is no longer truncated. ## A documentation correction may surface already-broken tests **Not a behaviour change** — a corrected description, but worth checking your test definitions. The `sqlExpression` field's description was wrong in 1.13: it said single-brace placeholders like `{table}` and `{column}` were supported. The renderer is actually Jinja2 and has always required double braces (`{{ table_name }}`, `{{ column_name }}`, `{{ paramName }}`). The renderer is identical in both releases — single-brace placeholders never worked. > [!TIP] > > Audit custom SQL test definitions for single-brace placeholders. If you followed the 1.13 > documentation and wrote `{table}`, that test was already producing invalid SQL — convert it to > `{{ table_name }}` and `{{ column_name }}`. ## Multi-status test case filtering, and a stricter status parameter **Behavioural.** `GET /v1/dataQuality/testCases` now binds `testCaseStatus` as a **repeated** parameter (`?testCaseStatus=Failed&testCaseStatus=Aborted`), validated against the status enum — an unknown value returns `400` listing the allowed values, where 1.13 tolerated an invalid status silently. A single-value call is unchanged. In the UI, Test Cases, Test Suites, Test Definitions, Incidents and the Data Quality Dashboard all move to a shared multi-select filter-chip pattern. Reporting and search also gain additive capabilities in 2.0. A batch endpoint replaces N sequential report calls: ```http theme={null} POST /v1/dataQuality/testSuites/dataQualityReport/batch ``` ```json theme={null} { "requests": [ { "key": "byStatus", "index": "testCase", "aggregationQuery": "…", "q": "…", "domain": "…" }, { "key": "byDimension", "index": "testCase", "aggregationQuery": "…" } ] } ``` Each request carries a client-supplied `key` used to correlate it with its result in the response. Separately, test suites and test cases are now vectorised for hybrid search, `search_metadata` can search them, and orphan test cases no longer break search indexing. ## Profiler sampling defaults to dynamic, and cardinality distribution is opt-in **Behavioural**, with an accuracy implication for AI users. The profiler workflow now samples dynamically by default (`sampleConfigType: DYNAMIC`, sized from the table's row count) rather than reading 100% of rows. The sampling configuration *schemas* are unchanged between 1.13 and 2.0 — set a static sample explicitly if you need full-table profiling. > [!WARNING] > > Cardinality distribution is no longer part of the Profiler agent defaults. This matters for Collate > AI agents that reason over distinct values — add the metric back explicitly on the profiler agent if > you expect to use the Analytics Agent, because it improves response accuracy. `columnProfile.cardinalityDistribution` also moves from an inline object to a named schema definition — the wire shape is unchanged, but regenerate specification-derived models if you consume the raw schema. ## Observability UI internals change for forks **Behavioural.** Affects forks and plugin authors, not end users. `ObservabilityRouterClassBase` replaces the shared router utilities for data quality and observability navigation, making them overridable by downstream distributions. Test case and bundle-suite forms migrate from AntD `Form` to react-hook-form; `EditTestCaseModal`, `EditTestCaseModalV1`, `TestCaseForm`, `TestCaseFormV1` and `BundleSuiteForm` are removed. See [UI & Customization](/ai-2-0/release-2.0/breaking-changes/ui-and-customization) for the broader component migration these fit into. ## Full detail For the full narrative walkthrough of Data Quality in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Data Quality](/ai-2-0/release-2.0/data-quality). # Breaking Changes - Discovery & Search Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/discovery-and-search The redesigned Explore page changes URL parameters, filter behaviour, result ordering, caching, and export in Collate 2.0. # Discovery & Search The Explore page is redesigned in 2.0, and the redesign is shared by both Classic Mode and AI Mode. The mental model changes from *"the tree replaces your filters"* to *"the tree sets a browse location that stacks with your filters."* Filtering, browsing, pagination, ranking, and export all behave differently. ## Explore URL parameters changed **Breaking.** Affects bookmarks, saved links, embedded iframes, and anything that constructs Explore URLs. | Parameter | 1.13 | 2.0 | | - | - | - | | Page number | `page` | **`currentPage`** | | Page size | `size` | **`pageSize`** | | Browse location | N/A | **`browsePath`** (JSON-encoded field list) | | Cursor paging | N/A | `cursorType`, `cursorValue` | | Free text, quick filters, sort, deleted | unchanged | unchanged | A 1.13 link with `?page=3&size=25` still loads Explore, but silently lands on **page 1 at the default page size** — no error and no redirect. The route itself (`/explore/:tab`) is unchanged. Explore also now accepts only **15, 25 or 50** rows per page; any other `pageSize`, including one inherited from a user's stored global setting, is coerced back to 15. > [!TIP] > > Update deep links, embedded dashboards and internal documentation to `currentPage`/`pageSize`. ## Browsing no longer clears your filters, and facets are scoped differently **Behavioural.** Affects every Explore user. In 1.13 the left tree drove the quick filters directly — selecting a service **overwrote** the filter state. In 2.0 the tree writes to its own `browsePath` parameter, compiled into a separate search filter and `AND`-ed with the dropdown filters. Selecting Tier 1 and then browsing to a schema now keeps the Tier 1 filter; removing a browse chip truncates the path from that level down. Facet aggregation also changes: in 1.13 every dropdown's aggregation was computed against the *full* combined filter including that dropdown's own selection, so selecting "Table" in Data Assets shrank the Data Assets dropdown to just "Table." 2.0 excludes a facet's own field from its own aggregation — within one facet, values are `OR`-ed and the option list keeps showing alternatives; across facets, constraints are `AND`-ed. > [!TIP] > > UI tests that clicked **Update** to commit a dropdown selection must drop that step — selections > apply immediately in 2.0. The **"Clear all" text link is removed**, replaced by **Clear All** on a > new query chip row; test suites keyed on `data-testid="clear-filters"` must move to > `data-testid="explore-query-filter-chips"`. Note also that dismissing an Advanced Search query no > longer resets quick filters and browse location — it only clears the advanced query. ## Result ordering changes **Behavioural.** Affects every search and Explore result list. Search settings gain a per-asset-type `ranking` block: ordered lexical stages first (name matches outrank description and context matches), then bounded metadata signals (Tier, usage) capped at `maxBoost: 2.0` so they act as tie-breakers rather than dominating relevance. The 2.0.0 migration writes this default configuration into any existing stored search settings, merging in missing stages rather than overwriting operator customizations. > [!WARNING] > > Expect different result ordering after the upgrade: same query, same corpus, different order. If you > have automated tests asserting the top result for a given query, re-baseline them. Tune the behaviour > under **Settings** > **Search** > **Ranking**, which gains a **Reset to Default** button in 2.0. The `search_after` cursor-paging parameter also changes shape — see [API & Schema](/ai-2-0/release-2.0/breaking-changes/api-and-schema). ## CSV export becomes a background job **Behavioural.** Affects Explore users exporting search results. Choosing **Tools** > **Export** no longer downloads a file directly. It queues a background job (`jobType: CSV_EXPORT`), shown in a new **Background jobs** tray, and is downloaded from `GET /v1/csvAsyncJobs/{jobId}/result`. Exporting "all" now covers the full tab result set with an accurate pre-count, capped at 200,000 rows. > [!NOTE] > > The synchronous endpoint still exists — `GET /v1/search/export` is unchanged and still streams CSV > directly. Only the **UI** switched to the async endpoint, so scripted exporters don't need to change. ## Explore result caching and tree count semantics **Behavioural**, low risk but worth knowing about. 2.0 adds a short-lived stale-while-revalidate cache keyed by the full search dependency string: a cache hit renders synchronously with no spinner, then a background refetch updates it. A stale-response guard drops in-flight responses whose key no longer matches the current search, so a slow response can no longer overwrite a newer result set. UI tests that wait for a loading spinner on tab switch need to key off content instead. Tree counts also now aggregate over the whole data-asset index at every level — a node's count is the total matching objects in its **subtree**, respecting active filters and browse path — where 1.13 counted only the immediate children from the per-entity index. ## Full detail For the full narrative walkthrough of Discovery & Search in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Discovery & Search](/ai-2-0/release-2.0/discovery-and-search). # Breaking Changes - Ingestion & Connectors Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors pipelineStatuses becomes an array, the log-stream and progress payloads change shape, Databricks Pipeline auth changes, and ingestion images move to Python 3.12 in Collate 2.0. # Ingestion & Connectors Five hard breaks land here: the `pipelineStatuses` shape, the Databricks Pipeline connection, the log-stream payload, the progress payload, and the move to Python 3.12 — plus a Great Expectations major-version floor and a set of default filter-pattern changes that apply to existing services too. ## pipelineStatuses is now an array **Breaking.** Affects every client reading ingestion pipelines: dashboards, health checks and SDK users. ```diff theme={null} "pipelineStatuses": { - "description": "Last of executions and status for the Pipeline.", - "$ref": "#/definitions/pipelineStatus" + "description": "List of the most recent executions and status for the Pipeline.", + "type": "array", + "items": { "$ref": "#/definitions/pipelineStatus" } } ``` The list endpoint now returns the **last five** statuses per pipeline (also removing an N+1 query). Strongly typed clients throw on the type change; loosely typed scripts reading `pipelineStatuses.pipelineState` silently get `undefined` or `None`. Read `pipelineStatuses[0]` for the latest run, and regenerate SDK models. The migration also strips any stale single-object value a `GET → PUT` round-trip might have persisted. ## The log-stream and progress payloads both change shape **Breaking.** Affects consumers of `GET .../logs/{fqn}/stream/{runId}` and `GET .../progress/{fqn}/stream/{runId}`. The log stream now emits **one JSON event per frame** instead of one raw log line, per the `LogStreamEvent` schema: ```json theme={null} { "eventType": "logs | complete | error", "runId": "scheduled__2026-08-01T00:00:00+00:00", "logs": "…appended log content, empty on complete/error…", "after": "opaque-cursor", "replay": false, "truncated": false, "reason": "runFinished | idleTimeout | maxDuration | maxBytes", "message": "…set on error events, and on complete events that ended early…" } ``` Clients parsing `data:` as raw log text must parse it as JSON and read `logs` instead. `after` is an opaque cursor pointing just past the delivered `logs` — pass it back as the `after` query parameter to resume without re-reading what was already sent. `reason` is set **only** on a `complete` event; a stream that ends without one was cut short and should reconnect from the last cursor. `truncated` signals that the server couldn't replay the whole backlog, so the client must fetch earlier history from the paginated log endpoint. The path also now accepts an id **or** fully qualified name, and `runId` is free-form, so Airflow's `scheduled__` run ids no longer 404. Progress changes from a flat per-entity-type map to a **hierarchical tree**, where each node counts its direct children (root counts databases, a database counts schemas, a schema counts tables), with `expected: null` when the producer was iterated lazily. A new service-level stream (`GET .../progress/service/{serviceType}/{serviceFqn}/stream`) shows live progress across all agents for a service. Coverage is added for database connectors generally, Databricks, and Unity Catalog explicitly, Airflow REST and dbt Cloud pipeline totals, and Looker/Tableau via manual progress mode. ## Databricks Pipeline connection requires authType **Breaking.** Affects Databricks Pipeline services created via API or infrastructure-as-code. ```diff theme={null} - "required": ["hostPort", "token"] + "required": ["hostPort", "authType"] ``` `authType` accepts three variants — Personal Access Token, DatabricksOAuth, and Azure AD. Stored service configurations migrate automatically; **external ingestion YAMLs do not** and fail validation until updated by hand. ## Ingestion images move to Python 3.12, Great Expectations 1.3+ required **Breaking.** Affects anyone who builds a custom ingestion image, installs the ingestion package into their own Python environment, or uses the `great-expectations` plugin. | | Released 1.13.x | 2.0 | | - | - | - | | Ingestion image | `apache/airflow:3.2.x-python3.10` | `apache/airflow:3.3.0-python3.12` | | Operator image | `python:3.10-bookworm` | `python:3.12-slim-trixie` | **`cp310` wheels will not load.** Any custom connector, driver, or dependency pinned to a CPython 3.10 wheel must be rebuilt or repinned. > [!NOTE] > > **Running ingestion outside the Collate image?** Python 3.12 is the recommended version for > externally run virtual environments. Python 3.10 and 3.11 > still work, because the ingestion package requires Python 3.10 or later. To switch, move one > pipeline to 3.12 first, check that it runs, then move the rest. > [!NOTE] > > This move was also backported into the 1.13 line after 1.13.3 — verified directly against the > ingestion `Dockerfile` on the `1.13.0` and `1.13.4` release branches. If you're already running > 1.13.4, you've made this jump; upgrading from **1.13.0–1.13.3** you haven't. Separately, Great Expectations 0.x is no longer supported and the `great-expectations-1xx` extra is removed — 1.3 is the floor because Great Expectations only gained the validation-action registry there. Checkpoints referencing `metadata.great_expectations.action1xx` move to `metadata.great_expectations.action`, and test case results now report row counts only (`unexpected_count`, `missing_count`, `element_count`, `observed_value`) — the percentage fields are no longer sent, since Collate charts every result value on a single axis and percentages next to row counts were unreadable. Other dependency floors that move with this release: `requests` to `>=2.32.4` (security), `sqlalchemy-pytds` to `~=1.0` (the 0.3.x line raised `AttributeError` on every server-side cursor fetch with python-tds 1.x), and `gitpython` to `>=3.1.50` (security). ## Default filter patterns now exclude system objects, on existing services too **Behavioural.** Applies retroactively, not just to newly created services. | Connector | Field | New default excludes | | - | - | - | | Redshift | `tableFilterPattern` | `^(?:.*\.)?mv_tbl__.*__\d+$` | | Kafka | `topicFilterPattern` | `^__.*`, `^_schemas$`, `^_confluent.*` | | Redpanda | `topicFilterPattern` | `^__.*`, `^_schemas$`, `^_confluent.*` | > [!WARNING] > > If you deliberately catalogued Redshift materialised-view backing tables or Kafka internal topics, > set an explicit filter pattern. The next ingestion run will otherwise skip them and, with stale > deletion enabled, soft-delete them. `policyAgentConfig` also lands on Snowflake, Databricks, and Unity Catalog with backfilled defaults (see [Data Governance](/ai-2-0/release-2.0/breaking-changes/data-governance)) and is **removed** entirely from Postgres. **New connectors** ship in 2.0, all additive: | Type | Connector | Service type value | | - | - | - | | Database | SAP BW/4HANA | `SapBw4Hana` | | Dashboard | Omni | `Omni` | | Pipeline | Prefect (Cloud and Server auth) | `Prefect` | | Pipeline | SAP BW/4HANA | `SapBw4HanaPipeline` | SSIS's `databaseConnection` also becomes optional, supporting file-only mode (existing configurations are unaffected). Other per-connector additions: | Connector | Change | | - | - | | Snowflake | `includeSemanticViews` (new, default `false`, `tableType` gains `SemanticView`), opt-in access-history lineage | | Unity Catalog | Incremental metadata extraction, `policyAgentConfig` added | | Databricks | Partner user-agent for telemetry attribution, `policyAgentConfig` defaults | | MySQL | Custom `queryHistoryTable` for usage and lineage | | ADLS | `containerName` field on the storage connection | | Exasol | Comment access and query usage support | | PowerBI | Datamart support, per-workspace cache scoping | | dbt | `includeMetrics` toggle for semantic-layer metrics | | Pipeline metadata | `ownershipUpdateMode` (`replace` or `append`) controls how source owners merge with existing pipeline owners | | Storage | Compressed archive support, auto-classification for containers | ## Connector setup moves to a step-by-step onboarding wizard **Collate-specific, additive.** This has no OpenMetadata OSS equivalent — it's part of the AI Mode experience. Every connector's setup flow is redesigned around a guided, multi-step wizard: add the service, select the connector, name it, configure the connection and ingestion runner, test the connection, set filter patterns for what to ingest, then create and deploy. This replaces the single embedded connection-form widget used in 1.13. The new flow is documented per connector — see any connector's setup guide under **Connectors** for the full walkthrough with screenshots. ## A generic stale-entity cleanup pattern replaces manual delete loops **Additive**, changes how connectors should reconcile deletions. `DELETE /v1/tables/deleteStale` (and 17 other entity types) accepts a `seenFqns` list scoped to a schema or other container; anything inside the scope not in that list is soft-deleted by default. > [!WARNING] > > A `seenFqns` list truncated by a partial connector run marks everything else stale. Always run with > `dryRun` first when wiring this into custom connectors. ## Connector framework internals change for custom connector authors **Behavioural.** Affects custom connector authors only. mlmodel, metadata, messaging, storage, search and drive connectors migrate to `BaseConnection`, and `get_connection_dict` is dropped from it. Duplicated test-connection helpers are consolidated, Athena migrates to the declarative test-connection framework, and a `ClassifiableEntityAdapter` replaces scattered `isinstance` checks. Rebuild and re-test custom connectors against the 2.0 ingestion package before upgrading production agents. ## Full detail For the full narrative walkthrough of Ingestion & Connectors in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Ingestion & Connectors](/ai-2-0/release-2.0/ingestion-and-connectors). # Breaking Changes - Lineage Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/lineage The Knowledge Graph renderer is replaced, and a new time-window lineage filter has non-obvious traversal semantics in Collate 2.0. # Lineage Lineage itself is mostly additive in 2.0 — new FQN-based edge APIs, batch hydration, richer change events. The two things that actually need attention are a renderer swap that breaks forks, and a new time-window filter whose traversal semantics are easy to misread as a clean point-in-time snapshot. ## Knowledge Graph renderer replaced **Breaking for forks** that import the graph components. The AntV-G6 based knowledge graph is removed and replaced by an RDF-backed **3D Knowledge Graph** tab with an Ontology mode and full-viewport expand. The `components/KnowledgeGraph/**` modules and `NodeContextMenu` are deleted; replacements live under `components/OntologyExplorer/**`. > [!WARNING] > > The 3D graph reads from the RDF store — if RDF is disabled, the tab has no data. RDF inference also > now defaults to **off**. Set `RDF_INFERENCE_ENABLED=true` to restore 1.13 behaviour for SPARQL > queries relying on inferred triples. The wider lineage UI also changes (**behavioural**, affects users and fork maintainers): | Change | Detail | | - | - | | Time filter | A new lineage time filter drives the `startTime`/`endTime` request fields above | | Traced paths | Traced edges and nodes are rendered distinctly | | Pagination | Execution history and edge deletion are paginated | | Node edits | Entity edits reflect on graph nodes without a full graph reload | | Component stack | Lineage layers, canvas edge renderer, lineage table, node labels, and control buttons migrate onto the shared core components; the MUI drawer and AntD modal are replaced | ## Time-window lineage has surprising traversal semantics **New capability, read before using it.** The search-lineage and entity-count-lineage requests gain `startTime`/`endTime` (epoch milliseconds), matched by range overlap on edge `createdAt`/`updatedAt`. The window is applied as a **hard prune during graph traversal**, not as a post-filter. An out-of-window edge severs discovery of everything reachable only through it, in both directions — a node is shown only if it's reachable from the root through edges that are **all** in-window. Two consequences worth planning for: 1. **A single stale edge hides a whole subtree.** If the edge from `A → B` falls outside the window, nothing downstream of `B` is returned even if those edges are in-window. 2. **Legacy edges always match.** Edges with no timestamps match any window for backwards compatibility, so a window query over a mix of legacy and temporal data returns *all* legacy edges plus the in-window temporal ones — don't read the result as a clean point-in-time snapshot until your graph is fully timestamped. Setting `endTime` alone gives as-of semantics: edges that existed on or before that instant. ## Lineage change events are more specific **Additive**, but affects webhook and event-subscription consumers that filtered broadly. `changeEventType` adds `entityLineageAdded`, `entityLineageDeleted` and `entityLineageUpdated` — lineage mutations previously surfaced only as generic entity updates, or not at all. > [!TIP] > > Subscriptions that filtered on `entityUpdated` to catch lineage changes might now see those changes > arrive under the new, more specific types instead. ## Batch hydration replaces per-node fetches **Additive.** `POST /v1/lineage/hydrate` accepts 1–200 entities identified by `type` and `id` only, grouping hydrated entities by entity type in the response. Graph UIs and lineage exporters that fan out one entity `GET` per node should switch to a single hydrate call per page of nodes. A new source-scoped delete (`DELETE /v1/lineage/source/name/{entityType}/{entityFQN}/type/{lineageSource}`) also lets you re-run one lineage source (dbt, OpenLineage, manual) without wiping edges contributed by other sources. ## Connector lineage gains new sources **Additive.** dbt Cloud gains column-level lineage from compiled SQL, dbt gains semantic-layer metric ingestion with column-level lineage, and Kafka Connect creates lineage for `EventRouter` and `RegexRouter` routed topics (see also [Ingestion & Connectors](/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors) for the Snowflake access-history lineage path). ## Full detail For the full narrative walkthrough of Lineage in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Lineage](/ai-2-0/release-2.0/lineage). # Breaking Changes: 1.13 to 2.0 Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/overview Component-by-component breakdown of the API, schema, ingestion, configuration, and UI breaking changes between Collate 1.13 and 2.0. # Breaking Changes: 1.13 → 2.0 Collate 2.0 retires the thread-backed collaboration model, replaces the Explore experience, deletes the legacy agent apps in favor of AI Automations, consolidates LLM and embedding configuration into one block, and reshapes several API contracts. This section lists every change that can break an existing client, script, deployment, or user workflow, grouped by component so you only have to read the parts that apply to you. > [!WARNING] > > Take a full database backup before upgrading. The 2.0.0 migration renames `thread_entity`, adds more > than 15 new tables, deletes the three legacy agent applications, and rewrites application, > service-connection and tag rows in place. There is no automated downgrade. ## How to read this section Every entry in this section is classified so you can triage quickly. | Class | Meaning | | - | - | | **Breaking** | Existing callers or configurations fail outright. Action is required before or during the upgrade. | | **Behavioural** | Requests still succeed, but the result, ordering, or side effect differs. | | **Deprecated** | Still works in 2.0, scheduled for removal. Migrate at your convenience. | | **Additive** | New surface only, listed where it replaces something you may already be using. | ## Changes most likely to affect you This table summarizes the highest-impact changes across every component. | # | Change | Component | Class | | - | - | - | - | | 1 | Documentation, Tier, and Quality agent apps are **deleted** and replaced by disabled AI Automations | [AI Agents & Automations](/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations) | Breaking | | 2 | `/v1/suggestions/*` removed; suggestions are now Tasks | [Collaboration](/ai-2-0/release-2.0/breaking-changes/collaboration) | Breaking | | 3 | Announcements removed from `/v1/feed`, now `/v1/announcements` | [Collaboration](/ai-2-0/release-2.0/breaking-changes/collaboration) | Breaking | | 4 | `ingestionPipeline.pipelineStatuses` changes from an object to an **array** | [Ingestion & Connectors](/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors) | Breaking | | 5 | LLM and embedding provider config moves out of `naturalLanguageSearch` into a top-level `llmConfiguration` block | [Platform & Security](/ai-2-0/release-2.0/breaking-changes/platform-and-security) | Breaking | | 6 | Explore URL params `page`/`size` become `currentPage`/`pageSize`, plus a new `browsePath` | [Discovery & Search](/ai-2-0/release-2.0/breaking-changes/discovery-and-search) | Breaking | | 7 | `/v1/agents/abilities` renamed to `/v1/agents/skills`; Knowledge Center moves into Context Center | [AI Agents & Automations](/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations) | Breaking | | 8 | **AskCollate is renamed to Collate AI** across UI, backend, billing labels and Slack/Teams | [Collate AI & Credits](/ai-2-0/release-2.0/breaking-changes/collate-ai-and-credits) | Breaking | | 9 | Databricks Pipeline connections require `authType` instead of a bare `token` | [Ingestion & Connectors](/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors) | Breaking | | 10 | Entity names reject `>`, `"` and ASCII control characters | [API & Schema](/ai-2-0/release-2.0/breaking-changes/api-and-schema) | Breaking | | 11 | Search Indexing drops `recreateIndex`/`useDistributedIndexing`; reindex always recreates the index | [Applications & Automation](/ai-2-0/release-2.0/breaking-changes/applications-and-automation) | Breaking | | 12 | `maxActiveSessionsPerUser` defaults to 5 and sessions are database-backed | [Platform & Security](/ai-2-0/release-2.0/breaking-changes/platform-and-security) | Behavioural | | 13 | AI Dashboards enforce visibility; every existing dashboard is set to Public on upgrade | [AI Agents & Automations](/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations) | Breaking | | 14 | Ingestion images move from Python 3.10 to **3.12**, and Great Expectations 1.3+ is now required | [Ingestion & Connectors](/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors) | Breaking | | 15 | Hybrid Runner and AI Platform images are **distroless**; no shell access | [Platform & Security](/ai-2-0/release-2.0/breaking-changes/platform-and-security) | Breaking | | 16 | Custom policies aren't backfilled with the new task operations; non-admins can get `403` creating or editing tasks | [Data Governance](/ai-2-0/release-2.0/breaking-changes/data-governance) | Behavioural | | 17 | Data Insights no longer computes data quality; a stored config with `dataQuality` fails to deserialize | [Data Quality](/ai-2-0/release-2.0/breaking-changes/data-quality) | Breaking | | 18 | The AntV-G6 Knowledge Graph renderer is removed, replaced by an RDF-backed 3D Knowledge Graph | [Lineage](/ai-2-0/release-2.0/breaking-changes/lineage) | Breaking | | 19 | `MUI*` wrapper components are removed; the UI standardizes on `@openmetadata/ui-core-components` | [UI & Customization](/ai-2-0/release-2.0/breaking-changes/ui-and-customization) | Breaking | ## Deprecation notices These are not 2.0 breaking changes, but they change what you should build on now. > [!WARNING] > > **Airflow as the internal orchestrator is deprecated and will be removed in a future release.** The > native Kubernetes Orchestrator, released in 1.12, is its replacement. Existing Airflow-based > deployments keep working in 2.0 but should plan a migration. > [!WARNING] > > **Great Expectations 0.x is no longer supported.** 2.0 requires Great Expectations 1.3 or later. See > [Ingestion & Connectors](/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors). ## Browse by component > [card] [AI Agents & Automations](/ai-2-0/release-2.0/breaking-changes/ai-agents-and-automations) > > Agent apps replaced by AI Automations, the abilities-to-skills rename, Knowledge Center moving into Context Center, and AI Dashboard/chart changes. > [card] [Collate AI & Credits](/ai-2-0/release-2.0/breaking-changes/collate-ai-and-credits) > > The AskCollate-to-Collate AI rename, the reworked weighted credit model, and Slack/Teams changes. > [card] [Collaboration](/ai-2-0/release-2.0/breaking-changes/collaboration) > > Task redesign, Suggestions API removal, standalone Announcements and the Activity Stream. > [card] [Discovery & Search](/ai-2-0/release-2.0/breaking-changes/discovery-and-search) > > The redesigned Explore page, changed URL parameters and staged ranking. > [card] [Data Governance](/ai-2-0/release-2.0/breaking-changes/data-governance) > > Task-based governance workflows, glossary and ontology, classification, and the Policy Agent. > [card] [Data Quality](/ai-2-0/release-2.0/breaking-changes/data-quality) > > Incidents as Tasks, inlined incident status and the removed Data Insights DQ module. > [card] [Lineage](/ai-2-0/release-2.0/breaking-changes/lineage) > > FQN-based edge APIs, batch hydration and time-window traversal semantics. > [card] [Ingestion & Connectors](/ai-2-0/release-2.0/breaking-changes/ingestion-and-connectors) > > pipelineStatuses, Databricks Pipeline auth, log-stream payloads, Great Expectations 1.x and Python 3.12. > [card] [API & Schema](/ai-2-0/release-2.0/breaking-changes/api-and-schema) > > Removed endpoints, changed request contracts, tightened validation and enum changes. > [card] [Applications & Automation](/ai-2-0/release-2.0/breaking-changes/applications-and-automation) > > Search Indexing app config, RDF Index defaults, Data Insights module changes and MCP tool contracts. > [card] [Platform & Security](/ai-2-0/release-2.0/breaking-changes/platform-and-security) > > llmConfiguration, session limits, database timeouts and the 2.0.0 database migration. > [card] [UI & Customization](/ai-2-0/release-2.0/breaking-changes/ui-and-customization) > > Design-system consolidation, App Mode and removed UI components. ## Upgrade checklist **1. Inventory your API clients** Search scripts, dashboards, Terraform, and CI jobs for `/v1/suggestions`, `/v1/feed`, `/v1/agents/abilities`, `search_after=`, `pipelineStatuses` and `recreateIndex`. **2. Port your LLM configuration** The `elasticsearch.naturalLanguageSearch.*` provider blocks no longer exist. Move them to `llmConfiguration` before you upgrade, set `LLM_ENABLED`/`LLM_PROVIDER`, and review `hybridSearch.semanticScoreThreshold` (default changes to `0.7`) — otherwise semantic search silently degrades to a no-op provider. **3. Update Databricks Pipeline YAML** Change `token: dapi...` to `authType: { token: dapi... }` in any external ingestion YAML. Stored service configurations migrate automatically; YAML files do not. **4. Record your agent app configuration and reissue bot tokens** The Documentation, Tier, and Quality agent apps are deleted during the upgrade — note their filters and schedules. Reissue any token built against `CollateAIApplicationBot`, `CollateAIQualityAgentApplicationBot` or `CollateAITierAgentApplicationBot` against `AIAutomationApplicationBot` before upgrading. **5. Check entity names for newly invalid characters** `>`, `"` and ASCII control characters are rejected by name validation in 2.0. **6. Back up the database and run the upgrade** Expect data migrations for suggestions and thread tasks into the Task entity, system feed threads into the Activity Stream, and announcements into their own entity. **7. Allow a full search reindex** Reindexing in 2.0 always recreates the index. There is no incremental mode. **8. Re-enable your migrated automations and Slack receivers** Open AI Automations, find the entries suffixed **(migrated)**, review the carried-over filter, then enable and schedule each one. Legacy webhook-URL Slack receivers are not migrated — re-enter them in the AI Automations UI. **9. Review AI Dashboard and chart visibility** Every dashboard is set to Public on upgrade to preserve access; restrict the ones that shouldn't be org-wide. Review any AI chart split across multiple dashboards. **10. Add cardinality distribution to the profiler if you need it** It's no longer part of the default profiler agent configuration — add it back explicitly if the Analytics Agent or other tooling relies on distinct-value data. **11. Audit alerts with an entity name filter** Filter matching is now literal, not regular-expression, and thread events are scoped to the entity they're about. Widen or remove filters if an alert goes quiet after upgrading. **12. Allow-list the Chrome plugin's callback URI** Add the full callback URI (`https://.chromiumapp.org/auth0`) to `additionalTrustedRedirectUris`, or the plugin won't complete login. **13. Rebuild custom ingestion images and connectors** Ingestion moves to Python 3.12. `cp310` wheels will not load. Migrate the `great-expectations` plugin from 0.x to `~=1.3` if you use it. **14. Remove shell-access steps for Hybrid Runner and AI Platform pods** Both images are now distroless. Move any operational playbook that used `kubectl exec` to logs, metrics or `kubectl debug`. ## Version scope The 2.0.0 upgrade covers the following version and specification range. | | | | - | - | | **From** | Collate 1.13 line (1.13.0–1.13.4) | | **To** | Collate 2.0.0 | | **Platform REST surface** | 208 endpoints added, 10 removed | | **Collate REST surface** | 76 endpoints added, 47 removed | | **Schema spec** | 86 new schema files, 107 modified, 3 removed | > [!NOTE] > > Where this guide names a file, environment variable, package, or HTTP header, it uses the literal > identifier as it appears in the product, for example `openmetadata.yaml`, `openmetadata-ingestion` or > `/api/v1/`. Those names are unchanged in 2.0. # Breaking Changes - Platform & Security Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/platform-and-security LLM configuration moves to a top-level block, sessions are database-backed and capped per user, database timeouts tighten, and Hybrid Runner images become distroless in Collate 2.0. # Platform & Security Two changes here will stop a 2.0 server from behaving as expected with a 1.13 configuration: the LLM and embedding configuration move, and the new session limits. Everything else — timeouts, logging, object storage, distroless images — is lower-drama but still worth checking against your deployment. ## LLM and embedding configuration moved **Breaking.** Affects every deployment using semantic search, natural-language query, or any LLM feature. Provider configuration is no longer nested inside `elasticsearch.naturalLanguageSearch`. It moves to a new top-level **`llmConfiguration`** block, with embeddings as a sub-section reusing the same provider credentials: ```yaml theme={null} llmConfiguration: enabled: ${LLM_ENABLED:-false} provider: ${LLM_PROVIDER:-noop} # noop | openai | azureOpenAI | bedrock | google | anthropic maxConcurrentRequests: ${LLM_MAX_CONCURRENT_REQUESTS:-5} embeddings: provider: ${EMBEDDING_PROVIDER:-bedrock} # bedrock | openai | google | djl ``` Key environment variable renames: `AWS_BEDROCK_MODEL_ID` → `LLM_BEDROCK_MODEL_ID`, `OPENAI_API_KEY` → `LLM_OPENAI_API_KEY`, `OPENAI_API_ENDPOINT` → `LLM_OPENAI_ENDPOINT`, `GOOGLE_API_KEY` → `LLM_GOOGLE_API_KEY`; `GOOGLE_API_ENDPOINT` is removed outright. Embedding-specific variables keep their names but move under `llmConfiguration.embeddings`. > [!WARNING] > > `LLM_ENABLED` and `LLM_PROVIDER` gate the entire block — both must be set before embeddings or any > other LLM feature will run. Porting credentials across without enabling the block leaves semantic > search and NLQ switched off. `BEDROCK_AWS_IAM_AUTH_ENABLED` also flips from `false` to **`true`**: > deployments that relied on the old default and supplied static keys should confirm which credential > chain is used. Natural-language query settings consolidate too: per-provider generation settings like `COLLATE_NLQ_BEDROCK_MAX_TOKENS`/`COLLATE_NLQ_OPENAI_MAX_TOKENS` collapse into single `COLLATE_NLQ_*` variables, and `providerClass` under `naturalLanguageSearch` now defaults to **`NoOpNLQService`** — NLQ filter extraction stays off until `llmConfiguration` is enabled. > [!TIP] > > Port your configuration into `llmConfiguration` **before** upgrading. Semantic search silently > degrades to a no-op provider rather than failing loudly if the block is missing. This applies to > self-managed and BYOC deployments; fully managed instances have it applied by Collate. ## Sessions are database-backed and capped per user **Behavioural.** Users will be logged out. Collate 2.0 adds a `user_session` table so sessions survive pod restarts and are shared across pods — previously each pod held its own in-memory session state, causing spurious logouts behind a load balancer without sticky sessions. Concurrent sessions are now capped: ```yaml theme={null} authenticationConfiguration: sessionExpiry: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"} # 7 days, all auth providers maxActiveSessionsPerUser: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5} ``` When the limit is exceeded, the **least recently used active sessions are revoked**. `sessionExpiry` now applies to all auth providers with a minimum of 3600 seconds; `oidcConfiguration.sessionExpiry` becomes a deprecated fallback. > [!WARNING] > > Users who work across several browsers or devices, and **service accounts driving many concurrent > sessions**, will start being silently signed out of the oldest sessions. Raise > `AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER` if that's your pattern, but prefer bot tokens for > automation. Separately, the Chrome plugin's redirect URI must now be explicitly allow-listed (`additionalTrustedRedirectUris`, matched **exactly** — scheme, host, port, path, and query) or login won't complete (**breaking**). ## Database connection timeouts tighten significantly **Behavioural.** Long-running queries will now be cut off. | Setting | 1.13 | 2.0 | | - | - | - | | `database.queryTimeoutSeconds` | N/A | **`300`** (new) | | Postgres `postgresqlSocketTimeout` (s) | `30000` (≈8.3 h) | **`300`** (5 min) | | MySQL `mysqlSocketTimeout` (ms) | `30000000` (≈8.3 h) | **`300000`** (5 min) | | Postgres `loginTimeout` / `postgresqlConnectTimeout` (s) | `300` / `60` | `30` / `30` | > [!WARNING] > > Any statement that previously ran for more than five minutes — a large reindex batch, a heavy Data > Insights aggregation, an oversized CSV import — now aborts. Raise `DB_QUERY_TIMEOUT_SECONDS`, > `DB_POSTGRESQL_SOCKET_TIMEOUT` or `DB_MYSQL_SOCKET_TIMEOUT` if you have legitimately long > statements, and check upgrade logs for statement-timeout errors. ## Logging hardening removes secrets from DEBUG output **Behavioural and security-relevant.** At `DEBUG`, the HTTP parser used to print every request header verbatim — including `Authorization: Bearer ` and session cookies. Since `DEBUG` is exactly what support asks customers to enable, and those logs get attached to tickets, the Jetty logger is now pinned independently via `JETTY_LOG_LEVEL`, separate from the root `LOG_LEVEL`. Audit entries move to `logs/audit.log` with an audit marker, filtered out of the console appender. > [!TIP] > > If you parsed audit entries out of stdout, read `logs/audit.log` instead. If you need Jetty debug > output, set `JETTY_LOG_LEVEL=DEBUG` explicitly, and be aware of what it prints. Response compression is also enabled by default in 2.0 (`server.gzip.enabled: true`, responses above \~256 bytes) — clients that mishandle `Content-Encoding: gzip` need `Accept-Encoding: identity`. The `objectStorage` block's default `provider` changes from `NOOP` to `s3`, but `enabled` still defaults to `false`, so nothing activates until you turn it on; this backs the new `/v1/attachments` API. ## HTTP/2 is available as an opt-in **Additive.** ```yaml theme={null} server: applicationConnectors: - type: ${SERVER_PROTOCOL:-http} # http (default) | h2c (cleartext HTTP/2) | h2 (TLS) ``` Both HTTP/2 modes stay backwards compatible — HTTP/1.1 clients keep working on the same port. It's worth enabling when browsers hit the server directly, but not worth it behind an HTTP/2-terminating load balancer, which already gets you the benefit. ## Hybrid Runner and AI Platform images are distroless **Breaking for anything that shells into these pods.** The images now ship distroless — only the runtime and its dependencies, with no shell, package manager, or standard Unix tooling. `kubectl exec ... -- /bin/sh` no longer works. > [!TIP] > > Move debugging to logs, metrics, and ephemeral debug containers (`kubectl debug`). Init containers or > sidecars that assumed a shell in the main image need reworking. ## SCIM provisioning moves in Settings **Behavioural.** SCIM provisioning configuration moves to **Team and Users** > **Provisioning** in admin settings. The capability itself is unchanged — only its location moved, so update any internal runbooks or onboarding docs that reference the old path. ## The 2.0.0 database migration is a maintenance-window event **Plan a maintenance window.** New tables include `task_entity`, `announcement_entity`, `activity_stream` (partitioned), `user_session`, `user_preferences`, and the Context Center and AI Governance Studio entity tables. `thread_entity` is **renamed** to `thread_entity_legacy`. > [!WARNING] > > On clusters with tens of millions of rows, composite index creation on service and entity tables > (`(deleted, name)` and `(deleted, serviceType)` on all 13 service tables, for the new > `/v1/services/overview` endpoint) is the long pole of the migration. Size your maintenance window > accordingly, and take a full backup first — there is no automated downgrade path. ## Dependency and CVE updates **Additive.** Not breaking, but relevant to hardened deployments. Backend versions verified directly against the `2.0.0` `pom.xml`: Jetty **12.1.10**, jackson-databind **2.18.9**, log4j **2.25.5**, plus Netty 4.1.137.Final (pinned via BOM), BouncyCastle 1.85, thrift 0.24.0, reactor-netty-http 1.2.18, tomcat-jdbc/juli 11.0.11, httpcore5 5.4.3, Redshift JDBC 2.2.2, and Kubernetes client-java 25.0.1. Frontend: `ws` 8.21.0, `handlebars` 4.5.2, `js-yaml` 5.2.2, `fast-uri` 3.1.5, `nanoid` 3.3.17 and `brace-expansion` 1.1.18 / 5.0.9. Other operationally relevant security fixes: test-connection workflow triggers are authorized, CSRF failures fail secure and retry on the next request, `testDestination` redacts destination configuration, and SCIM `displayName` synchronization is fixed. ## Full detail For the full narrative walkthrough of Platform & Security in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: Platform & Security](/ai-2-0/release-2.0/platform-and-security). # Breaking Changes - UI & Customization Source: https://docs.getcollate.io/ai-2-0/release-2.0/breaking-changes/ui-and-customization The transitional MUI* wrapper components are removed, App Mode introduces per-persona and per-tenant defaults, AI Mode drops the /askCollate URL prefix, and a large lazy-loading refactor changes fork-visible import paths in Collate 2.0. # UI & Customization For end users this is a visual and navigational refresh. For anyone who forks the UI, writes a UI plugin, or maintains end-to-end test suites, it's a large refactor — the design system consolidates, routing gains a new App Mode concept, and a code-splitting pass changes where things live. ## Design system consolidation removes the transitional MUI\* components **Breaking for forks and plugins.** Cosmetic for end users. In 1.13, the UI module carried a transitional set of `MUI*` wrapper components. Collate 2.0 removes them and standardizes on the shared **`@openmetadata/ui-core-components`** package — `MUISelect`, `MUITextField`, `MUIUserTeamSelect`, `MUIDomainSelect`, `MUIAsyncTreeSelect` and several others are deleted, along with the **`SELECT_MUI` field type** in the form builder. Other removed modules with core-components replacements: `CondensedBreadcrumb`, `DescriptionV1`, the legacy delete modals (`DeleteModal`, `EntityDeleteModal`, `DeleteWidgetModal`), activity-feed card components, and `KnowledgeGraph` (replaced by `OntologyExplorer` — see [Lineage](/ai-2-0/release-2.0/breaking-changes/lineage)). > [!TIP] > > Search your fork for `MUI` imports, `SELECT_MUI`, `usePaginationControls`, `NotistackUtils`, > `CommonUtils` and `DescriptionV1`. Expect a mechanical but wide migration — > `PaginationCardDefault` replaces `usePaginationControls`, and `Input` from core-ui replaces the > `useSearch` hook. ## App Mode introduces a three-level resolution order **New concept.** Affects the login experience and persona configuration. Collate 2.0 introduces two application experiences — **Classic** and **AI** (assistant-driven, requires the AI plugin) — resolved in this order, highest priority first: 1. **User preference**: the `appMode` entry in the user's preferences bag. 2. **Persona `appMode`**: `classic` or `AI` (default `classic`), forced on login. 3. **Tenant `defaultAppMode`**: the `appConfiguration` setting (`ai`, `classic`, or `null`). The active mode is held in a single source of truth backed by session storage, so sibling tabs no longer lose the active mode. The switcher only appears when the AI application is installed. A new per-user preferences API backs this (`GET/PUT/DELETE /v1/users/{userId}/preferences`), stored in a new `user_preferences` table. It's deliberately **not** a full entity — no versioning, audit or soft-delete — and is cascade-deleted with the user. > [!TIP] > > Do not store per-user UI state in the User entity's `extension`. Use the preferences API instead. ## AI Mode drops the /askCollate URL prefix, and no longer auto-engages **Breaking.** Affects bookmarks, deep links, Slack workflows, and browser extensions built on the old AI Mode paths. | 1.13 | 2.0 | | - | - | | `/askCollate/conversations` | `/conversations` | | `/askCollate/ai-studio` | `/ai-studio` | | `/askCollate/connections/...` | `/connections/...` | Legacy `/askCollate/*` links redirect, but anything that parses or constructs those paths should be updated. AI Mode also no longer auto-engages from a URL: in 1.13, visiting certain paths silently switched you into the AI experience; in 2.0 the mode is explicit, driven only by the resolution order above, and navigating to an AI-only route while in Classic Mode no longer changes it. > [!NOTE] > > Nobody is moved to AI Mode automatically by the 2.0 upgrade itself. Every user stays in Classic Mode > until they switch, are assigned a persona that pins AI, or an admin sets the tenant default. ## Personas gain AI context **Additive.** Personas gain a `contextDefinition` field — "rules and settings used to materialize the shared AI context for this persona" — plus endpoints to read and author it: `GET /v1/personas/search`, `GET /v1/personas/{id}/context` and `.../me/context`, `GET/PUT /v1/personas/{id}/aiContext`, and `POST /v1/personas/{id}/aiContext/rules[/preview]`. ## Context Center adds new routes that proxies must allow **Additive**, but affects navigation and reverse proxies. New routes: `/knowledge-center`, `/context-center` and its sub-pages (`dashboard`, `articles`, `documents`, `filter`, `memories`, `integrations`, `archive`). New REST namespaces: `/v1/contextCenter/pages`, `/v1/contextCenter/memories`, `/v1/contextCenter/drive/**` and `/v1/attachments`. > [!WARNING] > > If you front Collate with a proxy that allowlists paths, add `/knowledge-center`, `/context-center`, > `/api/v1/contextCenter` and `/api/v1/attachments`. Uploads require object storage to be enabled — see > [Platform & Security](/ai-2-0/release-2.0/breaking-changes/platform-and-security). ## A large lazy-loading refactor changes fork-visible import paths **Behavioural.** Affects forks with deep imports. Collate 2.0 does a large code-splitting pass: pure utility functions are extracted into `*PureUtils` modules, `utils/CommonUtils.tsx` and `utils/EntityUtils.tsx` are **deleted** with facade imports migrated to direct sources, and settings/entity/entity-import routers plus heavy components are lazy-loaded. > [!TIP] > > Deep imports from `utils/CommonUtils` or `utils/EntityUtils` will not resolve. Import from the > specific domain module instead. ## Visual and navigation changes ripple through screenshots and end-to-end tests **Behavioural.** Affects end users, screenshots in your internal documentation, and end-to-end tests. | Change | Detail | | - | - | | Entity page header | Redesigned to the 2.0 card layout | | Dark theme | Supported via design tokens | | Owner display | Multi-owner headers stack avatars with a hover popover | | Announcements | Rendered in the entity header, not only in the feed widget | | Sidebar | "Marketplace" renamed to **Data Marketplace** / **Overview** | | Agents tab | Revamped agent listing and details wired to real data | | Service icons | Migrated from PNG to WebP | | Glossary Terms table | Adaptable search, column resize, drag reorder, sticky header | | Landing page | Widgets lazy-loaded; admins can set a default panel colour | | Log viewer | Modal with live streaming, replacing the standalone Logs Viewer page | | Empty states | New prefilled placeholder variants across glossary, classification, metric, domain, and data-product pages | | Toasts | Consolidated on the core-components toast provider | | Permission errors | `403` responses surface a proper toast | | Asset Health widget | Added to the table detail page | | Language | Swedish (`sv-SE`) added; the UI sends an `X-OpenMetadata-Language` header | > [!TIP] > > Expect widespread `data-testid` and DOM-structure churn. Budget for an end-to-end test refresh. ## New extension points are the supported way to customize in 2.0 **Additive.** `ObservabilityRouterClassBase` and `ConnectionsRouterClassBase` make navigation and connection routing overridable by downstream distributions, `EntityUtilClassBase.getEntityTypes()` overrides the entity-type list, and `brandName` replaces hard-coded product strings for white-labelling. The component library itself gains `Breadcrumbs`, `EmptyPlaceholder`, `ProgressSteps` and `Toast` — with one rename to know about if you consume the package: the Select-family `placeholderIcon` prop is renamed to **`icon`**. ## Full detail For the full narrative walkthrough of UI & Customization in Collate 2.0 — including screenshots and step-by-step context — see [Release 2.0: UI & Customization](/ai-2-0/release-2.0/ui-and-customization). # Breaking Changes - Collaboration | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/collaboration The Collate 2.0 Task redesign, removal of the Suggestions API, standalone Announcements, the ephemeral Activity Stream and alert filter changes. # Collaboration: Tasks, Suggestions, Announcements & Feed 2.0 retires the thread-backed collaboration model. Tasks, suggestions, announcements and system activity each move out of `thread_entity` into purpose-built entities with their own tables, APIs and permissions. Human conversations remain on `/v1/feed`. | Concern | 1.13 storage | 2.0 storage | | - | - | - | | Conversations | `thread_entity` | `thread_entity` (unchanged) | | Tasks | `thread_entity` (`type=Task`) | **`task_entity`** | | Suggestions | `suggestions` table | **`task_entity`** (`type=Suggestion`) | | Announcements | `thread_entity` (`type=Announcement`) | **`announcement_entity`** | | System activity | `thread_entity` generated rows | **`activity_stream`** (partitioned, retention-bounded) | ![Collate 2.0 entity page showing the redesigned header and the Activity Feeds and Tasks tab](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/entity-activity-feeds-and-tasks.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=5e0ecc6419f82b183ea56d3c70124b35) ## The Task redesign > [!WARNING] > > **Breaking.** Affects API clients, bots and workflow integrations reading `/v1/feed/tasks/*`. Tasks are now a first-class entity backed by `task_entity`, with a full CRUD and versioning surface at `/v1/tasks` (22 new endpoints): | Endpoint | Purpose | | - | - | | `GET` / `POST` / `PUT` `/v1/tasks` | List, create, upsert | | `GET /v1/tasks/{id}`, `GET /v1/tasks/name/{taskId}` | Fetch by UUID or human task id | | `PATCH /v1/tasks/{id}`, `DELETE /v1/tasks/{id}` | Update, delete | | `POST /v1/tasks/{id}/resolve`, `POST /v1/tasks/{id}/close` | Lifecycle transitions | | `PUT /v1/tasks/{id}/suggestion/apply` | Apply a suggestion payload | | `POST /v1/tasks/{id}/comments`, `PATCH` / `DELETE` `.../{commentId}` | Threaded comments | | `GET /v1/tasks/assigned`, `/created`, `/owned`, `/visible` | Scoped task lists | | `GET /v1/tasks/count`, `GET /v1/tasks/dataAccessRequests` | Counts and the data-access queue | | `POST /v1/tasks/bulk` | Bulk operations | | `GET /v1/tasks/{id}/versions[/{version}]` | Entity version history | ### The Task shape ```json theme={null} { "taskId": "TASK-1042", "category": "Approval", "type": "GlossaryApproval", "status": "Open", "priority": "Medium", "about": { "type": "glossaryTerm", "id": "..." }, "assignees": [], "reviewers": [], "watchers": [], "payload": { }, "resolution": { }, "dueDate": 1712345678000, "workflowInstanceId": "...", "workflowStageId": "...", "availableTransitions": [], "taskFormSchemaId": "...", "taskFormSchemaVersion": 0.1, "comments": [], "commentCount": 0, "domains": [], "tags": [], "externalReference": { } } ``` Required fields: `id`, `name`, `category`, `type`, `status`, `createdBy`. | Enum | Values | | - | - | | `taskCategory` | `Approval`, `DataAccess`, `MetadataUpdate`, `Incident`, `Review`, `Custom` | | `taskType` | `GlossaryApproval`, `RequestApproval`, `DataAccessRequest`, `DescriptionUpdate`, `TagUpdate`, `OwnershipUpdate`, `TierUpdate`, `DomainUpdate`, `Suggestion`, `TestCaseResolution`, `IncidentResolution`, `PipelineReview`, `DataQualityReview`, `RecognizerFeedbackApproval`, `CustomTask` | | `taskStatus` | `Open`, `InProgress`, `Pending`, `Approved`, `Granted`, `ManualRevoke`, `Rejected`, `Completed`, `Cancelled`, `Failed`, `Revoked`, `Expired` | | `taskPriority` | `Critical`, `High`, `Medium`, `Low` | | `resolutionType` | `Approved`, `Rejected`, `Completed`, `Cancelled`, `TimedOut`, `AutoApproved`, `AutoRejected`, `Revoked`, `Expired` | Typed payload schemas ship for each task type: `glossaryApprovalPayload`, `descriptionUpdatePayload`, `tagUpdatePayload`, `ownershipUpdatePayload`, `tierUpdatePayload`, `domainUpdatePayload`, `suggestionPayload`, `reviewPayload`, `testCaseResolutionPayload`, `incidentResolutionPayload`, `dataAccessRequestPayload` and `genericTaskPayload`. ### Migration The migration converts every `thread_entity` row with `type='Task'` into a Task, computing `about` and `aboutFqnHash` from the entity link. A `task_migration_mapping` table records `old_thread_id → new_task_id` for traceability and redirects. ### `/v1/feed` task creation is now restricted > [!WARNING] > > **Breaking.** `/v1/feed` still exposes `GET /v1/feed/tasks/{id}`, `PUT /v1/feed/tasks/{id}/resolve` and `PUT /v1/feed/tasks/{id}/close`, but creating a task thread through `POST /v1/feed` now validates the task type and rejects anything outside the supported legacy set: description, tag, approval and test-case-failure-resolution tasks. Additional validations on `POST /v1/feed`: * `about` is required and must be non-blank. * `taskDetails` is required for `Task` threads and **forbidden** on non-task threads. * `RequestApproval` tasks must target an entity, not a field or column. * Tag-task `oldValue` and `suggestion` must be valid tag-label JSON. > [!TIP] > > Move task creation to `POST /v1/tasks`. If you must stay on `/v1/feed`, restrict yourself to the four > supported legacy task types and supply well-formed `taskDetails`. ### New task permissions > [!NOTE] > > **Behavioural.** Affects non-admin users and application bots. Five new policy operations exist in 2.0: `CreateTask`, `EditTask`, `ResolveTask`, `CloseTask` and `ReassignTask`. The migration backfills them so existing tenants keep working: | Migration step | Effect | | - | - | | `addTaskAuthorPolicyToDataConsumerRole` | Seeds `TaskAuthorPolicy` and attaches it to the `DataConsumer` role | | `addCreateTaskRuleToDataConsumerPolicy` | Adds `DataConsumerPolicy-CreateTask-Rule` | | `addTaskRuleToDataConsumerPolicy` | Adds the per-entity `CreateTask`/`EditTask` grant | | `addCreateTaskOperationToApplicationBotPolicy` | Lets application bots file suggestions as tasks | > [!WARNING] > > Custom policies are **not** backfilled. Seed policies are create-if-not-exists, so if you replaced > `DataConsumerPolicy` or `ApplicationBotPolicy` with your own definition, add the task operations > yourself or non-admin users will get `403` when filing or patching tasks. Task authorization is also **self-approval guarded**: a task's creator cannot approve their own task. ## Suggestions become Tasks > [!WARNING] > > **Breaking.** Affects AI and automation bots and SDK users. | 1.13 | 2.0 | | - | - | | `GET /v1/suggestions?entityFQN=…` | `GET /v1/tasks?…` filtered on `type=Suggestion` | | `POST /v1/suggestions` | `POST /v1/tasks` with `type: Suggestion` | | `PUT /v1/suggestions/{id}/accept` | `PUT /v1/tasks/{id}/suggestion/apply`, then resolve | | `PUT /v1/suggestions/{id}/reject` | `POST /v1/tasks/{id}/resolve` with a rejecting resolution | | `PUT /v1/suggestions/accept-all` / `reject-all` | `POST /v1/tasks/bulk` | Status mapping: | Task status | Suggestion status | | - | - | | `Open`, `InProgress`, `Pending` | `Open` | | `Completed`, `Approved` | `Accepted` | | `Rejected`, `Cancelled`, `Failed` | `Rejected` | The suggestion field path moves from an entity link to `payload.fieldPath` in dot notation (`columns.col_name.description`). ## Announcements are a standalone entity > [!WARNING] > > **Breaking.** Affects anything reading or writing announcements through the feed API. `/v1/feed` now rejects announcements outright with: ``` Announcements are no longer served from /v1/feed. Use /v1/announcements instead. ``` The guard fires on list (`threadType=Announcement`), get-by-id, patch, create, delete, posts and reactions. Any request touching an announcement thread returns `400`. ``` GET/POST/PUT /v1/announcements GET /v1/announcements/{id} GET /v1/announcements/name/{fqn} PATCH /v1/announcements/{id} DELETE /v1/announcements/{id} PUT /v1/announcements/restore GET /v1/announcements/{id}/versions[/{version}] ``` ### Migration shape | Thread field | Announcement field | | - | - | | `id` | `id` | | N/A | `name` / `fullyQualifiedName` = `announcement-` | | `message` | `displayName` | | `announcement.description` ?? `message` | `description` | | `about` | `entityLink` | | `announcement.startTime` / `endTime` | `startTime` / `endTime` | | derived from times | `status` = `Active` \| `Scheduled` \| `Expired` | | `threadTs` | `createdAt` | | `reactions` | `reactions` | Announcements are full entities in 2.0 (versioned, soft-deletable and restorable), and the UI renders them in the entity header rather than only in the feed widget. ## The Activity Stream replaces system-generated feed threads > [!WARNING] > > **Breaking.** Affects anything treating the feed as an audit trail. System-generated activity (field changes, entity created/updated) no longer lives in `thread_entity`. It moves to a purpose-built, time-partitioned, retention-bounded `activity_stream` table with its own API: | Endpoint | Purpose | | - | - | | `GET /v1/activity` | Global stream | | `GET /v1/activity/my-feed` | Current user's feed | | `GET /v1/activity/following` | Followed entities | | `GET /v1/activity/user/{userId}` | A user's activity | | `GET /v1/activity/entity/{entityType}/{entityId}` | Per entity | | `GET /v1/activity/entity/{entityType}/name/{fqn}` | Per entity by fully qualified name | | `GET /v1/activity/about` | By entity link | | `GET /v1/activity/count` | Count | | `PUT` / `DELETE` `/v1/activity/{id}/reaction/{reactionType}` | Reactions | ### Activity is deleted after 30 days by default > [!WARNING] > > **Behavioural.** Data loss on old activity. `activityStreamConfig` is configurable globally or per domain: | Field | Default | Meaning | | - | - | - | | `enabled` | `true` | Generate activity events for this scope | | `retentionDays` | **`30`** | Events older than this are deleted automatically | | `excludeEventTypes` | `[]` | Event types to skip | | `excludeEntityTypes` | `[]` | Entity types to skip | | `visibility` | N/A | Who can see events in this scope | | `scope` / `scopeReference` | N/A | Global or per domain | Events carry `domains` inherited from the source entity, enabling domain-scoped feed visibility. `oldValue` and `newValue` are explicitly documented as *"truncated for display, not for audit"*. > [!WARNING] > > Do not use the activity stream as an audit trail. For compliance history use **entity version > history** (`/v1/{entityType}/{id}/versions`) and the **audit log** (`/v1/audit/logs`, which gains a > searchable `search_text` column and an export endpoint in 2.0). Activity events are ephemeral by > design. ## `thread_entity` is renamed > [!NOTE] > > **Behavioural.** Affects anyone querying the Collate database directly. ```sql theme={null} -- 2.0.0 post-data migration RENAME TABLE thread_entity TO thread_entity_legacy; -- MySQL ALTER TABLE IF EXISTS thread_entity RENAME TO thread_entity_legacy; -- Postgres ``` The feed repository resolves the legacy table dynamically, so migrated threads stay readable. > [!TIP] > > Update any BI dashboards, retention jobs or support scripts that query `thread_entity` directly. ## Task Form Schemas > [!NOTE] > > **Additive.** `/v1/taskFormSchemas` stores per-task-type form definitions, referenced from a Task via `taskFormSchemaId` and `taskFormSchemaVersion`. This is what lets governance workflows render custom task forms. ## Change events for tasks and lineage > [!NOTE] > > **Additive.** Affects webhook and event-subscription consumers. `changeEventType` adds `taskCreated`, `taskUpdated`, `entityLineageAdded`, `entityLineageDeleted` and `entityLineageUpdated`. `changeEvent` adds a `recursive` flag marking cascade deletes. A single event is recorded for the deleted root, and cascaded descendants produce no individual events. > [!TIP] > > Consumers that previously counted per-child delete events must read `recursive` instead. ## Alert and notification behaviour changes > [!WARNING] > > **Behavioural.** Affects existing alert subscriptions. ### Thread events are scoped by their parent entity In 1.13, the entity-FQN filter returned `true` unconditionally for thread change events. Thread activity bypassed the filter entirely. In 2.0 a thread event is matched against the fully qualified name of the entity the thread is **about**. An alert scoped to `service.db.schema` that previously fired for *every* conversation and task in the system now fires only for threads about entities under that name. Alerts that looked noisy will go quiet. Alerts you relied on for global thread coverage will stop firing. ### Filter matching is literal, not regular-expression Alert filter functions now match fully qualified names **literally**. Descendant matching is handled explicitly. An alert whose filter used regular-expression metacharacters (`.`, `*`, `|`) to match a family of names no longer matches. Enumerate the names or rely on descendant matching. ### Other alert changes | Change | Effect | | - | - | | Observability status triggers no longer fire on thread events | Fewer spurious observability alerts | | Owner and user name filters match usernames containing a dot | Previously missed recipients now match | | `testDestination` redacts destination config in the response | Secrets are no longer echoed back | | Filter expressions compiled once, combined condition validated at save | Invalid filters fail at save, not at fire time | | Recipients without contact info are skipped | Partial delivery instead of total batch failure | | Incident-task comment mentions and assignee alerts rewired | Mentions work again after the task migration | > [!TIP] > > Audit every alert with an entity name filter after upgrading, and test with > `POST /v1/events/subscriptions/testDestination`. ## Server-side feed and task time filters > [!NOTE] > > **Additive.** Both the feed list and task list APIs accept `startTs` and `endTs` for server-side > time-range filtering, replacing client-side windowing. # Breaking Changes - Collate AI & Credits | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/collate-ai-and-credits Conversation sharing and collaborators, the reworked weighted credit model, the redesigned billing pages and the Query Runner changes in Collate 2.0. # Collate AI & Credits ## AskCollate is renamed to Collate AI > [!WARNING] > > **Breaking for anything that matches on the product name.** AskCollate is renamed to **Collate AI** > everywhere: the UI, the backend, billing labels, chat prompts, and the Slack and Microsoft Teams > integrations. > [!TIP] > > Update saved searches, dashboards, runbooks, alert rules and Slack/Teams workflow triggers that match > on the string `AskCollate`. Billing exports change label too, so any spreadsheet or BI report keyed on > the old label needs repointing. Conversations also become collaborative, and the credit model changes from a flat token count to a weighted, cache-aware calculation. ## Credits are now weighted > [!WARNING] > > **Behavioural.** The same workload consumes a different number of credits in 2.0 than in 1.13. 1.13 charged credits from a flat token count. 2.0 introduces a weighted, cache-aware model: | Change | Effect | | - | - | | **Weighted by token type** | Input, output, cache-read and cache-write tokens carry different cost ratios, so a cache-heavy conversation costs materially less than the same token count of fresh generation | | **Weighted by model** | Credits are weighted by the model that actually served each call, so a request routed to a cheaper model costs fewer credits | | **Fixed divisor** | The weighted basis is divided by a locked `tokensPerCredit` of 58,000 | | **Cache-only usage is recorded** | Lump-sum recording is guarded on the weighted basis so cache-only usage is no longer silently dropped | | **Per-conversation attribution** | Credits are attributed to the conversation that spent them, not just to the tenant pool | > [!TIP] > > If you forecast spend from 1.13 token counts, re-baseline after upgrading. Re-run a representative > week and compare, rather than converting the old numbers. ### Runs that cannot finish are refused > [!WARNING] > > **Behavioural.** 2.0 warns before the credit limit is reached and **refuses to start work that > cannot complete** within the remaining pool. In 1.13 a long automation could start and exhaust the pool part-way through, leaving partial results and no credits. In 2.0 the run is rejected up front with a clear reason. Operators get a live view of the pool at `GET /v1/status/credits`, and credits can be refunded from the operator API. ## Billing is redesigned The **Billing** area is reorganised into **Overview**, **Product**, **User Adoption**, **AI Credits**, and **MCP requests**. ![Collate 2.0 Billing area showing Overview, Product, User Adoption, AI Credits and MCP requests tabs](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/billings.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=b5da27e0e94078a1ccf2648bb5c4e112) | New endpoint | Purpose | | - | - | | `GET /v1/billing/credits/conversations` | Per-conversation credit consumption, paginated | | `GET /v1/billing/adoption/users` | Per-user adoption | | `GET /v1/billing/weekly-impact` | Weekly impact digest data | | `POST /v1/billing/weekly-impact/send-digest` | Send the digest, with a date-aware subject and header | An **MCP requests** usage section is added, backed by a daily MCP usage rollup in the telemetry payload, and AI chat response time is now measured server-side rather than in the browser. ![Collate 2.0 Billing MCP requests usage section](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/mcp-usage.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=da1270eefe9ffcd03340d730159cbdcf) > [!NOTE] > > Admins can read any conversation from Billing in read-only mode, so that credit spend can be > explained. This is a new capability. If your policy forbids administrators reading user > conversations, restrict the admin role accordingly before upgrading. ## Conversations become collaborative > [!NOTE] > > **Additive.** A conversation is no longer private to its author. | New endpoint | Purpose | | - | - | | `PUT /v1/assistants/chatConversations/{id}/collaborators/{userId}` | Add a collaborator | | `DELETE /v1/assistants/chatConversations/{id}/collaborators/{userId}` | Remove a collaborator | | `PUT .../collaborators/{userId}/role` | Change a collaborator's role | | `GET /v1/assistants/chatConversations/{id}/collaborators` | List collaborators | | `GET /v1/assistants/chatConversations/collaborators/search` | Search users to add (bots are filtered out) | | `POST /v1/assistants/chatConversations/{id}/leave` | Leave a shared conversation | | `GET /v1/assistants/chatConversations/{id}/state` | Read conversation state | | `POST /v1/assistants/chatConversations/{id}/stop` | Stop an in-flight response | Collaborators are emailed when they are added, appear as an avatar stack on shared chats in the sidebar, and are included in the conversation listing. > [!WARNING] > > Conversation content that was previously visible only to its author can now be shared by that author. > If your compliance posture assumed conversations were single-user, review it. ## Chat experience changes | Change | Class | Detail | | - | - | - | | **`Cmd`/`Ctrl` + `K`** | Additive | Opens the Ask box globally in AI Mode | | **Persona-aware suggestions** | Additive | Landing-page prompt suggestions follow the active persona | | **Redesigned prompt input** | Behavioural | Gradient styling, chips and inline suggestions | | **Tool arguments surfaced** | Additive | Per-call tool arguments are shown on chat messages | | **Rich markdown** | Additive | Cards, pills and inline SQL render in responses. AI Automation entity links route correctly. | | **Native profile page** | Additive | A profile page inside AI Mode | | **Artifact preview & scroll-to-bottom** | Additive | Restored and added respectively | | **History trimming** | Behavioural | Large tables and charts are trimmed out of conversation history sent to the model, so very long sessions stay responsive | ## Query Runner | Change | Class | Detail | | - | - | - | | Results stream to object storage | Behavioural | Large result sets are written to object storage and the UI is driven by websocket rather than held in memory | | Azure result storage backend | Additive | In addition to the existing backend | | `GET /v1/collate/apps/queryRunner/health/storage` | Additive | Storage health probe | | `GET\|POST /v1/collate/apps/queryRunner/results/{workflowId}` | Additive | Fetch and publish results by workflow | | `GET /v1/queryRunner/configs/defaults` | Additive | Read the effective defaults | | `maxResultSize` cap raised to 10,000 | Behavioural | Previously lower | | `executionLimit` surfaced | Additive | The guardrail `LIMIT` applied to a query is returned on the response, so users can see their result was capped | > [!TIP] > > Object-storage streaming means Query Runner now needs storage configured. Check the storage health > endpoint after upgrading. ## Natural-language query > [!WARNING] > > **Breaking.** NLQ provider configuration moves into the unified `llmConfiguration` block. See > [Platform & Security](/ai-2-0/release-2.0/platform-and-security). | Change | Detail | | - | - | | Provider abstraction | NLQ runs through a client abstraction with **OpenAI** and **Google Gemini** clients in addition to the existing provider | | Filter extraction | Routed through the unified LLM configuration. Test suite and test case entity types are extracted. | | Result shaping | Query-level collapse and result shaping for multi-chunk hybrid ranking | | `GET /v1/hybrid/nlq/status` | New status endpoint | ## Collate desktop app > [!WARNING] > > **Breaking.** The desktop app refuses to save an instance URL whose server is below **2.0.0**. Saving a Collate instance URL in desktop Settings probes `GET /api/v1/system/version` and, if the version parses below 2.0.0, reopens the dialog with an inline alert instead of saving. It fails open on an unparseable version. The Electron shell is now a thin wrapper, and title-bar back/forward navigation buttons are added. > [!TIP] > > Upgrade your Collate instances before rolling out the 2.0 desktop client, or users will be unable to > point the app at them. ## Slack and Microsoft Teams > [!WARNING] > > **Breaking.** The Collate AI Slack app **moves from assistant mode to agent mode**, and now requires > **file-attachment permissions** so it can deliver AI Analytics reports. > [!TIP] > > Reinstall the Slack app from the updated manifest and re-approve the requested scopes. Without the > file permission, report delivery to Slack fails. Slack rendering also moves to template-driven Block Kit, with numeric alignment, a PII callout, profile statistics and CDN-hosted service logos. Chart image processing outlasts Slack's processing window rather than falling back to a degraded payload, and the app answers top-level DMs. ## Response language is pinned from the profile > [!NOTE] > > **Behavioural.** Collate AI's response language is now taken from the `X-OpenMetadata-Language` > header (set from the **Language** tab of profile settings) instead of being inferred from the > conversation. > [!TIP] > > A user whose profile language differs from the language they type in will now get replies in their > profile language. Tell users where the setting lives before they report it as a bug. ## MCP | Change | Class | Detail | | - | - | - | | Tool annotations | Additive | Collate tools are annotated with title, read-only, destructive and open-world hints | | Size budget | Behavioural | Collate tools route through the shared response size-budget net, with null-guarded error messages | | Usage tracking | Additive | MCP tool-call usage is tracked and rolled up daily into telemetry | See [API & Schema](/ai-2-0/release-2.0/api-and-schema) for the platform-level MCP contract changes, which also apply. # Breaking Changes - Data Governance | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/data-governance Policies and new task operations, glossary and ontology, classification, governance workflows, Data Access Requests and the Policy Agent in Collate 2.0. # Data Governance What changes for glossaries, classifications, policies, workflows and access governance. ## Policies & roles ### Five new task operations > [!NOTE] > > **Behavioural.** Affects custom policies, non-admin users and bots. `resourceDescriptor` gains `CreateTask`, `EditTask`, `ResolveTask`, `CloseTask` and `ReassignTask`. With the Task redesign, task actions are policy-governed rather than implicit. The migration seeds a new `TaskAuthorPolicy`, attaches it to the `DataConsumer` role, and adds task rules to `DataConsumerPolicy` and `ApplicationBotPolicy`. > [!WARNING] > > Custom policies are not backfilled. Seed policies are create-if-not-exists, so if you replaced > `DataConsumerPolicy` or `ApplicationBotPolicy` with your own definition your non-admin users will > receive `403` when creating or editing tasks. Add the operations yourself: > > ```json theme={null} > { > "name": "DataConsumerPolicy-CreateTask-Rule", > "resources": ["task"], > "operations": ["Create"], > "effect": "allow" > } > ``` ### Self-approval guard > [!NOTE] > > **Behavioural.** Task authorization refuses to let a task's creator approve their own task, even > where policy would otherwise allow it. Approval automation that submitted and approved with the same > service account must be split across two principals, or use `emptyAssigneeStrategy: assignAdmins`. ### Other policy changes | Change | Class | Detail | | - | - | - | | `AutoClassificationBotPolicy` gains a Topic rule | Additive | `EditAll`, `ViewAll` on `Topic`, so the bot can tag messaging assets | | Reviewer authorization shortcut removed on create | Behavioural | Flows that relied on being a reviewer to create an entity now need an explicit `Create` grant | ## Glossary & ontology ### Native OWL/RDF ontology import > [!NOTE] > > **New capability.** ``` PUT /v1/glossaries/name/{name}/importRdf ``` Imports an OWL/RDF ontology into a glossary, preserving identity for round-trips. Two new fields support this: | Entity | Field | Purpose | | - | - | - | | `glossaryTerm` | `iri` | Canonical IRI of the term in its source ontology, used as the RDF subject when present | | `glossary` | `namespaces[]` | Prefix to namespace IRI mappings, so CURIEs render and re-export preserves identity | > [!NOTE] > > A glossary term created in the UI has no `iri`. Terms imported from an ontology carry one, and export > re-emits it. Do not rewrite `iri` on update or you will break round-trip identity. ### Glossary term relation semantics > [!NOTE] > > **Additive.** Relation types gain OWL property characteristics used for RDF round-trip and optional validation (**not enforced by default**): | Field | Meaning | | - | - | | `domain[]` | Term names or class IRIs a **source** term must be typed as. Empty means unconstrained | | `range[]` | Term names or class IRIs a **target** term must be typed as. Empty means unconstrained | | `isFunctional` | A source term has at most one target | | `isInverseFunctional` | A target term has at most one source | | `isReflexive` / `isIrreflexive` | Every / no term relates to itself | | `isAsymmetric` | A relates B implies B does not relate A | Other 2.0 changes in this area: * Glossary term relation types are readable by **any authenticated user**. * Glossary term relation settings are **paginated**. * All relation types between the same term pair are preserved. * Glossary rename cascades to child terms in the search index, and approval workflows stay valid across term move and rename. * CSV import and export preserve `domains`, and `entityStatus` is parsed case-insensitively. ## Classification, tags & auto-classification ### Auto-classification extends to topics and containers > [!NOTE] > > **Additive.** Affects classification coverage and bot permissions. Two new pipeline schemas ship: `messagingServiceAutoClassificationPipeline` and `storageServiceAutoClassificationPipeline`. Together with the `AutoClassificationBotPolicy` Topic rule, **topics and storage containers are now auto-classified** where previously only database tables were. > [!WARNING] > > New tags will appear on messaging and storage assets. If you have policies or alerts keyed on PII > tags, expect coverage to widen after the upgrade. ### PII recognizer accuracy changes > [!WARNING] > > **Behavioural.** Existing tags might be wrong. New runs will differ. The CVV recognizer regular expression is anchored by the migration: ``` from \b\d{3,4}\b to \A\d{3,4}\Z ``` The unanchored pattern matched the `125` inside values like `SCN-125`, so any column whose name carried a CVV context word (`code`, `card`, `cvv`) and whose values contained a 3–4 digit run was tagged `PII.Sensitive` (for example `scenario_code` and `error_code`). Because the context boost sets the score straight to the maximum, a low-confidence pattern became a certain match. Related fixes in 2.0: * Overly broad context keywords removed from PII recognizers. * Plain code columns are no longer tagged as PII. * Sibling-tag score ties are broken by column-name match. * Temporal table period columns are excluded from auto-classification sampling. * Recognizer inclusion is resolved correctly by language, including any-language recognizers. * The content and column-name split was removed from classification scoring. > [!TIP] > > Review existing `PII.Sensitive` tags on columns named `*_code`. The migration fixes the recognizer. It > doesn't retract tags already applied. ### Other classification changes | Change | Class | Effect | | - | - | - | | `tag_usage.metadata` JSON column added | Additive | Tag usage rows can carry metadata | | `autoClassificationConfig` preserved on Classification `PUT` | Fix | Previously wiped by a full update | | Tag recognizer config preserved on ingestion `PUT` | Fix | Previously wiped by connector updates | | The `disabled` flag inherited from a Classification is no longer persisted on its tags | Behavioural | Tag `disabled` now reflects the tag's own state | | Entities matching a classification tag among others are retained | Fix | Filtering no longer drops multi-tag matches | ## Governance workflows ### `userApprovalTask` gains task-lifecycle configuration > [!NOTE] > > **Additive** and backwards compatible with existing workflow definitions. ```json theme={null} { "assignees": { "addReviewers": true, "addOwners": false, "candidates": [], "emptyAssigneeStrategy": "assignAdmins" }, "stageId": "review", "stageDisplayName": "Review", "taskStatus": "Open", "assigneeStrategy": "reviewers", "transitionMetadata": [ { "id": "approve", "label": "Approve", "targetStageId": "approved", "targetTaskStatus": "Approved" }, { "id": "reject", "label": "Reject", "targetStageId": "rejected", "targetTaskStatus": "Rejected" } ] } ``` `assignees.emptyAssigneeStrategy` (default `none`) controls what happens when no reviewers, owners or candidates resolve to an assignee: | Value | Behaviour | | - | - | | `none` (default, matches 1.13) | The gateway auto-approves event-driven approvals and leaves workflow-managed tasks unassigned | | `assignAdmins` | Falls back to all platform admins, **excluding the requester**, so self-approval can never happen | The `stageId`, `stageDisplayName`, `taskStatus` and `transitionMetadata` fields are written onto the Task while the user task is active. This is what surfaces workflow stage and available transitions in the Tasks UI. > [!TIP] > > Set `assignees.emptyAssigneeStrategy: assignAdmins` on approval nodes where unassigned tasks were silently > auto-approving. ### New workflow node subtypes | Node subtype | Purpose | | - | - | | `policyAgentTask` | Grant or revoke database access through the Policy Agent | | `createAndRunAIAutomationTask` | Trigger an AI automation from a workflow | `workflowTriggerFields` adds `entityStatus`. `inputPorts`, `outputPorts` and `glossaryTerms` also become trigger fields. ### Workflows fire far sooner > [!WARNING] > > **Behavioural.** Affects every governance workflow, and raises steady-state database polling. The migration lowers three intervals on **existing** deployments: | Setting | 1.13 | 2.0 | | - | - | - | | `WorkflowEventConsumer.pollInterval` | 10 s | **1 s** | | `asyncJobAcquisitionInterval` | 10,000 ms | **1,000 ms** | | `timerJobAcquisitionInterval` | 60,000 ms | **5,000 ms** | Approval tasks now appear near-instantly after the triggering change instead of up to 10 s (or, under load, minutes) later. On very large clusters, monitor database load after the upgrade and raise the intervals if needed. > [!NOTE] > > Workflow migrations run inside a guard: a workflow-handler failure logs and continues rather than > aborting the rest of the data migration. If you see *"Failed to initialize WorkflowHandler … in v200"* > in the upgrade logs, restart the server to complete workflow wiring. ## Data Access Requests & the Policy Agent > [!NOTE] > > Data Access Requests surface in **Data Marketplace** in both interfaces, and the request queue is > available at `GET /v1/tasks/dataAccessRequests`. > [!NOTE] > > **New capability.** Collate 2.0 introduces self-service data access requests backed by a Policy Agent that executes grants and revokes against the source system. | Piece | Where | | - | - | | Task type | `DataAccessRequest` (`category: DataAccess`) | | Payload | `type/dataAccessRequestPayload.json` | | Queue API | `GET /v1/tasks/dataAccessRequests` | | Workflow node | `policyAgentTask` | | Ingestion pipeline type | `policyAgent` | | Per-connector config | `metadataIngestion/policyagentconfig/databasePolicyConfig.json` | ```json theme={null} { "principalType": "USER", "principal": "analyst@example.com", "databaseName": "analytics", "schemaName": "reporting", "tableName": "orders", "accessType": "FullAccess", "requestedAccess": "Read" } ``` `Revoke` tears down whatever the principal currently holds at the scope. It is not a level-specific revoke. ### `policyAgentConfig` defaults are backfilled onto existing services > [!WARNING] > > **Behavioural.** Affects existing Snowflake, Databricks and Unity Catalog services. Schema-level defaults only apply at create-time deserialisation, so the migration rewrites stored rows. Operator-set `true` values are preserved. Only `false` or missing values are changed. | Service type | `enabled` | `supportsFullAccess` | `supportsMaskedAccess` | `supportsColumnAccess` | | - | - | - | - | - | | Snowflake | `true` | `true` | `true` | `false` | | Databricks | `true` | `true` | `false` | `false` | | Unity Catalog | `true` | `true` | `false` | `false` | `policyAgentConfig` is **removed** from the Postgres schema and stripped from stored rows. > [!WARNING] > > Data Access Requests are restricted by the connector's `policyAgentConfig`. After the upgrade the > Request Access affordance appears on Snowflake, Databricks and Unity Catalog assets, and disappears > from Postgres. Set `enabled: false` explicitly on services where you don't want it. `supportsPolicyAgent` is declared on **all** database connectors so the UI can show or hide the Policy Agent option in the Add Agent dropdown. ## Domains & data products > [!NOTE] > > **Additive.** No breaking changes in this area for 1.13 → 2.0. | Change | | - | | ODPS data product schema (`entity/domains/odps/odpsDataProduct.json`) | | Data product support in the Observability UI and backend | | Certification quick filter on the Data Products listing | | Request-access button for data products | | `assignedTo` relationship type | | Domain-scoped activity-feed visibility (task domains backfilled by the migration) | ## Intake forms > [!NOTE] > > **New capability.** `governance/intakeForm.json` and `POST /v1/governance/intakeForms` add structured > intake forms, used with `taskFormSchema` to drive request and approval workflows with typed inputs. ## AI Governance Studio > [!NOTE] > > **New namespace.** | Entity / API | Purpose | | - | - | | `aiGovernanceFramework` + `/v1/aiGovernanceFrameworks` | Control frameworks, forkable per tenant | | `aiFrameworkControl` + `/v1/aiFrameworkControls` | Individual controls with evidence requirements | | `auditReport` + `/v1/auditReports` | Generated audit reports | | `/v1/aiGovernance/dashboard`, `/activity` | Governance dashboard and activity | | `/v1/aiGovernance/{entityType}/{id}/submitForReview\|approve\|reject` | Approval lifecycle for AI assets | | `/v1/aiGovernance/{entityType}/{id}/policyStatus`, `/policies/{policyId}/violations` | Policy status and violations | | `/v1/aiGovernance/intakeChecks/{entityType}/name/{fqn}` | Pre-registration checks | | `/v1/aiGovernance/shadow/bulkTriage` | Bulk triage of shadow AI | ### Collate AI agents removed > [!WARNING] > > **Breaking.** The `agentType` enum drops `CollateAI`, `CollateAITierAgent` and > `CollateAIQualityAgent` (only `Metadata` remains), and their configuration schemas are deleted. > [!TIP] > > Remove references to these agent types from application configuration and any automation that filters > ingestion pipelines by `agentType`. Use the new `agentType` filter values `metadata` and `application` > on `GET /v1/services/ingestionPipelines` instead. # Breaking Changes - Data Quality | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/data-quality Incidents as Tasks, inlined incident status, incident auto-close, multi-status filters, batch DQ reporting and the removed Data Insights data quality module in Collate 2.0. # Data Quality & Observability Test cases, incidents and the reporting surface all change shape in 2.0. ## Incidents move onto the Task entity > [!WARNING] > > **Breaking.** Affects incident automation and feed-based incident integrations. | | 1.13 | 2.0 | | - | - | - | | Storage | `thread_entity` (`type=Task`) | `task_entity` | | Task type | thread task type | `TestCaseResolution` / `IncidentResolution` | | Category | N/A | `Incident` | | Payload | untyped `taskDetails` | `testCaseResolutionPayload` / `incidentResolutionPayload` | | Resolve | `PUT /v1/feed/tasks/{id}/resolve` | `POST /v1/tasks/{id}/resolve` | The test case resolution status time series is unchanged. It still drives incident state. What changed is the **task** attached to it. > [!NOTE] > > `POST /v1/feed` still accepts test-case-failure-resolution task types, so existing integrations keep > working. New work should target `/v1/tasks`. The migration also corrects the recognizer feedback task type and re-points mention alerts at the task resource so incident-task comment mentions and assignee alerts keep firing. ## `incidentStatus` is inlined on TestCase > [!NOTE] > > **Additive.** Removes a lookup per test case. ```json theme={null} "incidentStatus": { "description": "Latest incident resolution status for this test case. Inlined so clients can render the current incident status without an additional lookup per test case.", "$ref": "./testCaseResolutionStatus.json" } ``` > [!TIP] > > Drop the per-test-case incident-status round trip in list views. The field is populated on the test > case itself. ## Incident auto-close on test pass > [!NOTE] > > **Additive and opt-in per test case.** ```json theme={null} "autoCloseIncident": { "description": "Automatically resolve an open incident when a subsequent test result succeeds.", "type": "boolean", "default": false } ``` When enabled and a subsequent result succeeds, Collate finds the open `TestCaseResolution` task for the test case, rehydrates it so workflow transitions are available, and resolves it as `Completed` with reason **`AutoResolved`**, acting as the governance bot. > [!WARNING] > > The default is `false`, so behaviour is unchanged unless you opt in. In 1.13 an incident stayed open > indefinitely after the underlying failure was fixed. Collate 2.0 makes auto-close available but doesn't > enable it retroactively. ## Multi-status test case filtering `GET /v1/dataQuality/testCases` binds `testCaseStatus` as a repeated parameter: ```http theme={null} GET /api/v1/dataQuality/testCases?testCaseStatus=Failed&testCaseStatus=Aborted ``` Values are validated against the status enum and an unknown value returns `400` listing the allowed values. Previously an invalid status was tolerated. In the UI, the Test Cases, Test Suites, Test Definitions, Incidents and Data Quality Dashboard pages all move to the shared filter-chip pattern: * Multi-select on **Platform**, **Status** and **Tags**. * Searchable **Table**, **Tags**, **Service** and **Data Product** filters. * A date control for **Last Run**. ## Batch data quality reporting > [!NOTE] > > **Additive.** Replaces N sequential report calls. ```http theme={null} POST /v1/dataQuality/testSuites/dataQualityReport/batch ``` ```json theme={null} { "requests": [ { "key": "byStatus", "index": "testCase", "aggregationQuery": "…", "q": "…", "domain": "…" }, { "key": "byDimension", "index": "testCase", "aggregationQuery": "…" } ] } ``` Each request carries a client-supplied `key` used to correlate it with its result in the response. ## Data Insights no longer computes data quality > [!WARNING] > > **Breaking.** Affects `DataInsightsApplication` configuration and Data Insights dashboards built on > the data quality module. ```diff theme={null} - "dataQualityConfig": { "enabled": true }, "moduleConfiguration": { - "dataQuality": { "$ref": "#/definitions/dataQualityConfig" }, - "required": ["dataAssets", "appAnalytics", "dataQuality", "costAnalysis"] + "required": ["dataAssets", "appAnalytics", "costAnalysis"] } ``` `moduleConfiguration` is `additionalProperties: false`, so **any persisted configuration still carrying the `dataQuality` key makes `DataInsightsApplication` fail to deserialise on startup**. The migration strips it from `installed_apps`, `apps_marketplace` and every application version row. What replaces it: test case results and resolution statuses are read **straight from their live search indexes**, which search indexing now owns. This also drops the previous **30-day cap** on incident data in Data Insights. Incident history is no longer truncated. > [!WARNING] > > Do not replay a 1.13 Data Insights application configuration into 2.0. Strip > `moduleConfiguration.dataQuality` before pushing stored configuration through the API or your > infrastructure-as-code. Related Data Insights fixes in 2.0: * A chart metric with no function or formula returns `400`, not `500`. * Chart formulas are validated by the Data Insights formula evaluator, not the policy validator. * `entityStatus` is snapshotted so charts can filter by lifecycle status. * `classificationTags` and `glossaryTags` are projected into the snapshot. * Nested subfields are no longer advertised as chart fields. * Enricher step failures are isolated, with per-step entity statistics. ## Custom SQL test definitions: documentation correction > [!NOTE] > > **Not a behaviour change.** A corrected description. The `sqlExpression` description was rewritten in 2.0: > [tab] 1.13 description (incorrect) > > Supports substitution variables: `{table}` and `{column}` for runtime entity references, and > `{{paramName}}` for user-defined parameters. > [tab] 2.0 description (accurate) > > The template is rendered with Jinja2, so every substitution variable must use double curly braces: > `{{ table_name }}` for the runtime table reference, `{{ column_name }}` for the runtime column > reference (column-level test definitions only), and `{{ paramName }}` for user-defined parameters. > Single-brace placeholders are not substituted and will produce invalid SQL. The renderer is identical in both releases. Single-brace placeholders never worked. If you followed the 1.13 documentation and wrote `{table}`, your test was already producing invalid SQL. > [!TIP] > > Audit custom SQL test definitions for single-brace placeholders and convert them to > `{{ table_name }}` and `{{ column_name }}`. ## Profiler & sampling > [!WARNING] > > **Cardinality distribution is no longer part of the Profiler agent defaults.** This matters for > Collate AI agents that reason over distinct values. Add the metric back explicitly on the profiler > agent if you expect to use the Analytics Agent, because it improves response accuracy. > [!NOTE] > > **The profiler workflow samples dynamically by default** rather than reading 100% of rows. > `sampleConfigType` defaults to `DYNAMIC`, which sizes the sample from the table's row count. Set a > static sample explicitly if you need full-table profiling. The sampling configuration *schemas* are > unchanged between 1.13 and 2.0. Collate 2.0 also adds the following: * Progress tracking for the profiler and auto-classification workflows. * The sample configuration is used for data quality sample data ingestion. * `tableCustomSQLQuery` honours `computePassedFailedRowCount`. * The sampler interface collapses to a single typed configuration object, relevant if you maintain a custom sampler. `columnProfile.cardinalityDistribution` moves from an inline object to a named schema definition. The wire shape is unchanged. Regenerate specification-derived models. ## Test suite & test case search > [!NOTE] > > **Additive.** Test suites and test cases are vectorised for hybrid search, `search_metadata` can search > them, and orphan test cases no longer break search indexing. ## Observability UI > [!NOTE] > > **Behavioural.** Affects forks and plugin authors. * `ObservabilityRouterClassBase` replaces the shared router utilities for data quality and observability navigation paths, making them overridable by downstream distributions. * Test case and bundle-suite forms migrate from AntD `Form` to **react-hook-form** with reusable field docs. `EditTestCaseModal`, `EditTestCaseModalV1`, `TestCaseForm`, `TestCaseFormV1` and `BundleSuiteForm` are removed. * Incident test-case status and severity components move to the shared core components. * Data quality dashboard hooks and presentational components are extracted and shared. > [!TIP] > > Forks that imported `EditTestCaseModal`, `TestCaseForm` or `BundleSuiteForm` directly must move to the > new hook-and-component split. See > [UI, Personas & Customization](/ai-2-0/release-2.0/ui-and-customization). # Breaking Changes - Discovery & Search | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/discovery-and-search The redesigned Collate 2.0 Explore page, the new browse-and-filter query bar, changed URL parameters, facet scoping, staged ranking and async CSV export. # Discovery & Search (Explore) The Explore page is redesigned in 2.0. Filtering, browsing, pagination, ranking and export all behave differently. This is a highly visible change in the release, and the redesign is shared by both interfaces: Classic Mode and [AI Mode](/ai-2-0/release-2.0/ai-mode). The mental model changed from *"the tree replaces your filters"* to *"the tree sets a browse location that stacks with your filters"*. ![Collate 2.0 Explore page showing the Browse Estate panel, the query bar and result cards](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-overview.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=77d8c010f47ec292238abd2c4d551a10) ## What changed at a glance | | 1.13 | 2.0 | | - | - | - | | Left panel title | **Data Assets** | **Browse Estate** | | Left panel role | Tree selection **replaced** the quick filters | Tree sets a *browse location* that **ANDs with** the quick filters | | Active filter display | A single "Clear all" text link | A dedicated **query chip row** (one chip per browse level and per selected filter value, each removable) | | Filter apply | Pick values, then select **Update** | **Immediate apply** on selection. The Update button is gone. | | Pagination | Inline pagination inside the results card | A dedicated pagination card below the results, with a page-size selector | | Tab switching | Refetch with a spinner every time | Served from a short-lived client cache, then silently revalidated | | Result relevance | `searchFields` scoring | Staged ranking (`nameFirstLexicalThenSignals`) with an optional per-result explanation | | CSV export | Synchronous browser download | Background job surfaced in the **Background jobs** tray | ## Explore URL parameters changed > [!WARNING] > > **Breaking.** Affects bookmarks, saved links, embedded iframes, and anything that constructs Explore > URLs. | Parameter | 1.13 | 2.0 | | - | - | - | | Page number | `page` | **`currentPage`** | | Page size | `size` | **`pageSize`** | | Browse location | N/A | **`browsePath`** (JSON-encoded field list) | | Cursor paging | N/A | `cursorType`, `cursorValue` | | Free text | `search` | `search` (unchanged) | | Quick filters | `quickFilter` | `quickFilter` (unchanged) | | Sort | `sort`, `sortOrder` | unchanged | | Deleted | `showDeleted` | unchanged | > [tab] 1.13 URL > > ``` > /explore/tables?search=orders&page=3&size=25&sort=_score&sortOrder=desc > ``` > [tab] 2.0 URL > > ``` > /explore/tables?search=orders¤tPage=3&pageSize=25&sort=_score&sortOrder=desc > ``` A 1.13 link with `?page=3&size=25` still loads Explore, but silently lands on **page 1 at the default page size**. No error and no redirect occur. The route itself (`/explore/:tab`) is unchanged. > [!TIP] > > Update deep links, embedded dashboards and internal documentation to the new parameter names. ### Page size is constrained to 15, 25 or 50 > [!NOTE] > > **Behavioural.** Explore accepts only 15, 25 and 50 rows per page. Any other `pageSize` (including a > value inherited from the user's stored global page size) is coerced back to 15. ![Explore pagination card showing page controls and the records-per-page selector](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-pagination.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=b51533ea38e8e7d2aecafcecc93c9c0b) ![Records-per-page menu offering 15, 25 and 50](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-page-size.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=5e0466cff55c1f30be68d0fb9430e2a8) ## Browsing no longer clears your filters > [!NOTE] > > **Behavioural.** Affects every Explore user. In 1.13 the left tree drove the quick filters directly: selecting a service **overwrote** the filter state. In 2.0 the tree writes to its own `browsePath` parameter, which is compiled into a separate search filter and `AND`-ed with the dropdown filters. ![Explore with a Snowflake browse location and a Table type filter applied at the same time, with both shown as chips](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-browse-and-filter.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=ec932c0408c815d19e2289eb975a30ef) In the screenshot above, `Service Type: snowflake` (from the tree) and `Type: Table` (from the Data Assets dropdown) are active together, the tree counts are re-scoped to the filter, and both are rendered as removable chips. What this means in practice: * Selecting **Tier 1** and then browsing to a schema keeps the Tier 1 filter. * Clicking a **type leaf** (Tables, Columns) in the tree writes the parent levels into `browsePath` *and* sets the type in the Data Assets quick filter, both landing in one navigation. * Removing a **browse chip truncates the path from that level down**: dropping the *Service* chip also drops the Database and Schema beneath it. * Category roots that cannot hold the selected asset type are greyed out. Selecting "Table" disables every non-Database service root. The resulting URL carries both parameters independently: ``` /explore/tables ?quickFilter={"query":{"bool":{"must":[{"bool":{"should":[{"term":{"entityType.keyword":"table"}}]}}]}}} &browsePath=[{"label":"serviceType","key":"serviceType","value":[{"key":"snowflake","label":"snowflake"}]}] ``` > [!NOTE] > > The Explore quick filter uses `entityType.keyword`, and values are stored **lowercased** > (`tablecolumn`, not `tableColumn`). If you construct `quickFilter` URLs by hand, use the lowercased > value. ## Facet options are scoped differently > [!NOTE] > > **Behavioural.** Changes which options appear in each dropdown. In 1.13 every dropdown's aggregation was computed against the *full* combined filter, including that dropdown's own selection. Selecting `Table` in **Data Assets** shrank the Data Assets dropdown to just `Table`. 2.0 excludes a facet's own field from its own aggregation, giving the conventional faceted-search model: * **Within one facet**, values are `OR`-ed and the option list keeps showing the alternatives. * **Across facets**, constraints are `AND`-ed. * The browse location is always applied, including to facet option lists. ![Data Assets quick filter dropdown showing option counts, entity icons and the helper text about the browse location](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-quick-filter-dropdown.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=9a6fb7ae6394089272fb7932580111d9) The dropdown also gains entity icons, human-readable labels (`tableColumn` renders as **Column**), and the helper text *"Pick values to refine. Your browse location stays put."* > [!TIP] > > UI tests that clicked **Update** to commit a dropdown selection must drop that step: selections now > apply immediately. Expect option lists to be longer than in 1.13 and to change as you browse. ## The query chip row > [!NOTE] > > **New UI.** Replaces the "Clear all" text link. A **Query** row sits under the filter dropdowns and renders the whole active query as chips. ![Explore query chip row showing a Service Type chip, a Type chip and a Clear All action](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-query-chips.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=f7f46e8940c35aa01a509b7bd0f5b90b) * Browse levels are labelled `In`, `Service Type`, `Service`, `Database` and `Schema`. * The Data Assets facet renders as `Type` with a human-readable label. * With nothing selected the row shows a placeholder: *"Browsing your whole data estate — pick a filter above or a location on the left and they stack here."* ### “Clear all” scope changed | Control | 1.13 | 2.0 | | - | - | - | | "Clear all" link next to Tools | Reset all filters | Removed, replaced by **Clear All** on the chip row, which still resets everything | | Clear (×) on the **Advanced Search** applied-filter banner | Reset **all** filters, including quick filters | Clears **only** the advanced query. Quick filters and browse location survive. | > [!TIP] > > Test suites keyed on `data-testid="clear-filters"` must move to the chip row > (`data-testid="explore-query-filter-chips"`). Dismissing an advanced-search query no longer resets the > rest of the filter state. ## Tools menu changes ![Explore Tools menu showing Export, Show Deleted, Advanced Search and the new Ranking Details toggle](https://mintcdn.com/collatedocs/Uc6K6UUwOnvI7QWD/public/images/release-2.0/explore-tools-menu.png?fit=max\&auto=format\&n=Uc6K6UUwOnvI7QWD\&q=85\&s=6a903ba59547769d08c77cc4fde181f2) | Item | 1.13 | 2.0 | | - | - | - | | Deleted toggle | Labelled **Deleted** | Labelled **Show Deleted** | | Export | Synchronous download | Queues a background job | | Advanced Search | unchanged | unchanged | | **Ranking Details** | N/A | **New toggle** | ### Ranking Details Turning on **Ranking Details** re-runs the search with explanation enabled and renders, per result card, the relevance score, the score explanation, and which ranking stages matched. It is part of the Explore fetch key, so toggling it forces a refetch. ## Result ordering changes > [!NOTE] > > **Behavioural.** Affects every search and Explore result list. Search settings gain a per-asset-type `ranking` block: ```json theme={null} { "algorithm": "nameFirstLexicalThenSignals", "enabled": true, "disMaxTieBreaker": 0.05, "stages": [ /* ordered lexical ranking stages */ ], "signals": { "boostMode": "sum", "scoreMode": "sum", "maxBoost": 2.0 }, "stopWords": [], "stopWordsByLanguage": { "en": ["a", "an", "and", "are", "as", "at", "by", "for", "from", "in", "into", "is", "of", "on", "or", "the", "to", "with"] } } ``` The model is **ordered lexical stages first** (name matches outrank description and context matches), then **bounded metadata signals** (Tier, usage) capped at `maxBoost: 2.0` so they act as tie-breakers rather than dominating relevance. Setting `ranking.enabled: false` falls back to the legacy `searchFields` scoring. The 2.0.0 migration writes the default ranking configuration into any **existing** stored search settings, merging in missing stages rather than overwriting operator customisations. > [!WARNING] > > Expect different result ordering after the upgrade: same query, same corpus, different order. If you > have automated tests asserting the top result for a given query, re-baseline them. Tune the behaviour > under **Settings** > **Search** > **Ranking**, which also gains a **Reset to Default** button in 2.0. ## CSV export is now a background job > [!NOTE] > > **Behavioural.** Affects Explore users exporting search results. Choosing **Tools** > **Export** no longer downloads a file directly. It queues a background job and shows *"Export started — track progress and download the CSV from Background jobs."* The job is tracked as `jobType: CSV_EXPORT` and downloaded from `GET /v1/csvAsyncJobs/{jobId}/result`. The export scope modal also changed: exporting "all" now covers the full tab result set with an accurate pre-count, capped at 200,000 rows. > [!NOTE] > > The synchronous endpoint still exists. `GET /v1/search/export` is unchanged and still streams CSV > directly. Only the **UI** switched to `GET /v1/search/export/async`. Scripted exporters don't need to > change. ## Explore result caching > [!NOTE] > > **Behavioural.** Affects perceived freshness on tab switches. 2.0 adds a short-lived stale-while-revalidate cache keyed by the full search dependency string (filters, browse path, query, sort, page, page size, search index, ranking-details flag). * **Cache hit**: results render synchronously with **no spinner**, then a background refetch updates them. * **Cache miss**: normal loading path. * A stale-response guard drops in-flight responses whose key no longer matches the current search, so a slow response can no longer overwrite a newer result set. > [!TIP] > > UI tests that wait for a loading spinner on tab switch need to key off content instead. ## Explore tree count semantics > [!NOTE] > > **Behavioural.** Tree counts now aggregate over the whole data-asset index at every level, so a node's count is the total matching objects in its **subtree** (parent ≥ child), and they respect the active quick filters, advanced query filter and browse path. In 1.13 counts came from the per-entity index for the immediate children only. A count refresh no longer rebuilds the tree from scratch: lazily loaded expanded nodes keep their children, counts and selection. ## Search API changes The `search_after` parameter is now repeated once per sort value instead of comma-joined. See [API & Schema](/ai-2-0/release-2.0/api-and-schema) for the full search API contract changes. # Collate 2.0: What Changed | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/index Everything that changes when you move from Collate 1.13 to 2.0, the new AI Mode, plus a component-by-component breakdown of breaking API, ingestion, configuration and UI changes. # Collate 2.0: What Changed Collate 2.0 is a major release. It: * Introduces **AI Mode**. * Retires the thread-backed collaboration model. * Replaces the Explore experience. * Converts the agent apps into AI Automations. * Moves LLM and embedding configuration into one place. * Reshapes several API contracts. This section covers everything that can break an existing client, script, deployment or user workflow, broken out by component so you only read the parts that apply to you. For a dedicated, comprehensive breaking-changes reference organized the same way, see the [Breaking Changes](/ai-2-0/release-2.0/breaking-changes/overview) section. > [card] [Start here: AI Mode](/ai-2-0/release-2.0/ai-mode) > > In 2.0, the headline change is a second, AI-native interface. Every new capability lands there first. > Learn what is in it and how to turn it on for yourself, a persona, or the whole tenant. > [!WARNING] > > Take a full database backup before upgrading. The 2.0.0 migration renames tables, creates more than > 15 new ones, deletes the three agent applications, and rewrites application, service-connection > and tag rows in place. No automated downgrade path exists. ## How to read this section | Class | Meaning | | - | - | | **Breaking** | Existing callers or configurations fail outright. Action is required before or during the upgrade. | | **Behavioural** | Requests still succeed, but the result, ordering or side effect differs. | | **Deprecated** | Still works in 2.0, scheduled for removal. Migrate at your convenience. | | **Additive** | New surface only. Listed where it replaces something you may currently be using. | Each entry states **what changed**, **who is affected** and **what to do**. ## The changes most likely to affect you | # | Change | Component | Class | | - | - | - | - | | 1 | The Documentation, Tier and Quality **agent apps are deleted** and converted into **disabled** AI Automations | [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations) | Breaking | | 2 | `/v1/suggestions/*` removed, suggestions are now Tasks | [Collaboration](/ai-2-0/release-2.0/collaboration) | Breaking | | 3 | Announcements removed from `/v1/feed`, now `/v1/announcements` | [Collaboration](/ai-2-0/release-2.0/collaboration) | Breaking | | 4 | `ingestionPipeline.pipelineStatuses` is now an **array** | [Ingestion & Connectors](/ai-2-0/release-2.0/ingestion-and-connectors) | Breaking | | 5 | Embedding and NLQ provider config moves to a top-level `llmConfiguration` block | [Platform & Security](/ai-2-0/release-2.0/platform-and-security) | Breaking | | 6 | Explore URL params `page`/`size` → `currentPage`/`pageSize`, plus a new `browsePath` | [Discovery & Search](/ai-2-0/release-2.0/discovery-and-search) | Breaking | | 7 | `/v1/agents/abilities` renamed to `/v1/agents/skills`, Knowledge Center and Context Memory APIs moved | [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations) | Breaking | | 8 | AI Mode routes dropped the `/askCollate` prefix | [AI Mode](/ai-2-0/release-2.0/ai-mode) | Breaking | | 9 | Credits are now **weighted by model and cache usage**, runs that cannot finish are refused | [Collate AI & Credits](/ai-2-0/release-2.0/collate-ai-and-credits) | Behavioural | | 10 | `maxActiveSessionsPerUser` defaults to 5, sessions are database-backed | [Platform & Security](/ai-2-0/release-2.0/platform-and-security) | Behavioural | | 11 | **AskCollate is renamed to Collate AI** across UI, backend, billing labels and Slack/Teams | [Collate AI & Credits](/ai-2-0/release-2.0/collate-ai-and-credits) | Breaking | | 12 | AI Dashboards enforce visibility, **every dashboard is set to Public** on upgrade | [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations) | Breaking | | 13 | An AI chart now belongs to **exactly one** dashboard: `dashboards[]` becomes `dashboard` | [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations) | Breaking | | 14 | Ingestion images move from **Python 3.10 to 3.12** | [Ingestion & Connectors](/ai-2-0/release-2.0/ingestion-and-connectors) | Breaking | | 15 | Hybrid Runner and AI Platform images are **distroless**, no shell access | [Platform & Security](/ai-2-0/release-2.0/platform-and-security) | Breaking | ## Deprecation notices These are not 2.0 breaking changes, but they change what you should build on now. > [!WARNING] > > **Airflow as the internal orchestrator is deprecated and will be removed in a future release.** The > native Kubernetes Orchestrator released in 1.12 is its replacement. New deployments should > standardise on the Kubernetes Orchestrator. Existing Airflow-based deployments keep working in 2.0 > but should plan a migration. > [!WARNING] > > **Great Expectations 0.x is no longer supported.** 2.0 requires Great Expectations 1.3 or later. See > [Ingestion & Connectors](/ai-2-0/release-2.0/ingestion-and-connectors). ## Browse by component > [card] [AI Mode](/ai-2-0/release-2.0/ai-mode) > > The new AI-native interface, what is in it, and the three ways to enable it. > [card] [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations) > > Agent apps replaced by AI Automations, Skills, Context Plugins, AI Dashboards and AICharts. > [card] [Collate AI & Credits](/ai-2-0/release-2.0/collate-ai-and-credits) > > Conversation sharing and collaborators, plus the reworked credit and billing model. > [card] [Discovery & Search](/ai-2-0/release-2.0/discovery-and-search) > > The redesigned Explore page, the browse-and-filter query bar and staged ranking. > [card] [Collaboration](/ai-2-0/release-2.0/collaboration) > > Task redesign, Suggestions API removal, standalone Announcements and the Activity Stream. > [card] [Data Governance](/ai-2-0/release-2.0/data-governance) > > Policies and task operations, glossary and ontology, classification, workflows, Data Access Requests and the Policy Agent. > [card] [Data Quality & Observability](/ai-2-0/release-2.0/data-quality) > > Incidents as Tasks, inlined incident status, auto-close and the removed Data Insights DQ module. > [card] [Lineage](/ai-2-0/release-2.0/lineage) > > FQN-based edge APIs, batch hydration and time-window traversal semantics. > [card] [Ingestion & Connectors](/ai-2-0/release-2.0/ingestion-and-connectors) > > pipelineStatuses, Databricks Pipeline auth, log-stream and progress payloads, Great Expectations 1.x and new connectors. > [card] [API & Schema](/ai-2-0/release-2.0/api-and-schema) > > Removed endpoints, changed request and response shapes, tightened validation and enum changes. > [card] [Platform, Config & Security](/ai-2-0/release-2.0/platform-and-security) > > llmConfiguration, session management, database timeouts and the 2.0.0 migration. > [card] [Platform Applications](/ai-2-0/release-2.0/platform-applications) > > Search Indexing app config, RDF Index defaults, Data Insights module changes and MCP tool contracts. > [card] [UI & Customization](/ai-2-0/release-2.0/ui-and-customization) > > Design-system consolidation, per-user preferences and removed components. ## Upgrade checklist **1. Inventory your API clients** Search scripts, dashboards, Terraform and CI jobs for `/v1/suggestions`, `/v1/feed`, `/v1/agents/abilities`, `/v1/knowledgeCenter`, `/v1/contextCenter/memories`, `search_after=`, `pipelineStatuses` and `recreateIndex`. **2. Record your agent app configuration** The Documentation, Tier and Quality agent apps are deleted during the upgrade. Note their filters and schedules. The migration preserves the filter but the replacement automation arrives **disabled and unscheduled**. **3. Port your LLM configuration** The `elasticsearch.naturalLanguageSearch.*` provider blocks no longer exist. Move them to `llmConfiguration` before you upgrade or semantic search silently degrades. **4. Check entity names for newly invalid characters** `>`, `"` and ASCII control characters are rejected by name validation in 2.0. **5. Back up the database and run the upgrade** Expect these data migrations: suggestions and thread tasks into the Task entity, system feed threads into the Activity Stream, announcements into their own entity, agent apps into AI Automations, and the Data Access Request and AutoPilot workflows reseeded. **6. Allow a full search reindex** Reindexing in 2.0 always recreates the index. 2.0 has no incremental mode, and ranking configuration is backfilled during the migration. **7. Re-enable your migrated automations** Open **AI Automations**, find the entries suffixed **(migrated)**, review the carried-over filter, then enable and schedule each one. **8. Reissue tokens for removed agent bots** `CollateAIApplicationBot` and the Tier and Quality agent bots are deleted with their apps. Reissue any API or SDK token that used them. **9. Review AI Dashboard visibility** The upgrade sets every dashboard to **Public** to preserve access. Owners should restrict the ones that should not be org-wide. **10. Rebuild custom ingestion images** Ingestion moves to Python 3.12. `cp310` wheels will not load. **11. Decide your AI Mode rollout** Choose whether to leave the tenant default unset, pin a pilot persona to AI, or default everyone to AI Mode. See [AI Mode](/ai-2-0/release-2.0/ai-mode). ## Version scope | | | | - | - | | **From** | Collate 1.13 line (1.13.0 – 1.13.4) | | **To** | Collate 2.0.0 | | **Platform REST surface** | 208 endpoints added, 10 removed | | **Collate REST surface** | 76 endpoints added, 47 removed | | **Schema spec** | 86 new schema files, 107 modified, 3 removed | > [!NOTE] > > Where this guide names a file, environment variable, package or HTTP header, it uses the literal > identifier as it appears in the product, for example `openmetadata.yaml`, `openmetadata-ingestion` > or `/api/v1/`. Those names are unchanged in 2.0 and renaming them here would make the instructions > wrong. # Breaking Changes - Ingestion & Connectors | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/ingestion-and-connectors pipelineStatuses shape change, Databricks Pipeline authentication, Great Expectations 1.x, the log-stream SSE contract and new connectors in Collate 2.0. # Ingestion & Connectors Five hard breaks here: the `pipelineStatuses` shape, the Databricks Pipeline connection, the log-stream payload, the progress payload and the move to Python 3.12, plus a Great Expectations major-version jump. ## `pipelineStatuses` is now an array > [!WARNING] > > **Breaking.** Affects every client reading ingestion pipelines: dashboards, health checks and SDK > users. ```diff theme={null} "pipelineStatuses": { - "description": "Last of executions and status for the Pipeline.", - "$ref": "#/definitions/pipelineStatus" + "description": "List of the most recent executions and status for the Pipeline.", + "type": "array", + "items": { "$ref": "#/definitions/pipelineStatus" } } ``` The list endpoint now returns the **last five** statuses per pipeline, which also removes an N+1 query. > [tab] 1.13 response > > ```json theme={null} > { "name": "my_pipeline", "pipelineStatuses": { "runId": "…", "pipelineState": "success" } } > ``` > [tab] 2.0 response > > ```json theme={null} > { "name": "my_pipeline", > "pipelineStatuses": [ { "runId": "…", "pipelineState": "success" }, > { "runId": "…", "pipelineState": "failed" } ] } > ``` Strongly typed clients throw on the type change. Loosely typed scripts reading `pipelineStatuses.pipelineState` silently get `undefined` or `None`. The migration also strips any stale single-object `pipelineStatuses` value that a `GET → PUT` round-trip might have persisted into stored entity JSON. > [!TIP] > > Read `pipelineStatuses[0]` for the latest run, and regenerate SDK models. ## Databricks Pipeline connection requires `authType` > [!WARNING] > > **Breaking.** Affects Databricks Pipeline services created via API or infrastructure-as-code. ```diff theme={null} - "required": ["hostPort", "token"] + "required": ["hostPort", "authType"] ``` > [tab] 1.13 > > ```json theme={null} > { "hostPort": "…", "token": "dapi…" } > ``` > [tab] 2.0 > > ```json theme={null} > { "hostPort": "…", "authType": { "token": "dapi…" } } > ``` `authType` accepts three variants: **Personal Access Token**, **DatabricksOAuth** and **Azure AD**. > [!WARNING] > > Stored service configurations are migrated automatically. **External ingestion YAMLs are not.** Any > YAML you keep in source control, in a CI job, or on a hybrid runner must be updated by hand or the > run fails validation. > [!TIP] > > Update Terraform, Ansible and scripted service creation, plus any ingestion YAML that sets `token` at > the top level. ## Log stream payload changed > [!WARNING] > > **Breaking.** `GET /v1/services/ingestionPipelines/logs/{fqn}/stream/{runId}` now emits **one JSON > event per frame** instead of one raw log line. The event follows the `LogStreamEvent` schema: ```json theme={null} { "eventType": "logs | complete | error", "runId": "scheduled__2026-08-01T00:00:00+00:00", "logs": "…appended log content, empty on complete/error…", "after": "opaque-cursor", "replay": false, "truncated": false, "reason": "runFinished | idleTimeout | maxDuration | maxBytes", "message": "…set on error events, and on complete events that ended early…" } ``` * `logs` carries the content appended since the previous event; it's empty on `complete` and `error` events. * `after` is an opaque cursor pointing just past the delivered `logs`. Pass it back as the `after` query parameter to resume without re-reading delivered content. * `reason` is set **only** on a `complete` event. A stream that ends without one was cut short. Reconnect from the last cursor. * `truncated: true` means the server couldn't replay the whole backlog; fetch earlier history from the paginated log endpoint. * `replay: true` marks chunks replayed from the server buffer because the stream was already running when the client connected. * The path now accepts an id **or** fully qualified name, and `runId` is a free-form string, so Airflow's `scheduled__` run ids no longer 404. > [!TIP] > > Clients parsing `data:` as log text must parse it as JSON and read `event.logs`. ## Ingestion progress payload changed > [!WARNING] > > **Breaking.** Affects consumers of `GET /v1/services/ingestionPipelines/progress/{fqn}/stream/{runId}`. Progress changes from a flat per-entity-type map to a **hierarchical tree**. Each node counts its direct children: the root counts databases, a database counts schemas, a schema counts tables. > [tab] 1.13 > > Progress by entity type. Keys are entity types, values contain `total`, `processed` and > `estimatedRemainingSeconds`. > [tab] 2.0 > > ```json theme={null} > { > "label": "", > "entityType": "Database", > "processed": 3, > "expected": 12, > "active": true, > "overflow": 0, > "children": [ /* active or relevant child nodes only */ ] > } > ``` > > `expected` is `null` when the producer was iterated lazily. A new service-level stream is added at `GET /v1/services/ingestionPipelines/progress/service/{serviceType}/{serviceFqn}/stream`, so the Services page can show live progress across all agents for a service. Coverage added in 2.0: * Database connectors generally, plus Databricks and Unity Catalog explicitly. * Airflow REST and dbt Cloud pipeline totals. * Looker and Tableau via manual progress mode. * The profiler and auto-classification workflows. ## Ingestion images move to Python 3.12 > [!WARNING] > > **Breaking.** Affects anyone who builds a custom ingestion image or installs the ingestion package > into their own Python environment. | | Released 1.13.x | 2.0 | | - | - | - | | Ingestion image | `apache/airflow:3.2.x-python3.10` | `apache/airflow:3.3.0-python3.12` | | Operator image | `python:3.10-bookworm` | `python:3.12-slim-trixie` | > [!WARNING] > > **`cp310` wheels will not load.** Any custom connector, driver or dependency pinned to a CPython 3.10 > wheel must be rebuilt or repinned for CPython 3.12. > [!TIP] > > Rebuild every custom ingestion image, and re-resolve any private requirements file, before pointing > agents at 2.0. > [!NOTE] > > **Running ingestion outside the Collate image?** Python 3.12 is the recommended version for > externally run virtual environments. Python 3.10 and 3.11 > still work, because the ingestion package requires Python 3.10 or later. To switch, move one > pipeline to 3.12 first, check that it runs, then move the rest. ## Great Expectations 1.3 or later is required > [!WARNING] > > **Breaking.** Affects the `great-expectations` plugin. ```diff theme={null} - "great-expectations": "great-expectations~=0.18.0", - "great-expectations-1xx": "great-expectations~=1.0", + "great-expectations": "great-expectations~=1.3", ``` **Great Expectations 0.x is no longer supported**, and the separate `great-expectations-1xx` extra is **removed**. Version 1.3 is the floor because Great Expectations only gained the validation-action registry there. On 1.0–1.2 `Checkpoint.actions` is a closed union that rejects the Collate validation action outright. If you adopted the interim 1.x module during 1.13, rename it in your checkpoint: `metadata.great_expectations.action1xx` and `OpenMetadataValidationAction1xx` have been removed: ```python theme={null} # Before from metadata.great_expectations.action1xx import OpenMetadataValidationAction1xx # After from metadata.great_expectations.action import OpenMetadataValidationAction ``` Checkpoints that already reference `metadata.great_expectations.action` and `OpenMetadataValidationAction` keep those names, but the surrounding checkpoint definition still has to move to the 1.x API: pass actions as objects to `Checkpoint(actions=[...])` rather than as an `action_list` of dictionaries, and call `checkpoint.run()` instead of `great_expectations checkpoint run`. > [!WARNING] > > Test case results now report **row counts only**: `unexpected_count`, `missing_count`, > `element_count` and `observed_value`. The percentage values are no longer sent: > `unexpected_percent`, `unexpected_percent_total`, `missing_percent` and `success_rate`. Collate > charts every result value of a test case on a single axis, and percentages plotted next to > row counts were unreadable. Percentages remain derivable as `unexpected_count / element_count`. > [!TIP] > > Replace `pip install "openmetadata-ingestion[great-expectations-1xx]"` with > `pip install "openmetadata-ingestion[great-expectations]"`. ## Other dependency floors raised > [!NOTE] > > **Behavioural.** Affects pinned and air-gapped installations. | Package | 1.13 | 2.0 | Why | | - | - | - | - | | `requests` | `>=2.23` | `>=2.32.4` | security | | `sqlalchemy_exasol` | `>=6,<7` | `>=7.1.1,<8` | Exasol connector | | `sqlalchemy-pytds` | `~=0.3` | `~=1.0` | 0.3.x raises `AttributeError` on every server-side cursor fetch with python-tds 1.x | | `gitpython` | `~=3.1.34` | `>=3.1.50` | security | | `paramiko` | N/A | `>=3.5,<6` | new `sftp` plugin | New plugin extras: **`prefect`** and **`sftp`**. ## New connectors > [!NOTE] > > **Additive.** | Type | Connector | Service type value | | - | - | - | | Database | SAP BW/4HANA | `SapBw4Hana` | | Dashboard | Omni | `Omni` | | Pipeline | Prefect (Cloud and Server auth) | `Prefect` | | Pipeline | SAP BW/4HANA | `SapBw4HanaPipeline` | ## Connector configuration changes ### Default filter patterns now exclude system objects > [!WARNING] > > **Behavioural.** Applies to existing services too. | Connector | Field | New default excludes | | - | - | - | | Redshift | `tableFilterPattern` | `^(?:.*\.)?mv_tbl__.*__\d+$` | | Kafka | `topicFilterPattern` | `^__.*`, `^_schemas$`, `^_confluent.*` | | Redpanda | `topicFilterPattern` | `^__.*`, `^_schemas$`, `^_confluent.*` | > [!WARNING] > > If you deliberately catalogued Redshift materialised-view backing tables or Kafka internal topics, set > an explicit filter pattern. The next ingestion run will otherwise skip them and, with stale deletion > enabled, soft-delete them. ### SSIS `databaseConnection` is now optional > [!NOTE] > > **Relaxed requirement**, supporting file-only SSIS mode. Existing configurations are unaffected. ### Snowflake | Change | Detail | | - | - | | `includeSemanticViews` | New, default `false`. `tableType` gains `SemanticView` | | Access-history lineage | New opt-in path | | `policyAgentConfig` | Declared with defaults and backfilled onto existing services. See [Data Governance](/ai-2-0/release-2.0/data-governance) | ### Other connector changes | Connector | Change | | - | - | | Unity Catalog | Incremental metadata extraction, `policyAgentConfig` added | | Databricks | Partner user-agent for telemetry attribution, `policyAgentConfig` defaults | | Postgres | `policyAgentConfig` **removed** from the schema and stripped from stored rows | | MySQL | Custom `queryHistoryTable` for usage and lineage | | ADLS | `containerName` field on the storage connection | | Exasol | Comment access and query usage support | | PowerBI | Datamart support, per-workspace cache scoping | | dbt | `includeMetrics` toggle for semantic-layer metrics | | Pipeline metadata | `ownershipUpdateMode` (`replace` or `append`) controls how source owners merge with existing pipeline owners | | Storage | Compressed archive support, auto-classification for containers | | Kafka Connect | Lineage for `EventRouter` and `RegexRouter` routed topics | ## Stale-entity cleanup API > [!NOTE] > > **New pattern for connectors.** ```http theme={null} DELETE /v1/tables/deleteStale ``` ```json theme={null} { "scopeFqn": "service.database.schema", "scopeEntityType": "databaseSchema", "seenFqns": ["…", "…"], "dryRun": false, "hardDelete": false, "recursive": true } ``` Entities inside the scope that are **not** in `seenFqns` are considered stale and soft-deleted by default. Available on 18 entity types. > [!WARNING] > > A `seenFqns` list truncated by a partial connector run will mark everything else stale. Always > run with `dryRun` first when wiring this into custom connectors. ## Ingestion pipeline management | Change | Class | Detail | | - | - | - | | `agentType` list filter | Additive | `GET /v1/services/ingestionPipelines?agentType=metadata\|application` | | Queued-status polling | Behavioural | The server no longer polls orchestrators for queued status, reducing Airflow API load | | `queuedStatusTimeoutSeconds` | Additive | Default `3600`. Controls how long a `queued` status stays visible before being treated as stale | | Force delete | Additive | Admins can force-delete ingestion pipelines | | `policyAgent` pipeline type | Additive | New pipeline type | ## Connector framework internals > [!NOTE] > > **Behavioural.** Affects **custom connector authors only.** * mlmodel, metadata, messaging, storage, search and drive connectors migrated to `BaseConnection`. * `get_connection_dict` dropped from `BaseConnection`. * data-diff gated via a protocol. * Duplicated test-connection helpers consolidated. * Athena migrated to the declarative test-connection framework. * A shared `GetPipelines` step added to the pipeline test-connection vertical. * A `ClassifiableEntityAdapter` replaces scattered `isinstance` checks, and a `TagRegistry` domain layer is introduced. * `ConnectionsRouterClassBase` enables pluggable connection routing in the UI. > [!TIP] > > Rebuild and re-test custom connectors against the 2.0 ingestion package before upgrading production > agents. # Breaking Changes - Lineage | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/lineage FQN-based lineage edge APIs, batch hydration, time-window traversal semantics and lineage change events in Collate 2.0. # Lineage Mostly additive, but the new time-window filter has non-obvious traversal semantics, and the knowledge-graph renderer is replaced. ## New FQN-based edge APIs > [!NOTE] > > **Additive.** The UUID-based endpoints remain. | New endpoint | Purpose | | - | - | | `PUT /v1/lineage/{fromEntity}/name/{fromFQN}/{toEntity}/name/{toFQN}` | Create or replace an edge by name | | `PATCH /v1/lineage/{fromEntity}/name/{fromFQN}/{toEntity}/name/{toFQN}` | Patch an edge by name | | `GET /v1/lineage/getLineageEdge/{fromEntity}/name/{fromFQN}/{toEntity}/name/{toFQN}` | Read a single edge by name | | `DELETE /v1/lineage/source/name/{entityType}/{entityFQN}/type/{lineageSource}` | Delete all edges of one lineage source for an entity | The source-scoped delete is the clean way to re-run a lineage source (dbt, OpenLineage, manual) without wiping edges contributed by other sources. ## Batch hydration > [!NOTE] > > **Additive.** Replaces N per-node entity `GET`s. ```http theme={null} POST /v1/lineage/hydrate ``` ```json theme={null} { "entities": [ { "type": "table", "id": "…" } ], "fields": "tags,owners,domains", "include": "non-deleted" } ``` Accepts 1–200 entities, each identified by `type` and `id` only. The response groups hydrated entities by entity type. `fields` is applied uniformly. Fields that do not apply to a given entity type are silently skipped. > [!TIP] > > Graph UIs and lineage exporters that fan out one entity `GET` per node should switch to a single > hydrate call per page of nodes. ## Time-window lineage > [!WARNING] > > **New capability with surprising semantics.** Read this before using it. The search-lineage and entity-count-lineage requests gain `startTime` and `endTime` (epoch milliseconds), matched by range overlap on edge `createdAt` and `updatedAt`. The window is applied as a **hard prune during graph traversal**, not as a post-filter. An out-of-window edge severs discovery of everything reachable only through it, in both directions. A node is shown only if it is reachable from the root through edges that are **all** in-window. Two consequences worth planning for: 1. **A single stale edge hides a whole subtree.** If the edge from `A → B` falls outside the window, nothing downstream of `B` is returned even if those edges are in-window. 2. **Legacy edges always match.** Edges with no timestamps match any window for backwards compatibility, so a window query over a mix of legacy and temporal data returns *all* legacy edges plus the in-window temporal ones. Do not read the result as a clean point-in-time snapshot until your graph is fully timestamped. Setting `endTime` alone gives as-of semantics: edges that existed on or before that instant. ## Lineage change events > [!NOTE] > > **Additive.** Affects webhook and event-subscription consumers. `changeEventType` adds `entityLineageAdded`, `entityLineageDeleted` and `entityLineageUpdated`. Lineage mutations previously surfaced only as generic entity updates, or not at all. > [!TIP] > > Subscriptions that filtered on `entityUpdated` to catch lineage changes might now see those changes > arrive under the new types instead. ## Lineage UI > [!NOTE] > > **Behavioural.** Affects users and fork maintainers. | Change | Detail | | - | - | | **Time filter** | A new lineage time filter drives the `startTime` and `endTime` request fields | | **Traced paths** | Traced edges and nodes are rendered distinctly | | **Pagination** | Execution history and edge deletion are paginated | | **Node edits** | Entity edits reflect on graph nodes without a full graph reload | | **Component stack** | Lineage layers, canvas edge renderer, lineage table, node labels and control buttons migrate onto the shared core components. The MUI drawer and AntD modal are replaced. | ### Knowledge Graph renderer replaced > [!WARNING] > > **Breaking for forks** that import the graph components. The AntV-G6 based knowledge graph is removed and replaced by an RDF-backed **3D Knowledge Graph** tab with an Ontology mode and full-viewport expand. The `components/KnowledgeGraph/**` modules and `NodeContextMenu` are deleted. Replacements live under `components/OntologyExplorer/**`. > [!WARNING] > > The 3D graph reads from the RDF store. If RDF is disabled the tab has no data. RDF > inference now defaults to **off**. See > [Platform Applications](/ai-2-0/release-2.0/platform-applications). ## OpenLineage & connector lineage > [!NOTE] > > **Additive.** * Snowflake gains an opt-in access-history lineage path. * dbt Cloud gains column-level lineage from compiled SQL. * dbt gains semantic-layer metric ingestion with column-level lineage. * Kafka Connect creates lineage for `EventRouter` and `RegexRouter` routed topics. # Breaking Changes - Platform, Config & Security | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/platform-and-security llmConfiguration, database-backed sessions and concurrent-session limits, openmetadata.yaml changes and the 2.0.0 database migration. # Platform, Configuration & Security Two changes here will stop a 2.0 server from behaving as expected with a 1.13 configuration: the LLM and embedding configuration move, and the new session limits. ## LLM and embedding configuration moved > [!WARNING] > > **Breaking.** Affects every deployment using semantic search, natural-language query, or any LLM > feature. Provider configuration is no longer nested inside `elasticsearch.naturalLanguageSearch`. It moves to a new **top-level `llmConfiguration`** block, with embeddings as a sub-section that reuses the same provider credentials. ### Removed from `naturalLanguageSearch` ``` embeddingProvider maxConcurrentRequests bedrock.* (awsConfig, modelId, embeddingModelId, embeddingDimension, maxTokens, temperature, timeoutSeconds) openai.* (apiKey, endpoint, deploymentName, apiVersion, modelId, embeddingModelId, embeddingDimension, …) google.* (apiKey, endpoint, modelId, embeddingModelId, embeddingDimension) djl.* (embeddingModel) ``` What remains under `naturalLanguageSearch`: `semanticSearchEnabled`, `knnNumCandidatesMultiplier` (new, default `2`) and a new `filterExtractor` block. ### The 2.0 shape ```yaml conf/openmetadata.yaml theme={null} elasticsearch: naturalLanguageSearch: semanticSearchEnabled: ${SEMANTIC_SEARCH_ENABLED:-false} # Embedding provider/model/credentials now live under llmConfiguration.embeddings llmConfiguration: enabled: ${LLM_ENABLED:-false} provider: ${LLM_PROVIDER:-noop} # noop | openai | azureOpenAI | bedrock | google | anthropic maxConcurrentRequests: ${LLM_MAX_CONCURRENT_REQUESTS:-5} openai: apiKey: ${LLM_OPENAI_API_KEY:-""} modelId: ${LLM_OPENAI_MODEL_ID:-"gpt-4o-mini"} endpoint: ${LLM_OPENAI_ENDPOINT:-""} # with deploymentName for Azure OpenAI deploymentName: ${LLM_OPENAI_DEPLOYMENT:-""} apiVersion: ${LLM_OPENAI_API_VERSION:-"2024-02-01"} maxTokens: ${LLM_OPENAI_MAX_TOKENS:-4096} bedrock: awsConfig: enabled: ${BEDROCK_AWS_IAM_AUTH_ENABLED:-true} region: ${AWS_DEFAULT_REGION:-""} accessKeyId: ${AWS_ACCESS_KEY_ID:-""} secretAccessKey: ${AWS_SECRET_ACCESS_KEY:-""} sessionToken: ${AWS_SESSION_TOKEN:-""} modelId: ${LLM_BEDROCK_MODEL_ID:-"eu.anthropic.claude-haiku-4-5-20251001-v1:0"} google: apiKey: ${LLM_GOOGLE_API_KEY:-""} modelId: ${LLM_GOOGLE_MODEL_ID:-"gemini-2.5-flash"} anthropic: apiKey: ${LLM_ANTHROPIC_API_KEY:-""} modelId: ${LLM_ANTHROPIC_MODEL_ID:-"claude-3-5-sonnet-20240620"} baseUrl: ${LLM_ANTHROPIC_BASE_URL:-"https://api.anthropic.com"} embeddings: provider: ${EMBEDDING_PROVIDER:-bedrock} # bedrock | openai | google | djl maxConcurrentRequests: ${MAX_CONCURRENT_EMBEDDING_REQUESTS:-10} bedrock: embeddingModelId: ${AWS_BEDROCK_EMBED_MODEL_ID:-"amazon.titan-embed-text-v2:0"} embeddingDimension: ${AWS_BEDROCK_EMBEDDING_DIMENSION:-512} openai: embeddingModelId: ${OPENAI_EMBEDDING_MODEL_ID:-"text-embedding-3-small"} embeddingDimension: ${OPENAI_EMBEDDING_DIMENSION:-1536} google: embeddingModelId: ${GOOGLE_EMBEDDING_MODEL_ID:-"gemini-embedding-001"} embeddingDimension: ${GOOGLE_EMBEDDING_DIMENSION:-768} djl: embeddingModel: ${DJL_EMBEDDING_MODEL:-"ai.djl.huggingface.pytorch/sentence-transformers/all-MiniLM-L6-v2"} ``` The embedding provider might differ from the chat provider. Embeddings reuse the credentials from the provider blocks above. ### Environment variable renames | 1.13 | 2.0 | | - | - | | `AWS_BEDROCK_REGION` | `AWS_DEFAULT_REGION` | | `AWS_BEDROCK_ACCESS_KEY` | `AWS_ACCESS_KEY_ID` | | `AWS_BEDROCK_SECRET_KEY` | `AWS_SECRET_ACCESS_KEY` | | `AWS_BEDROCK_SESSION_TOKEN` | `AWS_SESSION_TOKEN` | | `AWS_BEDROCK_MODEL_ID` | `LLM_BEDROCK_MODEL_ID` | | `OPENAI_API_KEY` | `LLM_OPENAI_API_KEY` | | `OPENAI_API_ENDPOINT` | `LLM_OPENAI_ENDPOINT` | | `OPENAI_DEPLOYMENT_NAME` | `LLM_OPENAI_DEPLOYMENT` | | `OPENAI_API_VERSION` | `LLM_OPENAI_API_VERSION` | | `GOOGLE_API_KEY` | `LLM_GOOGLE_API_KEY` | | `GOOGLE_API_ENDPOINT` | *(removed)* | The embedding-specific variables keep their names but move under `llmConfiguration.embeddings`. > [!WARNING] > > `BEDROCK_AWS_IAM_AUTH_ENABLED` flips from `false` to **`true`**. Deployments that relied on the > default being off, and supplied static keys, should confirm which credential chain is used. > [!WARNING] > > **`LLM_ENABLED` and `LLM_PROVIDER` gate the entire block.** Both must be set before embeddings, or > any other LLM feature, will run. Porting the credentials across without enabling the block leaves > semantic search and NLQ switched off. **Unchanged**: `NATURAL_LANGUAGE_SEARCH_ENABLED`, `SEMANTIC_SEARCH_ENABLED`, `EMBEDDING_PROVIDER`, `MAX_CONCURRENT_EMBEDDING_REQUESTS`, the `COLLATE_NLQ_CACHE_*` variables, and every `*_EMBEDDING_MODEL_ID` / `*_EMBEDDING_DIMENSION` variable. ### Natural-language query settings consolidate > [!WARNING] > > **Breaking.** The per-provider NLQ generation settings collapse into one set under `filterExtractor`. | 1.13 | 2.0 | | - | - | | `COLLATE_NLQ_BEDROCK_MAX_TOKENS`, `COLLATE_NLQ_OPENAI_MAX_TOKENS` | `COLLATE_NLQ_MAX_TOKENS` | | `COLLATE_NLQ_BEDROCK_TEMPERATURE`, `COLLATE_NLQ_OPENAI_TEMPERATURE` | `COLLATE_NLQ_TEMPERATURE` | | `COLLATE_NLQ_BEDROCK_TIMEOUT_SECONDS`, `COLLATE_NLQ_OPENAI_TIMEOUT_SECONDS` | `COLLATE_NLQ_TIMEOUT_SECONDS` | | `OPENAI_MODEL_ID` | `LLM_OPENAI_MODEL_ID` | | `GOOGLE_MODEL_ID` | `LLM_GOOGLE_MODEL_ID` | ```yaml theme={null} # 2.0: naturalLanguageSearch keeps only its own knobs elasticsearch: naturalLanguageSearch: enabled: ${NATURAL_LANGUAGE_SEARCH_ENABLED:-true} semanticSearchEnabled: ${SEMANTIC_SEARCH_ENABLED:-true} providerClass: ${NATURAL_LANGUAGE_SEARCH_PROVIDER_CLASS:-org.openmetadata.service.search.nlq.NoOpNLQService} filterExtractor: cacheMaxSize: ${COLLATE_NLQ_CACHE_MAX_SIZE:-1000} cacheExpiryMinutes: ${COLLATE_NLQ_CACHE_EXPIRY_MINUTES:-5} maxSampleValues: ${COLLATE_NLQ_MAX_SAMPLE_VALUES:-10} maxTokens: ${COLLATE_NLQ_MAX_TOKENS:-256} temperature: ${COLLATE_NLQ_TEMPERATURE:-0.0} timeoutSeconds: ${COLLATE_NLQ_TIMEOUT_SECONDS:-15} hybridSearch: ... ``` > [!WARNING] > > **`providerClass` now defaults to `NoOpNLQService`** instead of a live provider, so NLQ filter > extraction stays **off** until `llmConfiguration` is enabled. A deployment that relied on the old > default will lose natural-language filtering until you set `LLM_ENABLED` and `LLM_PROVIDER`. > [!NOTE] > > This configuration work applies to **self-managed and BYOC deployments**. On fully managed instances > Collate applies it for you. > [!TIP] > > Port your configuration into `llmConfiguration` **before** upgrading. Semantic search silently > degrades (the provider resolves to `noop`) rather than failing loudly if the block is missing. ## Session management ### Sessions are database-backed > [!NOTE] > > **Behavioural.** Affects multi-pod deployments. Collate 2.0 adds a `user_session` table so sessions survive pod restarts and are shared across pods. Previously each pod held its own in-memory session state, which caused spurious logouts behind a load balancer without sticky sessions. ### Concurrent sessions are capped per user > [!WARNING] > > **Behavioural.** Users will be logged out. ```yaml theme={null} authenticationConfiguration: sessionExpiry: ${AUTHENTICATION_SESSION_EXPIRY:-"604800"} # 7 days, all auth providers maxActiveSessionsPerUser: ${AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER:-5} ``` When the limit is exceeded, the **least recently used active sessions are revoked**. `sessionExpiry` now applies to **all** auth providers with a minimum of 3600 s. `oidcConfiguration.sessionExpiry` becomes a deprecated fallback. > [!WARNING] > > Users who work across several browsers or devices, and **service accounts driving many concurrent > sessions**, will start being silently signed out of the oldest sessions. Raise > `AUTHENTICATION_MAX_ACTIVE_SESSIONS_PER_USER` if that is your pattern, but prefer bot tokens for > automation. ### Trusted redirect URIs are now required for the browser extension > [!WARNING] > > **Breaking.** The Collate Chrome plugin will not complete login until its redirect URI is allow-listed. ```yaml theme={null} additionalTrustedRedirectUris: ${AUTHENTICATION_ADDITIONAL_TRUSTED_REDIRECT_URIS:-[]} ``` Set it through the environment variable, or in the SSO configuration stored in the database. Each entry must match the requested URI **exactly**: scheme, host, port, path and query. ### Additional trusted redirect URIs > [!NOTE] > > **Additive.** `additionalTrustedRedirectUris` allows redirect URIs beyond the callback URL and the > server's own callbacks. Each entry must match the requested URI **exactly**. Intended for > browser-extension logins. Related SSO hardening: the server callback is trusted in the SAML redirect allowlist, SAML pending-session ids are carried in `RelayState`, and the OIDC login loop is hardened with an interactive fallback that preserves pending logins. ### Admin test-login > [!NOTE] > > **Additive.** `POST /v1/system/security/test-login/validate-token` validates a browser-obtained OIDC > `id_token` against a **candidate (unsaved)** security configuration, so an admin can confirm a real > login resolves the expected identity before saving. ### LDAP > [!NOTE] > > **Additive.** `recursiveGroupMembership` (default `false`) enables transitive group resolution for > Active Directory nested groups. ## Database connection timeouts changed > [!WARNING] > > **Behavioural.** Long-running queries will now be cut off. | Setting | 1.13 | 2.0 | | - | - | - | | `database.queryTimeoutSeconds` | N/A | **`300`** (new) | | Postgres `loginTimeout` (s) | `300` | `30` | | Postgres `postgresqlConnectTimeout` (s) | `60` | `30` | | Postgres `postgresqlSocketTimeout` (s) | `30000` (≈8.3 h) | **`300`** (5 min) | | MySQL `mysqlSocketTimeout` (ms) | `30000000` (≈8.3 h) | **`300000`** (5 min) | > [!WARNING] > > Any statement that previously ran for more than five minutes (a large reindex batch, a heavy Data > Insights aggregation, an oversized CSV import) now aborts. Raise `DB_QUERY_TIMEOUT_SECONDS`, > `DB_POSTGRESQL_SOCKET_TIMEOUT` or `DB_MYSQL_SOCKET_TIMEOUT` if you have legitimately long statements, > and check upgrade logs for statement-timeout errors. ## Server & logging configuration ### HTTP/2 is available (opt-in) > [!NOTE] > > **Additive.** ```yaml theme={null} server: applicationConnectors: - type: ${SERVER_PROTOCOL:-http} # http (default) | h2c (cleartext HTTP/2) | h2 (TLS) ``` Both HTTP/2 modes are backwards compatible: HTTP/1.1 clients keep working on the same port. Worth enabling when browsers hit the server directly. Not worth it behind an HTTP/2-terminating load balancer. ### Response compression enabled > [!NOTE] > > **Behavioural.** `server.gzip.enabled` is now `true`. Responses above roughly 256 bytes are gzipped. > Clients that mishandle `Content-Encoding: gzip` need `Accept-Encoding: identity`. ### Logging hardening > [!NOTE] > > **Behavioural and security-relevant.** ```yaml theme={null} logging: loggers: org.eclipse.jetty: level: ${JETTY_LOG_LEVEL:-INFO} org.openmetadata.service.audit.AuditLogRepository: level: INFO appenders: - type: console filterFactories: - type: audit-exclude-filter-factory ``` `LOG_LEVEL` sets the **root** logger, and at `DEBUG` the HTTP parser prints every request header verbatim, including `Authorization: Bearer ` and session cookies. Since `DEBUG` is exactly what support asks customers to enable, and those logs get attached to tickets, the Jetty logger is now pinned independently via `JETTY_LOG_LEVEL`. Audit entries are logged at `INFO` with an audit marker and routed to `logs/audit.log`, and a filter keeps them out of the console appender. > [!TIP] > > If you parsed audit entries out of stdout, read `logs/audit.log` instead. If you need Jetty debug > output, set `JETTY_LOG_LEVEL=DEBUG` explicitly, and be aware of what it prints. ### Object storage configuration expanded > [!NOTE] > > **Behavioural.** Affects deployments using file attachments. The `objectStorage` block gains full `s3` and `azure` sub-sections: * **S3**: endpoint, bucket, region, credentials, IAM role, prefix path, SSE algorithm and KMS key. * **Azure**: container, connection string, managed identity and blob endpoint. The default `provider` changes from `NOOP` to `s3`, but `enabled` still defaults to `false`, so nothing activates until you turn it on. This backs the new `/v1/attachments` API for uploaded assets. For MinIO, use provider `s3` and point `s3.endpoint` at the MinIO server. ## SCIM provisioning moves > [!NOTE] > > **Behavioural.** SCIM provisioning is decoupled from SSO and now lives under > **Settings** > **Team and Users** > **Provisioning**. The capability is unchanged. Only its location in > Settings moved. ## Hybrid Runner and AI Platform images are distroless > [!WARNING] > > **Breaking for anything that shells into these pods.** The Hybrid Runner and AI Platform images now > ship distroless: only the runtime and its dependencies, with no shell, package manager or standard > Unix tooling. > [!TIP] > > `kubectl exec ... -- /bin/sh` into these pods no longer works. Move debugging to logs, metrics and > ephemeral debug containers (`kubectl debug`). Init containers or sidecars that assumed a shell in the > main image need reworking. ## The 2.0.0 database migration > [!WARNING] > > **Plan a maintenance window.** ### New tables | Table | Purpose | | - | - | | `task_entity`, `new_task_sequence`, `task_migration_mapping` | Task redesign | | `task_form_schema_entity` | Task form schemas | | `announcement_entity` | Standalone announcements | | `activity_stream` (partitioned), `activity_stream_config` | Activity stream | | `background_job_logs` | Background job logs | | `search_index_job`, `search_index_retry_queue` | Distributed reindexing | | `user_session` | Database-backed sessions | | `user_preferences` | Application-managed per-user preferences | | `knowledge_center`, `drive_folder`, `context_file`, `context_file_content`, `context_memory`, `asset_entity` | Knowledge and Context Center, plus attachments | | `ai_governance_framework_entity`, `ai_framework_control_entity`, `audit_report_entity` | AI Governance Studio | ### Altered tables * `background_jobs` gains `progress`, `total`, `result`, `error`, `message`, `cancelRequested`, `completedAt`. * `tag_usage` gains `metadata JSON`. * `audit_log_event` gains `search_text`. * `thread_entity` is **renamed** to `thread_entity_legacy`. ### Data migrations | Step | Effect | | - | - | | Suggestions migration | `suggestions` → `task_entity` | | Thread task migration | thread tasks → `task_entity` (plus `task_migration_mapping`) | | Legacy activity migration | generated feed threads → `activity_stream` | | Announcement migration | `thread_entity` → `announcement_entity` | | Search ranking backfill | Staged ranking configuration into search settings | | RDF schedule migration | Weekly cadence and full rebuild | | Four policy steps | Task permissions on roles and policies | | SQL rewrites | Databricks Pipeline `authType`, Snowflake/Databricks/Unity Catalog `policyAgentConfig`, Postgres `policyAgentConfig` removal, application runtime-field stripping, Data Insights `dataQuality` removal, MCP application configuration removal, `AutoClassificationBotPolicy` Topic rule, CVV recognizer anchor, stale `pipelineStatuses` cleanup | ### Index additions Many, including `(deleted, name)` and `(deleted, serviceType)` composites on all 13 service tables (for `/v1/services/overview`), `name` indexes on the new entity tables so the distributed reindex cursor runs index-only, and an execution-id index on the workflow instance state time series. > [!WARNING] > > On clusters with tens of millions of rows, composite index creation on service and entity tables is > the long pole of the migration. Size your maintenance window accordingly. ## Dependency and CVE updates > [!NOTE] > > **Additive.** Not breaking, but relevant to hardened deployments. Backend: Jetty 12.1.10 (with the Jetty BOM imported so transitive modules follow), Netty 4.1.137.Final, BouncyCastle 1.85, jackson-databind 2.18.8, log4j 2.25.5, thrift 0.24.0, reactor-netty-http 1.2.18, tomcat-jdbc/juli 11.0.11, httpcore5 5.4.3, Redshift JDBC 2.2.2, Kubernetes client-java 25.0.1 and Apache Airflow 3.2.1. Frontend: `ws` 8.21.0, `handlebars` 4.5.2, `js-yaml` 5.2.2, `fast-uri` 3.1.5, `nanoid` 3.3.17 and `brace-expansion` 1.1.18 / 5.0.9. Other operationally relevant security fixes: test-connection workflow triggers are authorised, CSRF failures fail secure and retry on the next request, `testDestination` redacts destination configuration, and SCIM `displayName` synchronisation is fixed. # Breaking Changes - Platform Applications | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/platform-applications Search Indexing app config removals, RDF Index app defaults, Data Insights module config, MCP tool contracts and CSV background jobs in Collate 2.0. # Platform Applications This page covers the platform-level applications: search indexing, RDF, Data Insights and MCP. For the Collate AI agents and automations, see [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations). Four installed applications have their stored configuration rewritten by the 2.0.0 migration. If you manage application configuration as code, read this before you replay it. > [!WARNING] > > The Documentation, Tier and Quality **agent applications are deleted** by the same migration and > converted into disabled AI Automations. That change is covered separately in > [AI Agents & Automations](/ai-2-0/release-2.0/ai-agents-and-automations). ## Search Indexing app configuration fields removed > [!WARNING] > > **Breaking.** Affects scripted reindex triggers and infrastructure-as-code. ```diff theme={null} - "recreateIndex": { "type": "boolean", "default": true }, - "useDistributedIndexing": { "type": "boolean", "default": true }, ``` In 2.0 **reindex always recreates the index** and distributed indexing is always used. Supporting infrastructure added by the migration: | Table | Purpose | | - | - | | `search_index_job` | Distributed reindex job tracking | | `search_index_retry_queue` | Retry queue for failed search-index writes, with claim leasing | > [!WARNING] > > Any automation that triggers a reindex with `{"recreateIndex": false}` (for example an "incremental > reindex" job) must drop the field. 2.0 has no incremental mode. New diagnostics ship alongside: reindex-drift and index-health checks in `/v1/system/validate`, plus a cluster-fitness diagnostic. ## RDF Index app defaults changed > [!WARNING] > > **Behavioural.** The migration overwrites your settings. | Setting | Before | After | | - | - | - | | `appSchedule.cronExpression` | daily | **`0 0 * * 6`** (weekly, Saturday) | | `appConfiguration.recreateIndex` | incremental | **`true`** (full rebuild every run) | | `appConfiguration.entities` | operator's subset | **`["all"]`** | Incremental RDF indexing produced unbounded triple growth because relationship-removal paths were not fully reconciled. With a per-run clear the dataset always converges to the relational state, and a weekly cadence keeps per-run cost from saturating the triple store. The `entities` reset is a safety measure. With a full rebuild issuing a clear before indexing, a narrowed entity subset would wipe triples for entity types still present in the database. > [!WARNING] > > Your `entities` subset is not preserved. Reapply it after the migration if you need partial RDF > indexing, understanding that the following run will still clear first. ### RDF configuration defaults | Field | 1.13 | 2.0 | | - | - | - | | `bulkEntityBatchSize` | `50` | `100` | | `bulkRelationshipSourceBatchSize` | `25` | `100` | | `inferenceEnabled` | **`true`** | **`false`** | | `bulkLineageEdgeBatchSize` | N/A | `50` (new) | > [!WARNING] > > RDF inference is now off. SPARQL queries relying on inferred triples return fewer results. Set > `RDF_INFERENCE_ENABLED=true` to restore 1.13 behaviour. ## Data Insights app: the `dataQuality` module is removed > [!WARNING] > > **Breaking.** A stored configuration containing `moduleConfiguration.dataQuality` prevents > `DataInsightsApplication` from deserialising at startup. See > [Data Quality](/ai-2-0/release-2.0/data-quality). ## MCP application configuration removed > [!WARNING] > > **Breaking.** Affects MCP deployments. MCP configuration lives **solely** in the `mcpConfiguration` setting. The application-level copy (which no code read) is dropped by the migration and the now-empty configure step is hidden in the UI. > [!TIP] > > Configure MCP through **Settings** > **MCP**, not through the application's configuration. ## Runtime-only fields stripped from stored application data > [!NOTE] > > **Behavioural and security-relevant.** `openMetadataServerConnection` and `privateConfiguration` were being persisted into application rows and version history. They are runtime-only and are removed by the migration. Separately, 2.0 stops exposing the application bot JWT and `privateConfiguration` secrets in API responses. > [!TIP] > > If your tooling read the application bot token out of `/v1/apps/...`, obtain it through the bot API > instead. ## Application configuration union changed > [!NOTE] > > **Behavioural.** Affects generated models and strict validators. The `appConfig` union drops the three Collate AI agent configurations and gains a permissive terminal branch. Branch **indexes shift**, so generated unions that key on position must be regenerated rather than hand-patched. ## New tenant-wide application configuration setting > [!NOTE] > > **Additive.** `settingType: "appConfiguration"` is backed by a new schema: ```json theme={null} { "defaultAppMode": "ai" } ``` `defaultAppMode` accepts `ai`, `classic`, or `null` (no tenant default). It is seeded from YAML or environment on first boot, then database-backed and admin-mutable at runtime. YAML is ignored once a database row exists. Precedence is **user preference → persona app mode → tenant default**. See [UI, Personas & Customization](/ai-2-0/release-2.0/ui-and-customization). ## MCP tool contracts > [!WARNING] > > **Breaking for MCP clients that parse responses.** No tools are removed, but **7 tools are added** and > **15 change**. ### New tools `create_context_memory`, `find_context`, `get_asset_context`, `get_company_context`, `get_knowledge_content`, `get_persona_context` and `search_company_context`: all Context Center and AI-context tools. ### Changed tools `create_classification`, `create_data_product`, `create_domain`, `create_glossary`, `create_glossary_term`, `create_lineage`, `create_metric`, `create_tag`, `create_test_case`, `get_entity_lineage`, `get_test_definitions`, `patch_entity`, `root_cause_analysis`, `search_metadata` and `semantic_search`. ### Contract changes that will break clients | Change | Detail | | - | - | | **`queryFilter` no longer honours `size` or `aggs`** | A `size` or `aggs` key inside `search_metadata`'s `queryFilter` is **ignored**. Read `totalFound` from the response for counts, or set `includeAggregations=true` for facets. Count queries written as `{"size": 0, "aggs": {...}}` silently return a normal result page in 2.0. | | **Opaque `nextCursor` pagination** | All read tools page behind a single opaque cursor contract instead of per-tool offset conventions. | | **`structuredContent` and `isError`** | Tools emit `structuredContent`, and soft errors are flagged via `isError` rather than returned as prose. | | **Response size budget** | A global budget trims wide payloads. Read tools stay under the cap **by paging items, not by truncating content**, so a response can now be a partial page where 1.13 returned a truncated blob. | | **`queries` is not a retrievable field** | `search_metadata`'s `fields` no longer resolves `queries`. Search `entityType='query'` instead. | | **`get_entity_details` paginates columns** | Wide entities return paged columns. Custom properties (`extension`) are now surfaced. | | **`get_entity_lineage` returns full SQL** | Transformation SQL is no longer truncated. Size is controlled by returning fewer edges. | | **`create_*` tools return a compact entity** | Instead of the full entity. | | **Name term queries must be lowercased** | `fullyQualifiedName` is indexed with a lowercase normalizer, so `{"terms": {"fullyQualifiedName": ["DailyActiveUsers"]}}` silently matches nothing. | ### Other MCP changes * Tools are annotated with title, read-only, destructive and open-world hints. `create_lineage` is marked destructive. * `get_entity_details` is authorised against the **resolved** entity. * Create tools can set custom properties, and create-overwrites are re-authorised. * SAML SSO is supported in the MCP OAuth flow. Public clients are no longer issued a client secret. * Content negotiation prefers `application/json` when the client accepts both JSON and SSE. * Tool-call usage is tracked via `/v1/mcp/usage`. > [!TIP] > > Re-run your MCP client against 2.0 before rolling out. Anything that counted results with a `size: 0` > aggregation query, or paged with a bespoke offset, must change. ## CSV import and export become tracked background jobs > [!NOTE] > > **Behavioural.** Affects CSV automation and the UI. `background_jobs` gains `progress`, `total`, `result`, `error`, `message`, `cancelRequested` and `completedAt`, plus a new `background_job_logs` table. `jobType` gains `CSV_IMPORT`, `CSV_EXPORT` and `AUDIT_EXPORT`. `status` gains `CANCELLED`. | Endpoint | Purpose | | - | - | | `GET /v1/csvAsyncJobs` | List the caller's jobs | | `GET /v1/csvAsyncJobs/{jobId}` | Job status | | `GET /v1/csvAsyncJobs/{jobId}/result` | Download the produced CSV | | `PUT /v1/csvAsyncJobs/{jobId}/cancel` | Request cancellation | | `GET /v1/csv/documentation/{entityType}` | Machine-readable CSV column documentation | | `GET /v1/audit/logs/export/{jobId}` | Audit log export result | In 1.13 async CSV progress was delivered **only** over WebSocket. A client without a live socket had no way to observe the job. In 2.0, jobs are pollable and downloadable, and the UI surfaces them in a **Background jobs** tray. Async entity **restore** is also available via `PUT /v1/{entityType}/restore?async=true`, and entity metrics gain full CSV import and export support. ## Concurrency limits for background fan-out > [!NOTE] > > **Additive.** New `openmetadata.yaml` block. ```yaml theme={null} asyncOperations: maxConcurrentDbTasks: ${ASYNC_MAX_CONCURRENT_DB_TASKS:-25} maxConcurrentRdfWrites: ${ASYNC_MAX_CONCURRENT_RDF_WRITES:-8} dataInsightsMaxConcurrentDbTasks: ${DATA_INSIGHTS_MAX_CONCURRENT_DB_TASKS:-16} ``` Prevents background fan-out from exhausting the request connection pool. Tune down if you see connection-pool starvation during reindex or Data Insights runs. ## Search & vector infrastructure > [!NOTE] > > **Additive.** | Change | Detail | | - | - | | Native Elasticsearch vector search | In addition to OpenSearch | | Google Gemini embedding provider | New provider option | | Denormalised chunk documents | Versioned rollout for multi-chunk hybrid ranking | | Staged, generation-based recreate | For the vector chunk index | | `GET /v1/search/vector/fingerprint` | Inspect the vector index fingerprint | | `knnNumCandidatesMultiplier` | `num_candidates = max(k × multiplier, 100)`, default `2` | | NLQ `filterExtractor` block | Cache size, TTL and prompt sample limits for NLQ filter extraction | ## Cache > [!NOTE] > > **Additive.** New admin endpoints: `GET /v1/system/cache/keys`, `POST /v1/system/cache/invalidate` and > `POST /v1/system/cache/invalidate/entity`. The cache default is unchanged. Set `CACHE_PROVIDER=redis` > to enable the Redis L2 cache, which falls back to a no-op provider if Redis is unreachable at startup. > > From Collate 2.0.6, the Redis cache works with standalone Redis, Redis Cluster, and cluster proxy endpoints such as ElastiCache Serverless, with no extra configuration. In deployments with several pods, import and export completion updates reach the pod that holds your connection through Redis when it is configured, and through the database otherwise. # Breaking Changes - UI & Customization | Official Documentation Source: https://docs.getcollate.io/ai-2-0/release-2.0/ui-and-customization Design-system consolidation, App Mode, persona preferences, Context Center and removed UI components in Collate 2.0. # UI, Personas & Customization For end users this is a visual and navigational refresh. For anyone who forks the UI, writes a UI plugin, or maintains end-to-end test suites, it is a large refactor. The Explore page changes are documented separately in [Discovery & Search](/ai-2-0/release-2.0/discovery-and-search). ## Design system consolidation > [!WARNING] > > **Breaking for forks and plugins.** Cosmetic for end users. In 1.13, the UI module carried a transitional set of `MUI*` wrapper components. Collate 2.0 removes them and standardises on the shared **`@openmetadata/ui-core-components`** package. ### Removed component modules ``` components/common/MUISelect/ components/common/MUITextField/ components/common/MUIUserTeamSelect/ components/common/MUIDomainSelect/ components/common/MUIFormItemLabel/ components/common/MUIGlossaryTagSuggestion/ components/common/MUIAsyncTreeSelect/** components/common/MuiDatePickerMenu/ components/common/MuiDrawer/ components/common/ColorPicker/MUIColorPicker.tsx components/common/IconPicker/MUIIconPicker.tsx components/common/CoverImageUpload/MUICoverImageUpload.tsx components/common/FileUpload/MUIFileUpload.tsx components/common/DeleteModal/DeleteModalMUI.tsx components/form/MUIAutocomplete/ components/common/atoms/asyncTreeSelect/** components/common/atoms/navigation/useSearch.tsx components/common/atoms/navigation/useBreadcrumbs.tsx components/common/atoms/navigation/useViewToggle.tsx components/common/atoms/pagination/usePaginationControls.tsx components/common/atoms/notifications/NotificationMessage.tsx components/common/atoms/table/TagsCell.tsx components/common/atoms/data/useQueryBuilder.tsx ``` The **`SELECT_MUI` field type is removed** from the form builder. ### Other removed UI modules | Removed | Replacement | | - | - | | `components/CondensedBreadcrumb/**` | core-components `Breadcrumbs` | | `components/common/EntityDescription/DescriptionV1.tsx` | new description components | | `components/Modals/DeleteModal/**`, `EntityDeleteModal/**`, `DeleteWidgetModal.tsx` | consolidated delete modal | | `components/ActivityFeed/ActivityFeedCardV2/**`, `FeedCardBodyV1.tsx`, `TaskBadge.tsx` | activity-stream components | | `components/KnowledgeGraph/**` | RDF-backed 3D graph in `components/OntologyExplorer/**` | | `components/Entity/EntityList/EntityList.tsx` | shared listing atoms | | `components/DataQuality/AddDataQualityTest/**` | react-hook-form based forms | | `components/SearchSettings/FilterConfiguration/FilterConfiguration.tsx` | new search-settings UI | | `pages/LogsViewerPage/**` | `LogViewerModal` with live log streaming | | `utils/CommonUtils.tsx` | split into domain-specific utility modules | | `utils/NotistackUtils.tsx`, `hooks/useAlertStore.ts` | `ToastUtils` plus core-components `Toast` | | `utils/TasksUtils.ts`, `utils/KnowledgeGraph.utils.ts`, `utils/LogsClassBase.ts` | redesigned equivalents | | `constants/Tags.constant.ts` | inlined or relocated | | `components/Settings/Applications/AppLiveIndexing/**` | `components/OntologyExplorer/**` | > [!TIP] > > Search your fork for `MUI` imports, `SELECT_MUI`, `usePaginationControls`, `NotistackUtils`, > `CommonUtils` and `DescriptionV1`. Expect a mechanical but wide migration. `PaginationCardDefault` > replaces `usePaginationControls`, and `Input` from core-ui replaces the `useSearch` hook. ### New extension points > [!NOTE] > > **Additive.** These are the supported way to customise in 2.0. | Extension point | Purpose | | - | - | | `ObservabilityRouterClassBase` | Override data quality and observability navigation paths | | `ConnectionsRouterClassBase` | Pluggable connection routing | | `EntityUtilClassBase.getEntityTypes()` | Overridable entity-type list | | App Mode primitives and routes registry | Downstream plugin routes | | Extensible user-profile dropdown items | Add items to the profile menu | | `withDomainFilter` higher-order component | Domain-scoped list pages | | `brandName` | Replaces hard-coded product strings for white-labelling | ## App Mode > [card] [Full AI Mode guide](/ai-2-0/release-2.0/ai-mode) > > What is inside AI Mode, and the three ways to enable it: per user, per persona, per tenant. > [!NOTE] > > **New concept.** Affects the login experience and persona configuration. Collate 2.0 introduces two application experiences: **Classic** (the standard Collate UI) and **AI** (the assistant-driven experience, which requires the AI plugin). Resolution order, highest priority first: 1. **User preference**: the `appMode` entry in the user's preferences bag. 2. **Persona `appMode`**: `classic` or `AI` (default `classic`), forced on login. 3. **Tenant `defaultAppMode`**: the `appConfiguration` setting. ```json theme={null} { "defaultAppMode": "ai" } ``` `defaultAppMode` accepts `ai`, `classic`, or `null` (no tenant default). The active mode is held in a single source of truth backed by session storage, so sibling tabs no longer lose the active mode. > [!NOTE] > > The switcher only appears when the AI application is installed. See > [AI Mode](/ai-2-0/release-2.0/ai-mode) for the full enablement model. ## Per-user preferences API > [!NOTE] > > **New API**, backed by a new `user_preferences` table. ``` GET /v1/users/{userId}/preferences PUT /v1/users/{userId}/preferences/{type} DELETE /v1/users/{userId}/preferences/{type} ``` ```json theme={null} { "userId": "…", "preferences": [ { "type": "appMode", "config": { "value": "classic" } } ], "updatedAt": 1712345678000 } ``` The preferences bag is a typed discriminated union keyed by `type`. It is deliberately **not** a full entity (no versioning, audit or soft-delete) and is cascade-deleted with the user. > [!TIP] > > Do not store per-user UI state in the User entity's `extension`. Use the preferences API. ## Personas gain AI context > [!NOTE] > > **Additive** (Collate AI features). Personas gain a `contextDefinition` field (*"rules and settings used to materialize the shared AI context for this persona"*), plus new endpoints: ``` GET /v1/personas/search GET /v1/personas/me/context GET /v1/personas/{id}/context GET /v1/personas/name/{fqn}/context GET /v1/personas/{id}/aiContext PUT /v1/personas/{id}/aiContext POST /v1/personas/{id}/aiContext/rules POST /v1/personas/{id}/aiContext/rules/preview ``` ## Context Center & Knowledge Center > [!NOTE] > > **New routes.** Affects navigation and reverse proxies. ``` /knowledge-center /context-center /context-center/dashboard /context-center/articles /context-center/documents /context-center/filter /context-center/memories /context-center/integrations /context-center/archive ``` New REST namespaces: `/v1/contextCenter/pages`, `/v1/contextCenter/memories`, `/v1/contextCenter/drive/files`, `/v1/contextCenter/drive/folders` and `/v1/attachments`. New entities: `page`, `article`, `quickLink`, `pageHierarchy`, `folder`, `contextFile`, `contextFileContent`, `contextMemory` and `asset`. > [!WARNING] > > If you front Collate with a proxy that allowlists paths, add `/knowledge-center`, > `/context-center`, `/api/v1/contextCenter` and `/api/v1/attachments`. Uploads require object storage > to be enabled. See > [Platform & Security](/ai-2-0/release-2.0/platform-and-security). ## Visual and navigation changes > [!NOTE] > > **Behavioural.** Affects end users, screenshots in your internal documentation, and end-to-end tests. | Change | Detail | | - | - | | **Entity page header** | Redesigned to the 2.0 card layout | | **Dark theme** | Supported via design tokens | | **Owner display** | Multi-owner headers stack avatars with a hover popover | | **Announcements** | Rendered in the entity header, not only in the feed widget | | **Sidebar** | "Marketplace" renamed to **Data Marketplace** / **Overview** | | **Agents tab** | Revamped agent listing and details wired to real data | | **Service icons** | Migrated from PNG to WebP | | **Glossary Terms table** | Adaptable search, column resize, drag reorder, sticky header | | **Landing page** | Widgets lazy-loaded, admins can set a default panel colour | | **Log viewer** | Modal with live streaming, replacing the standalone Logs Viewer page | | **Empty states** | New prefilled placeholder variants across glossary, classification, metric, domain and data-product pages | | **Toasts** | Consolidated on the core-components toast provider | | **Permission errors** | `403` responses surface a proper toast | | **Asset Health widget** | Added to the table detail page | | **Language** | Swedish (`sv-SE`) added. The UI sends an `X-OpenMetadata-Language` header | > [!TIP] > > Expect widespread `data-testid` and DOM-structure churn. Budget for an end-to-end test refresh. ## Performance refactor (fork-visible) > [!NOTE] > > **Behavioural.** Affects forks with deep imports. Collate 2.0 does a large code-splitting and lazy-loading pass: * Pure utility functions are extracted into `*PureUtils` modules. * `utils/CommonUtils.tsx` and `utils/EntityUtils.tsx` are deleted. Facade imports are migrated to direct sources. * Settings, entity and entity-import routers, tab-level components and heavy components are lazy-loaded. * The build configuration is reworked for code splitting and chunk loading. > [!TIP] > > Deep imports from `utils/CommonUtils` or `utils/EntityUtils` will not resolve. Import from the specific > domain module instead. ## Component library > [!NOTE] > > **Additive.** The shared component package gains `Breadcrumbs`, `EmptyPlaceholder`, `ProgressSteps`, > `Toast`, a filter bar, an extra-small button size and a nightly Storybook build. Two renames to be aware of when consuming the package: safe class renames applied across components, and the Select-family `placeholderIcon` prop renamed to **`icon`**. # Collate 2.0 Documentation Source: https://docs.getcollate.io/index The next generation of unified data discovery, lineage, and governance. # Unlock the Power of Data Learn how to explore, govern, and act on your data using Collate 2.0's AI-powered chat and intelligent agents. Toggle assistant panel ⌘K [ Databricks](/ai-2-0/connectors/database/databricks) [ BigQuery](/ai-2-0/connectors/database/bigquery) [ Redshift](/ai-2-0/connectors/database/redshift) [ Snowflake](/ai-2-0/connectors/database/snowflake) [ Collate AI Chat](/ai-2-0/collate-ai/collate-ai-chat) [ AI Studio](/ai-2-0/collate-ai/ai-studio) [ AI SDK](/ai-2-0/developer-guide/sdk/ai-sdk) [ AI Analytics](/ai-2-0/collate-ai/ai-analytics) New Release See what's new → Previous update Next update How-to Guides ## Quick Setup Guides Dive into our library of guides to master Collate 2.0's features. [Discovery](/ai-2-0/how-to-guides/data-discovery) [Lineage](/ai-2-0/how-to-guides/data-lineage) [Observability](/ai-2-0/how-to-guides/data-quality-observability) [Governance](/ai-2-0/how-to-guides/data-governance) [Collaboration](/ai-2-0/how-to-guides/data-collaboration) [Marketplace](/ai-2-0/how-to-guides/data-marketplace) [Collate AI](/ai-2-0/collate-ai) [See All](/ai-2-0/product-guides) Connectors ## Seamless Data Integrations Integrate diverse data sources with Collate. ![Arrow down](/public/images/icons/arrow-down.svg) All Connectors ![Collate Logo](https://mintcdn.com/collatedocs/qgslKCiS8vDK3Zn0/public/images/collate-white.svg?fit=max\&auto=format\&n=qgslKCiS8vDK3Zn0\&q=85\&s=78498777aae9d06c5aeacbfcee9f8c4b) ![Cross Icon](https://mintcdn.com/collatedocs/qgslKCiS8vDK3Zn0/public/images/cross.svg?fit=max\&auto=format\&n=qgslKCiS8vDK3Zn0\&q=85\&s=0e0b66647f9d58f240c6c4b9863a4952) ![OpenMetadata Logo](https://mintcdn.com/collatedocs/qgslKCiS8vDK3Zn0/public/images/om-white.svg?fit=max\&auto=format\&n=qgslKCiS8vDK3Zn0\&q=85\&s=e0700f79dbe545e5edb3f974109352af) Collate Summit '26Data & AI in Production [Learn More](https://getcollate.io/summit2026) Highlights ## What's New at Collate 2.0 Stay up-to-date with the latest features, improvements, and updates to Collate. Collate AI ChatAsk questions about your data in plain language and get back charts, insights, and answers — no SQL required. Learn More ![Right Arrow](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/right-arrow.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=5ce7ec0e20543f142be0fa97bc8f57ef) [Open](/ai-2-0/collate-ai/collate-ai-chat) AI StudioCreate and manage AI agents and personas to automate metadata discovery, governance reviews, and data quality workflows. Learn More ![Right Arrow](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/right-arrow.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=5ce7ec0e20543f142be0fa97bc8f57ef) [Open](/ai-2-0/collate-ai/ai-studio) Context CenterManage the knowledge base your AI agents draw from — articles, documents, and memories that keep every answer grounded in your organization's context. Learn More ![Right Arrow](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/right-arrow.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=5ce7ec0e20543f142be0fa97bc8f57ef) [Open](/ai-2-0/collate-ai/context-center) AI AutomationsAutomatically document, classify, test, and enrich your data assets on a schedule — no manual work required. Learn More ![Right Arrow](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/right-arrow.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=5ce7ec0e20543f142be0fa97bc8f57ef) [Open](/ai-2-0/collate-ai/ai-automations) AI AnalyticsPin charts from Collate AI Chat to dashboards that refresh automatically and deliver results to your team on a schedule. Learn More ![Right Arrow](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/right-arrow.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=5ce7ec0e20543f142be0fa97bc8f57ef) [Open](/ai-2-0/collate-ai/ai-analytics) MCP ServerConnect Collate AI with Claude, Cursor, VS Code, and other MCP clients for AI-powered data access anywhere. Learn More ![Right Arrow](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/right-arrow.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=5ce7ec0e20543f142be0fa97bc8f57ef) [Open](/ai-2-0/how-to-guides/mcp) Quick Links ## Trending Quick Links Explore the most popular resources and links, handpicked by the Collate community. ### AI Features [Collate AI Chat](https://www.getcollate.io/askcollate) [AI Analytics](/ai-2-0/collate-ai/ai-analytics) [AI Automations](/ai-2-0/collate-ai/ai-automations) [AI Studio](/ai-2-0/collate-ai/ai-studio) ### Blogs & Articles [Collate's New Workflow System](https://www.getcollate.io/blog/how-collates-new-workflow-system-automates-data-governance) [Collate Metadata Automations](https://www.getcollate.io/blog/data-governance-that-runs-itself-with-collate-metadata-automations) [Data Diff in OpenMetadata and Collate](https://www.getcollate.io/blog/data-diff-in-openmetadata-and-collate) [Model Context Protocol Use cases](https://www.getcollate.io/blog/mcp-uses-in-collate) ### Release Note [Release 2.0](/ai-2-0/release-2.0) [Release v1.13](https://www.getcollate.io/product-updates#v1.13.4) [Release v1.12](https://www.getcollate.io/product-updates#v1.12.14) [Release v1.11](https://www.getcollate.io/product-updates#v1.11.0) Product Demo 77 min watch ## See Collate in Action Want a quick overview? Take a quick tour - watch our detailed demo to learn how Collate works. [YouTube video player](https://www.youtube.com/embed/vwX69ZrknmI?si=W0wV8RvuTcdXf8El) ### Explore More Learn more about Collate ![Blog](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/blog.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=a419c5c44dbd6c6501be6a8c73681927) Blogs Get to know more about what's new in data cataloging. [Open](https://www.getcollate.io/blog) ![Youtube](https://mintcdn.com/collatedocs/q9W0TCgsCU2-B-iR/public/images/homepage-icons/youtube.svg?fit=max\&auto=format\&n=q9W0TCgsCU2-B-iR\&q=85\&s=68f22d62b4c58537bedf12a18cc6b7d6) Videos Explore data analytics with quick and interesting lessons. [Open](https://www.youtube.com/@CollateData) ©2026 Collate. All rights reserved. [Terms of Service](https://www.getcollate.io/terms) [Privacy Policy](https://www.getcollate.io/privacypolicy) [Trust Center](https://trustcenter.getcollate.io/) [Contact Us](https://www.getcollate.io/contact-sales) [https://www.linkedin.com/company/collateinc](https://www.linkedin.com/company/collateinc) [https://www.youtube.com/@CollateData](https://www.youtube.com/@CollateData) [https://twitter.com/collatedata](https://twitter.com/collatedata) # Salesforce Data 360 Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/data360/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Salesforce Data 360 to Collate. ![Salesforce Data 360](/public/images/connectors/data360.png) # Salesforce Data 360 BETA Use this guide to configure the Salesforce Data 360 connector. Salesforce Data 360 (formerly Data Cloud) organizes your data into **data spaces**. Collate brings each data space in as a database and groups its objects into three schemas: * **Data Lake Objects**: Raw ingested data. * **Data Model Objects**: Harmonized, modeled data. * **Calculated Insights**: Metrics and measures. Each object becomes a table, with its fields mapped to columns. Calculated Insights are ingested as views. Configure and schedule Salesforce Data 360 metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/data360/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate connects to Salesforce Data 360 through the Salesforce REST API using a **connected app** that authenticates with the OAuth 2.0 client credentials flow. You'll need: * A Salesforce connected app configured for the OAuth 2.0 **client credentials** flow. This gives you the **Consumer Key** and **Consumer Secret** that Collate uses to authenticate. See the Salesforce documentation on [creating a connected app](https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm) for the setup steps. * The Data 360 (Data Cloud) API scopes, `cdp_query_api` and `cdp_profile_api`, granted to that connected app, so it can list data spaces and read object metadata. Collate only reads metadata. It does not query the underlying data. * Permission for the integration user the connected app runs as to view the data spaces and the Data Lake Objects, Data Model Objects, and Calculated Insights you want to ingest. The connection test verifies this by listing the data spaces and the objects in the first one. ## Metadata Ingestion To ingest metadata from Salesforce Data 360, you need to create a service connection. The service connects Salesforce Data 360 with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Salesforce Data 360** connector tile. ![Select Service](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/data360.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=864f42309019b372c250f2f4f297cf34) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Salesforce Data 360 services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/data360.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=4a16f1bed11aac33de2c715168bad628) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Salesforce Data 360. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/data360.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=e21c1efc8c74016c5193690e5839e4e7) * **Salesforce API Version**: The Salesforce REST API version to call. Defaults to `63.0`. Change this only if your Salesforce org requires a different version. * **Salesforce Domain**: The domain of your Salesforce instance, used to build the login URL. Defaults to `login`. Use `test` for a sandbox, or your My Domain subdomain (for example, `mycompany`) for a custom domain. * **Pagination Limit**: How many Data 360 objects to request per page when listing data spaces and objects. Defaults to `10`. Valid values are `1`–`100`. Raise it to reduce the number of API calls on large orgs. * **Consumer Key**: The consumer key from your Salesforce connected app. This is the client identifier used for OAuth authentication. * **Consumer Secret**: The consumer secret from your Salesforce connected app. This is the client secret used for OAuth authentication. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which data spaces, schemas, and tables Collate ingests from the source. #### How Filter Rules Work Each rule matches asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When include and exclusion rules both match an asset, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all data spaces, schemas, and tables available in the source. #### Filter Options The **Database**, **Schema**, and **Table** sections control ingestion for the corresponding asset type: * **Database**: Controls which data spaces Collate ingests from the source. * **Schema**: Controls which of the three object categories (Data Lake Objects, Data Model Objects, Calculated Insights) are included. * **Table**: Controls which objects within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Salesforce Data 360 Troubleshooting](/ai-2-0/connectors/database/data360/troubleshooting) > > Learn more about how to troubleshoot common Salesforce Data 360 connector issues and resolve configuration or ingestion errors. # Salesforce Data 360 Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/data360/index Connect Salesforce Data 360 (formerly Data Cloud) to Collate with the database connector guide. Step-by-step setup, connected app configuration, and metadata extraction. ![Salesforce Data 360](/public/images/connectors/data360.png) # Salesforce Data 360 BETA Use this guide to configure the Salesforce Data 360 connector. Salesforce Data 360 (formerly Data Cloud) organizes your data into **data spaces**. Collate brings each data space in as a database and groups its objects into three schemas: * **Data Lake Objects**: Raw ingested data. * **Data Model Objects**: Harmonized, modeled data. * **Calculated Insights**: Metrics and measures. Each object becomes a table, with its fields mapped to columns. Calculated Insights are ingested as views. Configure and schedule Salesforce Data 360 metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/data360/troubleshooting) ## Requirements Collate connects to Salesforce Data 360 through the Salesforce REST API using a **connected app** that authenticates with the OAuth 2.0 client credentials flow. You'll need: * A Salesforce connected app configured for the OAuth 2.0 **client credentials** flow. This gives you the **Consumer Key** and **Consumer Secret** that Collate uses to authenticate. See the Salesforce documentation on [creating a connected app](https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm) for the setup steps. * The Data 360 (Data Cloud) API scopes, `cdp_query_api` and `cdp_profile_api`, granted to that connected app, so it can list data spaces and read object metadata. Collate only reads metadata. It does not query the underlying data. * Permission for the integration user the connected app runs as to view the data spaces and the Data Lake Objects, Data Model Objects, and Calculated Insights you want to ingest. The connection test verifies this by listing the data spaces and the objects in the first one. ## Metadata Ingestion To ingest metadata from Salesforce Data 360, you need to create a service connection. The service connects Salesforce Data 360 with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Salesforce Data 360** connector tile. ![Select Service](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/data360.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=864f42309019b372c250f2f4f297cf34) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Salesforce Data 360 services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/eOSHaC-4T-D6iVND/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/data360.png?fit=max\&auto=format\&n=eOSHaC-4T-D6iVND\&q=85\&s=4a16f1bed11aac33de2c715168bad628) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Salesforce Data 360. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/data360.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=e21c1efc8c74016c5193690e5839e4e7) * **Salesforce API Version**: The Salesforce REST API version to call. Defaults to `63.0`. Change this only if your Salesforce org requires a different version. * **Salesforce Domain**: The domain of your Salesforce instance, used to build the login URL. Defaults to `login`. Use `test` for a sandbox, or your My Domain subdomain (for example, `mycompany`) for a custom domain. * **Pagination Limit**: How many Data 360 objects to request per page when listing data spaces and objects. Defaults to `10`. Valid values are `1`–`100`. Raise it to reduce the number of API calls on large orgs. * **Consumer Key**: The consumer key from your Salesforce connected app. This is the client identifier used for OAuth authentication. * **Consumer Secret**: The consumer secret from your Salesforce connected app. This is the client secret used for OAuth authentication. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which data spaces, schemas, and tables Collate ingests from the source. #### How Filter Rules Work Each rule matches asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When include and exclusion rules both match an asset, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all data spaces, schemas, and tables available in the source. #### Filter Options The **Database**, **Schema**, and **Table** sections control ingestion for the corresponding asset type: * **Database**: Controls which data spaces Collate ingests from the source. * **Schema**: Controls which of the three object categories (Data Lake Objects, Data Model Objects, Calculated Insights) are included. * **Table**: Controls which objects within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Salesforce Data 360 Troubleshooting](/ai-2-0/connectors/database/data360/troubleshooting) > > Learn more about how to troubleshoot common Salesforce Data 360 connector issues and resolve configuration or ingestion errors. # Salesforce Data 360 Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/data360/troubleshooting Troubleshoot common Salesforce Data 360 database connector issues in Collate, including connected app authentication and API access errors. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Salesforce Data 360-Specific Issues The following issues are specific to the Salesforce Data 360 database connector. ### Connection Test Fails on "CheckAccess" or Authentication Collate authenticates with the Consumer Key and Consumer Secret from your Salesforce connected app using the OAuth 2.0 client credentials flow. If the connection test fails before listing any data: * Confirm the Consumer Key and Consumer Secret were copied correctly and have not been rotated in Salesforce. * Confirm the connected app has the client credentials flow enabled and is granted the Data 360 (Data Cloud) API scopes. * Check the **Salesforce Domain** value. Use `login` for production, `test` for a sandbox, or your My Domain subdomain for a custom domain. A wrong domain sends the login request to the wrong Salesforce URL. ### Connection Test Passes but No Data Spaces or Tables Are Ingested The connection test lists the data spaces and the objects in the first one. If the test passes but ingestion returns nothing: * Confirm the integration user the connected app runs as can see the data spaces and their Data Lake Objects, Data Model Objects, and Calculated Insights. * Check your database, schema, and table filter rules. An overly broad exclude rule can filter out everything. ### Some Tables Are Missing After a Run If a Data 360 API call fails while listing the objects in a schema, Collate skips deletion reconciliation for that schema so a transient failure is not mistaken for every object being removed. The missing objects are reported as warnings in the ingestion logs. Re-run the ingestion once the API is reachable again, and review the logs for the specific error. # dbt Troubleshooting | Integration Support Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/dbt-troubleshooting Troubleshoot dbt ingestion for configuration issues, parsing errors, or incomplete metadata syncing. # Troubleshooting ### dbt Tab Not Displaying in the UI After the dbt workflow is finished, check the logs to see if the dbt files were successfully validated or not. Any missing keys in the manifest.json or catalog.json files will be displayed in the logs and those keys are needed to be added. The dbt workflow requires the below keys to be present in the node of a manifest.json file: * resource_type (required) * alias/name (any one of them required) * schema (required) * description (required if description needs to be updated) * compiled_code/compiled_sql (required if the dbt model query is to be shown in dbt tab and for query lineage) * depends_on (required if lineage information needs to be extracted) * columns (required if column description is to be processed) > [!TIP] > > **Tip**: The `name/alias, schema and database` values from dbt manifest.json should match values of the `name, schema and database` of the table/view ingested in Collate. > > dbt will only be processed if these values match Below is a sample manifest.json node for reference: ```json theme={null} "model.jaffle_shop.customers": { "resource_type": "model", "depends_on": { "nodes": [ "model.jaffle_shop.stg_customers", "model.jaffle_shop.stg_orders", "model.jaffle_shop.stg_payments" ] }, "database": "dev", "schema": "dbt_jaffle", "name": "customers", "alias": "customers", "description": "sample description", "columns": { "customer_id": { "name": "customer_id", "description": "This is a unique identifier for a customer", "meta": {}, "data_type": null, "quote": null, "tags": [] }, "first_name": { "name": "first_name", "description": "Customer's first name. PII.", "meta": {}, "data_type": null, "quote": null, "tags": [] } }, "compiled_code": "sample query", } ``` ### Lineage Not Displayed from dbt For dbt lineage to happen we need to have the tables (models) involved previously ingested in OM. The process would be as follows: * We have a dbt project that creates tables `A -> B -> C` * We run the metadata ingestion in our database service so that `A` , `B` and `C` are ingested in Collate. * We run the dbt ingestion in the same service so that 2 things would happen: * We will add all the dbt-related metadata to the tables such as the model definition and descriptions. * We will draw the lineage `A -> B -> C` that comes from the model dependency in the `manifest.json` If lineage is not appearing: * Make sure that all the tables are ingested in Collate. * Follow to docs [here](/ai-2-0/connectors/database/dbt/ingest-dbt-lineage) to see if necessary details are present in the manifest.json file. * Search for the following string `Processing dbt lineage for` in the dbt workflow logs and see if any errors are causing the lineage creation to fail. ### An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied You might see this error when you have placed your dbt artifacts in S3 without the correct policies. If we have the artifacts on the bucket `MyBucket`, the user running the ingestion should have, at least, the permissions from the following policy: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::MyBucket", "arn:aws:s3:::MyBucket/*" ] } ] } ``` Note that it's not enough to point the resource to `arn:aws:s3:::MyBucket`. We need its contents as well! # Ingest Custom Properties from dbt | Custom Metadata Guide Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-custom-properties Ingest dbt custom properties to enrich table metadata with organization-specific attributes and values. # Ingest Custom Properties from dbt Collate reads custom property values from your dbt `manifest.json` file and applies them to the matching tables in Collate. Custom properties let you extend the standard metadata model with fields specific to your organization — such as SLA hours, data classification levels, or refresh frequencies. > [!NOTE] > > **Note**: The custom properties must be pre-defined on the Table entity type in Collate before ingestion runs. If a property isn't defined, Collate logs a warning and skips it. ## How to Ingest Custom Properties from dbt Follow these steps to assign custom property values from dbt to your tables in Collate. ### Step 1: Define Custom Properties in Collate Set up the custom properties in Collate before running ingestion — Collate won't create them automatically. Go to **Settings** > **Custom Properties** > **Tables**, click **Add Property**, and define the property name and type. For detailed instructions, see the [Custom Properties documentation](/ai-2-0/how-to-guides/guide-for-data-users/custom). ### Step 2: Add Custom Properties to Your dbt `schema.yml` Tell dbt which custom property values to assign by adding them under `model → meta → openmetadata → customProperties` in your `schema.yml`. For more details on the dbt `meta` field, see the [dbt meta configuration reference](https://docs.getdbt.com/reference/resource-configs/meta). ```yaml theme={null} models: - name: customers meta: openmetadata: customProperties: sla_hours: 24 data_steward: "John Doe" refresh_frequency: "daily" description: This table has basic information about a customer columns: - name: customer_id description: This is a unique identifier for a customer tests: - unique - not_null ``` After you save and run your dbt workflow, the generated `manifest.json` will include the custom properties under `node_name → config → meta → openmetadata → customProperties`: ```json theme={null} "model.jaffle_shop.customers": { "raw_sql": "sample_raw_sql", "compiled": true, "resource_type": "model", "depends_on": {}, "database": "dev", "schema": "dbt_jaffle", "config": { "enabled": true, "alias": null, "meta": { "openmetadata": { "customProperties": { "sla_hours": 24, "data_steward": "John Doe", "refresh_frequency": "daily" } } } } } ``` ### Step 3: Verify Confirm the custom properties appear on the table details page after ingestion completes. Open the table in Collate and scroll to the **Custom Properties** section — the values from dbt will appear there. ## Supported Property Types Use these types when defining custom properties in Collate and setting values in your `schema.yml`. | Type | Description | Example Value | | - | - | - | | `string` | Plain text value | `"value"` | | `integer` | Whole number | `42` | | `number` | Decimal number | `3.14` | | `markdown` | Markdown formatted text | `"# Header\nContent"` | | `sqlQuery` | SQL query string | `"SELECT * FROM table"` | | `email` | Valid email address | `"user@example.com"` | | `date-cp` | Date string | `"2024-01-15"` | | `dateTime-cp` | DateTime string | `"2024-01-15T10:30:00"` | | `time-cp` | Time string | `"10:30:00"` | | `timestamp` | Milliseconds since epoch | `1705315200000` | | `duration` | ISO 8601 duration format | `"P23DT23H"` | | `enum` | Single or multi-select value | `"High"` or `["High", "Critical"]` | | `entityReference` | Reference to another entity | See [Advanced Examples](#advanced-examples) | | `entityReferenceList` | List of entity references | See [Advanced Examples](#advanced-examples) | | `timeInterval` | Time interval with start/end | See [Advanced Examples](#advanced-examples) | | `table-cp` | Tabular data with rows | See [Advanced Examples](#advanced-examples) | ## Advanced Examples YAML examples for complex custom property types that need structured values. #### Entity Reference Reference another entity (user, team, dashboard, etc.) in Collate: ```yaml theme={null} models: - name: customers meta: openmetadata: customProperties: data_owner: type: "user" fqn: "john.doe" related_dashboard: type: "dashboard" fqn: "service.dashboard_name" ``` #### Entity Reference List Reference multiple entities: ```yaml theme={null} models: - name: customers meta: openmetadata: customProperties: stakeholders: - type: "user" fqn: "john.doe" - type: "user" fqn: "jane.smith" ``` #### Time Interval Specify a time range with start and end timestamps: ```yaml theme={null} models: - name: customers meta: openmetadata: customProperties: valid_period: start: 1705315200000 end: 1705401600000 ``` #### Table Custom Property For table-type custom properties with rows and columns: ```yaml theme={null} models: - name: customers meta: openmetadata: customProperties: data_quality_rules: - rule_name: "not_null_check" threshold: 99.5 severity: "high" - rule_name: "unique_check" threshold: 100 severity: "critical" ``` ## Validation and Error Handling What Collate does when a custom property value can't be applied. | Scenario | Behavior | | - | - | | Custom property not defined on Table entity | Warning logged, property skipped | | Invalid value for property type | Warning logged with details, property skipped | | Invalid enum value (single-select) | Warning logged, property skipped | | Invalid enum value (multi-select) | Invalid values filtered out, valid values applied with warning | | Missing required fields for complex types | Warning logged, property skipped | Example warning message: ``` Validation failed for custom property 'sla_hours' (type: integer): Expected integer value. Provided value: "24 hours" ``` ## Complete Example A full `schema.yml` showing multiple custom property types used together. ```yaml theme={null} version: 2 models: - name: customers description: "Customer master data table" meta: openmetadata: domain: "Sales" tier: "Tier.Tier2" customProperties: sla_hours: 24 data_classification: "Confidential" refresh_frequency: "hourly" last_certified: "2024-01-15" data_owner: type: "user" fqn: "john.doe" data_quality_rules: - rule_name: "completeness" threshold: 99.9 severity: "high" owner: - "john_doe" - "data_engineering_team" columns: - name: customer_id description: "Unique customer identifier" ``` # Ingest Domain from dbt | Domain Assignment Guide Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-domain Ingest dbt domain metadata to assign tables to organizational domains for better data governance and discoverability. # Ingest Domain from dbt Collate reads domain assignments from your dbt `manifest.json` file and applies them to the matching tables in Collate. Domains are bounded contexts aligned with a business unit or function — they help organize data assets and make them easier to find. > [!TIP] > > **Tip**: The domain must already exist in Collate before ingestion runs. If Collate can't find the specified domain, it logs a warning and continues ingestion without assigning the domain. ## How to Assign a Domain from dbt Follow these steps to assign domain labels from dbt to your tables in Collate. ### Step 1: Create or Select a Domain in Collate Make sure the domain you want to assign already exists in Collate before running ingestion. For details on creating domains, see [Domains in Collate](/ai-2-0/how-to-guides/data-marketplace/domains). Collate supports three domain types: * **Source-aligned**: Domains closer to online services and transactional databases. * **Aggregate**: Domains that collect and curate data from multiple source-aligned domains. * **Consumer-aligned**: User-facing domains designed for business users. ### Step 2: Add the Domain to Your dbt `schema.yml` Tell dbt which domain applies to each model by adding it to your schema configuration. Open your `schema.yml` file and add the domain name under `model → meta → openmetadata → domain`. For more details on the dbt `meta` field, see the [dbt meta configuration reference](https://docs.getdbt.com/reference/resource-configs/meta). ```yaml theme={null} models: - name: customers meta: openmetadata: domain: "Sales" description: This table has basic information about a customer, as well as some derived facts based on a customer's orders columns: - name: customer_id description: This is a unique identifier for a customer tests: - unique - not_null ``` After you save and run your dbt workflow, the generated `manifest.json` will include the domain assignment under `node_name → config → meta → openmetadata → domain`: ```json theme={null} "model.jaffle_shop.customers": { "raw_sql": "sample_raw_sql", "compiled": true, "resource_type": "model", "depends_on": {}, "database": "dev", "schema": "dbt_jaffle", "config": { "enabled": true, "alias": null, "meta": { "openmetadata": { "domain": "Sales" } } } } ``` ### Step 3: Verify Confirm the domain appears in the table header after ingestion completes. After ingestion runs, open the table details page in Collate — the assigned domain appears in the table header section. ## Validation and Error Handling What Collate does when domain assignment doesn't go as expected. | Scenario | Behavior | | - | - | | Domain not found in Collate | Warning logged, ingestion continues without assigning domain | | Empty domain value | Domain assignment skipped | | Invalid domain name format | Warning logged, domain assignment skipped | # Ingest Exposures from dbt | Downstream Lineage Guide Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-exposures Ingest dbt exposures to extend lineage from your dbt models to the dashboards, ML models, and API endpoints that consume them. # Ingest Exposures from dbt Collate reads dbt [exposures](https://docs.getdbt.com/docs/build/exposures) from your `manifest.json` file and uses them to extend lineage from your dbt models to the dashboards, ML models, and API endpoints that consume them. > [!TIP] > > **Tip**: The downstream entity referenced by an exposure must already exist in Collate before the dbt ingestion runs. Collate matches it by Fully Qualified Name (FQN). If Collate can't find a match, it logs a warning and skips the exposure. ## Supported Exposure Types Collate maps each dbt exposure to a Collate entity based on its `type` field. Any other `type` value is skipped during ingestion. | dbt Exposure `type` | Collate Entity | | :- | :- | | `dashboard` | Dashboard | | `ml` | ML Model | | `application` | API Endpoint | ## How to Ingest dbt Exposures Follow these steps to link a dbt exposure to an existing Collate entity. ### Step 1: Define the Exposure in Your dbt Project Add the exposure definition to your dbt project and set the FQN of the matching Collate entity. Define the exposure in your dbt project (for example in `models/exposures.yml`) and set `meta.open_metadata_fqn` to the Fully Qualified Name of the corresponding entity already ingested in Collate. For more information on defining exposures, see [Add Exposures to your DAG](https://docs.getdbt.com/docs/build/exposures). ```yaml theme={null} exposures: - name: orders_dashboard label: orders type: dashboard maturity: high url: http://localhost:8080/looker/dashboard/8/ description: > Orders dashboard built on top of the orders model. depends_on: - ref('fact_sales') meta: open_metadata_fqn: sample_looker.orders # Collate entity Fully Qualified Name ``` After adding the exposure, run your dbt workflow (`dbt compile` or `dbt run`). The generated `manifest.json` will include the exposure under the `exposures` key, with upstream models listed under `depends_on → nodes`: ```json theme={null} "exposure.jaffle_shop.orders_dashboard": { "name": "orders_dashboard", "resource_type": "exposure", "type": "dashboard", "meta": { "open_metadata_fqn": "sample_looker.orders" }, "depends_on": { "nodes": [ "model.jaffle_shop.fact_sales" ] } } ``` ### Step 2: Verify Confirm the linked entity appears as a downstream node in the lineage graph after ingestion completes. Once ingested, the linked dashboard, ML model, or API endpoint appears as a downstream node in the **Lineage** tab of the upstream dbt table listed under `depends_on`. ## Validation and Error Handling What Collate does when an exposure can't be linked to a Collate entity. | Scenario | Behavior | | - | - | | Exposure `type` not one of `dashboard`, `ml`, `application` | Warning logged, exposure skipped | | `meta.open_metadata_fqn` missing from exposure spec | Warning logged, exposure skipped | | Entity referenced by `open_metadata_fqn` not found in Collate | Warning logged, exposure skipped | | Upstream model not yet ingested as a Collate table | Upstream node excluded from lineage edge | # Ingest Glossary from dbt Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-glossary Import glossary definitions from dbt projects to align semantic metadata with business context and governance. # Ingest Glossary from dbt Collate reads table-level and column-level glossary term assignments from your dbt `manifest.json` file and links them to the matching assets in Collate. > [!TIP] > > **Tip**: The glossary terms must already exist in Collate before ingestion runs. Collate won't create new terms automatically. ## How to Assign Glossary Terms from dbt Follow these steps to link glossary terms from dbt to your tables and columns in Collate. ### Step 1: Create or Select a Glossary Term in Collate Make sure the glossary terms you want to assign already exist in Collate before running ingestion. A glossary term is a preferred name for a concept. You can add tags, synonyms, related terms, and reference links to build a semantic graph. Collate also supports nested terms — for example, `Test_Glossary.term_two.nested_term.more_nested_term`. For details on creating glossary terms, see [Create Glossary Terms](/ai-2-0/how-to-guides/data-governance/glossary/create-terms). To view existing terms: 1. Navigate to **Governance** > **Glossary**. 2. Open the glossary and click the term under **Terms** column. 3. Navigate to the **Glossary Terms** tab and view the glossary terms listed there. ![Collate glossary term](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/glossary-terms.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=1326c4d5686aaecd275301d1e20770b5) ### Step 2: Add Glossary Terms at the Table Level Tell dbt which glossary terms apply to each table by adding their FQNs to your `schema.yml`. **Finding a glossary term FQN**: Navigate to the term in Collate (**Govern** > **Glossary**) and copy the FQN from the page URL. For example: * `Test_Glossary.term_one` → URL path ends in `/glossary/Test_Glossary.term_one` * `Test_Glossary.term_two.nested_term.more_nested_term` → URL path ends in `/glossary/Test_Glossary.term_two.nested_term.more_nested_term` ![Glossary term FQN in URL](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-glossary-fqn.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=321cb6d1689476b3750983b35c233d41) ![Nested glossary term FQN in URL](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-glossary-nested-fqn.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=19b0dfc230972fda5c6690c4a43b3ee0) Add the FQNs as a list under `model → meta → openmetadata → glossary` in your `schema.yml`. For more details on the dbt `meta` field, see the [dbt meta configuration reference](https://docs.getdbt.com/reference/resource-configs/meta). ```yaml theme={null} models: - name: customers meta: openmetadata: glossary: [ 'Test_Glossary.term_one', 'Test_Glossary.term_two.nested_term.more_nested_term', ] description: This table has basic information about a customer, as well as some derived facts based on a customer's orders columns: - name: customer_id description: This is a unique identifier for a customer tests: - unique - not_null ``` After you save and run your dbt workflow, the generated `manifest.json` will include the glossary FQNs under `node_name → meta → openmetadata → glossary`: ```json theme={null} "model.jaffle_shop.customers": { "raw_sql": "sample_raw_sql", "compiled": true, "resource_type": "model", "depends_on": {}, "database": "dev", "schema": "dbt_jaffle", "config": { "enabled": true, "alias": null, "meta": { "openmetadata": { "glossary": [ "Test_Glossary.term_one", "Test_Glossary.term_two.nested_term.more_nested_term" ] } } } } ``` ### Step 3: Add Glossary Terms at the Column Level Assign glossary terms to individual columns by adding their FQNs under the column definition in `schema.yml`. Add the FQNs under `columns → [column name] → meta → openmetadata → glossary`: ```yaml theme={null} models: - name: customers meta: openmetadata: glossary: [ 'Test_Glossary.term_one', 'Test_Glossary.term_two.nested_term.more_nested_term', ] description: This table has basic information about a customer, as well as some derived facts based on a customer's orders columns: - name: customer_id description: This is a unique identifier for a customer meta: openmetadata: glossary: [ 'Test_Glossary.term_two.nested_term' ] tests: - unique - not_null ``` After you save and run your dbt workflow, the generated `manifest.json` will include the column-level FQNs under `node_name → columns → [column name] → meta → openmetadata → glossary`: ```json theme={null} "model.jaffle_shop.customers": { "raw_sql": "sample_raw_sql", "compiled": true, "resource_type": "model", "depends_on": {}, "database": "dev", "schema": "dbt_jaffle", "columns": { "customer_id": { "name": "customer_id", "description": "This is a unique identifier for a customer", "meta": { "openmetadata": { "glossary": [ "Test_Glossary.term_two.nested_term" ] } }, "data_type": null, "constraints": [], "quote": null, "tags": [] } } } ``` ### Step 4: Verify Confirm the glossary terms appear on the table and column pages after ingestion completes. ![Glossary terms on table and column in Collate](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-glossary.png?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=9d51a5afcc854fc34365e7b5b3749a7b) # Ingest Lineage from dbt Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-lineage Ingest dbt lineage to build upstream and downstream traceability for models, columns, and data products. # Ingest Lineage from dbt Collate reads lineage information from your dbt `manifest.json` file and uses it to build upstream and downstream traceability for your data models. Collate extracts lineage from two sources in the manifest file: the `depends_on` key (node-level relationships) and the `compiled_code` or `compiled_sql` key (query-level relationships). > [!NOTE] > > **Note**: To capture lineage, the `compiled_code` field must be present in your `manifest.json`. > > * If `compiled_code` is missing, Collate will not capture lineage for that node. > * To make sure `compiled_code` is populated, run one of the following commands in your dbt project before ingestion: > * `dbt compile` > * `dbt docs generate` ## How Collate Builds dbt Lineage Collate uses two approaches to build lineage — node dependencies and query parsing. ### Step 1: Lineage from `depends_on` Collate reads node-level lineage from the `depends_on.nodes` field in `manifest.json`. Here's an example — the `customers` model depends on three staging models: ```json theme={null} "model.jaffle_shop.customers": { "compiled": true, "resource_type": "model", "depends_on": { "macros": [], "nodes": [ "model.jaffle_shop.stg_customers", "model.jaffle_shop.stg_orders", "model.jaffle_shop.stg_payments" ] } } ``` Collate builds the lineage graph from these dependencies: ![dbt lineage graph for customers model](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-lineage-customers.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=f12ac445f5a8fca2d4bc1eb7b12febc5) ### Step 2: Lineage from dbt Queries Collate also parses the compiled SQL query for each model to extract finer-grained source and target relationships. The query sits under `node_name → compiled_code` (or `compiled_sql` in older dbt versions): ```json theme={null} "model.jaffle_shop.customers": { "compiled": true, "resource_type": "model", "compiled_code": "Query for the model" } ``` Collate runs this query through its lineage parser to identify the source and target tables and add them to the lineage graph. > [!NOTE] > > **Note**: If the lineage parser can't interpret the query, lineage for that node won't be created. Check the ingestion logs for parsing errors. ## Map dbt Catalog Names to Collate Databases Collate matches each model in `manifest.json` to a table using the database name that dbt writes into the manifest. That name can differ from the name the connector ingested the table under. For example, `dbt-trino` writes the Trino catalog name (`bq_catalog`) for tables that the BigQuery connector ingests under the GCP project ID (`my-gcp-project`). Without a match, Collate can't link the dbt model to the table. Use **Catalog Mapping** in the dbt ingestion configuration to resolve this. Add one entry per catalog: * **Key**: the database name in the dbt manifest, for example `bq_catalog`. Keys are matched ignoring case. * **Value**: the database name in Collate, for example `my-gcp-project`. In a YAML configuration, set `catalogMapping` under `sourceConfig.config`: ```yaml theme={null} sourceConfig: config: type: DBT catalogMapping: bq_catalog: my-gcp-project ``` Collate looks up the tables of a mapped catalog under the mapped database in every database service, whether or not **Search Tables Across Databases Services** is enabled. If it finds no table there, it falls back to the database name in the manifest. # Ingest Tags from dbt | Metadata Tagging Guide Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-tags Ingest dbt tags to enhance metadata with labels that support classification, governance, and searchability. # Ingest Tags from dbt Collate reads table-level and column-level tags from your dbt `manifest.json` file and applies them to the matching assets in Collate. To add tags to your dbt project, see the [dbt tags configuration reference](https://docs.getdbt.com/reference/resource-configs/tags). > [!TIP] > > **Tip**: If a tag doesn't already exist in Collate, Collate creates it automatically under the `DBTTags` category. ## Where Collate Reads Tags From ### Step 1: Table-Level Tags Collate reads table-level tags from `manifest.json` under `node_name → tags`. Here's an example of what that looks like: ```json theme={null} { "model.jaffle_shop.customers": { "raw_sql": "sample_raw_sql", "compiled": true, "resource_type": "model", "depends_on": {}, "database": "dev", "schema": "dbt_jaffle", "tags": [ "model_tag_one", "model_tag_two" ] } } ``` ### Step 2: Column-Level Tags Collate reads column-level tags from `manifest.json` under `node_name → columns → column_name → tags`. Here's an example: ```json theme={null} "model.jaffle_shop.customers": { "database": "dev", "schema": "dbt_jaffle", "columns": { "first_order": { "name": "first_order", "description": "Date (UTC) of a customer's first order", "tags": [ "tags_column_one" ] } } } ``` ### Step 3: Verify After ingestion completes, you can view the tags directly on the table and column pages in Collate. ![dbt tags on table entity](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-tags.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c4b5113a4657394d44ac44f46ae6b9b8) # Ingest Tiers from dbt | Data Tiering Guide Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/ingest-dbt-tier Ingest dbt tier metadata to support quality scoring and classification for critical datasets and models. # Ingest Tiers from dbt Collate reads table-level tier assignments from your dbt `manifest.json` file and applies them to the matching tables in Collate. > [!TIP] > > **Tip**: The tier you assign in dbt must already exist in Collate before you run ingestion. Collate won't create new tiers automatically. ## How to Assign a Tier from dbt Follow these steps to assign tier labels from dbt to your tables in Collate. ### Step 1: Create or Select a Tier in Collate Make sure the tier you want to assign already exists in Collate before running ingestion. Tiers let data owners signal how important a dataset is to the organization — for example, Tier 1 for business-critical data and Tier 3 for experimental or low-priority data. If you haven't set up tiers yet, see [Tiers in Collate](/ai-2-0/how-to-guides/data-governance/classification/tiers) to create them first. ### Step 2: Add the Tier to Your dbt `schema.yml` Tell dbt which tier applies to each model by adding it to your schema configuration. Open your `schema.yml` file and add the tier under `model → meta → openmetadata → tier`. Use the full tier FQN (e.g. `Tier.Tier2`). For example, to assign `Tier2` to the `customers` model: ```yaml theme={null} models: - name: customers meta: openmetadata: tier: 'Tier.Tier2' description: This table has basic information about a customer, as well as some derived facts based on a customer's orders columns: - name: customer_id description: This is a unique identifier for a customer tests: - unique - not_null ``` For more details on the dbt `meta` field, see the [dbt meta configuration reference](https://docs.getdbt.com/reference/resource-configs/meta). After you save and run your dbt workflow, the generated `manifest.json` will include the tier assignment under `node_name → config → meta → openmetadata → tier`: ```json theme={null} "model.jaffle_shop.customers": { "raw_sql": "sample_raw_sql", "compiled": true, "resource_type": "model", "depends_on": {}, "database": "dev", "schema": "dbt_jaffle", "config": { "enabled": true, "alias": null, "meta": { "openmetadata": { "tier": "Tier.Tier2" } } } } ``` ### Step 3: Verify After ingestion completes, you can view the tier directly on the table page in Collate. ![dbt tier on table entity](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/dbt/dbt-tier.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=15f4e4a1b62881628385a1aa2243ef84) # Setup Multiple dbt Projects Source: https://docs.getcollate.io/ai-2-0/connectors/database/dbt/setup-multiple-dbt-projects Set up multiple dbt projects in ingestion workflows to orchestrate metadata extraction from distinct models and teams. # Setup Multiple dbt Projects Collate supports ingesting metadata from multiple dbt projects in a single workflow — each project can have its own `manifest.json`, `catalog.json`, and `run_results.json` files. > [!TIP] > > **Tip**: Multiple dbt project support is available for S3, GCS, and Azure configurations only. Before you configure the workflow, organize your dbt files so Collate can find them: * Place each project's files in its own directory and name them `manifest.json`, `catalog.json`, and `run_results.json`. * If your dbt tests produce multiple `run_results.json` files, keep them in the same directory as their corresponding `manifest.json`. Add a unique suffix to each file name — for example: `run_results_one.json`, `run_results_two.json`, `run_results_three.json`. Collate scans the prefix path you specify and traverses each subfolder to locate the dbt files automatically. ## Resolve Metadata From Overlapping Projects More than one manifest can reference the same Collate table. Collate processes each manifest separately, and the result depends on the metadata field and the dbt agent configuration: | Metadata | Resolution Behavior | | - | - | | Lineage | With **Override Lineage** disabled, which is the default, Collate adds each manifest's dbt lineage edges to the existing edges. The resulting lineage is additive across manifests. Enabling **Override Lineage** allows a later ingestion to replace existing dbt lineage for the affected table, so do not enable it when you need the combined graph. | | dbt tab | A table stores one dbt data model. Each matching manifest updates that model, so the dbt tab shows the manifest processed most recently. Do not rely on folder names or artifact timestamps to control processing order. | | Descriptions | With **Update Descriptions** disabled, which is the default, a dbt description fills an empty table or column description but does not replace an existing one. When enabled, a non-empty description from the manifest processed most recently overwrites the current value. | | Owners | With **Update Owners** disabled, which is the default, a dbt owner can populate an empty table owner but does not replace an existing owner. When enabled, a non-empty owner from the manifest processed most recently overwrites the current owner. | | Tags | With **Include Tags** enabled, Collate merges table and column tags from each manifest with the tags already on the asset. Tags therefore accumulate across runs. For a mutually exclusive classification, an incoming tag replaces an existing tag from the same classification. | If overlapping projects define different descriptions, owners, or dbt model details for the same table, choose one project as the authority and prevent the other projects from matching that table. You can use the database, schema, and table filter patterns to keep project scopes distinct. ## How to Configure Multiple dbt Projects (S3 Example) Follow these steps to set up the dbt workflow for multiple projects using an S3 bucket. ### Step 1: Organize the dbt Files in Your S3 Bucket Arrange each dbt project in a separate directory inside your bucket. For example, here's a bucket named `dbt_bucket` with three dbt projects: ``` bucket_home/ ├── dbt_files/ ├── dbt_project_one/ │ ├── manifest.json │ ├── catalog.json │ └── run_results.json └── dbt_new_projects/ ├── dbt_project_two/ │ ├── manifest.json │ ├── catalog.json │ ├── run_results_one.json │ ├── run_results_two.json │ └── run_results_three.json └── dbt_project_three/ ├── manifest.json ├── catalog.json └── run_results.json ``` ### Step 2: Configure the dbt Workflow in Collate Set the bucket and prefix path so Collate knows where to look. * In the **dbt Bucket Name** field, enter your bucket name — in this example, `dbt_bucket`. * In the **dbt Object Prefix** field, enter the path to the parent folder containing your projects — in this example, `bucket_home/dbt_files/`. To scan the entire bucket, leave the **dbt Object Prefix** field empty. ![dbt prefix configuration example](https://mintcdn.com/collatedocs/X_lfH8k8w6u5uqTN/public/images/features/ingestion/workflows/dbt/dbt-prefix-example.webp?fit=max\&auto=format\&n=X_lfH8k8w6u5uqTN\&q=85\&s=a66301751e685fcd333b1d89811769e6) ### Step 3: Run the dbt Workflow Trigger the workflow and verify all three projects are ingested. After the workflow completes, Collate ingests the dbt metadata from all three projects in a single run. # DeltaLake Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/deltalake/hybrid-runner Connect Collate to Delta Lake using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Delta Lake](/public/images/connectors/delta-lake.webp) # Delta Lake PROD This section provides guides and references to use the Delta Lake connector. Configure and schedule Delta Lake metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/deltalake/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The Delta Lake connector runs on Python 3.10 or later. Python 3.12 is recommended, because it is what the Collate 2.0 ingestion images use. The Delta Lake connector is able to extract the information from a **metastore** or directly from the **storage**. If extracting directly from the storage, some extra requirements are needed depending on the storage ### S3 Permissions To execute metadata extraction AWS account should have enough access to fetch required data. The **Bucket Policy** in AWS requires at least these permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ## Metadata Ingestion To ingest metadata from Delta Lake, you need to create a service connection. The service connects Delta Lake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **DeltaLake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/deltalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=47fd266b9bcd50ef0d4d7609ca1b2985) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Delta Lake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/deltalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=092bd3c14f4484a8f693eb55b79e7887) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Delta Lake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/deltalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=814d6b10bff2a47534d5666e6933a92c) * **Metastore Host Port**: Enter the Host & Port of Hive Metastore Service to configure the Spark Session. Either of `metastoreHostPort`, `metastoreDb` or `metastoreFilePath` is required. * **Metastore File Path**: Enter the file path to local Metastore in case Spark cluster is running locally. Either of `metastoreHostPort`, `metastoreDb` or `metastoreFilePath` is required. * **Metastore DB**: The JDBC connection to the underlying Hive metastore DB. Either of `metastoreHostPort`, `metastoreDb` or `metastoreFilePath` is required. * **appName (Optional)**: Enter the app name of spark session. * **Connection Arguments (Optional)**: Key-value pairs that Collate passes as extra `config` elements to the Spark Session builder. Collate runs internally with `pyspark` 3.X and `delta-lake` 2.0.0. This means you need to consider Spark configuration options for 3.X. **Metastore Host Port** When connecting to an external metastore using the `Metastore Host Port` parameter, Collate prepares a Spark Session with the following configuration: ``` .config("hive.metastore.uris", "thrift://{connection.metastoreHostPort}") ``` Then, Collate uses the `catalog` functions from the Spark Session to pick up the metadata exposed by the Hive Metastore. **Metastore File Path** If you use a local metastore file path, such as the default `metastore_db` directory for local testing, Collate sets the following configuration: ``` .config("spark.driver.extraJavaOptions", "-Dderby.system.home={connection.metastoreFilePath}") ``` This updates the Derby configuration. For more information, see [Configure Derby Logging for Spark](https://stackoverflow.com/questions/38377188/how-to-get-rid-of-derby-log-metastore-db-from-spark-shell). * For more information, see [Spark Configuration](https://spark.apache.org/docs/latest/configuration.html). * For more information, see [Hive Tables](https://spark.apache.org/docs/latest/sql-data-sources-hive-tables.html) and [The Internals of Spark SQL](https://jaceklaskowski.gitbooks.io/mastering-spark-sql/content/spark-sql-hive-metastore.html). **Metastore Database** You can also connect to the metastore by directly pointing to the Hive Metastore db, for example, `jdbc:mysql://localhost:3306/demo_hive`. Here, provide all the common database settings (url, username, password), and the driver class name for JDBC metastore. You will need to provide the driver to the ingestion image, and pass the `classpath` which will be used in the Spark Configuration under `spark.driver.extraClassPath`. #### Connection Details for StorageConfig - S3 * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Delta Lake Troubleshooting](/ai-2-0/connectors/database/deltalake/troubleshooting) > > Learn more about how to troubleshoot common Delta Lake connector issues and resolve configuration or ingestion errors. # DeltaLake Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/deltalake/index Connect Collate to Delta Lake with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![Delta Lake](/public/images/connectors/delta-lake.webp) # Delta Lake PROD This section provides guides and references to use the Delta Lake connector. Configure and schedule Delta Lake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/deltalake/troubleshooting) ## Requirements The Delta Lake connector runs on Python 3.10 or later. Python 3.12 is recommended, because it is what the Collate 2.0 ingestion images use. The Delta Lake connector can extract information from a **metastore** or directly from **storage**. When extracting directly from storage, extra requirements apply depending on the storage type. ### S3 Permissions To execute metadata extraction, the AWS account must have enough access to fetch the required data. The **Bucket Policy** in AWS requires at least these permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ## Metadata Ingestion To ingest metadata from Delta Lake, you need to create a service connection. The service connects Delta Lake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **DeltaLake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/deltalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=47fd266b9bcd50ef0d4d7609ca1b2985) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Delta Lake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/deltalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=092bd3c14f4484a8f693eb55b79e7887) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Delta Lake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/deltalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=814d6b10bff2a47534d5666e6933a92c) * **Metastore Host Port**: Enter the Host & Port of Hive Metastore Service to configure the Spark Session. Either of `metastoreHostPort`, `metastoreDb` or `metastoreFilePath` is required. * **Metastore File Path**: Enter the file path to local Metastore in case Spark cluster is running locally. Either of `metastoreHostPort`, `metastoreDb` or `metastoreFilePath` is required. * **Metastore DB**: The JDBC connection to the underlying Hive metastore DB. Either of `metastoreHostPort`, `metastoreDb` or `metastoreFilePath` is required. * **appName (Optional)**: Enter the app name of spark session. * **Connection Arguments (Optional)**: Key-value pairs used to pass extra `config` elements to the Spark Session builder. Collate internally runs `pyspark` 3.X and `delta-lake` 2.0.0, so Spark configuration options must target 3.X. **Metastore Host Port** When connecting to an external metastore using the `Metastore Host Port` parameter, Collate prepares a Spark Session with the following configuration: ``` .config("hive.metastore.uris", "thrift://{connection.metastoreHostPort}") ``` Collate then uses the `catalog` functions from the Spark Session to pick up the metadata exposed by the Hive Metastore. **Metastore File Path** If a local file path contains the metastore information instead (for example, for local testing with the default `metastore_db` directory), set the following: ``` .config("spark.driver.extraJavaOptions", "-Dderby.system.home={connection.metastoreFilePath}") ``` This updates the `Derby` information. For more information, see this [Stack Overflow thread](https://stackoverflow.com/questions/38377188/how-to-get-rid-of-derby-log-metastore-db-from-spark-shell). * For all supported configurations, see the [Spark configuration documentation](https://spark.apache.org/docs/latest/configuration.html). * For more information about the Hive metastore, see the [Spark Hive tables documentation](https://spark.apache.org/docs/latest/sql-data-sources-hive-tables.html) and *The Internals of Spark SQL* [book](https://jaceklaskowski.gitbooks.io/mastering-spark-sql/content/spark-sql-hive-metastore.html). **Metastore Database** Connect to the metastore directly by pointing to the Hive Metastore db, for example, `jdbc:mysql://localhost:3306/demo_hive`. This requires the common database settings (url, username, password) and the driver class name for the JDBC metastore. Provide the driver to the ingestion image and pass the `classpath` used in the Spark Configuration under `spark.driver.extraClassPath`. #### Connection Details for StorageConfig - S3 * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Delta Lake Troubleshooting](/ai-2-0/connectors/database/deltalake/troubleshooting) > > Learn more about how to troubleshoot common Delta Lake connector issues and resolve configuration or ingestion errors. # DeltaLake Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/deltalake/troubleshooting Fix Delta Lake ingestion issues such as path misconfigurations, schema evolution errors, or versioning mismatches. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Domo Database Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/domo-database/hybrid-runner Connect Domo Database to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Domo](/public/images/connectors/domo.webp) # Domo PROD This section provides guides and references to use the Domo Database connector. Configure and schedule Domo Database metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/domo-database/troubleshoot) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). For metadata ingestion, make sure to add at least `data` scopes to the clientId provided. For more information, see [Domo API Authentication](https://developer.domo.com/portal/1845fc11bbe5d-api-authentication). ## Metadata Ingestion To ingest metadata from Domo Database, you need to create a service connection. The service connects Domo Database with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Domo Database** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/domodatabase.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=cb20540e8f4f46857ccfc49f14bb9f5c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Domo Database services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/domodatabase.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=51a611b1c956a24b9407927618e55960) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Domo Database. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/domodatabase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=28e33508602cd090fd1d0fcbf306db7e) * **Client ID**: Client ID for Domo Database. * **Secret Token**: Secret Token to Connect Domo Database. * **Access Token**: Access to Connect to Domo Database. * **Api Host**: API Host to Connect to Domo Database instance. * **Instance Domain**: URL to connect to your Domo instance UI. For example `https://.domo.com`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Domo Database Troubleshooting](/ai-2-0/connectors/database/domo-database/troubleshoot) > > Learn more about how to troubleshoot common Domo Database connector issues and resolve configuration or ingestion errors. # Domo Database Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/domo-database/index Connect Domo Database to Collate with our comprehensive connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![Domo](/public/images/connectors/domo.webp) # Domo PROD This section provides guides and references to use the Domo Database connector. Configure and schedule Domo Database metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/domo-database/troubleshoot) ## Requirements For metadata ingestion, make sure to add at least `data` scopes to the clientId provided. For more information, see [Domo API Authentication](https://developer.domo.com/portal/1845fc11bbe5d-api-authentication). ## Metadata Ingestion To ingest metadata from Domo Database, you need to create a service connection. The service connects Domo Database with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Domo Database** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/domodatabase.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=cb20540e8f4f46857ccfc49f14bb9f5c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Domo Database services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/domodatabase.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=51a611b1c956a24b9407927618e55960) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Domo Database. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/domodatabase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=28e33508602cd090fd1d0fcbf306db7e) * **Client ID**: Client ID for Domo Database. * **Secret Token**: Secret Token to Connect Domo Database. * **Access Token**: Access to Connect to Domo Database. * **Api Host**: API Host to Connect to Domo Database instance. * **Instance Domain**: URL to connect to your Domo instance UI. For example `https://.domo.com`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Domo Database Troubleshooting](/ai-2-0/connectors/database/domo-database/troubleshoot) > > Learn more about how to troubleshoot common Domo Database connector issues and resolve configuration or ingestion errors. # Domo Database Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/domo-database/troubleshoot Debug Domo database ingestion errors like access token mismatches, schema fetch failures, or rate-limit violations. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the Domo Database connector. ### How to Find clientId? * You can find your `clientId` by [logging](https://developer.domo.com/) into your domo instance. * After that click on **My Account** > **Manage Clients** (if created). ![Client-id](https://mintcdn.com/collatedocs/sQLcFBJkf-K-wqlw/public/images/connectors/domo-database/client-id.png?fit=max\&auto=format\&n=sQLcFBJkf-K-wqlw\&q=85\&s=d7d74f1d98473f4221b28f7aa6ff3658) ### Where to Find accessToken? * You need to generate accessToken. * [Login](https://www.domo.com/login) into your sandbox domain ex. `.domo.com`. * Click on the `MORE` button on navbar, after that click on `Admin`. * Under `Authentication` you will find `Access tokens`. ![Access Token](https://mintcdn.com/collatedocs/sQLcFBJkf-K-wqlw/public/images/connectors/domo-database/access-token.png?fit=max\&auto=format\&n=sQLcFBJkf-K-wqlw\&q=85\&s=e51a045b586405eccf5df5c5d423bbcd) ### Where Can I Find My Scopes? * Scopes can be found under `Manage Clients` section in `My Account` (If client not found, click [here](#how-to-find-clientid)) ![Scopes](https://mintcdn.com/collatedocs/sQLcFBJkf-K-wqlw/public/images/connectors/domo-database/scopes.jpeg?fit=max\&auto=format\&n=sQLcFBJkf-K-wqlw\&q=85\&s=ee83748f1cc6d7078bc1ab9368815bb5) # Doris Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/doris/hybrid-runner Connect Apache Doris to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Doris](/public/images/connectors/doris.png) # Doris PROD This section provides guides and references to use the Doris connector. Configure and schedule Doris metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-doris-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/doris/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Metadata: Doris >= 1.2.0, Data Profiler: Doris >= 2.0.2 ## Metadata Ingestion To ingest metadata from Doris, you need to create a service connection. The service connects Doris with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Doris** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/doris.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e74b3de8877d5aa9521292e21e5d2ef6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Doris services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/doris.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=74bee769a41fb4d36576cf918db30287) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Doris. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/doris.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6641122267fb8e11fa42e97fa0563697) * **Username**: Specify the user to connect to Doris. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Doris. * **Host and Port**: Enter the fully qualified hostname and port number for your Doris deployment in the Host and Port field. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **caCertificate**: Provide the path to ssl ca file. * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client private key file (ssl_key). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Doris Connection with SSL in Collate To establish secure connections between Collate and Doris, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you’ll need to use all three parameters: `ssl_key`, `ssl_cert`, and `ssl_ca`. In this case, `ssl_cert` is used for the client’s SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `ssl_ca` for the CA certificate to validate the server’s certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Doris Troubleshooting](/ai-2-0/connectors/database/doris/troubleshooting) > > Learn more about how to troubleshoot common Doris connector issues and resolve configuration or ingestion errors. # Doris Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/doris/index Connect Apache Doris to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![Doris](/public/images/connectors/doris.png) # Doris PROD This section provides guides and references to use the Doris connector. Configure and schedule Doris metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-doris-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/doris/troubleshooting) ## Requirements Metadata: Doris >= 1.2.0, Data Profiler: Doris >= 2.0.2 ## Iceberg Table Support Doris supports Iceberg table ingestion in Collate through engine metadata mapping. ### How Table Classification Works * Collate reads table engine metadata from Doris system metadata. * Tables whose engine resolves to Iceberg engine variants (such as `Iceberg` and `ICEBERG`) are classified in Collate as `Iceberg`. ### Access Requirements * **Catalog permissions**: Grant read access to database, table, and column metadata in the target Doris instance. * **File system permissions**: Direct object storage write permissions are not required for metadata ingestion. Keep read access aligned with your external table and engine configuration. ## Metadata Ingestion To ingest metadata from Doris, you need to create a service connection. The service connects Doris with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Doris** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/doris.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e74b3de8877d5aa9521292e21e5d2ef6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Doris services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/doris.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=74bee769a41fb4d36576cf918db30287) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Doris. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/doris.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6641122267fb8e11fa42e97fa0563697) * **Username**: Specify the user to connect to Doris. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Doris. * **Host and Port**: Enter the fully qualified hostname and port number for your Doris deployment in the Host and Port field. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **caCertificate**: Provide the path to ssl ca file. * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client private key file (ssl_key). #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Doris Connection with SSL in Collate To establish secure connections between Collate and Doris, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you’ll need to use all three parameters: `ssl_key`, `ssl_cert`, and `ssl_ca`. In this case, `ssl_cert` is used for the client’s SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `ssl_ca` for the CA certificate to validate the server’s certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Doris Troubleshooting](/ai-2-0/connectors/database/doris/troubleshooting) > > Learn more about how to troubleshoot common Doris connector issues and resolve configuration or ingestion errors. # Doris Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/doris/troubleshooting Troubleshoot Doris connector ingestion problems like schema drift or metadata gaps. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Dremio Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/dremio/hybrid-runner Connect Dremio to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Dremio](/public/images/connectors/dremio.webp) # Dremio BETA This section provides guides and references to use the Dremio connector. Configure and schedule Dremio metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/dremio/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Dremio connector supports both: * **Dremio Cloud (SaaS)**: Fully managed cloud platform * **Dremio Software**: Self-hosted on-premises or in your own cloud infrastructure ### Dremio Cloud Requirements To connect to Dremio Cloud, you will need: * **Cloud Region**: The region where your Dremio Cloud organization is hosted (US or EU) * **Personal Access Token (PAT)**: A token generated from your Dremio Cloud account settings * **Project ID**: Your Dremio Cloud project identifier #### Generate a Personal Access Token 1. Log into your Dremio Cloud account. 2. Navigate to **Settings** > **Personal Access Tokens**. 3. Select **Add Token**. 4. Provide a description (for example, "Collate Integration"). 5. Set an expiration period. 6. Select **Create**. 7. Copy the generated token. #### Find your Project ID 1. Log into your Dremio Cloud account. 2. Check the URL in your browser: `https://app.dremio.cloud/projects/{PROJECT_ID}/...`. 3. The Project ID is the alphanumeric string after `/projects/`. 4. Alternatively, go to **Project Settings** to view your Project ID. ### Dremio Software Requirements To connect to Dremio Software (self-hosted), you will need: * **Host and Port**: The URL of your Dremio Software instance (for example, `http://localhost:9047` or `https://dremio.example.com:9047`) * **Username**: A user account with privileges to read catalog metadata * **Password**: The password for the user account ### Permissions Required #### Dremio Cloud * **Catalog Access**: Ability to view sources and spaces * **Dataset Read**: Permission to view datasets and their metadata * **Query History** (optional): Access to `sys.project.history.jobs` for usage and lineage extraction #### Dremio Software * **Catalog Access**: Ability to view sources and spaces * **Dataset Read**: Permission to view datasets and their metadata * **System Tables** (optional): Access to job history tables in the `sys` schema for usage and lineage extraction > [!NOTE] > > **Note**: The connector uses Dremio's REST API and SQL interfaces for metadata extraction. Access to query history is optional. If the user does not have permission to access job history, metadata extraction will still work, but usage and lineage information will not be available. ## Metadata Ingestion To ingest metadata from Dremio, you need to create a service connection. The service connects Dremio with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Dremio** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/dremio.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ee1376a50bdfc5f351a91c4a859d17b4) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Dremio services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/dremio.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b812402534f8bc23b4a22923dcb58d31) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Dremio. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/dremio.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6f47b70bc34fdd85456b473dd0f073d3) * **Authentication Type**: Choose Dremio Cloud (SaaS) or Dremio Software (self-hosted). * **region**: Dremio Cloud region where your organization is hosted (US or EU). * **personalAccessToken**: Personal Access Token for authenticating with Dremio Cloud. * **projectId**: Dremio Cloud Project ID. * **hostPort**: URL to your self-hosted Dremio Software instance, including protocol and port. * **username**: Username for authenticating with Dremio Software. * **password**: Password for the Dremio Software user account. * **database**: Optional. Restrict metadata ingestion to a specific namespace (source or space). * **databaseFilterPattern**: Regex pattern to include or exclude namespaces (sources/spaces) based on their names. * **schemaFilterPattern**: Regex pattern to include or exclude folders based on their names. * **tableFilterPattern**: Regex pattern to include or exclude tables and views based on their names. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Dremio Troubleshooting](/ai-2-0/connectors/database/dremio/troubleshooting) > > Learn more about how to troubleshoot common Dremio connector issues and resolve configuration or ingestion errors. # Dremio Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/dremio/index Connect Dremio to Collate with our comprehensive connector guide. Setup instructions, configuration steps, and metadata synchronization details. ![Dremio](/public/images/connectors/dremio.webp) # Dremio BETA This section provides guides and references to use the Dremio connector. Configure and schedule Dremio metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/dremio/troubleshooting) ## Requirements Dremio connector supports both: * **Dremio Cloud (SaaS)**: Fully managed cloud platform * **Dremio Software**: Self-hosted on-premises or in your own cloud infrastructure ### Dremio Cloud Requirements To connect to Dremio Cloud, you will need: * **Cloud Region**: The region where your Dremio Cloud organization is hosted (US or EU) * **Personal Access Token (PAT)**: A token generated from your Dremio Cloud account settings * **Project ID**: Your Dremio Cloud project identifier #### Generate a Personal Access Token 1. Log into your Dremio Cloud account. 2. Navigate to **Settings** > **Personal Access Tokens**. 3. Select **Add Token**. 4. Provide a description (for example, "Collate Integration"). 5. Set an expiration period. 6. Select **Create**. 7. Copy the generated token. #### Find your Project ID 1. Log into your Dremio Cloud account. 2. Check the URL in your browser: `https://app.dremio.cloud/projects/{PROJECT_ID}/...`. 3. The Project ID is the alphanumeric string after `/projects/`. 4. Alternatively, go to **Project Settings** to view your Project ID. ### Dremio Software Requirements To connect to Dremio Software (self-hosted), you will need: * **Host and Port**: The URL of your Dremio Software instance (for example, `http://localhost:9047` or `https://dremio.example.com:9047`) * **Username**: A user account with privileges to read catalog metadata * **Password**: The password for the user account ### Permissions Required #### Dremio Cloud * **Catalog Access**: Ability to view sources and spaces * **Dataset Read**: Permission to view datasets and their metadata * **Query History** (optional): Access to `sys.project.history.jobs` for usage and lineage extraction #### Dremio Software * **Catalog Access**: Ability to view sources and spaces * **Dataset Read**: Permission to view datasets and their metadata * **System Tables** (optional): Access to job history tables in the `sys` schema for usage and lineage extraction > [!NOTE] > > **Note**: The connector uses Dremio's REST API and SQL interfaces for metadata extraction. Access to query history is optional. If the user does not have permission to access job history, metadata extraction will still work, but usage and lineage information will not be available. ## Metadata Ingestion To ingest metadata from Dremio, you need to create a service connection. The service connects Dremio with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Dremio** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/dremio.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ee1376a50bdfc5f351a91c4a859d17b4) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Dremio services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/dremio.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b812402534f8bc23b4a22923dcb58d31) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Dremio. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/dremio.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6f47b70bc34fdd85456b473dd0f073d3) * **Authentication Type**: Choose Dremio Cloud (SaaS) or Dremio Software (self-hosted). * **region**: Dremio Cloud region where your organization is hosted (US or EU). * **personalAccessToken**: Personal Access Token for authenticating with Dremio Cloud. * **projectId**: Dremio Cloud Project ID. * **hostPort**: URL to your self-hosted Dremio Software instance, including protocol and port. * **username**: Username for authenticating with Dremio Software. * **password**: Password for the Dremio Software user account. * **database**: Optional. Restrict metadata ingestion to a specific namespace (source or space). * **databaseFilterPattern**: Regex pattern to include or exclude namespaces (sources/spaces) based on their names. * **schemaFilterPattern**: Regex pattern to include or exclude folders based on their names. * **tableFilterPattern**: Regex pattern to include or exclude tables and views based on their names. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Dremio Troubleshooting](/ai-2-0/connectors/database/dremio/troubleshooting) > > Learn more about how to troubleshoot common Dremio connector issues and resolve configuration or ingestion errors. # Dremio Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/dremio/troubleshooting Troubleshoot Dremio connector ingestion issues and resolve common errors. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Druid Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/druid/hybrid-runner Connect Apache Druid to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Druid](/public/images/connectors/druid.webp) # Druid PROD This section provides guides and references to use the Druid connector. > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Configure and schedule Druid metadata and profiler workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/druid/troubleshooting) ## Metadata Ingestion To ingest metadata from Druid, you need to create a service connection. The service connects Druid with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Druid** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/druid.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=32ab9d7b14445793c5a84b2da98ea163) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Druid services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/druid.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=346758f85442c98f03ffcdeec4891fc8) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Druid. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/druid.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=46b8dc7acef0e22ec15cccae42bc6b7a) * **Username**: Specify the user to connect to Druid. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Druid. * **Host and Port**: Enter the fully qualified hostname and port number for your Druid deployment in the Host and Port field. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Druid Troubleshooting](/ai-2-0/connectors/database/druid/troubleshooting) > > Learn more about how to troubleshoot common Druid connector issues and resolve configuration or ingestion errors. # Druid Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/druid/index Learn how to connect Apache Druid to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction. ![Druid](/public/images/connectors/druid.webp) # Druid PROD This section provides guides and references to use the Druid connector. Configure and schedule Druid metadata and profiler workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/druid/troubleshooting) ## Metadata Ingestion To ingest metadata from Druid, you need to create a service connection. The service connects Druid with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Druid** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/druid.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=32ab9d7b14445793c5a84b2da98ea163) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Druid services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/druid.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=346758f85442c98f03ffcdeec4891fc8) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Druid. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/druid.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=46b8dc7acef0e22ec15cccae42bc6b7a) * **Username**: Specify the user to connect to Druid. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Druid. * **Host and Port**: Enter the fully qualified hostname and port number for your Druid deployment in the Host and Port field. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Druid Troubleshooting](/ai-2-0/connectors/database/druid/troubleshooting) > > Learn more about how to troubleshoot common Druid connector issues and resolve configuration or ingestion errors. # Druid Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/druid/troubleshooting Resolve Druid ingestion problems such as source errors, metadata fetch failures, or unsupported schema structures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # DynamoDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/dynamodb/hybrid-runner Connect DynamoDB to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![DynamoDB](/public/images/connectors/dynamodb.webp) # DynamoDB PROD This section provides guides and references to use the DynamoDB connector. Configure and schedule DynamoDB metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/dynamodb/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The DynamoDB connector ingests metadata using the DynamoDB boto3 client. Collate retrieves information about all tables in the AWS account, describes each table to extract its schema, and scans a sample of records to infer column types. The user must have the following permissions: * `dynamodb:ListTables`: discover all tables in the account. * `dynamodb:DescribeTable`: retrieve table metadata (key schema, attribute definitions, item count, and so on). * `dynamodb:Scan`: sample table data for schema inference and profiling. Below defined policy grants the necessary permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "dynamodb:ListTables", "dynamodb:DescribeTable", "dynamodb:Scan" ], "Resource": "*" } ] } ``` For more information on Dynamodb permissions visit the [AWS DynamoDB official documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/api-permissions-reference.html). ## Metadata Ingestion To ingest metadata from DynamoDB, you need to create a service connection. The service connects DynamoDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **DynamoDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/dynamodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bdf2d1a6d95334e32cd4319c6d1ba160) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other DynamoDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/dynamodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ef1aaf5f044e333138b5cf8d85e15654) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for DynamoDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/dynamodb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c08bff80d70e2c8c889014d0a1897817) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [DynamoDB Troubleshooting](/ai-2-0/connectors/database/dynamodb/troubleshooting) > > Learn more about how to troubleshoot common DynamoDB connector issues and resolve configuration or ingestion errors. # DynamoDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/dynamodb/index Connect DynamoDB to Collate with our comprehensive database connector guide. Setup instructions, configuration options, and metadata extraction steps. ![DynamoDB](/public/images/connectors/dynamodb.webp) # DynamoDB PROD This section provides guides and references to use the DynamoDB connector. Configure and schedule DynamoDB metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/dynamodb/troubleshooting) ## Requirements The DynamoDB connector ingests metadata using the DynamoDB boto3 client. Collate retrieves information about all tables in the AWS account, describes each table to extract its schema, and scans a sample of records to infer column types. The user must have the following permissions: * `dynamodb:ListTables`: discover all tables in the account. * `dynamodb:DescribeTable`: retrieve table metadata (key schema, attribute definitions, item count, and so on). * `dynamodb:Scan`: sample table data for schema inference and profiling. Below defined policy grants the necessary permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "dynamodb:ListTables", "dynamodb:DescribeTable", "dynamodb:Scan" ], "Resource": "*" } ] } ``` For more information on Dynamodb permissions visit the [AWS DynamoDB official documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/api-permissions-reference.html). ## Metadata Ingestion To ingest metadata from DynamoDB, you need to create a service connection. The service connects DynamoDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **DynamoDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/dynamodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bdf2d1a6d95334e32cd4319c6d1ba160) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other DynamoDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/dynamodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ef1aaf5f044e333138b5cf8d85e15654) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for DynamoDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/dynamodb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c08bff80d70e2c8c889014d0a1897817) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [DynamoDB Troubleshooting](/ai-2-0/connectors/database/dynamodb/troubleshooting) > > Learn more about how to troubleshoot common DynamoDB connector issues and resolve configuration or ingestion errors. # DynamoDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/dynamodb/troubleshooting Debug DynamoDB integration for issues like permission errors, partition key mismatches, or ingestion slowdowns. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Epic FHIR Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/epic/hybrid-runner Connect Epic FHIR to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Epic](/public/images/connectors/epic.png) # Epic BETA This section provides guides and references to use the Epic FHIR connector. Configure and schedule Epic metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/epic/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To fetch metadata from Epic FHIR into Collate, you need: 1. An accessible Epic FHIR base URL (for example, `https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR`). 2. The FHIR version supported by your Epic server. Supported values are: `R4`, `STU3`, and `DSTU2`. ## Metadata Ingestion To ingest metadata from Epic, you need to create a service connection. The service connects Epic with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Epic** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/epic.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3727491ff7fc5182f1e65c1ca7da90bd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Epic services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/epic.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=20f4997ccf7a54ff29e4f9072a8b1b4b) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Epic. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/epic.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=35e484c984deff8d31687b5ebee83e77) * **FHIR Server URL**: Base URL of the Epic FHIR server. * **FHIR Version**: FHIR specification version supported by the server (`R4`, `STU3`, or `DSTU2`). * **Database Name**: Optional. The name shown inside Collate. Defaults to `epic`. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Epic Troubleshooting](/ai-2-0/connectors/database/epic/troubleshooting) > > Learn more about how to troubleshoot common Epic connector issues and resolve configuration or ingestion errors. # Epic FHIR Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/epic/index Connect Epic FHIR to Collate to automatically discover, catalog, and manage your Epic FHIR metadata. Step-by-step configuration guide. ![Epic](/public/images/connectors/epic.png) # Epic BETA This section provides guides and references to use the Epic FHIR connector. Configure and schedule Epic metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/epic/troubleshooting) ## Requirements To fetch metadata from Epic FHIR into Collate, you need: 1. An accessible Epic FHIR base URL (e.g. `https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR`). 2. The FHIR version supported by your Epic server. Supported values are: `R4`, `STU3`, and `DSTU2`. ## Metadata Ingestion To ingest metadata from Epic, you need to create a service connection. The service connects Epic with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Epic** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/epic.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3727491ff7fc5182f1e65c1ca7da90bd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Epic services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/epic.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=20f4997ccf7a54ff29e4f9072a8b1b4b) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Epic. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/epic.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=35e484c984deff8d31687b5ebee83e77) * **FHIR Server URL**: Base URL of the Epic FHIR server. * **FHIR Version**: FHIR specification version supported by the server (`R4`, `STU3`, or `DSTU2`). * **Database Name**: Optional. The name shown inside Collate. Defaults to `epic`. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Epic Troubleshooting](/ai-2-0/connectors/database/epic/troubleshooting) > > Learn more about how to troubleshoot common Epic connector issues and resolve configuration or ingestion errors. # Epic FHIR Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/epic/troubleshooting Debug Epic database integration for issues like permission errors, partition key mismatches, or ingestion slowdowns. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Exasol Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/exasol/hybrid-runner Connect Exasol database to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Exasol](/public/images/connectors/exasol.webp) # Exasol PROD This section provides guides and references for using the Exasol connector. Configure and schedule Exasol metadata from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/exasol/troubleshooting) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally > [card] [Collate 1.6.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The connector requires **Exasol version 7.1 or higher** to function correctly. Ensure your Exasol instance meets this minimum version requirement before proceeding. ### Database privilege requirements To ingest basic metadata, an Exasol user must have the following privileges: * `USAGE` privilege on Schema * `SELECT` privilege on Tables To use the lineage workflow, Collate fetches query logs by querying `EXA_DBA_AUDIT_SQL` and joining `EXA_DBA_AUDIT_SESSIONS`. To access these system tables, an Exasol user must have the `SELECT ANY DICTIONARY` system privilege, and auditing must be enabled on the database. For more information about Exasol auditing, see [Auditing](https://docs.exasol.com/db/latest/database_concepts/auditing.htm#Implementation). ## Metadata Ingestion To ingest metadata from Exasol, you need to create a service connection. The service connects Exasol with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Exasol** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/exasol.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ecf2f85546c1f5def3b8a8b7476e0fb8) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Exasol services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/exasol.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bb33081702f45b620b04686e1af37ee1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Exasol. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/exasol.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6be86025af5b8b86d3bf60cf7e52598f) * **Connection Scheme**: Specifies the SQLAlchemy driver scheme options required to connect to Exasol. * **Username**: The username used to connect to the Exasol database. Ensure that this user has sufficient privileges to read all the metadata from Exasol. * **Password**: The password associated with the user connecting to Exasol. * **Host and Port**: Defines the host and port of the Exasol instance. Provide this as a string in the format `hostname:port`. For example: `localhost:8563` * If running the Collate ingestion in a Docker container and your services are hosted on `localhost`, use `host.docker.internal:8563`. * **SSL/TLS Settings**: Specifies the mode or settings for SSL/TLS validation during the connection. Available options: * **validate-certificate (Default)**: Enables Transport Layer Security (TLS) and validates the server certificate using system certificate stores. * **ignore-certificate**: Enables Transport Layer Security (TLS) but disables validation of the server certificate. > [!TIP] > > **Tip**: This mode should not be used in production. It is useful for testing with self-signed certificates. * **disable-tls**: Disables Transport Layer Security (TLS). Data is sent in plain text (no encryption). > [!WARNING] > > **Important**: This mode is not recommended for production and should only be used in debugging scenarios. > [!TIP] > > **Tip**: Ensure that the appropriate TLS setting is chosen based on your security and deployment requirements. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Exasol Troubleshooting](/ai-2-0/connectors/database/exasol/troubleshooting) > > Learn more about how to troubleshoot common Exasol connector issues and resolve configuration or ingestion errors. # Exasol Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/exasol/index Connect Exasol database to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![Exasol](/public/images/connectors/exasol.webp) # Exasol PROD This section provides guides and references for using the Exasol connector. Configure and schedule Exasol metadata from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/exasol/troubleshooting) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally > [card] [Collate 1.6.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Requirements The connector requires **Exasol version 7.1 or higher** to function correctly. Ensure your Exasol instance meets this minimum version requirement before proceeding. ### Database privilege requirements To ingest basic metadata, an Exasol user must have the following privileges: * `USAGE` privilege on Schema * `SELECT` privilege on Tables To use the lineage workflow, Collate fetches query logs by querying `EXA_DBA_AUDIT_SQL` and joining `EXA_DBA_AUDIT_SESSIONS`. To access these system tables, an Exasol user must have the `SELECT ANY DICTIONARY` system privilege, and auditing must be enabled on the database. For more information about Exasol auditing, see [Auditing](https://docs.exasol.com/db/latest/database_concepts/auditing.htm#Implementation). ## Metadata Ingestion To ingest metadata from Exasol, you need to create a service connection. The service connects Exasol with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Exasol** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/exasol.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ecf2f85546c1f5def3b8a8b7476e0fb8) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Exasol services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/exasol.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bb33081702f45b620b04686e1af37ee1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Exasol. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/exasol.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6be86025af5b8b86d3bf60cf7e52598f) * **Connection Scheme**: Specifies the SQLAlchemy driver scheme options required to connect to Exasol. * **Username**: The username used to connect to the Exasol database. Ensure that this user has sufficient privileges to read all the metadata from Exasol. * **Password**: The password associated with the user connecting to Exasol. * **Host and Port**: Defines the host and port of the Exasol instance. Provide this as a string in the format `hostname:port`. For example: `localhost:8563` * If running the Collate ingestion in a Docker container and your services are hosted on `localhost`, use `host.docker.internal:8563`. * **SSL/TLS Settings**: Specifies the mode or settings for SSL/TLS validation during the connection. Available options: * **validate-certificate (Default)**: Enables Transport Layer Security (TLS) and validates the server certificate using system certificate stores. * **ignore-certificate**: Enables Transport Layer Security (TLS) but disables validation of the server certificate. > [!TIP] > > **Tip**: This mode should not be used in production. It is useful for testing with self-signed certificates. * **disable-tls**: Disables Transport Layer Security (TLS). Data is sent in plain text (no encryption). > [!WARNING] > > **Important**: This mode is not recommended for production and should only be used in debugging scenarios. > [!TIP] > > **Tip**: Ensure that the appropriate TLS setting is chosen based on your security and deployment requirements. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Exasol Troubleshooting](/ai-2-0/connectors/database/exasol/troubleshooting) > > Learn more about how to troubleshoot common Exasol connector issues and resolve configuration or ingestion errors. # Exasol Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/exasol/troubleshooting Fix Exasol ingestion errors like JDBC connection failures, incorrect credentials, or schema parsing issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # GCS Datalake Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/gcs-datalake/hybrid-runner Connect your Google Cloud Storage data lake to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![GCS Datalake](/public/images/connectors/gcs.webp) # GCS Datalake PROD This section provides guides and references to use the GCS Datalake connector. Configure and schedule GCS Datalake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/gcs-datalake/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: The GCS Datalake connector supports extracting metadata from file types `JSON`, `CSV`, `TSV`, and `Parquet`. ## Metadata Ingestion To ingest metadata from GCS Datalake, you need to create a service connection. The service connects GCS Datalake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **GCS Datalake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=0cec8dcda78457f8a9bccd9dd994c2e0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other GCS Datalake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/datalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e4d74248e004065b294858a8e00b0ce2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for GCS Datalake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/gcs-datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=3f3493b214af11fc6c4cc23284ec0040) * **Bucket Name**: A bucket name in DataLake is a unique identifier used to organize and store data objects. It's similar to a folder name, but it's used for object storage rather than file storage. * **Prefix**: The prefix of a data source in datalake refers to the first part of the data path that identifies the source or origin of the data. It's used to organize and categorize data within the datalake, and can help users easily locate and access the data they need. * **GCS Credentials**: Collate supports authenticating to GCS with raw credential values provided by BigQuery: * This requires the following information, all provided by BigQuery: * **Credentials type**, for example, `service_account`. * **Project ID** * **Private Key ID** * **Private Key** * **Client Email** * **Client ID** * **Auth URI**, [https://accounts.google.com/o/oauth2/auth](https://accounts.google.com/o/oauth2/auth) by default * **Token URI**, `https://oauth2.googleapis.com/token` by default * **Authentication Provider X509 Certificate URL**, `https://www.googleapis.com/oauth2/v1/certs` by default * **Client X509 Certificate URL** #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [GCS Datalake Troubleshooting](/ai-2-0/connectors/database/gcs-datalake/troubleshooting) > > Learn more about how to troubleshoot common GCS Datalake connector issues and resolve configuration or ingestion errors. # GCS Datalake Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/gcs-datalake/index Connect your Google Cloud Storage data lake to Collate with our comprehensive GCS connector guide. Setup instructions, configuration tips & best practices. ![GCS Datalake](/public/images/connectors/gcs.webp) # GCS Datalake PROD This section provides guides and references to use the GCS Datalake connector. Configure and schedule GCS Datalake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/gcs-datalake/troubleshooting) ## Requirements > [!TIP] > > **Tip**: The GCS Datalake connector supports extracting metadata from file types `JSON`, `CSV`, `TSV`, and `Parquet`. ## Metadata Ingestion To ingest metadata from GCS Datalake, you need to create a service connection. The service connects GCS Datalake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **GCS Datalake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=0cec8dcda78457f8a9bccd9dd994c2e0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other GCS Datalake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/datalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e4d74248e004065b294858a8e00b0ce2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for GCS Datalake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/gcs-datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=3f3493b214af11fc6c4cc23284ec0040) * **Bucket Name**: A bucket name in DataLake is a unique identifier used to organize and store data objects. It's similar to a folder name, but it's used for object storage rather than file storage. * **Prefix**: The prefix of a data source in datalake refers to the first part of the data path that identifies the source or origin of the data. It's used to organize and categorize data within the datalake, and can help users easily locate and access the data they need. * **GCS Credentials**: Collate supports authenticating to GCS with raw credential values provided by BigQuery: * This requires the following information, all provided by BigQuery: * **Credentials type**, e.g. `service_account`. * **Project ID** * **Private Key ID** * **Private Key** * **Client Email** * **Client ID** * **Auth URI**, [https://accounts.google.com/o/oauth2/auth](https://accounts.google.com/o/oauth2/auth) by default * **Token URI**, `https://oauth2.googleapis.com/token` by default * **Authentication Provider X509 Certificate URL**, `https://www.googleapis.com/oauth2/v1/certs` by default * **Client X509 Certificate URL** #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [GCS Datalake Troubleshooting](/ai-2-0/connectors/database/gcs-datalake/troubleshooting) > > Learn more about how to troubleshoot common GCS Datalake connector issues and resolve configuration or ingestion errors. # GCS Datalake Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/gcs-datalake/troubleshooting Troubleshoot GCS Datalake ingestion problems including permission errors, data parsing failures, or config gaps. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # AWS Glue Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/glue/hybrid-runner Integrate AWS Glue with Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Glue](/public/images/connectors/glue.webp) # Glue PROD This section provides guides and references to use the Glue connector. Configure and schedule Glue metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/glue/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). User must have `glue:GetDatabases` and `glue:GetTables` permissions to ingest the basic metadata. ## Metadata Ingestion To ingest metadata from Glue, you need to create a service connection. The service connects Glue with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Glue** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/glue.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=888c133f48200ef4a6d2b17e324e4ed1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Glue services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/glue.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=39ece5321776891525e5cf99edb04264) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Glue. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/glue.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=60cfbe7db9f8bcc009788d6c42cab349) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Glue Troubleshooting](/ai-2-0/connectors/database/glue/troubleshooting) > > Learn more about how to troubleshoot common Glue connector issues and resolve configuration or ingestion errors. # AWS Glue Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/glue/index Learn how to integrate AWS Glue with Collate using our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction. ![Glue](/public/images/connectors/glue.webp) # Glue PROD This section provides guides and references to use the Glue connector. Configure and schedule Glue metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [How Glue Maps to Collate](#how-glue-maps-to-collate) * [Custom Properties](#custom-properties) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/glue/troubleshooting) ## Requirements The connector reads metadata from the AWS Glue Data Catalog through the AWS Glue API. Grant the following AWS Identity and Access Management (IAM) permissions to the AWS identity that the connector uses: * `glue:GetDatabases`: Lists the Glue databases in the catalog. * `glue:GetTables`: Lists the tables and views in each Glue database. * `glue:GetTable`: Reads the column details of each Iceberg table. For more information, see [Iceberg Table Support](#iceberg-table-support). The following policy grants these permissions on every database and table in the catalog. Replace `` and `` with your values. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "glue:GetDatabases", "glue:GetTables", "glue:GetTable" ], "Resource": [ "arn:aws:glue:::catalog", "arn:aws:glue:::database/*", "arn:aws:glue:::table/*/*" ] } ] } ``` If AWS Lake Formation manages the catalog, also grant the identity the `DESCRIBE` permission on the databases and tables to ingest. Without that grant, Glue leaves those databases and tables out of its responses instead of returning an error. ## How Glue Maps to Collate The connector doesn't map a Glue database to a Collate database. The Glue Data Catalog becomes the Collate database, and each Glue database becomes a schema inside it. | AWS Glue | Collate | Name in Collate | | - | - | - | | Data Catalog | Database | The catalog ID (your AWS account ID, for example `123456789012`), unless you set **Database Name**. | | Database | Schema | The Glue database name. | | Table or view | Table | The Glue table name. Iceberg tables get the `Iceberg` table type, external tables `External`, views `View`, and all other tables `Regular`. | **Database Name** does more than rename the database. When you set it: * The connector creates one database with that name and stops using the **Database** filter to select catalogs, so leave that filter empty. * Every Glue database the connector can see becomes a schema of that database, even when the Glue databases come from different catalogs. The ingestion run reports a warning when it sees more than one catalog. * If two Glue databases from different catalogs share a name, one overwrites the other and its tables go missing. To keep one database per catalog, leave **Database Name** blank. ### Filter Patterns Each filter in [Step 5: Configure Ingestion Options](#step-5-configure-ingestion-options) matches the Glue name at its own level of this mapping. The following examples use include rules: | Filter | Matches | Matching example | Non-matching example | | - | - | - | - | | **Database** | Catalog ID, when **Database Name** is blank | The rule **is exactly** `123456789012` includes the catalog `123456789012`. | The same rule skips the catalog `210987654321`. A rule that names a Glue database, such as **is exactly** `sales`, matches no catalog ID. The connector then skips the whole catalog. | | **Schema** | Glue database name | The rule **starts with** `sales_` includes the Glue database `sales_raw`. | The same rule skips the Glue database `marketing_raw`. | | **Table** | Glue table name | The rule **starts with** `orders` includes the table `orders_2024`. | The same rule skips the table `customer_orders`. | To choose which Glue databases to ingest, use the **Schema** filter. Use the **Database** filter only to limit ingestion to specific catalog IDs. If you turn on **Use FQN For Filtering**, rules match the fully qualified name instead. For example, the Glue database `sales_raw` in the catalog `123456789012` of a service named `glue_prod` has the fully qualified name `glue_prod.123456789012.sales_raw`. ## Custom Properties When the **Include Custom Properties** toggle is on, Collate ingests each Glue table's table parameters as custom properties on the table. ## Iceberg Table Support The connector ingests Apache Iceberg tables registered in the Glue Data Catalog. It reads only catalog metadata through the AWS Glue API, so it doesn't need access to the table's data or metadata files in Amazon S3. ### How Iceberg Tables Are Detected The connector treats a Glue table as an Iceberg table when its `table_type` table parameter is `ICEBERG`. Iceberg tables registered in the Glue Data Catalog carry this parameter. Collate shows these tables with the `Iceberg` table type. ### Current Columns Only When an Iceberg table's schema changes, Iceberg keeps the columns from earlier schema versions in the Glue table definition and sets their `iceberg.field.current` column parameter to `false`. For each Iceberg table, the connector calls `glue:GetTable` to read these column parameters and skips the non-current columns, so Collate shows only the table's current columns. ### Limitations * If the `glue:GetTable` call fails, for example because the permission is missing, the connector logs a warning and uses the columns from `glue:GetTables` instead. Those columns can include non-current ones, and the ingestion run still reports success. * The `table_type` check is case-sensitive. The connector ingests a table whose parameter isn't exactly `ICEBERG` as a regular or external table. * The connector doesn't read Iceberg metadata files, so it doesn't ingest snapshots or partition specs. ## Metadata Ingestion To ingest metadata from Glue, you need to create a service connection. The service connects Glue with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Glue** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/glue.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=888c133f48200ef4a6d2b17e324e4ed1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Glue services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/glue.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=39ece5321776891525e5cf99edb04264) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Glue. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/glue.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=60cfbe7db9f8bcc009788d6c42cab349) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **Database Name (optional)**: The name of a single Collate database that holds all your Glue databases. If you leave it blank, the connector creates one database per catalog and names it after the catalog ID, which is your AWS account ID. Setting this field also changes how catalogs are mapped and filtered. For more information, see [How Glue Maps to Collate](#how-glue-maps-to-collate). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which catalogs Collate ingests when **Database Name** is blank. Rules match the catalog ID, not Glue database names. * **Schema**: Controls which Glue databases Collate ingests. Rules match the Glue database name. * **Table**: Controls which tables and views Collate ingests. Rules match the Glue table name. For matching and non-matching examples, see [Filter Patterns](#filter-patterns). Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Glue Troubleshooting](/ai-2-0/connectors/database/glue/troubleshooting) > > Learn more about how to troubleshoot common Glue connector issues and resolve configuration or ingestion errors. # AWS Glue Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/glue/troubleshooting Debug Glue connector issues involving IAM permissions, metadata fetch errors, or schema loading failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Greenplum Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/greenplum/hybrid-runner Connect Greenplum to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Greenplum](/public/images/connectors/greenplum.webp) # Greenplum BETA This section provides guides and references to use the Greenplum connector. Configure and schedule Greenplum metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-greenplum-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/greenplum/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user needs to have `SELECT` privileges on all schemas and tables within the Greenplum database. ### Profiler and Data Quality For profiler workflow and data quality tests, the user needs `SELECT` permission on the tables/schemas where the profiler/tests will be executed. ## Metadata Ingestion To ingest metadata from Greenplum, you need to create a service connection. The service connects Greenplum with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Greenplum** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/greenplum.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=6b8f24cff2f8c29f664cfec735828fd5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Greenplum services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/greenplum.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=7826d906ba078fcb9693b93ecc14b3a5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Greenplum. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/greenplum.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=95235de945dddc0cf79ca5b85daac769) * **Username**: Specify the user to connect to Greenplum. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud rds. * **Basic Auth**: * **Password**: Password to connect to Greenplum * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **Host and Port**: Enter the fully qualified hostname and port number for your Greenplum deployment in the Host and Port field. #### SSL Modes There are a couple of types of SSL modes that Greenplum supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified, and the server hostname must match the hostname attribute on the certificate. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, add the SSL config under `sslConfig`, which is placed in the source. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Greenplum Connection with SSL in Collate To establish secure connections between Collate and a Greenplum database, you can configure SSL using different SSL modes provided by Greenplum, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that Greenplum requires only the CA certificate for SSL validation. > [!TIP] > > **Tip**: For IAM authentication, choose the `allow` mode or another SSL mode that fits your requirements. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Greenplum Troubleshooting](/ai-2-0/connectors/database/greenplum/troubleshooting) > > Learn more about how to troubleshoot common Greenplum connector issues and resolve configuration or ingestion errors. # Greenplum Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/greenplum/index Connect Greenplum to Collate with our comprehensive database connector guide. Setup instructions, configuration details, and metadata extraction made simple. ![Greenplum](/public/images/connectors/greenplum.webp) # Greenplum BETA This section provides guides and references to use the Greenplum connector. Configure and schedule Greenplum metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-greenplum-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/greenplum/troubleshooting) ## Requirements ### Metadata To extract metadata, the user needs to have `SELECT` privileges on all schemas and tables within the Greenplum database. ### Profiler and Data Quality For profiler workflow and data quality tests, the user needs `SELECT` permission on the tables/schemas where the profiler/tests will be executed. ## Metadata Ingestion To ingest metadata from Greenplum, you need to create a service connection. The service connects Greenplum with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Greenplum** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/greenplum.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=6b8f24cff2f8c29f664cfec735828fd5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Greenplum services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/greenplum.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=7826d906ba078fcb9693b93ecc14b3a5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Greenplum. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/greenplum.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=95235de945dddc0cf79ca5b85daac769) * **Username**: Specify the user to connect to Greenplum. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud rds. * **Basic Auth**: * **Password**: Password to connect to Greenplum * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **Host and Port**: Enter the fully qualified hostname and port number for your Greenplum deployment in the Host and Port field. #### SSL Modes There are a couple of types of SSL modes that Greenplum supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified, and the server hostname must match the hostname attribute on the certificate. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, add the SSL config under `sslConfig`, which is placed in the source. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Greenplum Connection with SSL in Collate To establish secure connections between Collate and a Greenplum database, you can configure SSL using different SSL modes provided by Greenplum, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that Greenplum requires only the CA certificate for SSL validation. > [!TIP] > > **Tip**: For IAM authentication, choose the `allow` mode or another SSL mode that fits your requirements. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Greenplum Troubleshooting](/ai-2-0/connectors/database/greenplum/troubleshooting) > > Learn more about how to troubleshoot common Greenplum connector issues and resolve configuration or ingestion errors. # Greenplum Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/greenplum/troubleshooting Troubleshoot Greenplum connector issues related to table ingestion, schema parsing, or access errors. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Hive Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/hive/hybrid-runner Connect Apache Hive to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Hive](/public/images/connectors/hive.webp) # Hive PROD This section provides guides and references to use the Hive connector. Configure and schedule Hive metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-hive-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/hive/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user used in the connection needs to be able to perform `SELECT`, `SHOW`, and `DESCRIBE` operations in the database/schema where the metadata needs to be extracted from. ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Hive, you need to create a service connection. The service connects Hive with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Hive** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/hive.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=aa3b695b81a5bd3d4e37ac11426eb28e) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Hive services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/hive.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=30ff9e736a3695a99438b4462907ae35) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Hive. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/hive.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=67494863893296daed29b443996ffb15) * **Username**: Specify the user to connect to Hive. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Hive. * **Host and Port**: This parameter specifies the host and port of the Hive server instance. This should be specified as a string in the format `hostname:port`. For example, you might set the hostPort parameter to `myhivehost:10000`. * **Auth Options (Optional)**: The auth parameter specifies the authentication method to use when connecting to the Hive server. Possible values are `LDAP`, `NONE`, `CUSTOM`, or `KERBEROS`. If you are using Kerberos authentication, you should set auth to `KERBEROS`. If you are using custom authentication, you should set auth to `CUSTOM` and provide additional options in the `authOptions` parameter. * **Kerberos Service Name**: This parameter specifies the Kerberos service name to use for authentication. This should only be specified if using Kerberos authentication. The default value is `hive`. * **Database Schema**: Schema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single schema. When left blank, Collate ingestion attempts to scan all the schemas. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. #### For MySQL Metastore Connection You can also ingest the metadata using a MySQL metastore. This step is optional. If you don't provide metastore details, Collate queries the Hive server directly. * **Username**: Specify the user to connect to MySQL Metastore. It should have enough privileges to read all the metadata. * **Password**: Password to connect to MySQL. * **Host and Port**: Enter the fully qualified hostname and port number for your MySQL Metastore deployment in the Host and Port field in the format `hostname:port`. * **databaseSchema**: Enter the database schema which is associated with the metastore. #### For Postgres Metastore Connection You can also ingest the metadata using Postgres metastore. This step is optional. If you don't provide metastore details, Collate queries the Hive server directly. * **Username**: Specify the user to connect to Postgres Metastore. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Postgres. * **Host and Port**: Enter the fully qualified hostname and port number for your Postgres deployment in the Host and Port field in the format `hostname:port`. * **Database**: Initial Postgres database to connect to. Specify the name of database associated with metastore instance. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Hive Connection with SSL in Collate To configure SSL for secure connections between Collate and a Hive database, you need to add `ssl_cert` as a key and the path to the CA certificate as its value under `connectionArguments`. Ensure that the certificate is accessible by the server. If you use a Docker or Kubernetes deployment, update the CA certificate in the Collate server. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_argument.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=266bedcc81503fb7e0a54db8da996fed) ## Troubleshooting > [card] [Hive Troubleshooting](/ai-2-0/connectors/database/hive/troubleshooting) > > Learn more about how to troubleshoot common Hive connector issues and resolve configuration or ingestion errors. # Hive Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/hive/index Connect Apache Hive to Collate with our comprehensive database connector guide. Setup instructions, configuration options, and metadata extraction steps. ![Hive](/public/images/connectors/hive.webp) # Hive PROD This section provides guides and references to use the Hive connector. Configure and schedule Hive metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-hive-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/hive/troubleshooting) ## Requirements ### Metadata To extract metadata, the user used in the connection needs to be able to perform `SELECT`, `SHOW`, and `DESCRIBE` operations in the database/schema where the metadata needs to be extracted from. ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Hive, you need to create a service connection. The service connects Hive with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Hive** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/hive.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=aa3b695b81a5bd3d4e37ac11426eb28e) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Hive services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/hive.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=30ff9e736a3695a99438b4462907ae35) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Hive. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/hive.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=67494863893296daed29b443996ffb15) * **Username**: Specify the user to connect to Hive. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Hive. * **Host and Port**: This parameter specifies the host and port of the Hive server instance. This should be specified as a string in the format `hostname:port`. For example, you might set the hostPort parameter to `myhivehost:10000`. * **Auth Options (Optional)**: The auth parameter specifies the authentication method to use when connecting to the Hive server. Possible values are `LDAP`, `NONE`, `CUSTOM`, or `KERBEROS`. If you are using Kerberos authentication, you should set auth to `KERBEROS`. If you are using custom authentication, you should set auth to `CUSTOM` and provide additional options in the `authOptions` parameter. * **Kerberos Service Name**: This parameter specifies the Kerberos service name to use for authentication. This should only be specified if using Kerberos authentication. The default value is `hive`. * **Database Schema**: Schema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single schema. When left blank, Collate ingestion attempts to scan all the schemas. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. #### For MySQL Metastore Connection Optional: Use a MySQL metastore to ingest metadata. If no metastore connection is configured, Collate queries the Hive server directly. * **Username**: Specify the user to connect to MySQL Metastore. It should have enough privileges to read all the metadata. * **Password**: Password to connect to MySQL. * **Host and Port**: Enter the fully qualified hostname and port number for your MySQL Metastore deployment in the Host and Port field in the format `hostname:port`. * **databaseSchema**: Enter the database schema which is associated with the metastore. #### For Postgres Metastore Connection Optional: Use a Postgres metastore to ingest metadata. If no metastore connection is configured, Collate queries the Hive server directly. * **Username**: Enter the Postgres metastore username. This account must have privileges to read the metadata. * **Password**: Enter the password for the Postgres account. * **Host and Port**: Enter the Postgres hostname and port in the format `hostname:port`. * **Database**: Enter the name of the Postgres database associated with the metastore. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Hive Connection with SSL in Collate To configure SSL for secure connections between Collate and a Hive database, you need to add `ssl_cert` as a key and the path to the CA certificate as its value under `connectionArguments`. Ensure that the certificate is accessible by the server. If you use a Docker or Kubernetes deployment, update the CA certificate in the Collate server. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_argument.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=266bedcc81503fb7e0a54db8da996fed) ## Troubleshooting > [card] [Hive Troubleshooting](/ai-2-0/connectors/database/hive/troubleshooting) > > Learn more about how to troubleshoot common Hive connector issues and resolve configuration or ingestion errors. # Hive Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/hive/troubleshooting Resolve Hive ingestion issues like metastore connection failures, schema fetch errors, or unsupported data types. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the Hive connector. ## Connection Timeout You might be getting `thrift.transport.TTransport.TTransportException: TSocket read 0 bytes`. Make sure that if there is a Load Balancer in between Collate and Hive, the LB timeout is not impacting the ingestion. For example, when extracting data with a lot of partitions the `DESCRIBE` command might take more than 60 seconds, so a Load Balancer with `Idle Timeout` at 60 seconds would kill the connection. # Apache Iceberg Source: https://docs.getcollate.io/ai-2-0/connectors/database/iceberg How Collate surfaces Apache Iceberg tables through supported database connectors and identifies Iceberg-backed tables when connector metadata supports it. # Apache Iceberg Support in Collate [Apache Iceberg](https://iceberg.apache.org/) is an open table format that makes it easier to store and query large amounts of data in a data lake. If you're running analytics at any meaningful scale, Iceberg is likely somewhere in your stack, whether you set it up intentionally or inherited it through a platform like Snowflake or Databricks. Collate's approach to Iceberg is worth explaining because the design decision isn't intuitive at first glance: Collate doesn't require a separate Iceberg ingestion workflow for the support described here. Instead, Iceberg tables are surfaced through the supported database connectors you're already using. [Apache Iceberg Support in Collate](https://www.youtube.com/embed/aMCpmmywEGs) ## Background: Early Iceberg Catalog Support In the early days of Iceberg adoption, teams needed special tools just to read Iceberg tables. Here's how the story evolved: * **Early access via query engines**: Tools like [Trino](https://trino.io/) were among the first to let teams query Iceberg data without working directly with the raw files. * **Cloud catalogs joined in**: [AWS Glue](https://aws.amazon.com/glue/) became a popular way to manage Iceberg tables for teams on AWS. * **A standard emerged**: The [Iceberg REST Catalog API](https://iceberg.apache.org/rest-catalog-spec/) became the common way for engines to connect to Iceberg. Platforms like [Athena](https://docs.aws.amazon.com/athena/), [Snowflake](https://www.snowflake.com/en/), and [BigQuery](https://cloud.google.com/bigquery) all added their own support. Collate's first Iceberg integration followed this same early pattern. It connected directly to Iceberg catalogs to pull in metadata. That approach worked initially, but metadata-only catalog ingestion was not enough for workflows that need a live engine connection, such as profiling or data quality tests. ## The Design Shift: Use Your Connector, Not the Format Most teams access Iceberg through a query engine or catalog service, such as Snowflake, Trino, Databricks, Athena, ClickHouse, Doris, StarRocks, or Glue. Those systems handle the complexity of reading Iceberg tables for you. Those systems already know how to: * Connect to your Iceberg catalog * Read table and column details * Filter and scan data efficiently So instead of building a separate ingestion path for every Iceberg catalog format, Collate surfaces Iceberg tables through the same connectors you're already using. After ingestion, available workflows follow the connector's existing feature support. Depending on the connector, those workflows can include metadata, profiling, data quality, lineage, and usage. ## Support Matrix The connectors below can surface Iceberg-backed tables through their normal metadata workflows. Connectors marked ✅ under **Assigned `Iceberg` table type** automatically assign the `Iceberg` table type in the catalog. For connectors marked **Not yet supported**, Collate can ingest the table through the connector but doesn't automatically label it as `Iceberg`. | Connector | Iceberg tables ingested | Assigned `Iceberg` table type | | - | - | - | | [Snowflake](/ai-2-0/connectors/database/snowflake) | ✅ | ✅ | | [Trino](/ai-2-0/connectors/database/trino) | ✅ | ✅ | | [BigQuery](/ai-2-0/connectors/database/bigquery) | ✅ | ✅ | | [Athena](/ai-2-0/connectors/database/athena) | ✅ | ✅ | | [Glue](/ai-2-0/connectors/database/glue) | ✅ | ✅ | | [Presto](/ai-2-0/connectors/database/presto) | ✅ | ✅ | | [StarRocks](/ai-2-0/connectors/database/starrocks) | ✅ | ✅ | | [Doris](/ai-2-0/connectors/database/doris) | ✅ | ✅ | | [Databricks](/ai-2-0/connectors/database/databricks) | ✅ | Not yet supported | | [ClickHouse](/ai-2-0/connectors/database/clickhouse) | ✅ | Not yet supported | | [Dremio](/ai-2-0/connectors/database/dremio) | ✅ | Not yet supported | For Trino, leave the **Catalog** field blank to ingest every catalog on the service, including the ones backed by Iceberg. For more information, see [Trino](/ai-2-0/connectors/database/trino). ## What You See After Ingestion Once your connector is set up and ingestion has run, Iceberg-backed tables appear in the Collate Explore page alongside your other data assets. For connectors that support automatic table-type assignment, Collate labels those tables with the `Iceberg` table type. For connectors where table-type assignment is not yet supported, validate the table type in your source system. From there, each connector's supported workflows work the same way they do for any other table. Depending on the connector, those workflows can include: * **Data observability**: Monitor freshness and detect anomalies * **Data profiling**: Understand the shape and distribution of your data * **Data quality tests**: Run checks directly against live Iceberg data * **Lineage tracking**: See how data flows across schemas and downstream assets * **Usage statistics**: Understand how tables are being queried ## What This Means in Practice If you already have Iceberg tables in your environment and you're using one of the connectors in the support matrix, start with that existing connector: 1. Connect your query engine or catalog service using the standard connector setup. 2. Run metadata ingestion. 3. Review the ingested tables in Explore. 4. Check whether your connector supports automatic `Iceberg` table-type assignment. For day-to-day discovery and governance, the underlying storage format becomes part of the table metadata instead of a separate workflow. ## Next Steps * [Choose a supported connector](/ai-2-0/connectors/database/iceberg#support-matrix) to start ingesting Iceberg tables * [Set up data quality tests](/ai-2-0/how-to-guides/data-quality-observability/quality) on your Iceberg-backed tables * [Configure lineage workflows](/ai-2-0/how-to-guides/data-lineage/workflow) across your data lake # Impala Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/impala/hybrid-runner Connect Apache Impala to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Impala](/public/images/connectors/impala.webp) # Impala PROD This section provides guides and references to use the Impala connector. Configure and schedule Impala metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-impala-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/impala/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user needs to have privileges to perform `SELECT`, `SHOW`, and `DESCRIBE` operations on the databases and tables. ### Profiler and Data Quality For profiler workflow and data quality tests, the user needs `SELECT` permission on the tables/schemas where the profiler/tests will be executed. ## Metadata Ingestion To ingest metadata from Impala, you need to create a service connection. The service connects Impala with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Impala** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/impala.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=f0122e3e9c4cc7c3f4f49b225109a32d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Impala services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/impala.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=823644f40ecd64fef99f972ae997477c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Impala. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/impala.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=7d05f836f97b97ca5d23dcb45abf90c1) * **username**: Specify the user to connect to Impala. It should have enough privileges to read all the metadata. * **password**: Password to connect to Impala. * **hostPort**: Enter the fully qualified hostname and port number for your Impala deployment in the Host and Port field. * **authMechanism**: This parameter specifies the authentication method to use when connecting to the Impala server. Possible values are `NOSASL`, `PLAIN`, `GSSAPI`, `LDAP`, `JWT`. If you are using Kerberos authentication, you should set auth to `GSSAPI`. * **kerberosServiceName**: This parameter specifies the Kerberos service name to use for authentication. This should only be specified if using Kerberos authentication. * **databaseSchema**: Schema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single schema. When left blank, Collate ingestion attempts to scan all the schemas. * **databaseName**: In Collate, the Database Service hierarchy works as follows: `Database Service > Database > Schema > Table`. Impala has no database level as such. If you'd like to see your data in a database named something other than `default`, you can specify the name in this field. * **useSSL**: Establish secure connection with Impala. Enables SSL for the connector. * **authOptions**: Enter the auth options string for impala connection. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Impala Connection with SSL in Collate To configure SSL for secure connections between Collate and an Impala database, add the key `use_ssl` with a value of `true` to the `connectionArguments` to enable SSL. Additionally, include the key `ca_cert` with the path to the CA certificate file as its value. Ensure that the certificate file is accessible by the server, and if deploying via Docker or Kubernetes, update the CA certificate in the Collate server to reflect these changes. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_Impala.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=cf56fdfa0b1592a7da4a9d59bc095ae8) ## Troubleshooting > [card] [Impala Troubleshooting](/ai-2-0/connectors/database/impala/troubleshooting) > > Learn more about how to troubleshoot common Impala connector issues and resolve configuration or ingestion errors. # Impala Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/impala/index Connect Apache Impala to Collate seamlessly. Complete setup guide, configuration steps, and troubleshooting for database metadata integration. ![Impala](/public/images/connectors/impala.webp) # Impala PROD This section provides guides and references to use the Impala connector. Configure and schedule Impala metadata and profiler workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-impala-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/impala/troubleshooting) ## Requirements ### Metadata To extract metadata, the user needs to have privileges to perform `SELECT`, `SHOW`, and `DESCRIBE` operations on the databases and tables. ### Profiler and Data Quality For profiler workflow and data quality tests, the user needs `SELECT` permission on the tables/schemas where the profiler/tests will be executed. ## Metadata Ingestion To ingest metadata from Impala, you need to create a service connection. The service connects Impala with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Impala** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/impala.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=f0122e3e9c4cc7c3f4f49b225109a32d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Impala services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/impala.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=823644f40ecd64fef99f972ae997477c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Impala. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/impala.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=7d05f836f97b97ca5d23dcb45abf90c1) * **username**: Specify the user to connect to Impala. It should have enough privileges to read all the metadata. * **password**: Password to connect to Impala. * **hostPort**: Enter the fully qualified hostname and port number for your Impala deployment in the Host and Port field. * **authMechanism**: This parameter specifies the authentication method to use when connecting to the Impala server. Possible values are `NOSASL`, `PLAIN`, `GSSAPI`, `LDAP`, `JWT`. If you are using Kerberos authentication, you should set auth to `GSSAPI`. * **kerberosServiceName**: This parameter specifies the Kerberos service name to use for authentication. This should only be specified if using Kerberos authentication. * **databaseSchema**: Schema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single schema. When left blank, Collate ingestion attempts to scan all the schemas. * **databaseName**: In Collate, the Database Service hierarchy works as follows: `Database Service > Database > Schema > Table`. In the case of Impala, we won't have a Database as such. If you'd like to see your data in a database named something other than `default`, you can specify the name in this field. * **useSSL**: Establish secure connection with Impala. Enables SSL for the connector. * **authOptions**: Enter the auth options string for impala connection. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Impala Connection with SSL in Collate To configure SSL for secure connections between Collate and an Impala database, add the key `use_ssl` with a value of `true` to the `connectionArguments` to enable SSL. Additionally, include the key `ca_cert` with the path to the CA certificate file as its value. Ensure that the certificate file is accessible by the server, and if deploying via Docker or Kubernetes, update the CA certificate in the Collate server to reflect these changes. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_Impala.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=cf56fdfa0b1592a7da4a9d59bc095ae8) ## Troubleshooting > [card] [Impala Troubleshooting](/ai-2-0/connectors/database/impala/troubleshooting) > > Learn more about how to troubleshoot common Impala connector issues and resolve configuration or ingestion errors. # Impala Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/impala/troubleshooting Troubleshoot Impala connector for ingestion failures, type mismatches, and driver issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the Impala connector. ## Connection Timeout You might be getting `thrift.transport.TTransport.TTransportException: TSocket read 0 bytes`. Make sure that if there is a Load Balancer in between Collate and Impala, the LB timeout is not impacting the ingestion. For example, when extracting data with a lot of partitions the `DESCRIBE` command might take more than 60 seconds, so a Load Balancer with `Idle Timeout` at 60 seconds would kill the connection. # IBM Informix Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/informix/hybrid-runner Connect IBM Informix database to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Informix](/public/images/connectors/informix.webp) # Informix BETA This section provides guides and references to use the IBM Informix connector. Configure and schedule Informix metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Enable Security](#securing-informix-connection-with-ssl-in-collate) * [Data Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/informix/troubleshooting) > [!NOTE] > > **Note**: This connector is available exclusively in **Collate**. ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user used in the connection needs to have access to the Informix system catalogs. By default, a user can see only the rows in the system catalogs that correspond to objects for which the user has the proper access privileges. ```SQL theme={null} -- Grant SELECT on system catalog tables GRANT SELECT ON systables TO ''; GRANT SELECT ON syscolumns TO ''; GRANT SELECT ON sysviews TO ''; -- Grant SELECT on stored procedures catalog GRANT SELECT ON sysprocedures TO ''; ``` ### Lineage and Usage To extract lineage and usage, you need to enable SQL tracing in Informix and the user used in the connection needs to have SELECT access to the `sysmaster:syssqltrace` table. ```sql theme={null} -- Enable SQL tracing (run as DBA) -- Level 2 is recommended: captures DDL and DML statements ONMODE -Y 2 -- Grant SELECT on SQL trace table GRANT SELECT ON sysmaster:syssqltrace TO ''; ``` **SQLTRACE Levels**: * `0` — Disabled (no query capture) * `1` — Captures queries exceeding a threshold * `2` — Captures all DDL and DML statements (recommended for lineage) * `3` — Full trace including all queries **Note**: Enabling SQL tracing at level 2 or 3 may increase disk I/O. Monitor your `syssqltrace` table size and periodically flush old entries using `ONMODE -Y 0` to disable, truncate, then re-enable. You can check the current SQLTRACE status by running: ```sql theme={null} SELECT * FROM sysmaster:syssqltrace LIMIT 1; ``` **Best Practices**: * Use SQLTRACE level 2 for a balance of coverage and performance * Periodically flush the `syssqltrace` table after successful lineage/usage extraction * Keep SQLTRACE enabled only as long as needed if performance impact is a concern ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Informix, you need to create a service connection. The service connects Informix with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Informix** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/informix.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=1e379385328d753abb52860c4e506f8e) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Informix services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/informix.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=fdde2f88fa42a7894e74c1219e0560b9) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Informix. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/informix.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bd478652e0b254677fd9a63879121650) * **Username**: Specify the user to connect to Informix. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Informix. * **Host and Port**: Enter the fully qualified hostname and port number for your Informix deployment in the Host and Port field. For example: `localhost:9088`. If you are running ingestion inside Docker and your Informix instance is on the host machine, use `host.docker.internal:9088`. * **Database**: The name of the Informix database to connect to. This is a required field. * **Server Name**: The Informix server name as defined in the `sqlhosts` file or the `INFORMIXSERVER` environment variable. This identifies the specific Informix server instance to connect to. For example: `informix`. * **Ingest All Databases**: Enable this toggle to ingest metadata from all databases on the Informix server. When disabled (default), only the database specified above will be ingested. You can use `databaseFilterPattern` on top of this setting to further filter databases. * **SSL Mode**: Choose the SSL mode for the connection: * `disable` — No SSL encryption; the connection is unencrypted (default). * `allow` — Uses SSL if the server requires it, otherwise connects without SSL. * `prefer` — Prefers SSL but falls back to unencrypted if the server does not support it. * `require` — Enforces SSL encryption but does not verify the server certificate. * `verify-ca` — Enforces SSL and validates the server certificate against the provided CA certificate. * `verify-full` — Enforces SSL, validates the server certificate, and verifies the hostname. * **SSL Configuration**: SSL configuration details. Provide the CA certificate to validate the Informix server certificate. You can paste the PEM content directly or upload the certificate file. This is required when **SSL Mode** is set to `verify-ca` or `verify-full`. * **CA Certificate**: The CA certificate used for SSL validation. * **SSL Certificate**: The SSL certificate used for client authentication (for mutual TLS). * **SSL Key**: The private key associated with the SSL certificate (for mutual TLS). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Informix Connection with SSL in Collate To establish secure connections between Collate and Informix, first set the **SSL Mode** in the connection form, then navigate to the `SSL Configuration` section. The SSL mode controls how the connection is encrypted and whether certificates are verified: * For **`require`** mode: SSL encryption is enforced but the server certificate is not validated. No certificate configuration is needed. * For **`verify-ca`** mode: SSL encryption is enforced and the server certificate is validated against the provided CA certificate. Provide the `caCertificate` in the SSL Configuration section. * For mutual TLS (client and server authentication): Provide all three parameters — `caCertificate` (CA certificate to validate the server), `sslCertificate` (client SSL certificate), and `sslKey` (private key for the client certificate). ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Informix Troubleshooting](/ai-2-0/connectors/database/informix/troubleshooting) > > Learn more about how to troubleshoot common Informix connector issues and resolve configuration or ingestion errors. # IBM Informix Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/informix/index Set up IBM Informix database connector for Collate to automatically discover, catalog, and manage your Informix metadata. Step-by-step configuration guide. ![Informix](/public/images/connectors/informix.webp) # Informix BETA This section provides guides and references to use the IBM Informix connector. Configure and schedule Informix metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Enable Security](#securing-informix-connection-with-ssl-in-collate) * [Data Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/informix/troubleshooting) > [!NOTE] > > **Note**: This connector is available exclusively in **Collate**. ## Requirements ### Metadata To extract metadata, the user used in the connection needs to have access to the Informix system catalogs. By default, a user can see only the rows in the system catalogs that correspond to objects for which the user has the proper access privileges. ```SQL theme={null} -- Grant SELECT on system catalog tables GRANT SELECT ON systables TO ''; GRANT SELECT ON syscolumns TO ''; GRANT SELECT ON sysviews TO ''; -- Grant SELECT on stored procedures catalog GRANT SELECT ON sysprocedures TO ''; ``` ### Lineage and Usage To extract lineage and usage, you need to enable SQL tracing in Informix and the user used in the connection needs to have SELECT access to the `sysmaster:syssqltrace` table. ```sql theme={null} -- Enable SQL tracing (run as DBA) -- Level 2 is recommended: captures DDL and DML statements ONMODE -Y 2 -- Grant SELECT on SQL trace table GRANT SELECT ON sysmaster:syssqltrace TO ''; ``` **SQLTRACE Levels**: * `0` — Disabled (no query capture) * `1` — Captures queries exceeding a threshold * `2` — Captures all DDL and DML statements (recommended for lineage) * `3` — Full trace including all queries **Note**: Enabling SQL tracing at level 2 or 3 may increase disk I/O. Monitor your `syssqltrace` table size and periodically flush old entries using `ONMODE -Y 0` to disable, truncate, then re-enable. You can check the current SQLTRACE status by running: ```sql theme={null} SELECT * FROM sysmaster:syssqltrace LIMIT 1; ``` **Best Practices**: * Use SQLTRACE level 2 for a balance of coverage and performance * Periodically flush the `syssqltrace` table after successful lineage/usage extraction * Keep SQLTRACE enabled only as long as needed if performance impact is a concern ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Informix, you need to create a service connection. The service connects Informix with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Informix** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/informix.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=1e379385328d753abb52860c4e506f8e) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Informix services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/informix.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=fdde2f88fa42a7894e74c1219e0560b9) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Informix. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/informix.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bd478652e0b254677fd9a63879121650) * **Username**: Specify the user to connect to Informix. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Informix. * **Host and Port**: Enter the fully qualified hostname and port number for your Informix deployment in the Host and Port field. For example: `localhost:9088`. If you are running ingestion inside Docker and your Informix instance is on the host machine, use `host.docker.internal:9088`. * **Database**: The name of the Informix database to connect to. This is a required field. * **Server Name**: The Informix server name as defined in the `sqlhosts` file or the `INFORMIXSERVER` environment variable. This identifies the specific Informix server instance to connect to. For example: `informix`. * **Ingest All Databases**: Enable this toggle to ingest metadata from all databases on the Informix server. When disabled (default), only the database specified above will be ingested. You can use `databaseFilterPattern` on top of this setting to further filter databases. * **SSL Mode**: Choose the SSL mode for the connection: * `disable` — No SSL encryption; the connection is unencrypted (default). * `allow` — Uses SSL if the server requires it, otherwise connects without SSL. * `prefer` — Prefers SSL but falls back to unencrypted if the server does not support it. * `require` — Enforces SSL encryption but does not verify the server certificate. * `verify-ca` — Enforces SSL and validates the server certificate against the provided CA certificate. * `verify-full` — Enforces SSL, validates the server certificate, and verifies the hostname. * **SSL Configuration**: SSL configuration details. Provide the CA certificate to validate the Informix server certificate. You can paste the PEM content directly or upload the certificate file. This is required when **SSL Mode** is set to `verify-ca` or `verify-full`. * **CA Certificate**: The CA certificate used for SSL validation. * **SSL Certificate**: The SSL certificate used for client authentication (for mutual TLS). * **SSL Key**: The private key associated with the SSL certificate (for mutual TLS). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Informix Connection with SSL in Collate To establish secure connections between Collate and Informix, first set the **SSL Mode** in the connection form, then navigate to the `SSL Configuration` section. The SSL mode controls how the connection is encrypted and whether certificates are verified: * For **`require`** mode: SSL encryption is enforced but the server certificate is not validated. No certificate configuration is needed. * For **`verify-ca`** mode: SSL encryption is enforced and the server certificate is validated against the provided CA certificate. Provide the `caCertificate` in the SSL Configuration section. * For mutual TLS (client and server authentication): Provide all three parameters — `caCertificate` (CA certificate to validate the server), `sslCertificate` (client SSL certificate), and `sslKey` (private key for the client certificate). ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Informix Troubleshooting](/ai-2-0/connectors/database/informix/troubleshooting) > > Learn more about how to troubleshoot common Informix connector issues and resolve configuration or ingestion errors. # IBM Informix Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/informix/troubleshooting Fix Informix connector issues fast with Collate's troubleshooting guide. Get solutions for common problems, error codes, and connection failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Connection Failed If you encounter connection errors when connecting to Informix: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]Connection could not be established ``` This indicates that Collate cannot reach the Informix server or the connection parameters are incorrect. ### Resolution 1. **Verify Host and Port**: Ensure the hostname and port are correct (e.g., `localhost:9088`). 2. **Check Server Name**: Verify that the Server Name matches the value in your `sqlhosts` file or `INFORMIXSERVER` environment variable. 3. **Network Access**: Ensure the system running the ingestion can reach the Informix server on the specified port. 4. **Firewall Rules**: Check that the Informix port (typically 9088) is not blocked by firewalls. 5. **Server Status**: Verify that the Informix server is running using `onstat -` command. ## Authentication Failed If you encounter authentication errors: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]Incorrect password or user is not known on the database server ``` This indicates the username or password is incorrect, or the user doesn't exist. ### Resolution 1. **Verify Credentials**: Double-check that the username and password are correct. 2. **User Exists**: Confirm the user exists in the Informix database: ```sql theme={null} SELECT username FROM sysusers WHERE username = ''; ``` 3. **Password Reset**: If needed, reset the password using: ```sql theme={null} ALTER USER '' WITH PASSWORD ''; ``` ## Permission Denied on System Catalogs If you encounter permission errors when extracting metadata: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]No SELECT permission on systables ``` This indicates the user doesn't have the required permissions on system catalog tables. ### Resolution Grant the necessary permissions on system catalogs: ```sql theme={null} -- Grant SELECT on system catalog tables GRANT SELECT ON systables TO ''; GRANT SELECT ON syscolumns TO ''; GRANT SELECT ON sysviews TO ''; GRANT SELECT ON sysprocedures TO ''; ``` ## Database Does Not Exist If the specified database cannot be found: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]Database '' not found ``` This indicates the database name is incorrect or the database doesn't exist. ### Resolution 1. **Verify Database Name**: Check that the database name is spelled correctly and exists: ```sql theme={null} SELECT name FROM sysdatabases; ``` 2. **Database Access**: Ensure the user has access to the database: ```sql theme={null} GRANT CONNECT TO '' ON ''; ``` ## SSL Connection Failed If you encounter SSL connection errors: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]SSL connection failed ``` This indicates SSL is enabled but the configuration is incorrect. ### Resolution 1. **Verify SSL Mode**: Ensure the SSL Mode is set correctly (`require`, `verify-ca`, or `verify-full`). 2. **Check CA Certificate**: For `verify-ca` or `verify-full` modes, ensure the CA certificate is correctly provided. 3. **Server SSL Configuration**: Verify that the Informix server is configured for SSL connections. 4. **Certificate Format**: Ensure certificates are in PEM format. ## SQLTRACE Access Denied If you encounter errors when extracting lineage or usage: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]No SELECT permission on sysmaster:syssqltrace ``` This indicates the user doesn't have permission to access the SQL trace table. ### Resolution 1. **Grant Permission**: Grant SELECT on the SQL trace table: ```sql theme={null} GRANT SELECT ON sysmaster:syssqltrace TO ''; ``` 2. **Enable SQL Tracing**: Ensure SQL tracing is enabled (run as DBA): ```sql theme={null} ONMODE -Y 2 ``` 3. **Verify Trace Status**: Check that SQL tracing is active: ```sql theme={null} SELECT * FROM sysmaster:syssqltrace LIMIT 1; ``` ## SQLTRACE Table Too Large If the `syssqltrace` table grows too large and impacts performance: ```yaml theme={null} Warning: syssqltrace table has exceeded recommended size ``` ### Resolution 1. **Flush Old Entries**: Periodically truncate the SQL trace table after successful ingestion: ```sql theme={null} -- Disable SQL tracing ONMODE -Y 0 -- Truncate will happen automatically when tracing is re-enabled -- Re-enable SQL tracing ONMODE -Y 2 ``` 2. **Lower Trace Level**: Consider using SQLTRACE level 1 instead of 2 if full coverage isn't required. 3. **Schedule Regular Cleanup**: Set up a scheduled task to flush the trace table periodically. ## Connection Timeout If you encounter timeout errors: ```yaml theme={null} Error: [Informix][Informix ODBC Driver]Connection timeout ``` This indicates the connection to Informix took too long to establish. ### Resolution 1. **Check Network Latency**: Verify network connectivity between the ingestion system and Informix server. 2. **Server Load**: Check if the Informix server is under heavy load using `onstat -g act`. 3. **Increase Timeout**: If using a slow network, consider increasing connection timeout settings. 4. **Server Resources**: Ensure the Informix server has adequate resources (CPU, memory, disk I/O). ## No Tables Found If the ingestion completes but no tables are found: ```yaml theme={null} Warning: No tables found in database ``` This may occur if the database is empty or all tables are filtered out. ### Resolution 1. **Verify Database Contents**: Confirm the database contains tables: ```sql theme={null} SELECT tabname FROM systables WHERE tabtype = 'T'; ``` 2. **Check Table Filters**: Review the Table Filter Pattern to ensure it's not excluding all tables. 3. **User Permissions**: Verify the user has SELECT access to the tables you want to ingest. # IOMETE Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/iomete/hybrid-runner Connect IOMETE to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![IOMETE](/public/images/connectors/iomete.webp) # IOMETE BETA This section provides guides and references to use the IOMETE connector. Configure and schedule IOMETE metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/iomete/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The IOMETE user must have access to the lakehouse cluster and sufficient privileges to read metadata. ## Metadata Ingestion To ingest metadata from IOMETE, you need to create a service connection. The service connects IOMETE with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **IOMETE** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/iomete.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=08c9d92ce0589e3a2a6125426639516d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other IOMETE services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/iomete.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=c2627d9d8625b22cbdfd6f87110aba47) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for IOMETE. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/iomete.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=e29807dd24e9cf880e2c92796a6710bb) **Connection** * **Host and Port**: Host and port of the IOMETE service, for example `dev.iomete.cloud:443`. * **Username**: Username to connect to IOMETE. * **Cluster**: IOMETE lakehouse cluster name to connect to. * **Data Plane**: IOMETE data plane name. ##### Authentication * **Password**: Password to connect to IOMETE. ##### Scope and Options * **Catalog**: Catalog of the data source (for example, `spark_catalog`). This is an optional parameter. If left blank, Collate uses the default catalog. * **Database Schema**: IOMETE database to restrict metadata ingestion to (for example, `default`, `finance_db`). This is an optional parameter. If left blank, Collate attempts to scan all databases in the catalog. **Advanced Config** *(driver-level options that most connections don't need)* * **Storage Config for Sample Data**: Configure where Collate stores sample data rows collected during profiling. Defaults to **No Sample Data Storage Config**. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [IOMETE Troubleshooting](/ai-2-0/connectors/database/iomete/troubleshooting) > > Learn more about how to troubleshoot common IOMETE connector issues and resolve configuration or ingestion errors. # IOMETE Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/iomete/index Connect IOMETE to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![IOMETE](/public/images/connectors/iomete.webp) # IOMETE BETA This section provides guides and references to use the IOMETE connector. Configure and schedule IOMETE metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/iomete/troubleshooting) ## Requirements The IOMETE user must have access to the lakehouse cluster and sufficient privileges to read metadata. ## Metadata Ingestion To ingest metadata from IOMETE, you need to create a service connection. The service connects IOMETE with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **IOMETE** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/iomete.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=08c9d92ce0589e3a2a6125426639516d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other IOMETE services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/iomete.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=c2627d9d8625b22cbdfd6f87110aba47) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for IOMETE. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/iomete.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=e29807dd24e9cf880e2c92796a6710bb) **Connection** * **Host and Port**: Host and port of the IOMETE service, for example `dev.iomete.cloud:443`. * **Username**: Username to connect to IOMETE. * **Cluster**: IOMETE lakehouse cluster name to connect to. * **Data Plane**: IOMETE data plane name. ##### Authentication * **Password**: Password to connect to IOMETE. ##### Scope and Options * **Catalog**: Catalog of the data source (for example, `spark_catalog`). This is an optional parameter. If left blank, Collate uses the default catalog. * **Database Schema**: IOMETE database to restrict metadata ingestion to (for example, `default`, `finance_db`). This is an optional parameter. If left blank, Collate attempts to scan all databases in the catalog. **Advanced Config** *(driver-level options that most connections don't need)* * **Storage Config for Sample Data**: Configure where Collate stores sample data rows collected during profiling. Defaults to **No Sample Data Storage Config**. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [IOMETE Troubleshooting](/ai-2-0/connectors/database/iomete/troubleshooting) > > Learn more about how to troubleshoot common IOMETE connector issues and resolve configuration or ingestion errors. # IOMETE Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/iomete/troubleshooting Troubleshoot IOMETE connector ingestion problems like schema drift or metadata gaps. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # MariaDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/mariadb/hybrid-runner Connect MariaDB to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![MariaDB](/public/images/connectors/mariadb.webp) # MariaDB PROD This section provides guides and references to use the MariaDB connector. Configure and schedule MariaDB metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/mariadb/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata the user used in the connection needs to have access to the `INFORMATION_SCHEMA`. By default a user can see only the rows in the `INFORMATION_SCHEMA` that correspond to objects for which the user has the proper access privileges. ```SQL theme={null} -- Create user. More details https://mariadb.com/kb/en/create-user/ CREATE USER [@] IDENTIFIED BY ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a specific object GRANT SELECT ON world.hello TO ''; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from MariaDB, you need to create a service connection. The service connects MariaDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MariaDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mariadb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a7efb49958098722227c3de9ddc5cbcc) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MariaDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mariadb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=29219079a47216bb4863efa22169d5f9) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MariaDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mariadb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=cd99fcab385f630df6e591ee0982631b) * **Username**: Specify the user to connect to MariaDB. It should have enough privileges to read all the metadata. * **Password**: Password to connect to MariaDB. * **Host and Port**: Enter the fully qualified hostname and port number for your MariaDB deployment in the Host and Port field. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MariaDB Troubleshooting](/ai-2-0/connectors/database/mariadb/troubleshooting) > > Learn more about how to troubleshoot common MariaDB connector issues and resolve configuration or ingestion errors. # MariaDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/mariadb/index Connect MariaDB to Collate with our comprehensive database connector guide. Easy setup, configuration steps, and metadata extraction for your data catalog. ![MariaDB](/public/images/connectors/mariadb.webp) # MariaDB PROD This section provides guides and references to use the MariaDB connector. Configure and schedule MariaDB metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/mariadb/troubleshooting) ## Requirements ### Metadata To extract metadata the user used in the connection needs to have access to the `INFORMATION_SCHEMA`. By default a user can see only the rows in the `INFORMATION_SCHEMA` that correspond to objects for which the user has the proper access privileges. ```SQL theme={null} -- Create user. More details https://mariadb.com/kb/en/create-user/ CREATE USER [@] IDENTIFIED BY ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a specific object GRANT SELECT ON world.hello TO ''; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from MariaDB, you need to create a service connection. The service connects MariaDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MariaDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mariadb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a7efb49958098722227c3de9ddc5cbcc) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MariaDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mariadb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=29219079a47216bb4863efa22169d5f9) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MariaDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mariadb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=cd99fcab385f630df6e591ee0982631b) * **Username**: Specify the user to connect to MariaDB. It should have enough privileges to read all the metadata. * **Password**: Password to connect to MariaDB. * **Host and Port**: Enter the fully qualified hostname and port number for your MariaDB deployment in the Host and Port field. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MariaDB Troubleshooting](/ai-2-0/connectors/database/mariadb/troubleshooting) > > Learn more about how to troubleshoot common MariaDB connector issues and resolve configuration or ingestion errors. # MariaDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/mariadb/troubleshooting Resolve MariaDB connector issues including schema drift, access denial, or ingestion configuration errors. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Microsoft Access Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/microsoftaccess/hybrid-runner Connect Microsoft Access database to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Microsoft Access](/public/images/connectors/microsoftaccess.svg) # Microsoft Access BETA This section provides guides and references to use the Microsoft Access connector. Configure and schedule Microsoft Access metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/microsoftaccess/troubleshooting) > [!NOTE] > > **Note**: This connector is available exclusively in **Collate**. ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). **Runtime dependency**: `mdbtools` must be installed on the ingestion host. The connector verifies this at startup by running `mdb-tables --version`. This applies to both Local File Path and S3 connections, as S3 files are downloaded and parsed locally. ### Metadata The Microsoft Access connector reads metadata directly from `.accdb` or `.mdb` database files. No server or database user privileges are required. Ensure the following based on your connection type: **Local File Path**: * The ingestion process must have **read access** to the `.accdb` or `.mdb` file on the filesystem. * If pointing to a directory, all `.accdb` and `.mdb` files found recursively will be ingested. **S3 Bucket**: * The AWS credentials used must have `s3:GetObject` and `s3:ListBucket` permissions on the target bucket. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ### Lineage Microsoft Access supports view-based lineage only. Lineage is extracted from the query definitions of saved views (queries) stored in the `.accdb` or `.mdb` file. No additional server-side configuration is required. ## Metadata Ingestion To ingest metadata from Microsoft Access, you need to create a service connection. The service connects Microsoft Access with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Microsoft Access** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/microsoftaccess.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=9d9bb45d798fad8f1bd4d9c9cacb2899) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Microsoft Access services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/microsoftaccess.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=5e92a433c27dc3d9016b31fcf55e794c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Microsoft Access. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/microsoftaccess.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=24df1474219c03e3a7e114205b03aad1) * **Connection**: Choose the source location for your Access database files. Two options are supported: * **Local File Path**: Provide the absolute path to a single `.accdb` or `.mdb` file, or a directory containing Access database files. Supports `~` expansion (for example, `~/data/sales.accdb`). When pointing to a directory, all `.accdb` and `.mdb` files found recursively will be ingested as separate databases. * **S3 Connection**: Connect to Access database files stored in an Amazon S3 bucket (or S3-compatible storage such as MinIO). Configure the following fields: * **AWS Access Key ID and AWS Secret Access Key**: AWS security credentials to authenticate requests. Access keys consist of two parts: an access key ID (for example, `AKIAIOSFODNN7EXAMPLE`) and a secret access key. You must use both together to authenticate. For more information, see [Manage AWS Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: The AWS region where your S3 bucket is located (for example, `us-east-1`). This is the only required parameter when configuring an S3 connection. For more information, see [Configure AWS Credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: Required when using temporary credentials. Find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: Use a custom endpoint for S3-compatible storage services (for example, `http://localhost:9000` for MinIO). Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name (optional)**: A named AWS CLI profile to use instead of `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role ARN (optional)**: The ARN of an IAM role to assume for cross-account access. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. * **Assume Role Session Name (optional)**: An identifier for the assumed role session. Defaults to `CollateSession`. * **Assume Role Source Identity (optional)**: The source identity for the `AssumeRole` operation, used for auditing in AWS CloudTrail. * **Bucket Names**: The S3 bucket name containing the Access database files to ingest. Only the first bucket in the list is used per pipeline run. * **Table Filter Pattern (optional)**: Regex pattern to include or exclude specific tables during ingestion. When left blank, all tables are ingested. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > awsSecretAccessKey: secret:/my/aws/secret > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Microsoft Access Troubleshooting](/ai-2-0/connectors/database/microsoftaccess/troubleshooting) > > Learn more about how to troubleshoot common Microsoft Access connector issues and resolve configuration or ingestion errors. # Microsoft Access Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/microsoftaccess/index Set up Microsoft Access database connector for Collate to automatically discover, catalog, and manage your Access metadata. Step-by-step configuration guide. ![Microsoft Access](/public/images/connectors/microsoftaccess.svg) # Microsoft Access BETA This section provides guides and references to use the Microsoft Access connector. Configure and schedule Microsoft Access metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/microsoftaccess/troubleshooting) > [!NOTE] > > **Note**: This connector is available exclusively in **Collate**. ## Requirements **Runtime dependency**: `mdbtools` must be installed on the ingestion host. The connector verifies this at startup by running `mdb-tables --version`. This applies to both Local File Path and S3 connections, as S3 files are downloaded and parsed locally. ### Metadata The Microsoft Access connector reads metadata directly from `.accdb` or `.mdb` database files. No server or database user privileges are required. Ensure the following based on your connection type: **Local File Path**: * The ingestion process must have **read access** to the `.accdb` or `.mdb` file on the filesystem. * If pointing to a directory, all `.accdb` and `.mdb` files found recursively will be ingested. **S3 Bucket**: * The AWS credentials used must have `s3:GetObject` and `s3:ListBucket` permissions on the target bucket. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ### Lineage Microsoft Access supports view-based lineage only. Lineage is extracted from the query definitions of saved views (queries) stored in the `.accdb` or `.mdb` file. No additional server-side configuration is required. ## Metadata Ingestion To ingest metadata from Microsoft Access, you need to create a service connection. The service connects Microsoft Access with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Microsoft Access** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/microsoftaccess.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=9d9bb45d798fad8f1bd4d9c9cacb2899) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Microsoft Access services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/microsoftaccess.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=5e92a433c27dc3d9016b31fcf55e794c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Microsoft Access. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/microsoftaccess.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=24df1474219c03e3a7e114205b03aad1) * **Connection**: Choose the source location for your Access database files. Two options are supported: * **Local File Path**: Provide the absolute path to a single `.accdb` or `.mdb` file, or a directory containing Access database files. Supports `~` expansion (for example, `~/data/sales.accdb`). When pointing to a directory, all `.accdb` and `.mdb` files found recursively will be ingested as separate databases. * **S3 Connection**: Connect to Access database files stored in an Amazon S3 bucket (or S3-compatible storage such as MinIO). Configure the following fields: * **AWS Access Key ID and AWS Secret Access Key**: AWS security credentials to authenticate requests. Access keys consist of two parts: an access key ID (for example, `AKIAIOSFODNN7EXAMPLE`) and a secret access key. You must use both together to authenticate. For more information, see [Manage AWS Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: The AWS region where your S3 bucket is located (for example, `us-east-1`). This is the only required parameter when configuring an S3 connection. For more information, see [Configure AWS Credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: Required when using temporary credentials. Find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: Use a custom endpoint for S3-compatible storage services (for example, `http://localhost:9000` for MinIO). Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name (optional)**: A named AWS CLI profile to use instead of `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role ARN (optional)**: The ARN of an IAM role to assume for cross-account access. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. * **Assume Role Session Name (optional)**: An identifier for the assumed role session. Defaults to `CollateSession`. * **Assume Role Source Identity (optional)**: The source identity for the `AssumeRole` operation, used for auditing in AWS CloudTrail. * **Bucket Names**: The S3 bucket name containing the Access database files to ingest. Only the first bucket in the list is used per pipeline run. * **Table Filter Pattern (optional)**: Regex pattern to include or exclude specific tables during ingestion. When left blank, all tables are ingested. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Microsoft Access Troubleshooting](/ai-2-0/connectors/database/microsoftaccess/troubleshooting) > > Learn more about how to troubleshoot common Microsoft Access connector issues and resolve configuration or ingestion errors. # Microsoft Access Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/microsoftaccess/troubleshooting Fix Microsoft Access connector issues fast with Collate's troubleshooting guide. Get solutions for common problems, error codes, and connection failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## File Not Found or Access Denied If you encounter file access errors when connecting to local Access database files: ```yaml theme={null} Error: [Errno 2] No such file or directory: '/path/to/database.accdb' ``` or ```yaml theme={null} PermissionError: [Errno 13] Permission denied: '/path/to/database.accdb' ``` This indicates that the ingestion process cannot access the specified `.accdb` or `.mdb` file. ### Resolution 1. **Verify the File Path**: Ensure the path to the Access database file is correct and the file exists. 2. **Check File Permissions**: Verify that the user running the ingestion process has read access to the file. 3. **For Directory Paths**: If pointing to a directory, ensure the directory exists and contains `.accdb` or `.mdb` files. 4. **Path Expansion**: If using `~` in the path, ensure it expands correctly to the user's home directory. ## S3 Access Denied If you encounter S3 permission errors: ```yaml theme={null} botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GetObject operation ``` This indicates that the AWS credentials do not have the required permissions to access the S3 bucket. ### Resolution 1. **Verify AWS Credentials**: Ensure the AWS Access Key ID and Secret Access Key are correct. 2. **Check IAM Permissions**: Verify that the IAM user or role has the following permissions: * `s3:GetObject` - to read files from the bucket * `s3:ListBucket` - to list files in the bucket 3. **Bucket Policy**: Check if the S3 bucket policy allows access from your credentials. 4. **Correct Region**: Ensure the AWS Region is set correctly for your S3 bucket. Example IAM policy: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ## Corrupted or Invalid Database File If you encounter errors indicating the file is not a valid Access database: ```yaml theme={null} Error: File is not a valid Microsoft Access database ``` This indicates the file is corrupted or is not an Access database file. ### Resolution 1. **Verify File Type**: Ensure the file has a `.accdb` or `.mdb` extension and is a valid Microsoft Access database. 2. **Check File Integrity**: Try opening the file in Microsoft Access to verify it's not corrupted. 3. **File Transfer Issues**: If downloaded from S3 or copied over a network, ensure the file was transferred completely without corruption. 4. **Supported Formats**: Verify that the file format is supported (Access 2007+ `.accdb` or older `.mdb` formats). ## S3-Compatible Storage (MinIO) Connection Issues If you encounter connection errors when using S3-compatible storage like MinIO: ```yaml theme={null} EndpointConnectionError: Could not connect to the endpoint URL ``` This indicates the endpoint URL is incorrect or unreachable. ### Resolution 1. **Verify Endpoint URL**: Ensure the endpoint URL is correct (e.g., `http://localhost:9000` for local MinIO). 2. **Check Network Access**: Verify that the system running the ingestion can reach the endpoint. 3. **SSL/TLS Issues**: For HTTPS endpoints, ensure SSL certificates are valid. 4. **Port Configuration**: Verify the port number is correct in the endpoint URL. ## AssumeRole Authentication Failed If you encounter errors when using IAM role assumption: ```yaml theme={null} Error: Not authorized to perform sts:AssumeRole ``` This indicates the AWS credentials do not have permission to assume the specified role. ### Resolution 1. **Verify Role ARN**: Ensure the Assume Role ARN is correct and exists. 2. **Trust Relationship**: Check that the IAM role's trust policy allows your AWS credentials to assume it. 3. **Role Permissions**: Verify the assumed role has the necessary S3 permissions. 4. **AWS Region**: Ensure the AWS Region is specified when using AssumeRole authentication. Example trust policy for the IAM role: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::123456789012:user/your-user" }, "Action": "sts:AssumeRole" } ] } ``` ## No Tables Found If the ingestion completes but no tables are found: ```yaml theme={null} Warning: No tables found in database ``` This may occur if the Access database is empty or all tables are filtered out. ### Resolution 1. **Verify Database Contents**: Open the Access database and verify it contains tables. 2. **Check Table Filters**: Review the Table Filter Pattern to ensure it's not excluding all tables. 3. **System Tables**: Microsoft Access system tables (starting with `MSys`) are automatically excluded. 4. **Directory Ingestion**: If pointing to a directory, ensure `.accdb` or `.mdb` files in the directory contain tables. # Microsoft Fabric Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/microsoftfabric/hybrid-runner Connect Microsoft Fabric Warehouses and Lakehouses to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Microsoft Fabric](/public/images/connectors/microsoftfabric.webp) # Microsoft Fabric PROD This section provides guides and references to use the Microsoft Fabric connector. Configure and schedule Microsoft Fabric metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](/ai-2-0/connectors/database/microsoftfabric/troubleshooting) > [!NOTE] > > **Note**: This connector is available exclusively in **Collate**. ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata from Microsoft Fabric, you need to authenticate using an **Azure Service Principal**. The Service Principal must have the following: * A registered Azure AD application with `clientId`, `clientSecret`, and `tenantId` * The Service Principal must be added as a **member** of the Fabric Workspace containing the Warehouses/Lakehouses to be catalogued * The Service Principal must have at least **Viewer** role on the Fabric items to read schema and table metadata To create a Service Principal: 1. Register an application in [Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade) 2. Create a client secret under **Certificates & secrets** 3. Note the **Application (client) ID**, **Directory (tenant) ID**, and the **client secret value** 4. In Microsoft Fabric, go to your Workspace settings and add the Service Principal as a member You can find more details in the [Microsoft Fabric documentation](https://learn.microsoft.com/en-us/fabric/admin/metadata-scanning-enable-read-only-apis). ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the Service Principal to have `SELECT` permission on the tables where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Microsoft Fabric, you need to create a service connection. The service connects Microsoft Fabric with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Microsoft Fabric** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/microsoftfabric.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=144d575bc073ed37d633ef307f59492a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Microsoft Fabric services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/microsoftfabric.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=70399a2ea5605062b4f742efded63ad2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Microsoft Fabric. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/microsoftfabric.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=77c4bb13dbc84649e9b573517e2fba76) * **Host and Port**: SQL endpoint of the Microsoft Fabric Warehouse or Lakehouse (for example, `your-workspace.datawarehouse.fabric.microsoft.com:1433`). * **Client ID**: Azure Application (client) ID for Service Principal authentication. * **Client Secret**: Azure Application client secret for Service Principal authentication. * **Tenant ID**: Azure Directory (tenant) ID for Service Principal authentication. * **Database** *(Optional)*: Name of the Fabric Warehouse or Lakehouse to restrict ingestion to. When left blank, Collate scans all databases. * **Driver** *(Optional)*: ODBC driver version. Defaults to `ODBC Driver 18 for SQL Server`. * **Ingest All Databases** *(Optional)*: When enabled, ingest data from all Warehouses and Lakehouses in Microsoft Fabric. Can be combined with `databaseFilterPattern`. Defaults to `false`. * **Schema Filter Pattern** *(Optional)*: Regex to only include/exclude schemas. System schemas (`db_*`, `guest`, `information_schema`, `sys`) are excluded by default. * **Table Filter Pattern** *(Optional)*: Regex to only include/exclude tables that match the pattern. * **Database Filter Pattern** *(Optional)*: Regex to only include/exclude databases that match the pattern. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Microsoft Fabric Troubleshooting](/ai-2-0/connectors/database/microsoftfabric/troubleshooting) > > Learn more about how to troubleshoot common Microsoft Fabric connector issues and resolve configuration or ingestion errors. # Microsoft Fabric Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/microsoftfabric/index Connect Microsoft Fabric Warehouses and Lakehouses to Collate with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction for seamless integration. ![Microsoft Fabric](/public/images/connectors/microsoftfabric.webp) # Microsoft Fabric PROD This section provides guides and references to use the Microsoft Fabric connector. Configure and schedule Microsoft Fabric metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/microsoftfabric/troubleshooting) > [!NOTE] > > **Note**: This connector is available exclusively in **Collate**. ## Requirements ### Metadata To extract metadata from Microsoft Fabric, you need to authenticate using an **Azure Service Principal**. The Service Principal must have the following: * A registered Azure AD application with `clientId`, `clientSecret`, and `tenantId` * The Service Principal must be added as a **member** of the Fabric Workspace containing the Warehouses/Lakehouses to be catalogued * The Service Principal must have at least **Viewer** role on the Fabric items to read schema and table metadata To create a Service Principal: 1. Register an application in [Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade) 2. Create a client secret under **Certificates & secrets** 3. Note the **Application (client) ID**, **Directory (tenant) ID**, and the **client secret value** 4. In Microsoft Fabric, go to your Workspace settings and add the Service Principal as a member You can find more details in the [Microsoft Fabric documentation](https://learn.microsoft.com/en-us/fabric/admin/metadata-scanning-enable-read-only-apis). ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the Service Principal to have `SELECT` permission on the tables where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Microsoft Fabric, you need to create a service connection. The service connects Microsoft Fabric with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Microsoft Fabric** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/microsoftfabric.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=144d575bc073ed37d633ef307f59492a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Microsoft Fabric services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/microsoftfabric.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=70399a2ea5605062b4f742efded63ad2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Microsoft Fabric. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/microsoftfabric.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=77c4bb13dbc84649e9b573517e2fba76) * **Host and Port**: SQL endpoint of the Microsoft Fabric Warehouse or Lakehouse (for example, `your-workspace.datawarehouse.fabric.microsoft.com:1433`). * **Client ID**: Azure Application (client) ID for Service Principal authentication. * **Client Secret**: Azure Application client secret for Service Principal authentication. * **Tenant ID**: Azure Directory (tenant) ID for Service Principal authentication. * **Database** *(Optional)*: Name of the Fabric Warehouse or Lakehouse to restrict ingestion to. When left blank, Collate scans all databases. * **Driver** *(Optional)*: ODBC driver version. Defaults to `ODBC Driver 18 for SQL Server`. * **Ingest All Databases** *(Optional)*: When enabled, ingest data from all Warehouses and Lakehouses in Microsoft Fabric. Can be combined with `databaseFilterPattern`. Defaults to `false`. * **Schema Filter Pattern** *(Optional)*: Regex to only include/exclude schemas. System schemas (`db_*`, `guest`, `information_schema`, `sys`) are excluded by default. * **Table Filter Pattern** *(Optional)*: Regex to only include/exclude tables that match the pattern. * **Database Filter Pattern** *(Optional)*: Regex to only include/exclude databases that match the pattern. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Microsoft Fabric Troubleshooting](/ai-2-0/connectors/database/microsoftfabric/troubleshooting) > > Learn more about how to troubleshoot common Microsoft Fabric connector issues and resolve configuration or ingestion errors. # Microsoft Fabric Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/microsoftfabric/troubleshooting Fix Microsoft Fabric connector issues fast with Collate's troubleshooting guide. Get solutions for common problems, error codes, and connection failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Service Principal Authentication Failed If you encounter authentication errors when connecting to Microsoft Fabric: ```yaml theme={null} Authentication failed: AADSTS7000215: Invalid client secret provided ``` This indicates that the client secret for the Azure Service Principal is either incorrect, expired, or not properly configured. ### Resolution 1. **Verify the Client Secret**: Log in to the [Azure Portal](https://portal.azure.com) and navigate to **Azure Active Directory** > **App registrations**. 2. Select your application and go to **Certificates & secrets**. 3. Check if the client secret has expired. If so, create a new client secret. 4. Update the Microsoft Fabric connector configuration with the new client secret value. ## Service Principal Not Added to Workspace If you encounter errors related to missing permissions: ```yaml theme={null} Error: Access denied. The service principal does not have access to this workspace ``` This indicates that the Service Principal has not been added as a member of the Fabric Workspace. ### Resolution 1. Open Microsoft Fabric and navigate to the Workspace containing your Warehouses/Lakehouses. 2. Click on **Workspace settings** (gear icon). 3. Go to the **Access** tab and click **Add people or groups**. 4. Search for your Service Principal by its Application (client) ID or name. 5. Add it with at least **Viewer** role to enable metadata extraction. ## ODBC Driver Not Found If you encounter ODBC driver errors: ```yaml theme={null} pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 18 for SQL Server'") ``` This indicates that the required ODBC driver is not installed on the system running the ingestion. ### Resolution **For Linux**: ```bash theme={null} curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list sudo apt-get update sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 ``` **For macOS**: ```bash theme={null} brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update brew install msodbcsql18 ``` **For Windows**: Download and install the ODBC Driver from [Microsoft's official page](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server). ## Connection Timeout Issues If you encounter timeout errors when connecting to Microsoft Fabric: ```yaml theme={null} TimeoutError: Connection timeout after 30 seconds ``` This may occur if the SQL endpoint is not accessible or if there are network connectivity issues. ### Resolution 1. **Verify the Host and Port**: Ensure that the `hostPort` value is correct (for example, `your-workspace.datawarehouse.fabric.microsoft.com:1433`). 2. **Check Network Access**: Verify that the system running the ingestion can reach the Microsoft Fabric SQL endpoint. 3. **Firewall Rules**: Ensure that port 1433 is open and not blocked by firewalls. 4. **Workspace Status**: Verify that the Microsoft Fabric Workspace and Warehouse/Lakehouse are active and running. ## Database Not Found If the specified database cannot be found: ```yaml theme={null} Error: Database 'MyWarehouse' does not exist ``` This indicates that the database name specified in the configuration does not match any Warehouse or Lakehouse in your Microsoft Fabric workspace. ### Resolution 1. Log in to Microsoft Fabric and verify the exact name of your Warehouse or Lakehouse. 2. Update the `database` field in the connector configuration with the correct name (case-sensitive). 3. Alternatively, leave the `database` field empty to scan all databases, or set `ingestAllDatabases: true` to ingest from all Warehouses and Lakehouses. # MongoDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/mongodb/hybrid-runner Connect MongoDB to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![MongoDB](/public/images/connectors/mongodb.webp) # MongoDB PROD This section provides guides and references to use the MongoDB connector. Configure and schedule MongoDB metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](#data-profiler) * [Troubleshooting](/ai-2-0/connectors/database/mongodb/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To fetch the metadata from MongoDB to Collate, the MongoDB user must have access to perform the `find` operation on collections and the `listCollection` operation on databases available in MongoDB. ## Metadata Ingestion To ingest metadata from MongoDB, you need to create a service connection. The service connects MongoDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MongoDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mongodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=fc4edc94c9041d57b477ee5812f3d122) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MongoDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mongodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=8fd8031560eafc4fe3aaef2a76a06189) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MongoDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mongodb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=57e2b83fbe377ca54b39ec543847b345) * **Username**: Username to connect to MongoDB. This user must have access to perform the `find` operation on collections and the `listCollection` operation on databases available in MongoDB. * **Password**: Password to connect to MongoDB. * **Host Port**: When using the `mongodb` connection schema, the hostPort parameter specifies the host and port of MongoDB. Specify it as a string in the format `hostname:port`. For example, `localhost:27017`. When using the `mongodb+srv` connection schema, the hostPort parameter specifies the host of MongoDB. Specify it as a string in the format `hostname`. For example, `cluster0-abcde.mongodb.net`. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. Using Atlas? Follow the [MongoDB Atlas connection string guide](https://www.mongodb.com/docs/atlas/connect-to-database-deployment/) to get the connection string. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose one of the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MongoDB Troubleshooting](/ai-2-0/connectors/database/mongodb/troubleshooting) > > Learn more about how to troubleshoot common MongoDB connector issues and resolve configuration or ingestion errors. ## Data Profiler > [card] [Collate 1.3.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. [Profiler deployment](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) ### Limitations The MongoDB data profiler currently supports only the following features: * **Row count**: The number of rows in the collection. Sampling or a custom query is not supported. * **Sample data**: If a custom query is defined, it is used for sample data. # MongoDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/mongodb/index Connect MongoDB to Collate with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction for seamless integration. ![MongoDB](/public/images/connectors/mongodb.webp) # MongoDB PROD This section provides guides and references to use the MongoDB connector. Configure and schedule MongoDB metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](#data-profiler) * [Troubleshooting](/ai-2-0/connectors/database/mongodb/troubleshooting) ## Requirements To fetch the metadata from MongoDB to Collate, the MongoDB user must have access to perform the `find` operation on collections and the `listCollection` operation on databases available in MongoDB. ## Metadata Ingestion To ingest metadata from MongoDB, you need to create a service connection. The service connects MongoDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MongoDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mongodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=fc4edc94c9041d57b477ee5812f3d122) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MongoDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mongodb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=8fd8031560eafc4fe3aaef2a76a06189) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MongoDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mongodb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=57e2b83fbe377ca54b39ec543847b345) * **Username**: Username to connect to MongoDB. This user must have access to perform the `find` operation on collections and the `listCollection` operation on databases available in MongoDB. * **Password**: Password to connect to MongoDB. * **Host Port**: When using the `mongodb` connection schema, the hostPort parameter specifies the host and port of MongoDB. Specify it as a string in the format `hostname:port`. For example, `localhost:27017`. When using the `mongodb+srv` connection schema, the hostPort parameter specifies the host of MongoDB. Specify it as a string in the format `hostname`. For example, `cluster0-abcde.mongodb.net`. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. Using Atlas? Follow the [MongoDB Atlas connection string guide](https://www.mongodb.com/docs/atlas/connect-to-database-deployment/) to get the connection string. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is required only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose one of the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MongoDB Troubleshooting](/ai-2-0/connectors/database/mongodb/troubleshooting) > > Learn more about how to troubleshoot common MongoDB connector issues and resolve configuration or ingestion errors. ## Data Profiler > [card] [Collate 1.3.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. [Profiler deployment](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) ### Limitations The MongoDB data profiler currently supports only the following features: * **Row count**: The number of rows in the collection. Sampling or a custom query is not supported. * **Sample data**: If a custom query is defined, it is used for sample data. # MongoDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/mongodb/troubleshooting Troubleshoot MongoDB integration errors such as connection failures, schema fetch issues, or metadata mismatches. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Resolving MongoDB Ingestion Failures When attempting to connect Collate to MongoDB, particularly cloud-hosted or replica set deployments, you might encounter timeout errors or connection failures. Follow the steps in this section to identify and resolve these issues. ## 1. Verify Connection Scheme ### Cloud MongoDB (MongoDB Atlas) Use the connection scheme `mongodb+srv` in the **Advanced Config** > **Connection Scheme** field. Do **not** include the port in the host field. **Example**: ```yaml theme={null} hostPort: ahamove.mongodb.net connectionScheme: mongodb+srv ``` ## 2. Enable SSL for Encrypted Connections If your connection string includes `ssl=true`, you must explicitly set SSL in the Connection Options. ```yaml theme={null} connectionOptions: ssl: true ``` This is mandatory when connecting to clusters that enforce SSL/TLS encryption. ## 3. Inspect Debug Logs Enable and review debug logs for more detailed error messages: * Navigate to the ingestion workflow in the Collate UI. * Enable **Debug Log** in the configuration settings. * Check logs using the Docker CLI: ```bash theme={null} docker logs ``` ## 4. Check Docker Networking Ensure that the Collate container is on the same network as the ingestion container, especially when running locally via Docker Compose. # MSSQL Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/mssql/hybrid-runner Connect your Microsoft SQL Server to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![MSSQL](/public/images/connectors/mssql.webp) # MSSQL PROD This section provides guides and references to use the MSSQL connector. Configure and schedule MSSQL metadata and profiler workflows from the Collate UI: * [Remote Connection](#for-remote-connection) * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/mssql/troubleshoot) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The MSSQL user must be granted the `SELECT` privilege to fetch the metadata of tables and views. ```sql theme={null} -- Create a new user -- More details https://learn.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql?view=sql-server-ver16 CREATE USER Mary WITH PASSWORD = '********'; -- Grant SELECT on table GRANT SELECT TO Mary; ``` ### View Definitions > [!WARNING] > > **Important**: > **View lineage requires** the `VIEW DEFINITION` (database-level) or `VIEW ANY DEFINITION` (server-level) permission. Without it, SQL Server returns each view's definition as `NULL` and raises no error, so views are ingested without their SQL and **no view lineage is created**. Table metadata is not affected. ```sql theme={null} -- Database-level: grant to the database user, in every database you ingest GRANT VIEW DEFINITION TO Mary; -- Or server-level: grant to the login (not the contained user) to cover all databases GRANT VIEW ANY DEFINITION TO [login_name]; ``` ### Profiler > [!NOTE] > > **Important**: The profiler reads row counts and table sizes from `sys.dm_db_partition_stats`. Without the grant below, the profiler fails with `The user does not have permission to perform this action` (error 297). This grant is required whether or not you use Query Store. Database-level, in every database you profile: `VIEW DATABASE STATE` (SQL Server 2016–2019) or `VIEW DATABASE PERFORMANCE STATE` (SQL Server 2022 and later). ```sql theme={null} GRANT VIEW DATABASE STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW DATABASE PERFORMANCE STATE TO YourUser; ``` ### Usage and Lineage Considerations To perform the query analysis for Usage and Lineage computation, the connector reads query history from SQL Server's [Query Store](https://learn.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store) when it is enabled on a database. Query Store exposes this history through `sys.query_store_query`, `sys.query_store_query_text`, `sys.query_store_plan`, and `sys.query_store_runtime_stats`. Query Store keeps a durable, on-disk record of executed queries. The plan-cache Dynamic Management Views (DMVs) (`sys.dm_exec_cached_plans`, `sys.dm_exec_query_stats`, and `sys.dm_exec_sql_text`) are evicted on server restart, memory pressure, or plan recompilation, and can silently return incomplete history. Query Store is auto-detected per database. No configuration is needed. When `ingestAllDatabases` is enabled, each database is read from its own best source independently: databases with Query Store use it, and the rest fall back to the plan-cache DMVs, so one database without Query Store never downgrades the others. > [!TIP] > > **Tip**: Enable Query Store on the databases you ingest, for reliable and durable Usage and Lineage history. To check whether Query Store is enabled on a database, and how it is currently operating: ```sql theme={null} SELECT actual_state_desc, query_capture_mode_desc, size_based_cleanup_mode_desc FROM sys.database_query_store_options; ``` To enable it: ```sql theme={null} ALTER DATABASE [YourDatabase] SET QUERY_STORE = ON ( QUERY_CAPTURE_MODE = ALL, CLEANUP_POLICY = ( STALE_QUERY_THRESHOLD_DAYS = 30 ) ); ``` The default `QUERY_CAPTURE_MODE` on SQL Server 2019 and later is `AUTO`, which can skip queries that only run a few times, such as a one-off data migration statement. Setting it to `ALL` ensures every query is captured for lineage. Set `STALE_QUERY_THRESHOLD_DAYS` to cover at least your ingestion lookback window, so queries are not purged before they are read. Query Store's default `SIZE_BASED_CLEANUP_MODE` purges the oldest queries to stay within `MAX_STORAGE_SIZE_MB`, which reduces the risk of Query Store switching to read-only. Under heavy write load, cleanup can still fall behind, and Query Store can switch to read-only temporarily until it catches up. > [!WARNING] > > **Important**: Query Store needs two permissions together. The following database-level grant lets `sys.database_query_store_options` and Query Store's other metadata views succeed, but the query text comes from `sys.query_store_query_text`, which needs the server-level grant. Without the server-level grant, usage and lineage queries can run without error while returning no query text. The server-level grant is also required when Query Store is not enabled, because Usage and Lineage then read the plan-cache DMVs. Database-level, for Query Store metadata: `VIEW DATABASE STATE` (SQL Server 2016–2019) or `VIEW DATABASE PERFORMANCE STATE` (SQL Server 2022 and later). ```sql theme={null} GRANT VIEW DATABASE STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW DATABASE PERFORMANCE STATE TO YourUser; ``` Server-level, for the query text and the plan-cache DMV fallback: `VIEW SERVER STATE` (SQL Server 2019 and earlier) or `VIEW SERVER PERFORMANCE STATE` (SQL Server 2022 and later). ```sql theme={null} GRANT VIEW SERVER STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW SERVER PERFORMANCE STATE TO YourUser; ``` Exact grant names and tiers can differ on Azure SQL Database and Azure SQL Managed Instance. Check `sys.database_query_store_options` and the [Microsoft documentation](https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-query-store-query-text-transact-sql) for your instance. ### For Remote Connection #### 1. Confirm SQL Server Is Running Confirm that the SQL Server instance you want to connect to is running. #### 2. Allow Remote Connection in Microsoft SQL Server Management Studio (SSMS) This step allows SQL Server to accept remote connection requests. ![Remote Connection](https://mintcdn.com/collatedocs/zC_mCmaFzPIaL_6m/public/images/connectors/mssql/remote-connection.png?fit=max\&auto=format\&n=zC_mCmaFzPIaL_6m\&q=85\&s=85edd0428f78b221fb7ec530da07dd2a) #### 3. Configure Windows Firewall If using SQL Server on Windows, configure the firewall on the computer running SQL Server to allow access. 1. On the Start menu, select Run. 2. Enter `WF.msc`, then select OK. 3. In Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules. 4. Select New Rule in the action pane. 5. In the Rule Type dialog box, select Port, then select Next. 6. In the Protocol and Ports dialog box, select TCP. 7. Select Specific local ports, then enter the port number of the Database Engine instance, such as `1433` for the default instance. 8. Select Next. 9. In the Action dialog box, select Allow the connection, then select Next. 10. In the Profile dialog box, select the profiles that describe the computer connection environment for when you want to connect to the Database Engine, then select Next. 11. In the Name dialog box, enter a name and description for this rule, then select Finish. For more information, see the [Microsoft documentation on configuring a Windows Firewall for Database Engine access](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-a-windows-firewall-for-database-engine-access?view=sql-server-ver15). ## Metadata Ingestion To ingest metadata from MSSQL, you need to create a service connection. The service connects MSSQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MSSQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mssql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e5da16b5e1a3ea68c9202ad99bc10780) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MSSQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mssql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=57fbe1b677c668e946c579c0f7ac5d06) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MSSQL. The connection form is divided into the following sections. The right-hand panel in the UI displays inline help for each field. * **Connection** * **Database** (required): The initial database to connect to. Metadata reading is restricted to this database unless **Ingest All Databases** is enabled. In that case, Collate uses this database as the entry point to discover and scan all databases. * **Username**: The user to connect to MSSQL. This user should have privileges to read all the metadata in MSSQL. * **Host and Port**: The fully qualified hostname and port number of your MSSQL deployment. * **Authentication** (optional): Enter the **Password** to connect to MSSQL. ![Configure Service Connection and Authentication](https://mintcdn.com/collatedocs/I9Qna6RsoZOqhMLf/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mssql-connection-auth.png?fit=max\&auto=format\&n=I9Qna6RsoZOqhMLf\&q=85\&s=9fbf6629b45e1cb1f8a66bdd968bbef4) * **Scope & Options** (optional) Use these settings to tune what Collate ingests. Collate applies default values. * **Driver**: The Open Database Connectivity (ODBC) driver version for a `pyodbc` connection. The default is `ODBC Driver 18 for SQL Server`. * **Encrypt Connection**: Requests Secure Sockets Layer (SSL) or Transport Layer Security (TLS) encryption for the MSSQL connection. How the setting applies depends on the connection scheme: * `mssql+pyodbc` honors it directly. * `mssql+pytds` encrypts only when you supply a certificate authority (CA) certificate in the SSL configuration. Otherwise, it logs a warning. * `mssql+pymssql` takes no TLS settings. FreeTDS, the library that `mssql+pymssql` uses to connect, decides encryption through its own configuration. * **Trust Server Certificate**: Trusts the server certificate without validation. Turn this off in production so Collate validates server certificates against the certificate authority. On `mssql+pytds`, Collate always validates the certificate chain against the supplied CA certificate and drops only the host name check. * **Ingest All Databases**: Ingests data from all databases in MSSQL, in addition to the database specified in **Database**. You can use the database filter pattern on top of this option. * **Include Synonyms**: Discovers SQL Server synonyms and records them as alternate names (aliases) on the table they resolve to. Collate also uses the aliases to resolve lineage. This option is off by default. ![Configure Scope and Options](https://mintcdn.com/collatedocs/I9Qna6RsoZOqhMLf/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mssql-scope-options.png?fit=max\&auto=format\&n=I9Qna6RsoZOqhMLf\&q=85\&s=80e32b1b0ed1d0c3c32ab1a5d0ff9c6f) #### Advanced Configuration The **Advanced Config** section holds driver-level options such as connection arguments, the connection scheme, and SSL settings. Most connections don't need these settings. Use this section only for advanced connectivity scenarios or customizations. * **Connection Scheme**: Defines how to connect to MSSQL. Collate supports `mssql+pytds` (the default), `mssql+pyodbc`, and `mssql+pymssql`. If you use Windows Authentication from a Linux deployment, use `mssql+pymssql`. * **Validate SSL Client Config** and **CA Certificate**: Provide the CA certificate that Collate uses to validate the server certificate. Click **Upload key file** to upload it. * **URI String**: The connection URI, in case of a `pyodbc` connection. * **Connection Options (Optional)**: Additional connection options to send to the database during the connection. Add these details as key-value pairs. * **Connection Arguments (Optional)**: Additional connection arguments, such as security or protocol configs, to send during the connection. Add these details as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose one of the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: MSSQL supports description updates at the following levels: * Schema level * Table level * Column level * **Owner Management**: MSSQL supports owner management at the following levels: * Database level * Schema level * **Tag Management**: Tag management is not supported for MSSQL. * **Custom SQL Template**: MSSQL supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update schema description IF NOT EXISTS (SELECT 1 FROM {database}.sys.extended_properties WHERE name = N'MS_Description' And major_id = SCHEMA_ID('{schema}') AND minor_id = 0 ) BEGIN EXEC {database}.{schema}.sp_addextendedproperty @name = N'MS_Description', @value = N{description}, @level0type = N'SCHEMA', @level0name = N'{schema}' END ELSE BEGIN EXEC {database}.{schema}.sp_updateextendedproperty @name = N'MS_Description', @value = N{description}, @level0type = N'SCHEMA', @level0name = N'{schema}' END; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [MSSQL Troubleshooting](/ai-2-0/connectors/database/mssql/troubleshoot) > > Learn more about how to troubleshoot common MSSQL connector issues and resolve configuration or ingestion errors. # MSSQL Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/mssql/index Connect your Microsoft SQL Server to Collate with our comprehensive MSSQL connector guide. Step-by-step setup, configuration, and metadata extraction. ![MSSQL](/public/images/connectors/mssql.webp) # MSSQL PROD This section provides guides and references to use the MSSQL connector. Configure and schedule MSSQL metadata and profiler workflows from the Collate UI: * [Remote Connection](#for-remote-connection) * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/mssql/troubleshoot) * [Reverse Metadata](#reverse-metadata) ## Requirements The MSSQL user must be granted the `SELECT` privilege to fetch the metadata of tables and views. ```sql theme={null} -- Create a new user -- More details https://learn.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql?view=sql-server-ver16 CREATE USER Mary WITH PASSWORD = '********'; -- Grant SELECT on table GRANT SELECT TO Mary; ``` ### View Definitions > [!WARNING] > > **Important**: > **View lineage requires** the `VIEW DEFINITION` (database-level) or `VIEW ANY DEFINITION` (server-level) permission. Without it, SQL Server returns each view's definition as `NULL` and raises no error, so views are ingested without their SQL and **no view lineage is created**. Table metadata is not affected. ```sql theme={null} -- Database-level: grant to the database user, in every database you ingest GRANT VIEW DEFINITION TO Mary; -- Or server-level: grant to the login (not the contained user) to cover all databases GRANT VIEW ANY DEFINITION TO [login_name]; ``` ### Profiler > [!NOTE] > > **Important**: The profiler reads row counts and table sizes from `sys.dm_db_partition_stats`. Without the grant below, the profiler fails with `The user does not have permission to perform this action` (error 297). This grant is required whether or not you use Query Store. Database-level, in every database you profile: `VIEW DATABASE STATE` (SQL Server 2016–2019) or `VIEW DATABASE PERFORMANCE STATE` (SQL Server 2022 and later). ```sql theme={null} GRANT VIEW DATABASE STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW DATABASE PERFORMANCE STATE TO YourUser; ``` ### Usage and Lineage Considerations To perform the query analysis for Usage and Lineage computation, the connector reads query history from SQL Server's [Query Store](https://learn.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store) when it is enabled on a database. Query Store exposes this history through `sys.query_store_query`, `sys.query_store_query_text`, `sys.query_store_plan`, and `sys.query_store_runtime_stats`. Query Store keeps a durable, on-disk record of executed queries. The plan-cache Dynamic Management Views (DMVs) (`sys.dm_exec_cached_plans`, `sys.dm_exec_query_stats`, and `sys.dm_exec_sql_text`) are evicted on server restart, memory pressure, or plan recompilation, and can silently return incomplete history. Query Store is auto-detected per database. No configuration is needed. When `ingestAllDatabases` is enabled, each database is read from its own best source independently: databases with Query Store use it, and the rest fall back to the plan-cache DMVs, so one database without Query Store never downgrades the others. > [!TIP] > > **Tip**: Enable Query Store on the databases you ingest, for reliable and durable Usage and Lineage history. To check whether Query Store is enabled on a database, and how it is currently operating: ```sql theme={null} SELECT actual_state_desc, query_capture_mode_desc, size_based_cleanup_mode_desc FROM sys.database_query_store_options; ``` To enable it: ```sql theme={null} ALTER DATABASE [YourDatabase] SET QUERY_STORE = ON ( QUERY_CAPTURE_MODE = ALL, CLEANUP_POLICY = ( STALE_QUERY_THRESHOLD_DAYS = 30 ) ); ``` The default `QUERY_CAPTURE_MODE` on SQL Server 2019 and later is `AUTO`, which can skip queries that only run a few times, such as a one-off data migration statement. Setting it to `ALL` ensures every query is captured for lineage. Set `STALE_QUERY_THRESHOLD_DAYS` to cover at least your ingestion lookback window, so queries are not purged before they are read. Query Store's default `SIZE_BASED_CLEANUP_MODE` purges the oldest queries to stay within `MAX_STORAGE_SIZE_MB`, which reduces the risk of Query Store switching to read-only. Under heavy write load, cleanup can still fall behind, and Query Store can switch to read-only temporarily until it catches up. > [!WARNING] > > **Important**: Query Store needs two permissions together. The following database-level grant lets `sys.database_query_store_options` and Query Store's other metadata views succeed, but the query text comes from `sys.query_store_query_text`, which needs the server-level grant. Without the server-level grant, usage and lineage queries can run without error while returning no query text. The server-level grant is also required when Query Store is not enabled, because Usage and Lineage then read the plan-cache DMVs. Database-level, for Query Store metadata: `VIEW DATABASE STATE` (SQL Server 2016–2019) or `VIEW DATABASE PERFORMANCE STATE` (SQL Server 2022 and later). ```sql theme={null} GRANT VIEW DATABASE STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW DATABASE PERFORMANCE STATE TO YourUser; ``` Server-level, for the query text and the plan-cache DMV fallback: `VIEW SERVER STATE` (SQL Server 2019 and earlier) or `VIEW SERVER PERFORMANCE STATE` (SQL Server 2022 and later). ```sql theme={null} GRANT VIEW SERVER STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW SERVER PERFORMANCE STATE TO YourUser; ``` Exact grant names and tiers can differ on Azure SQL Database and Azure SQL Managed Instance. Check `sys.database_query_store_options` and the [Microsoft documentation](https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-query-store-query-text-transact-sql) for your instance. ### For Remote Connection #### 1. Confirm SQL Server Is Running Confirm that the SQL Server instance you want to connect to is running. #### 2. Allow Remote Connection in Microsoft SQL Server Management Studio (SSMS) This step allows SQL Server to accept remote connection requests. ![Remote Connection](https://mintcdn.com/collatedocs/zC_mCmaFzPIaL_6m/public/images/connectors/mssql/remote-connection.png?fit=max\&auto=format\&n=zC_mCmaFzPIaL_6m\&q=85\&s=85edd0428f78b221fb7ec530da07dd2a) #### 3. Configure Windows Firewall If using SQL Server on Windows, configure the firewall on the computer running SQL Server to allow access. 1. On the Start menu, select Run. 2. Enter `WF.msc`, then select OK. 3. In Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules. 4. Select New Rule in the action pane. 5. In the Rule Type dialog box, select Port, then select Next. 6. In the Protocol and Ports dialog box, select TCP. 7. Select Specific local ports, then enter the port number of the Database Engine instance, such as `1433` for the default instance. 8. Select Next. 9. In the Action dialog box, select Allow the connection, then select Next. 10. In the Profile dialog box, select the profiles that describe the computer connection environment for when you want to connect to the Database Engine, then select Next. 11. In the Name dialog box, enter a name and description for this rule, then select Finish. For more information, see the [Microsoft documentation on configuring a Windows Firewall for Database Engine access](https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-a-windows-firewall-for-database-engine-access?view=sql-server-ver15). ## Metadata Ingestion To ingest metadata from MSSQL, you need to create a service connection. The service connects MSSQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MSSQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mssql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e5da16b5e1a3ea68c9202ad99bc10780) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MSSQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mssql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=57fbe1b677c668e946c579c0f7ac5d06) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MSSQL. The connection form is divided into the following sections. The right-hand panel in the UI displays inline help for each field. * **Connection** * **Database** (required): The initial database to connect to. Metadata reading is restricted to this database unless **Ingest All Databases** is enabled. In that case, Collate uses this database as the entry point to discover and scan all databases. * **Username**: The user to connect to MSSQL. This user should have privileges to read all the metadata in MSSQL. * **Host and Port**: The fully qualified hostname and port number of your MSSQL deployment. * **Authentication** (optional): Enter the **Password** to connect to MSSQL. ![Configure Service Connection and Authentication](https://mintcdn.com/collatedocs/I9Qna6RsoZOqhMLf/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mssql-connection-auth.png?fit=max\&auto=format\&n=I9Qna6RsoZOqhMLf\&q=85\&s=9fbf6629b45e1cb1f8a66bdd968bbef4) * **Scope & Options** (optional) Use these settings to tune what Collate ingests. Collate applies default values. * **Driver**: The Open Database Connectivity (ODBC) driver version for a `pyodbc` connection. The default is `ODBC Driver 18 for SQL Server`. * **Encrypt Connection**: Requests Secure Sockets Layer (SSL) or Transport Layer Security (TLS) encryption for the MSSQL connection. How the setting applies depends on the connection scheme: * `mssql+pyodbc` honors it directly. * `mssql+pytds` encrypts only when you supply a certificate authority (CA) certificate in the SSL configuration. Otherwise, it logs a warning. * `mssql+pymssql` takes no TLS settings. FreeTDS, the library that `mssql+pymssql` uses to connect, decides encryption through its own configuration. * **Trust Server Certificate**: Trusts the server certificate without validation. Turn this off in production so Collate validates server certificates against the certificate authority. On `mssql+pytds`, Collate always validates the certificate chain against the supplied CA certificate and drops only the host name check. * **Ingest All Databases**: Ingests data from all databases in MSSQL, in addition to the database specified in **Database**. You can use the database filter pattern on top of this option. * **Include Synonyms**: Discovers SQL Server synonyms and records them as alternate names (aliases) on the table they resolve to. Collate also uses the aliases to resolve lineage. This option is off by default. ![Configure Scope and Options](https://mintcdn.com/collatedocs/I9Qna6RsoZOqhMLf/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mssql-scope-options.png?fit=max\&auto=format\&n=I9Qna6RsoZOqhMLf\&q=85\&s=80e32b1b0ed1d0c3c32ab1a5d0ff9c6f) #### Advanced Configuration The **Advanced Config** section holds driver-level options such as connection arguments, the connection scheme, and SSL settings. Most connections don't need these settings. Use this section only for advanced connectivity scenarios or customizations. * **Connection Scheme**: Defines how to connect to MSSQL. Collate supports `mssql+pytds` (the default), `mssql+pyodbc`, and `mssql+pymssql`. If you use Windows Authentication from a Linux deployment, use `mssql+pymssql`. * **Validate SSL Client Config** and **CA Certificate**: Provide the CA certificate that Collate uses to validate the server certificate. Click **Upload key file** to upload it. * **URI String**: The connection URI, in case of a `pyodbc` connection. * **Connection Options (Optional)**: Additional connection options to send to the database during the connection. Add these details as key-value pairs. * **Connection Arguments (Optional)**: Additional connection arguments, such as security or protocol configs, to send during the connection. Add these details as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose one of the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: MSSQL supports description updates at the following levels: * Schema level * Table level * Column level * **Owner Management**: MSSQL supports owner management at the following levels: * Database level * Schema level * **Tag Management**: Tag management is not supported for MSSQL. * **Custom SQL Template**: MSSQL supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update schema description IF NOT EXISTS (SELECT 1 FROM {database}.sys.extended_properties WHERE name = N'MS_Description' And major_id = SCHEMA_ID('{schema}') AND minor_id = 0 ) BEGIN EXEC {database}.{schema}.sp_addextendedproperty @name = N'MS_Description', @value = N{description}, @level0type = N'SCHEMA', @level0name = N'{schema}' END ELSE BEGIN EXEC {database}.{schema}.sp_updateextendedproperty @name = N'MS_Description', @value = N{description}, @level0type = N'SCHEMA', @level0name = N'{schema}' END; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [MSSQL Troubleshooting](/ai-2-0/connectors/database/mssql/troubleshoot) > > Learn more about how to troubleshoot common MSSQL connector issues and resolve configuration or ingestion errors. # MSSQL Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/mssql/troubleshoot Resolve MSSQL ingestion issues such as incorrect authentication, invalid queries, or schema incompatibilities. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Cannot Connect to SQL Server When Running via Docker or WSL If you are running the Local Ingestion Agent inside Docker on WSL and SQL Server is installed on the Windows host, connections using `localhost` or `127.0.0.1` will fail. Inside a Docker container, these addresses refer to the container itself — not the Windows machine. **Fix**: Use `host.docker.internal` as the host in your MSSQL connection details. Also confirm that: * SQL Server is listening on TCP port `1433` (check via SQL Server Configuration Manager) * Windows Firewall allows inbound TCP on port `1433` ## Resolving SQL Server Authentication Issue for Windows User This guide addresses a common issue when connecting to a SQL Server instance using Windows OS. If you encounter the error below, follow the steps outlined to resolve it effectively. ## Error Description When attempting to connect to SQL Server using a Windows user, the following error appears: ``` (pyodbc.InterfaceError) ('28000', "[28000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'domain\\user'. (18456)") ``` Additionally, the SQL Server logs display: ``` Login failed for user 'domain\user'. Reason: Attempting to use an NT account name with SQL Server Authentication. ``` ## Root Cause The error occurs because the connection is configured to use SQL Server Authentication instead of Windows Authentication. Windows Authentication requires a connection scheme that supports integrated security. ## Resolution ### Step 1: Verify Connection Configuration 1. Ensure that you are connecting to SQL Server using **Windows Authentication**. 2. Update the connection scheme to use `mssql+pymssql` instead of `mssql.pyodbc`. ### Step 2: Update the Connection Details in Collate 1. Navigate to **MSSQL Service Configuration** in the Collate UI. 2. Update the **Connection Scheme** to `mssql+pymssql`. 3. Retain the following connection details: * **Host and Port**: e.g., `10.121.89.148:62452`. * **Database**: Specify the target database (e.g., `OneSumx_Stoging`). * **Username**: Use the Windows account username, e.g., `domain\user`. 4. Save the updated configuration. ### Step 3: Test the Connection 1. After saving the changes, click **Test Connection** in the Collate UI. 2. Confirm that the following steps pass successfully: * **CheckAccess** * **GetDatabases** * **GetSchemas** * **GetTables** * **GetViews** * **GetQueries** ### Expected Outcome After updating the connection scheme, the connection should succeed. The status will display: ``` Connection Status: Success ``` ## Profiler Fails with "The user does not have permission to perform this action" If the profiler fails with the following error (error 297): ``` (pymssql.exceptions.OperationalError) (297, b'The user does not have permission to perform this action.') ``` the ingestion user cannot read `sys.dm_db_partition_stats`, which the profiler uses for row counts and table sizes. **Fix**: Grant the permission in every database you profile. For more information, see [Profiler](/ai-2-0/connectors/database/mssql#profiler). ```sql theme={null} GRANT VIEW DATABASE STATE TO YourUser; -- SQL Server 2022 and later: GRANT VIEW DATABASE PERFORMANCE STATE TO YourUser; ``` # MySQL Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/mysql/hybrid-runner Set up MySQL database connector for Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![MySQL](/public/images/connectors/sql.webp) # MySQL PROD This section provides guides and references to use the MySQL connector. Configure and schedule MySQL metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-mysql-connection-with-ssl-in-collate) * [Data Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/mysql/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata Collate supports MySQL (version 8.0.42 or greater). The user must have access to the `INFORMATION_SCHEMA` table. By default, a user can see only the rows in the `INFORMATION_SCHEMA` that correspond to objects for which the user has the proper access privileges. Grant both `SELECT` and `SHOW VIEW`. This is the recommended setup. From Collate 2.0.6, `SHOW VIEW` with `REFERENCES` also ingests views, as described in [Metadata Without `SELECT`](#metadata-without-select). Collate ingests base tables in full with any one of these privileges on its own, which is what makes an incomplete grant easy to miss: | Capability | `REFERENCES` only | `SELECT` only | `SHOW VIEW` only | `SELECT` + `SHOW VIEW` | `SHOW VIEW` + `REFERENCES` (2.0.6 and later) | | - | - | - | - | - | - | | Table discovery, columns, comments, keys, indexes, and DDL | Yes | Yes | Yes | Yes | Yes | | Views | No | No | No | Yes | Yes | | Profiler, sample data, and data quality | No | Yes | No | Yes | No | | Stored procedures | No | No | No | No, `EXECUTE` is also required | No, `EXECUTE` is also required | MySQL gates each half of a view read separately. `SHOW VIEW` authorizes `SHOW CREATE TABLE`, which returns the view definition, and `SELECT` authorizes `DESCRIBE`, which returns the view columns. Without `SHOW VIEW`, MySQL raises `Error 1142`, Collate creates no entity for that view, and the workflow finishes with errors. Without `SELECT`, Collate 2.0.6 and later reads the view columns from `information_schema.COLUMNS`, which lists every column on which the user holds any column privilege, such as `REFERENCES`. If the user holds none, the view has no visible columns and the ingestion logs a warning. ```SQL theme={null} -- Create user. If is omitted, defaults to '%' -- More details https://dev.mysql.com/doc/refman/8.0/en/create-user.html CREATE USER ''[@''] IDENTIFIED BY ''; -- Grant on a whole database GRANT SELECT, SHOW VIEW ON world.* TO ''; -- Or scope the grant to a single object GRANT SELECT, SHOW VIEW ON world.hello TO ''; ``` Object-level grants also limit discovery. `SHOW TABLES` returns only the objects the user holds some privilege on, so any table or view left out of the grant never reaches Collate and raises no error. #### Metadata Without `SELECT` `SELECT` and `SHOW VIEW` stay the recommended grants. Use the grants below only where a data access policy rules `SELECT` out. Without `SELECT`, MySQL denies `DESCRIBE` on views. From Collate 2.0.6, Collate reads the view columns from `information_schema.COLUMNS` instead, so adding `SHOW VIEW` to the `REFERENCES` grant ingests views. MySQL has no metadata-only privilege, but it gates table metadata on holding some privilege on the object rather than on `SELECT` in particular. `REFERENCES` satisfies that check and reads no table data: ```SQL theme={null} CREATE USER ''[@''] IDENTIFIED BY ''; GRANT USAGE ON *.* TO ''; -- Apply REFERENCES at the schema level, not table by table, so every table stays discoverable GRANT REFERENCES ON world.* TO ''; -- Add SHOW VIEW to ingest views (Collate 2.0.6 and later) GRANT SHOW VIEW ON world.* TO ''; ``` With `REFERENCES` alone, Collate still ingests table and schema discovery, column names and data types, comments, primary and foreign keys, indexes, and table DDL. Usage and lineage keep working as long as the user also holds `SELECT` on `mysql.general_log`, as described in the lineage and usage requirements below. That grant covers a single system table and conveys no privilege on your own tables. Without `SELECT`, the following are unavailable on the tables in scope: * Views, unless the user also holds `SHOW VIEW` (Collate 2.0.6 and later) * Profiler and sample data * Data quality tests * Sample-based auto-classification, though column-name pattern rules, manual tagging, and glossary assignment still work * Stored procedures, which also require `EXECUTE` ### Aurora MySQL IAM Authentication > [!TIP] > > **Tip**: For Aurora MySQL IAM authentication, enable **IAM DB authentication** in your RDS cluster settings and use the same **cluster endpoint** you will configure in Collate. 1. Connect as an admin user with password authentication and create (or validate) the IAM DB user: ```sql theme={null} CREATE USER 'openmetadata_iam'@'%' IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS'; SHOW CREATE USER 'openmetadata_iam'@'%'; ``` 2. Grant minimum metadata permissions and verify: ```sql theme={null} GRANT SELECT, PROCESS, SHOW DATABASES, SHOW VIEW ON *.* TO 'openmetadata_iam'@'%'; FLUSH PRIVILEGES; SHOW GRANTS FOR 'openmetadata_iam'@'%'; ``` 3. Attach the IAM policy to the AWS principal used by ingestion: * Policy action must include `rds-db:connect`. * Resource must be exactly: `arn:aws:rds-db:::dbuser:/openmetadata_iam` * If ingestion runs on EC2/ECS/EKS, attach the policy to that runtime role. * If ingestion runs locally, attach the policy to the IAM user/profile generating auth tokens. 4. Validate IAM login from the same host that runs ingestion: ```bash theme={null} curl -o global-bundle.pem https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem TOKEN="$(aws rds generate-db-auth-token --hostname --port 3306 --region --username openmetadata_iam)" mysql -h -P 3306 --ssl-ca=global-bundle.pem -u openmetadata_iam -p"$TOKEN" ``` ### Lineage and Usage To extract lineage and usage, enable query logging in MySQL. The user configured in the connection needs SELECT access to `mysql.general_log`. ```sql theme={null} -- Enable Logging SET GLOBAL general_log='ON'; set GLOBAL log_output='table'; -- Grant SELECT on log table GRANT SELECT ON mysql.general_log TO ''@''; ``` #### Log Table Management The `mysql.general_log` table grows continuously as it stores query logs. This can consume significant storage space over time and affect the execution time of lineage and usage procedures. Collate recommends cleaning up log tables only after successful execution of Usage and Lineage workflows to avoid losing query data during extraction. Once cleanup occurs, the query history is lost. Here are some important considerations and best practices: ### Create a Manual Schedule to Rotate Logs When you rotate log tables manually, the current log table is copied to a backup log table and the entries in the current log table are removed. If the backup log table already exists, then it is deleted before the current log table is copied to the backup. Query the backup log table if needed. The backup log table for the `mysql.general_log` table is named `mysql.general_log_backup`. The backup log table for the `mysql.slow_log` table is named `mysql.slow_log_backup`. ```sql theme={null} -- rotate general logs CREATE PROCEDURE rotate_general_log() BEGIN -- Step 1: Drop the backup table if it exists DROP TABLE IF EXISTS mysql.general_log_backup; -- Step 2: Copy current general_log table to backup CREATE TABLE mysql.general_log_backup AS SELECT * FROM mysql.general_log; -- Step 3: Truncate the general_log table (clears all records) TRUNCATE TABLE mysql.general_log; END; -- call this procedure CALL rotate_general_log(); -- rotate slow logs CREATE PROCEDURE rotate_slow_log() BEGIN DROP TABLE IF EXISTS mysql.slow_log_backup; CREATE TABLE mysql.slow_log_backup AS SELECT * FROM mysql.slow_log; TRUNCATE TABLE mysql.slow_log; END -- call this procedure CALL rotate_slow_log(); ``` Check table size by running the following query: ```sql theme={null} SELECT table_name, round(data_length/1024/1024, 2) AS size_in_mb FROM information_schema.tables WHERE table_schema = 'mysql' AND table_name IN ('general_log', 'slow_log', 'general_log_backup', 'slow_log_backup'); ``` ### Create Automatic Event to Clear Older Logs Create an automatic event, as shown in the following example, to clear logs older than one week. ```sql theme={null} CREATE EVENT mysql.cleanup_general_log ON SCHEDULE EVERY 7 DAY DO DELETE FROM mysql.general_log WHERE event_time < NOW() - INTERVAL 7 DAY; ``` Note: If using RDS, rotate the `mysql.general_log` table manually by calling the `mysql.rds_rotate_general_log` procedure. Rotate the `mysql.slow_log` table by calling the `mysql.rds_rotate_slow_log` procedure. For more information on logs and rotation methods, see the following resources: * [Rotating MySQL query logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-stored-proc-logging.html) * [RDS for MySQL database logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.MySQL.LogFileSize.html#USER_LogAccess.MySQL.Generallog) * [Aurora for MySQL database logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.MySQL.LogFileSize.html#USER_LogAccess.MySQL.Generallog) **Best Practices**: * Monitor log table size regularly * Implement a log rotation schedule * Consider automating log cleanup after DAG execution * Keep logging enabled only when needed for lineage extraction ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables and schemas where the profiler or tests run. For more information, see [the profiler workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [data quality tests](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from MySQL, you need to create a service connection. The service connects MySQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MySQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mysql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=89e0ca6e57567b7960a8bf20220886fe) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MySQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mysql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a8eb8e73ce2fcfda4a97b03087599eeb) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MySQL. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mysql.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=93659045dc7c9f6670cbfaa4e671179d) * **Username**: Specify the user to connect to MySQL. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM-based auth to connect to instances or cloud RDS. > [!TIP] > > **Tip**: For Aurora MySQL IAM in Collate, use: > > * **Username**: `openmetadata_iam` > * **Auth Type**: `IAM` > * **AWS Region**: `` (for example, `us-east-2`) > * **Host and Port**: `:3306` (use cluster endpoint) * **Basic Auth**: * **Password**: Password to connect to MySQL. * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). Because AWS can have instances in multiple regions, specify the region where the service you want to reach is located. The AWS Region is the only required parameter when configuring a connection. When connecting to services programmatically, AWS configurations can be extracted and used in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **IAM Policy Requirement**: The principal used by ingestion must have `rds-db:connect` permission with the exact DB user resource ARN: `arn:aws:rds-db:::dbuser:/openmetadata_iam`. * **Credentials Source**: * If ingestion runs on EC2/ECS/EKS, prefer runtime role credentials. * If ingestion runs locally, configure IAM user/profile credentials. * You can also provide AWS Access Key ID + AWS Secret Access Key + optional AWS Session Token. * If needed, use Assume Role (Assume Role Arn, Assume Role Session Name, optional Source Identity). * **Host and Port**: Use the Aurora **cluster endpoint** and port `3306` that ingestion will use. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **caCertificate**: Provide the CA bundle path used by ingestion runtime (for example, `global-bundle.pem`). * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client certificate file (ssl_key). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing MySQL Connection with SSL in Collate To establish secure connections between Collate and MySQL, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you'll need to use all three parameters: `ssl_key`, `ssl_cert`, and `ssl_ca`. In this case, `ssl_cert` is used for the client's SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `ssl_ca` for the CA certificate to validate the server's certificate. When using IAM auth with Aurora MySQL, ensure TLS is enabled and the CA file path is valid in the same runtime where ingestion executes. If you run ingestion in Docker or Kubernetes, mount the CA bundle into the container and configure the container path (not a laptop path). ```yaml theme={null} connectionArguments: ssl: ca: /path/in/runtime/global-bundle.pem ``` ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Reverse Metadata * **Description Management**: MySQL supports description updates at the following level: * Table level * **Owner Management**: Owner management is not supported for MySQL. * **Tag Management**: Tag management is not supported for MySQL. * **Custom SQL Template**: MySQL supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update table description ALTER TABLE {schema}.{table} COMMENT = {description}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * \` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [MySQL Troubleshooting](/ai-2-0/connectors/database/mysql/troubleshooting) > > Learn more about how to troubleshoot common MySQL connector issues and resolve configuration or ingestion errors. # MySQL Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/mysql/index Set up MySQL database connector for Collate to automatically discover, catalog, and manage your MySQL metadata. Step-by-step configuration guide. ![MySQL](/public/images/connectors/sql.webp) # MySQL PROD [MySQL connector setup tutorial video](https://www.youtube.com/embed/6MmOqXYpf5A) This section provides guides and references to use the MySQL connector. Configure and schedule MySQL metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-mysql-connection-with-ssl-in-collate) * [Data Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/mysql/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements ### Metadata Collate supports MySQL (version 8.0.42 or greater). The user must have access to the `INFORMATION_SCHEMA` table. By default, a user can see only the rows in the `INFORMATION_SCHEMA` that correspond to objects for which the user has the proper access privileges. Grant both `SELECT` and `SHOW VIEW`. This is the recommended setup. From Collate 2.0.6, `SHOW VIEW` with `REFERENCES` also ingests views, as described in [Metadata Without `SELECT`](#metadata-without-select). Collate ingests base tables in full with any one of these privileges on its own, which is what makes an incomplete grant easy to miss: | Capability | `REFERENCES` only | `SELECT` only | `SHOW VIEW` only | `SELECT` + `SHOW VIEW` | `SHOW VIEW` + `REFERENCES` (2.0.6 and later) | | - | - | - | - | - | - | | Table discovery, columns, comments, keys, indexes, and DDL | Yes | Yes | Yes | Yes | Yes | | Views | No | No | No | Yes | Yes | | Profiler, sample data, and data quality | No | Yes | No | Yes | No | | Stored procedures | No | No | No | No, `EXECUTE` is also required | No, `EXECUTE` is also required | MySQL gates each half of a view read separately. `SHOW VIEW` authorizes `SHOW CREATE TABLE`, which returns the view definition, and `SELECT` authorizes `DESCRIBE`, which returns the view columns. Without `SHOW VIEW`, MySQL raises `Error 1142`, Collate creates no entity for that view, and the workflow finishes with errors. Without `SELECT`, Collate 2.0.6 and later reads the view columns from `information_schema.COLUMNS`, which lists every column on which the user holds any column privilege, such as `REFERENCES`. If the user holds none, the view has no visible columns and the ingestion logs a warning. ```SQL theme={null} -- Create user. If is omitted, defaults to '%' -- More details https://dev.mysql.com/doc/refman/8.0/en/create-user.html CREATE USER ''[@''] IDENTIFIED BY ''; -- Grant on a whole database GRANT SELECT, SHOW VIEW ON world.* TO ''; -- Or scope the grant to a single object GRANT SELECT, SHOW VIEW ON world.hello TO ''; ``` Object-level grants also limit discovery. `SHOW TABLES` returns only the objects the user holds some privilege on, so any table or view left out of the grant never reaches Collate and raises no error. #### Metadata Without `SELECT` `SELECT` and `SHOW VIEW` stay the recommended grants. Use the grants below only where a data access policy rules `SELECT` out. Without `SELECT`, MySQL denies `DESCRIBE` on views. From Collate 2.0.6, Collate reads the view columns from `information_schema.COLUMNS` instead, so adding `SHOW VIEW` to the `REFERENCES` grant ingests views. MySQL has no metadata-only privilege, but it gates table metadata on holding some privilege on the object rather than on `SELECT` in particular. `REFERENCES` satisfies that check and reads no table data: ```SQL theme={null} CREATE USER ''[@''] IDENTIFIED BY ''; GRANT USAGE ON *.* TO ''; -- Apply REFERENCES at the schema level, not table by table, so every table stays discoverable GRANT REFERENCES ON world.* TO ''; -- Add SHOW VIEW to ingest views (Collate 2.0.6 and later) GRANT SHOW VIEW ON world.* TO ''; ``` With `REFERENCES` alone, Collate still ingests table and schema discovery, column names and data types, comments, primary and foreign keys, indexes, and table DDL. Usage and lineage keep working as long as the user also holds `SELECT` on `mysql.general_log`, as described in the lineage and usage requirements below. That grant covers a single system table and conveys no privilege on your own tables. Without `SELECT`, the following are unavailable on the tables in scope: * Views, unless the user also holds `SHOW VIEW` (Collate 2.0.6 and later) * Profiler and sample data * Data quality tests * Sample-based auto-classification, though column-name pattern rules, manual tagging, and glossary assignment still work * Stored procedures, which also require `EXECUTE` ### Aurora MySQL IAM Authentication > [!TIP] > > **Tip**: For Aurora MySQL IAM authentication, enable **IAM DB authentication** in your RDS cluster settings and use the same **cluster endpoint** you will configure in Collate. 1. Connect as an admin user with password authentication and create (or validate) the IAM DB user: ```sql theme={null} CREATE USER 'openmetadata_iam'@'%' IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS'; SHOW CREATE USER 'openmetadata_iam'@'%'; ``` 2. Grant minimum metadata permissions and verify: ```sql theme={null} GRANT SELECT, PROCESS, SHOW DATABASES, SHOW VIEW ON *.* TO 'openmetadata_iam'@'%'; FLUSH PRIVILEGES; SHOW GRANTS FOR 'openmetadata_iam'@'%'; ``` 3. Attach the IAM policy to the AWS principal used by ingestion: * Policy action must include `rds-db:connect`. * Resource must be exactly: `arn:aws:rds-db:::dbuser:/openmetadata_iam` * If ingestion runs on EC2/ECS/EKS, attach the policy to that runtime role. * If ingestion runs locally, attach the policy to the IAM user/profile generating auth tokens. 4. Validate IAM login from the same host that runs ingestion: ```bash theme={null} curl -o global-bundle.pem https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem TOKEN="$(aws rds generate-db-auth-token --hostname --port 3306 --region --username openmetadata_iam)" mysql -h -P 3306 --ssl-ca=global-bundle.pem -u openmetadata_iam -p"$TOKEN" ``` ### Lineage and Usage To extract lineage and usage, enable query logging in MySQL. The user configured in the connection needs SELECT access to `mysql.general_log`. ```sql theme={null} -- Enable Logging SET GLOBAL general_log='ON'; set GLOBAL log_output='table'; -- Grant SELECT on log table GRANT SELECT ON mysql.general_log TO ''@''; ``` #### Log Table Management The `mysql.general_log` table grows continuously as it stores query logs. This can consume significant storage space over time and affect the execution time of lineage and usage procedures. Collate recommends cleaning up log tables only after successful execution of Usage and Lineage workflows to avoid losing query data during extraction. Once cleanup occurs, the query history is lost. Here are some important considerations and best practices: ### Create a Manual Schedule to Rotate Logs When you rotate log tables manually, the current log table is copied to a backup log table and the entries in the current log table are removed. If the backup log table already exists, then it is deleted before the current log table is copied to the backup. Query the backup log table if needed. The backup log table for the `mysql.general_log` table is named `mysql.general_log_backup`. The backup log table for the `mysql.slow_log` table is named `mysql.slow_log_backup`. ```sql theme={null} -- rotate general logs CREATE PROCEDURE rotate_general_log() BEGIN -- Step 1: Drop the backup table if it exists DROP TABLE IF EXISTS mysql.general_log_backup; -- Step 2: Copy current general_log table to backup CREATE TABLE mysql.general_log_backup AS SELECT * FROM mysql.general_log; -- Step 3: Truncate the general_log table (clears all records) TRUNCATE TABLE mysql.general_log; END; -- call this procedure CALL rotate_general_log(); -- rotate slow logs CREATE PROCEDURE rotate_slow_log() BEGIN DROP TABLE IF EXISTS mysql.slow_log_backup; CREATE TABLE mysql.slow_log_backup AS SELECT * FROM mysql.slow_log; TRUNCATE TABLE mysql.slow_log; END -- call this procedure CALL rotate_slow_log(); ``` Check table size by running the following query: ```sql theme={null} SELECT table_name, round(data_length/1024/1024, 2) AS size_in_mb FROM information_schema.tables WHERE table_schema = 'mysql' AND table_name IN ('general_log', 'slow_log', 'general_log_backup', 'slow_log_backup'); ``` ### Create Automatic Event to Clear Older Logs Create an automatic event, as shown in the following example, to clear logs older than one week. ```sql theme={null} CREATE EVENT mysql.cleanup_general_log ON SCHEDULE EVERY 7 DAY DO DELETE FROM mysql.general_log WHERE event_time < NOW() - INTERVAL 7 DAY; ``` Note: If using RDS, rotate the `mysql.general_log` table manually by calling the `mysql.rds_rotate_general_log` procedure. Rotate the `mysql.slow_log` table by calling the `mysql.rds_rotate_slow_log` procedure. For more information on logs and rotation methods, see the following resources: * [Rotating MySQL query logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-stored-proc-logging.html) * [RDS for MySQL database logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.MySQL.LogFileSize.html#USER_LogAccess.MySQL.Generallog) * [Aurora for MySQL database logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.MySQL.LogFileSize.html#USER_LogAccess.MySQL.Generallog) **Best Practices**: * Monitor log table size regularly * Implement a log rotation schedule * Consider automating log cleanup after DAG execution * Keep logging enabled only when needed for lineage extraction ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables and schemas where the profiler or tests run. For more information, see [the profiler workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [data quality tests](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from MySQL, you need to create a service connection. The service connects MySQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **MySQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/mysql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=89e0ca6e57567b7960a8bf20220886fe) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MySQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/mysql.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a8eb8e73ce2fcfda4a97b03087599eeb) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MySQL. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/mysql.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=93659045dc7c9f6670cbfaa4e671179d) * **Username**: Specify the user to connect to MySQL. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM-based auth to connect to instances or cloud RDS. > [!TIP] > > **Tip**: For Aurora MySQL IAM in Collate, use: > > * **Username**: `openmetadata_iam` > * **Auth Type**: `IAM` > * **AWS Region**: `` (for example, `us-east-2`) > * **Host and Port**: `:3306` (use cluster endpoint) * **Basic Auth**: * **Password**: Password to connect to MySQL. * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). Because AWS can have instances in multiple regions, specify the region where the service you want to reach is located. The AWS Region is the only required parameter when configuring a connection. When connecting to services programmatically, AWS configurations can be extracted and used in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **IAM Policy Requirement**: The principal used by ingestion must have `rds-db:connect` permission with the exact DB user resource ARN: `arn:aws:rds-db:::dbuser:/openmetadata_iam`. * **Credentials Source**: * If ingestion runs on EC2/ECS/EKS, prefer runtime role credentials. * If ingestion runs locally, configure IAM user/profile credentials. * You can also provide AWS Access Key ID + AWS Secret Access Key + optional AWS Session Token. * If needed, use Assume Role (Assume Role Arn, Assume Role Session Name, optional Source Identity). * **Host and Port**: Use the Aurora **cluster endpoint** and port `3306` that ingestion will use. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **caCertificate**: Provide the CA bundle path used by ingestion runtime (for example, `global-bundle.pem`). * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client certificate file (ssl_key). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing MySQL Connection with SSL in Collate To establish secure connections between Collate and MySQL, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you'll need to use all three parameters: `ssl_key`, `ssl_cert`, and `ssl_ca`. In this case, `ssl_cert` is used for the client's SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `ssl_ca` for the CA certificate to validate the server's certificate. When using IAM auth with Aurora MySQL, ensure TLS is enabled and the CA file path is valid in the same runtime where ingestion executes. If you run ingestion in Docker or Kubernetes, mount the CA bundle into the container and configure the container path (not a laptop path). ```yaml theme={null} connectionArguments: ssl: ca: /path/in/runtime/global-bundle.pem ``` ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Reverse Metadata * **Description Management**: MySQL supports description updates at the following level: * Table level * **Owner Management**: Owner management is not supported for MySQL. * **Tag Management**: Tag management is not supported for MySQL. * **Custom SQL Template**: MySQL supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update table description ALTER TABLE {schema}.{table} COMMENT = {description}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * \` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [MySQL Troubleshooting](/ai-2-0/connectors/database/mysql/troubleshooting) > > Learn more about how to troubleshoot common MySQL connector issues and resolve configuration or ingestion errors. # MySQL Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/mysql/troubleshooting Troubleshoot MySQL ingestion including connection string errors, access restrictions, and schema version conflicts. ## Troubleshooting Use this section to resolve common errors when deploying and running ingestion workflows in Collate. ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then edit the Ingestion Pipeline and **Deploy** it again. * From the **Connection** tab, you can also edit the service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (for example, Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu for the ingestion type, and select **Edit**. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Oracle Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/oracle/hybrid-runner Connect Oracle to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Oracle](/public/images/connectors/oracle.webp) # Oracle PROD This section provides guides and references to use the Oracle connector. Configure and schedule Oracle metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/oracle/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). **Note**: To retrieve metadata from an Oracle database, Collate uses the `python-oracledb` library, which provides support for versions 12c, 18c, 19c, and 21c. To ingest metadata from Oracle, the user must have `CREATE SESSION` privilege. ```sql theme={null} -- CREATE USER CREATE USER user_name IDENTIFIED BY admin_password; -- CREATE ROLE CREATE ROLE new_role; -- GRANT ROLE TO USER GRANT new_role TO user_name; -- Grant CREATE SESSION Privilege. -- This allows the role to connect. GRANT CREATE SESSION TO new_role; -- Grant SELECT_CATALOG_ROLE Privilege. -- This allows the role ReadOnly Access to Data Dictionaries GRANT SELECT_CATALOG_ROLE TO new_role; ``` If you don't want to create a role, and directly give permissions to the user, you can take a look at an example given below. ```sql theme={null} -- Create a New User CREATE USER my_user IDENTIFIED by my_password; -- Grant CREATE SESSION Privilege. -- This allows the user to connect. GRANT CREATE SESSION TO my_user; -- Grant SELECT_CATALOG_ROLE Privilege. -- This allows the user ReadOnly Access to Data Dictionaries GRANT SELECT_CATALOG_ROLE to my_user; ``` **Note**: With just these permissions, your user should be able to ingest the metadata, but not the `Profiler & Data Quality`, you should grant `SELECT` permissions to the tables you are interested in for the `Profiler & Data Quality` features to work. ```sql theme={null} -- If you are using a role and do not want to specify a specific table, but any GRANT SELECT ANY TABLE TO new_role; -- If you are not using a role, but directly giving permission to the user and do not want to specify a specific table, but any GRANT SELECT ANY TABLE TO my_user; -- if you are using role GRANT SELECT ON ADMIN.EXAMPLE_TABLE TO new_role; -- if you are not using role, but directly giving permission to the user GRANT SELECT ON ADMIN.EXAMPLE_TABLE TO my_user; -- if you are using role GRANT SELECT ON {schema}.{table} TO new_role; -- if you are not using role, but directly giving permission to the user GRANT SELECT ON {schema}.{table} TO my_user; ``` For more information, see [GRANT Statement](https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqljgrant.html). Note that there is no routine out of the box in Oracle to grant SELECT to a full schema. ## Metadata Ingestion To ingest metadata from Oracle, you need to create a service connection. The service connects Oracle with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Oracle** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/oracle.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3d92147d335a9e072c7a7f5fc23209cc) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Oracle services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/oracle.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=2c749147a87d9c9a8258cb0e9eb119ad) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Oracle. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/oracle.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=05fe1c942e554b0df5d8b5e5843fc1f2) * **Username**: Specify the user to connect to Oracle. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Oracle. * **Host and Port**: Enter the fully qualified hostname and port number for your Oracle deployment in the Host and Port field. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. Use the same database name as the SID. This ensures accurate results and proper identification of tables during profiling, data quality checks, and dbt workflows. * **Oracle Connection Type**: Select the Oracle Connection Type. The type can either be `Oracle Service Name` or `Database Schema`. * **Oracle Service Name**: The Oracle Service name is the TNS alias that you give when you remotely connect to your database and this Service name is recorded in tnsnames. * **Database Schema**: The name of the database schema available in Oracle that you want to connect with. * **Oracle instant client directory**: The directory pointing to where the `instantclient` binaries for Oracle are located. In the ingestion Docker image, Collate provides them by default at `/instantclient`. If this parameter is set (the default), Collate runs the [thick Oracle client](https://python-oracledb.readthedocs.io/en/latest/user_guide/initialization.html#initializing-python-oracledb). Collate ships the binaries for ARM and AMD architectures from [Instant Client for Linux x86-64](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html) and [Instant Client for Linux ARM](https://www.oracle.com/database/technologies/instant-client/linux-arm-aarch64-downloads.html) for the instant client version 19. * **Use DBA Tables**: Enabled by default. When enabled, the connector uses `DBA_TABLES` to retrieve metadata for all database objects, which requires DBA-level privileges. Disable it to use `ALL_TABLES`, which only returns metadata for objects accessible to the current user. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Oracle supports description updates at the following levels: * Table level * Column level * **Owner Management**: Owner management is not supported for Oracle. * **Tag Management**: Tag management is not supported for Oracle. * **Custom SQL Template**: Oracle supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update column description COMMENT ON COLUMN {schema}.{table}.{column} IS {description} ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Oracle Troubleshooting](/ai-2-0/connectors/database/oracle/troubleshooting) > > Learn more about how to troubleshoot common Oracle connector issues and resolve configuration or ingestion errors. # Oracle Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/oracle/index Connect Oracle to Collate effortlessly. Complete setup guide, configuration steps, and troubleshooting tips for seamless data catalog integration. ![Oracle](/public/images/connectors/oracle.webp) # Oracle PROD [YouTube video player](https://www.youtube.com/embed/8bGaJ251WyE) This section provides guides and references to use the Oracle connector. Configure and schedule Oracle metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/oracle/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements **Note**: To retrieve metadata from an Oracle database, Collate uses the `python-oracledb` library, which provides support for versions 12c, 18c, 19c, and 21c. To ingest metadata from Oracle, the user must have `CREATE SESSION` privilege. ```sql theme={null} -- CREATE USER CREATE USER user_name IDENTIFIED BY admin_password; -- CREATE ROLE CREATE ROLE new_role; -- GRANT ROLE TO USER GRANT new_role TO user_name; -- Grant CREATE SESSION Privilege. -- This allows the role to connect. GRANT CREATE SESSION TO new_role; -- Grant SELECT_CATALOG_ROLE Privilege. -- This allows the role ReadOnly Access to Data Dictionaries GRANT SELECT_CATALOG_ROLE TO new_role; ``` To give permissions directly to the user instead of creating a role, use the following example. ```sql theme={null} -- Create a New User CREATE USER my_user IDENTIFIED by my_password; -- Grant CREATE SESSION Privilege. -- This allows the user to connect. GRANT CREATE SESSION TO my_user; -- Grant SELECT_CATALOG_ROLE Privilege. -- This allows the user ReadOnly Access to Data Dictionaries GRANT SELECT_CATALOG_ROLE to my_user; ``` **Note**: With just these permissions, the user can ingest metadata, but not run Data Profiler and Data Quality workflows. Grant `SELECT` permissions on the tables to include in profiling and data quality checks. ```sql theme={null} -- If you are using a role and do not want to specify a specific table, but any GRANT SELECT ANY TABLE TO new_role; -- If you are not using a role, but directly giving permission to the user and do not want to specify a specific table, but any GRANT SELECT ANY TABLE TO my_user; -- if you are using role GRANT SELECT ON ADMIN.EXAMPLE_TABLE TO new_role; -- if you are not using role, but directly giving permission to the user GRANT SELECT ON ADMIN.EXAMPLE_TABLE TO my_user; -- if you are using role GRANT SELECT ON {schema}.{table} TO new_role; -- if you are not using role, but directly giving permission to the user GRANT SELECT ON {schema}.{table} TO my_user; ``` For more information, see the [Oracle GRANT statement reference](https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqljgrant.html). Oracle provides no built-in routine to grant SELECT on a full schema. ## Metadata Ingestion To ingest metadata from Oracle, you need to create a service connection. The service connects Oracle with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Oracle** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/oracle.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3d92147d335a9e072c7a7f5fc23209cc) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Oracle services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/oracle.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=2c749147a87d9c9a8258cb0e9eb119ad) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline executes. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Oracle. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/oracle.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=05fe1c942e554b0df5d8b5e5843fc1f2) * **Username**: Specify the user to connect to Oracle. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Oracle. * **Host and Port**: Enter the fully qualified hostname and port number for your Oracle deployment. * **Database Name**: Optional name for the database in Collate. If left blank, Collate uses a default database name. Use the same name as the SID to ensure accurate results and proper identification of tables during profiling, data quality checks, and dbt workflows. * **Oracle Connection Type**: Select the Oracle Connection Type. The type can either be `Oracle Service Name` or `Database Schema`. * **Oracle Service Name**: The TNS alias used to connect remotely to the database. Oracle records this service name in `tnsnames.ora`. * **Database Schema**: The name of the database schema available in Oracle to connect with. * **Oracle instant client directory**: The directory pointing to where the `instantclient` binaries for Oracle are located. In the ingestion Docker image, Collate provides them by default at `/instantclient`. If this parameter is set (it is by default), Collate runs the [thick Oracle client](https://python-oracledb.readthedocs.io/en/latest/user_guide/initialization.html#initializing-python-oracledb). Collate ships instant client version 19 binaries for the [AMD64 architecture](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html) and the [ARM64 architecture](https://www.oracle.com/database/technologies/instant-client/linux-arm-aarch64-downloads.html). * **Use DBA Tables**: Enabled by default. When enabled, the connector uses `DBA_TABLES` to retrieve metadata for all database objects, which requires DBA-level privileges. Disable it to use `ALL_TABLES`, which only returns metadata for objects accessible to the current user. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is only required for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose one of the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Oracle supports description updates at the following levels: * Table level * Column level * **Owner Management**: Owner management is not supported for Oracle. * **Tag Management**: Tag management is not supported for Oracle. * **Custom SQL Template**: Oracle supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update column description COMMENT ON COLUMN {schema}.{table}.{column} IS {description} ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Oracle Troubleshooting](/ai-2-0/connectors/database/oracle/troubleshooting) > > Learn more about how to troubleshoot common Oracle connector issues and resolve configuration or ingestion errors. # Oracle Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/oracle/troubleshooting Troubleshoot Oracle connector issues in Collate, including connection errors, authentication problems, and metadata ingestion failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # PinotDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/pinotdb/hybrid-runner Connect Apache Pinot to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![PinotDB](/public/images/connectors/pinot.webp) # PinotDB PROD This section provides guides and references to use the PinotDB connector. Configure and schedule PinotDB metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/pinotdb/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user needs to have access to the Pinot broker and controller APIs. The user should have permissions to query the controller for table schemas and the broker for query execution. ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have query execution permissions on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from PinotDB, you need to create a service connection. The service connects PinotDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **PinotDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/pinotdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=64ac3baab3e8d60cdb656a3d090387ae) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PinotDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/pinotdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=f267b1e334fd4e9526d7ba6468a1e09c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PinotDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/pinotdb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=2fc467eea61dfa1abe1997be7e86eda7) * **Username**: Specify the user to connect to PinotDB. It should have enough privileges to read all the metadata. * **Password**: Password to connect to PinotDB. * **Host and Port**: Enter the fully qualified hostname and port number for your PinotDB deployment in the Host and Port field. Unlike broker host, prefix http\:// or https\:// must be added to controller host. For example, pinot broker host can be set to `localhost:8099` and pinot controller host can be set to `http://localhost:9000`. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **caCertificate**: Provide the path to ssl ca file. * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client certificate file (ssl_key). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [PinotDB Troubleshooting](/ai-2-0/connectors/database/pinotdb/troubleshooting) > > Learn more about how to troubleshoot common PinotDB connector issues and resolve configuration or ingestion errors. # PinotDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/pinotdb/index Connect Apache Pinot to Collate with our comprehensive database connector guide. Setup instructions, configuration examples, and metadata extraction tips. ![PinotDB](/public/images/connectors/pinot.webp) # PinotDB PROD This section provides guides and references to use the PinotDB connector. Configure and schedule PinotDB metadata and profiler workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Troubleshooting](/ai-2-0/connectors/database/pinotdb/troubleshooting) ## Requirements ### Metadata To extract metadata, the user needs to have access to the Pinot broker and controller APIs. The user should have permissions to query the controller for table schemas and the broker for query execution. ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have query execution permissions on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from PinotDB, you need to create a service connection. The service connects PinotDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **PinotDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/pinotdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=64ac3baab3e8d60cdb656a3d090387ae) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PinotDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/pinotdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=f267b1e334fd4e9526d7ba6468a1e09c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PinotDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/pinotdb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=2fc467eea61dfa1abe1997be7e86eda7) * **Username**: Specify the user to connect to PinotDB. It should have enough privileges to read all the metadata. * **Password**: Password to connect to PinotDB. * **Host and Port**: Enter the fully qualified hostname and port number for your PinotDB deployment in the Host and Port field. Unlike broker host, prefix http\:// or https\:// must be added to controller host. For example, pinot broker host can be set to `localhost:8099` and pinot controller host can be set to `http://localhost:9000`. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses the default database name. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **caCertificate**: Provide the path to ssl ca file. * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client certificate file (ssl_key). #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [PinotDB Troubleshooting](/ai-2-0/connectors/database/pinotdb/troubleshooting) > > Learn more about how to troubleshoot common PinotDB connector issues and resolve configuration or ingestion errors. # PinotDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/pinotdb/troubleshooting Resolve Pinot connector issues including schema ingestion failures, query misalignment, or connection problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # PostgreSQL Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/postgres/hybrid-runner Connect PostgreSQL to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![PostgreSQL](/public/images/connectors/post.webp) # PostgreSQL PROD This section provides guides and references to use the PostgreSQL connector. Configure and schedule PostgreSQL metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-postgresql-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/postgres/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: Collate supports only the officially supported PostgreSQL versions. For more information, see [PostgreSQL Versioning Policy](https://www.postgresql.org/support/versioning/). ### Usage and Lineage For the usage and lineage workflow, Collate relies on the [`pg_stat_statements`](https://www.postgresql.org/docs/current/pgstatstatements.html) extension to read query history. You need to enable the extension and grant your user read access to query statistics. **1. Load the extension at server startup** by adding the following to your `postgresql.conf`: ```ini theme={null} shared_preload_libraries = 'pg_stat_statements' ``` After making this change, restart the PostgreSQL server. **2. Enable the extension and grant access** by running the following SQL as a superuser: ```sql theme={null} CREATE EXTENSION IF NOT EXISTS pg_stat_statements; -- Grant read access to the OpenMetadata user GRANT pg_read_all_stats TO your_user; ``` For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage). > [!WARNING] > > **Important**: `pg_stat_statements` is **not a query log**: it is a fixed-size, in-memory statistics collector. This has important implications for lineage and usage completeness: > > * **Entry eviction**: It stores entries in a hash table controlled by `pg_stat_statements.max` (default: **5000**). When full, the least-executed entries are silently evicted. Queries can disappear before Collate reads them. > * **Query normalization**: Queries are deduplicated by shape. Literal values are replaced with placeholders (for example, `SELECT * FROM users WHERE id = $1`). Individual executions are not stored. > * **No timestamps**: There is no time data. Only cumulative `calls` count and `total_exec_time` since the last reset are tracked. The **query log duration** setting in Collate will have no impact. Only the **query limit** matters. > * **Resets clear everything**: A server restart or `pg_stat_statements_reset()` wipes all entries. To get the most complete lineage and usage data, configure the following: * **Increase `pg_stat_statements.max`** to at least `10000` (or higher) in `postgresql.conf` to reduce entry eviction. * **Set `pg_stat_statements.track = 'all'`** in `postgresql.conf` to capture queries inside functions and procedures. * **Schedule frequent ingestion runs** (for example, every 1–2 hours) to capture queries before they are evicted. * **Avoid calling `pg_stat_statements_reset()`** before ingestion. If periodic resets are needed, schedule them after ingestion completes. If your organization restricts direct access to `pg_stat_statements`, or if you need more control over query retention, you can set the **Query Statement Source** connection property to a custom view or table (for example, `my_schema.custom_query_history`). The custom source must expose the same columns that Collate reads from `pg_stat_statements`: `userid` (oid), `dbid` (oid), `query` (text), and either `total_exec_time` (double precision, PostgreSQL 13+) or `total_time` (double precision, PostgreSQL \< 13). If not set, Collate defaults to `pg_stat_statements`. ### IAM Authentication To be able to connect via IAM, you need to have the following: 1. Database is configured to use IAM authentication. Ensure that the RDS has IAM DB authentication enabled. Otherwise, select **Modify** to enable it. 2. The user has the necessary IAM permissions. Even if you use IAM to connect to PostgreSQL, you need to specify a user to prepare the connection. You need to create a user as follows: ```sql theme={null} CREATE USER iam_user WITH LOGIN; GRANT rds_iam TO iam_user; ``` 3. The AWS Role has the necessary permissions. The role that is going to be used to perform the ingestion, needs to have the following permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "rds-db:connect" ], "Resource": [ "arn:aws:rds-db:eu-west-1::dbuser:/" ] } ] } ``` Otherwise, you might be finding issues such as: PAM authentication failed for user "\" ## Stored Procedures When executing stored procedures in PostgreSQL, lineage extraction relies on capturing the SQL queries executed within the procedure. However, by default, PostgreSQL does not track the internal queries of a stored procedure in `pg_stat_statements`. ### Enabling Query Tracking for Lineage To ensure Collate captures lineage from stored procedures, follow these steps: 1. **Enable Logging for All Statements**. Modify the `postgresql.conf` file and set: ```ini theme={null} log_statement = 'all' ``` This will log all executed SQL statements, including those inside stored procedures. 2. **Configure `pg_stat_statements` to Track Nested Queries**. By default, `pg_stat_statements` may only capture top-level procedure calls and not the internal queries. To change this behavior, update: ```ini theme={null} pg_stat_statements.track = 'all' ``` This ensures that statements executed within procedures are recorded. ## Metadata Ingestion To ingest metadata from PostgreSQL, you need to create a service connection. The service connects PostgreSQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **PostgreSQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/postgres.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=c52a4cbfff5fb9e9aee5767797481189) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PostgreSQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/postgres.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=cb3b975a7c83dea66c32bc03cf27f8f1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PostgreSQL. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/postgres.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=078364a8629b0b65ea330343d0d5d3a1) * **Username**: Specify the user to connect to PostgreSQL. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud rds. * **Basic Auth**: * **Password**: Password to connect to PostgreSQL. * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **Host and Port**: Enter the fully qualified hostname and port number for your PostgreSQL deployment in the Host and Port field. #### SSL Modes There are a couple of types of SSL modes that PostgreSQL supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified, and the server hostname must match the hostname attribute on the certificate. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, add the SSL config under `sslConfig`, which is placed in the source. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing PostgreSQL Connection with SSL in Collate To establish secure connections between Collate and a PostgreSQL database, you can configure SSL using different SSL modes provided by PostgreSQL, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that PostgreSQL requires only the CA certificate for SSL validation. > [!TIP] > > **Tip**: For IAM authentication, choose the `allow` mode or another SSL mode that fits your requirements. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Reverse Metadata * **Description Management**: PostgreSQL supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: PostgreSQL supports owner management at the following levels: * Database level * Schema level * Table level * **Tag Management**: Tag management is not supported for PostgreSQL. * **Custom SQL Template**: PostgreSQL supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update database owner ALTER DATABASE {database} OWNER TO {owner}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * `SUPERUSER` privilege to the user ```sql theme={null} -- Grant superuser privilege to the user ALTER ROLE USER_NAME SUPERUSER; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [PostgreSQL Troubleshooting](/ai-2-0/connectors/database/postgres/troubleshooting) > > Learn more about how to troubleshoot common PostgreSQL connector issues and resolve configuration or ingestion errors. # PostgreSQL Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/postgres/index Connect PostgreSQL to Collate with our comprehensive database connector guide. Step-by-step setup, configuration examples, and metadata extraction tips. ![PostgreSQL](/public/images/connectors/post.webp) # PostgreSQL PROD This section provides guides and references to use the PostgreSQL connector. Configure and schedule PostgreSQL metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-postgresql-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/postgres/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!TIP] > > **Tip**: Collate supports only officially supported PostgreSQL versions. Check the [PostgreSQL versioning policy](https://www.postgresql.org/support/versioning/) for supported versions. ### Usage and Lineage For the usage and lineage workflow, Collate relies on the [`pg_stat_statements`](https://www.postgresql.org/docs/current/pgstatstatements.html) extension to read query history. Enable the extension and grant your user read access to query statistics. **1. Load the extension at server startup** by adding the following to your `postgresql.conf`: ```ini theme={null} shared_preload_libraries = 'pg_stat_statements' ``` After making this change, restart the PostgreSQL server. **2. Enable the extension and grant access** by running the following SQL as a superuser: ```sql theme={null} CREATE EXTENSION IF NOT EXISTS pg_stat_statements; -- Grant read access to the Collate user GRANT pg_read_all_stats TO your_user; ``` For more information, see the [usage workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [lineage workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) guides. > [!WARNING] > > **Important**: `pg_stat_statements` is **not a query log**: it is a fixed-size, in-memory statistics collector. This has important implications for lineage and usage completeness: > > * **Entry eviction**: It stores entries in a hash table controlled by `pg_stat_statements.max` (default: **5000**). When full, the least-executed entries are silently evicted. Queries can disappear before Collate reads them. > * **Query normalization**: Queries are deduplicated by shape. Literal values are replaced with placeholders (for example, `SELECT * FROM users WHERE id = $1`). Individual executions are not stored. > * **No timestamps**: There is no time data. Only cumulative `calls` count and `total_exec_time` since the last reset are tracked. The **query log duration** setting in Collate will have no impact. Only the **query limit** matters. > * **Resets clear everything**: A server restart or `pg_stat_statements_reset()` wipes all entries. For the most complete lineage and usage data, apply the following recommendations: * **Increase `pg_stat_statements.max`** to at least `10000` (or higher) in `postgresql.conf` to reduce entry eviction. * **Set `pg_stat_statements.track = 'all'`** in `postgresql.conf` to capture queries inside functions and procedures. * **Schedule frequent ingestion runs** (for example, every 1–2 hours) to capture queries before they are evicted. * **Avoid calling `pg_stat_statements_reset()`** before ingestion. If periodic resets are needed, schedule them after ingestion completes. If your organization restricts direct access to `pg_stat_statements`, or you need more control over query retention, set the **Query Statement Source** connection property to a custom view or table (for example, `my_schema.custom_query_history`). The custom source must expose the same columns that Collate reads from `pg_stat_statements`: `userid` (oid), `dbid` (oid), `query` (text), and either `total_exec_time` (double precision, PostgreSQL 13+) or `total_time` (double precision, PostgreSQL \< 13). If not set, Collate defaults to `pg_stat_statements`. ### IAM Authentication To connect via IAM, you need the following: 1. Database is configured to use IAM authentication. Ensure that the RDS has IAM DB authentication enabled. Otherwise, select **Modify** to enable it. 2. The user has the necessary IAM permissions. Even if you use IAM to connect to PostgreSQL, you need to specify a user to prepare the connection. Create a user as follows: ```sql theme={null} CREATE USER iam_user WITH LOGIN; GRANT rds_iam TO iam_user; ``` 3. The AWS Role has the necessary permissions. The role used to perform the ingestion needs the following permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "rds-db:connect" ], "Resource": [ "arn:aws:rds-db:eu-west-1::dbuser:/" ] } ] } ``` Otherwise, you might encounter issues such as: PAM authentication failed for user "\" ## Stored Procedures When executing stored procedures in PostgreSQL, lineage extraction relies on capturing the SQL queries executed within the procedure. However, by default, PostgreSQL does not track the internal queries of a stored procedure in `pg_stat_statements`. ### Enabling Query Tracking for Lineage To ensure Collate captures lineage from stored procedures, follow these steps: 1. **Enable Logging for All Statements**. Modify the `postgresql.conf` file and set: ```ini theme={null} log_statement = 'all' ``` This will log all executed SQL statements, including those inside stored procedures. 2. **Configure `pg_stat_statements` to Track Nested Queries**. By default, `pg_stat_statements` may only capture top-level procedure calls and not the internal queries. To change this behavior, update: ```ini theme={null} pg_stat_statements.track = 'all' ``` This ensures that statements executed within procedures are recorded. ## Metadata Ingestion To ingest metadata from PostgreSQL, you need to create a service connection. The service connects PostgreSQL with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **PostgreSQL** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/postgres.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=c52a4cbfff5fb9e9aee5767797481189) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PostgreSQL services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/postgres.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=cb3b975a7c83dea66c32bc03cf27f8f1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PostgreSQL. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/postgres.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=078364a8629b0b65ea330343d0d5d3a1) * **Username**: Specify the user to connect to PostgreSQL. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM-based auth to connect to instances or cloud RDS. * **Basic Auth**: * **Password**: Password to connect to PostgreSQL. * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: an **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. For more information, see [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). Because AWS can have instances in multiple regions, specify the region where the service you want to reach is located. The AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, different methods exist to extract and use the rest of the AWS configuration. For more information, see [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, provide the AWS Access Key ID and AWS Secret Access Key. These also include an AWS Session Token. For more information, see [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. Specify an alternate endpoint for your API requests if needed. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials you apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. Specify this field to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that lets the user call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS Region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. Use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **Host and Port**: Enter the fully qualified hostname and port number for your PostgreSQL deployment in the Host and Port field. #### SSL Modes There are a couple of types of SSL modes that PostgreSQL supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified, and the server hostname must match the hostname attribute on the certificate. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, add the SSL config under `sslConfig`, which is placed in the source. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing PostgreSQL Connection with SSL in Collate To establish secure connections between Collate and a PostgreSQL database, you can configure SSL using different SSL modes provided by PostgreSQL, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that PostgreSQL requires only the CA certificate for SSL validation. > [!TIP] > > **Tip**: For IAM authentication, choose the `allow` mode or another SSL mode that fits your requirements. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Reverse Metadata * **Description Management**: PostgreSQL supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: PostgreSQL supports owner management at the following levels: * Database level * Schema level * Table level * **Tag Management**: Tag management is not supported for PostgreSQL. * **Custom SQL Template**: PostgreSQL supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update database owner ALTER DATABASE {database} OWNER TO {owner}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * `SUPERUSER` privilege to the user ```sql theme={null} -- Grant superuser privilege to the user ALTER ROLE USER_NAME SUPERUSER; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [PostgreSQL Troubleshooting](/ai-2-0/connectors/database/postgres/troubleshooting) > > Learn more about how to troubleshoot common PostgreSQL connector issues and resolve configuration or ingestion errors. # PostgreSQL Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/postgres/troubleshooting Troubleshoot Postgres connector for issues like access denial, column mismatch, or timeouts. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Troubleshooting: `pg_stat_statements` Relation Does Not Exist **Issue** When running a query through Collate, you may encounter the following error: ```sql theme={null} (psycopg2.errors.UndefinedTable) relation "pg_stat_statements" does not exist LINE 9: pg_stat_statements s ``` **Cause** This error occurs because the PostgreSQL extension `pg_stat_statements` is not enabled. This extension is required to access query execution statistics, which are used by Collate for usage and lineage extraction. **Solution** Enable the `pg_stat_statements` extension in your PostgreSQL instance. You can do this by executing the following command as a superuser: ```sql theme={null} CREATE EXTENSION IF NOT EXISTS pg_stat_statements; ``` Additionally, ensure the extension is loaded at server startup by setting the following in your `postgresql.conf`: ```ini theme={null} shared_preload_libraries = 'pg_stat_statements' ``` After making this change, restart the PostgreSQL server. For more details, refer to the official PostgreSQL documentation: [pg_stat_statements – PostgreSQL](https://www.postgresql.org/docs/current/pgstatstatements.html) ## Incomplete or Missing Lineage/Usage Data **Issue** Lineage or usage data appears incomplete — some queries or tables are missing from the results, or the number of tracked queries seems to decrease over time. **Cause** `pg_stat_statements` is not a persistent query log. It is a fixed-size, in-memory hash table that stores aggregated statistics per unique query shape. When the table is full (default: 5000 entries), the least-executed entries are silently evicted. Server restarts also clear all entries. **Solution** 1. **Increase `pg_stat_statements.max`** to at least `10000` (or higher) in `postgresql.conf`. 2. **Run ingestion more frequently**: schedule usage and lineage pipelines every 1–2 hours instead of daily. 3. **Avoid resetting stats before ingestion**: do not call `pg_stat_statements_reset()` before an ingestion run. 4. **Use a custom query source**: if `pg_stat_statements` does not provide sufficient retention, you can periodically snapshot its contents into a persistent table and point Collate to it using the `queryStatementSource` connection property. See the [Usage and Lineage](/ai-2-0/connectors/database/postgres#usage-and-lineage) section for details. Learn how to resolve the most common problems people encounter in the PostgreSQL connector. ## Column XYZ does not exist If when running the metadata ingestion workflow you get a similar error to: ``` Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/airflow/models/taskinstance.py", line 1165, in _run_raw_task self._prepare_and_execute_task_with_callbacks(context, task) File "/usr/local/lib/python3.9/site-packages/airflow/models/taskinstance.py", line 1283, in _prepare_and_execute_task_with_callbacks result = self._execute_task(context, task_copy) File "/usr/local/lib/python3.9/site-packages/airflow/models/taskinstance.py", line 1313, in _execute_task result = task_copy.execute(context=context) File "/usr/local/lib/python3.9/site-packages/airflow/operators/python.py", line 150, in execute return_value = self.execute_callable() File "/usr/local/lib/python3.9/site-packages/airflow/operators/python.py", line 161, in execute_callable return self.python_callable(*self.op_args, **self.op_kwargs) File "/usr/local/lib/python3.9/site-packages/openmetadata/workflows/ingestion/common.py", line 114, in metadata_ingestion_workflow workflow.execute() File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/api/workflow.py", line 161, in execute for record in self.source.next_record(): File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/api/topology_runner.py", line 104, in next_record yield from self.process_nodes(get_topology_root(self.topology)) File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/api/topology_runner.py", line 89, in process_nodes yield from self.process_nodes(child_nodes) File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/api/topology_runner.py", line 89, in process_nodes yield from self.process_nodes(child_nodes) File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/api/topology_runner.py", line 89, in process_nodes yield from self.process_nodes(child_nodes) File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/api/topology_runner.py", line 67, in process_nodes for element in node_producer() or []: File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/source/database/common_db_source.py", line 210, in get_tables_name_and_type if self.is_partition( File "/usr/local/lib/python3.9/site-packages/metadata/ingestion/source/database/postgres.py", line 87, in is_partition cur.execute( psycopg2.errors.UndefinedColumn: column "relispartition" does not exist LINE 2: SELECT relispartition as is_partition ``` Then you might be using an unsupported PostgreSQL version. Check the requirements for the PostgreSQL connector: Collate supports only the officially supported PostgreSQL versions. For more information, see [PostgreSQL Versioning Policy](https://www.postgresql.org/support/versioning/). ## Error: `no pg_hba.conf entry for host` When trying to connect to a PostgreSQL server hosted on Azure/AWS using basic authentication, the connection may fail with the following error message: ``` (psycopg2.OperationalError) FATAL: no pg_hba.conf entry for host "x.xx.xxx.x", user "xxxxxx", database "xxxxx", no encryption ``` This error generally indicates that the host trying to access the PostgreSQL server is not permitted according to the server's `pg_hba.conf` configuration, which manages authentication. 1. **Allowlist the IP address** Ensure that the IP address provided by the Collate Service wizard is allowlisted in the Azure network firewall rules. You should also verify that the correct IP is added in the firewall for the database to allow connections from Collate. 2. **Check pg_hba.conf File** While Azure-managed PostgreSQL doesn't allow direct access to modify the `pg_hba.conf` file, you can control access using Azure Firewall rules. Ensure that the IP address attempting to connect is allowed. 3. **Verify Network Access** Ensure that the PostgreSQL server is accessible from the internet for the allowed IP addresses. If the server is behind a VPN or private network, adjust the network settings accordingly. 4. **Adjust SSL Mode** The error could also be related to SSL settings. Setting the SSL mode to `allow` can help resolve this issue. Modify the connection settings in the Collate Service configuration to: ``` SSL Mode: Allow ``` This will allow the connection even if SSL is not enforced by the server. ## Error: `PAM authentication failed for user ""` If you are facing this error, it means that the user you are using to connect to the database does not have the necessary IAM permissions. To be able to connect via IAM, you need to have the following: 1. Database is configured to use IAM authentication. Ensure that the RDS has IAM DB authentication enabled. Otherwise, select **Modify** to enable it. 2. The user has the necessary IAM permissions. Even if you use IAM to connect to PostgreSQL, you need to specify a user to prepare the connection. You need to create a user as follows: ```sql theme={null} CREATE USER iam_user WITH LOGIN; GRANT rds_iam TO iam_user; ``` 3. The AWS Role has the necessary permissions. The role that is going to be used to perform the ingestion, needs to have the following permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "rds-db:connect" ], "Resource": [ "arn:aws:rds-db:eu-west-1::dbuser:/" ] } ] } ``` # Presto Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/presto/hybrid-runner Connect Presto to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Presto](/public/images/connectors/presto.webp) # Presto PROD This section provides guides and references to use the Presto connector. Configure and schedule Presto metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/presto/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user needs to be able to perform `SHOW CATALOGS`, `SHOW TABLES`, and `SHOW COLUMNS FROM` on the catalogs/tables you wish to extract metadata from and have `SELECT` permission on the `INFORMATION_SCHEMA`. Access to resources will be different based on the connector used. For more information, see [Presto Connectors](https://prestodb.io/docs/current/connector.html). For more information, see [Presto System Access Control](https://prestodb.io/docs/current/security/built-in-system-access-control.html). ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Presto, you need to create a service connection. The service connects Presto with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Presto** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/presto.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b3bf40cf7a169684b0454adbde9eadfe) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Presto services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/presto.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=7ba5558352e895c77966e74d3cc21157) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Presto. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/presto.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=32a3f2f44e7ef4cb112b8b9d6493a5ea) * **Username**: Specify the user to connect to Presto. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Presto. * **Host and Port**: Enter the fully qualified hostname and port number for your Presto deployment in the Host and Port field. * **Catalog**: Presto offers a catalog feature where all the databases are stored. * **DatabaseSchema**: DatabaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Presto Troubleshooting](/ai-2-0/connectors/database/presto/troubleshooting) > > Learn more about how to troubleshoot common Presto connector issues and resolve configuration or ingestion errors. # Presto Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/presto/index Connect Presto to Collate with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction for seamless integration. ![Presto](/public/images/connectors/presto.webp) # Presto PROD This section provides guides and references to use the Presto connector. Configure and schedule Presto metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/presto/troubleshooting) ## Requirements ### Metadata To extract metadata, the user needs to be able to perform `SHOW CATALOGS`, `SHOW TABLES`, and `SHOW COLUMNS FROM` on the catalogs/tables you wish to extract metadata from and have `SELECT` permission on the `INFORMATION_SCHEMA`. Access to resources will be different based on the connector used. For more information, see [Presto Connectors](https://prestodb.io/docs/current/connector.html). For more information, see [Presto System Access Control](https://prestodb.io/docs/current/security/built-in-system-access-control.html). ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Iceberg Table Support Presto supports Iceberg table ingestion in Collate through catalog connector metadata. ### How Table Classification Works * Collate inspects catalog metadata to identify whether the configured catalog is backed by the Iceberg connector. * Tables from Iceberg-backed catalogs are classified in Collate as `Iceberg`. ### Access Requirements * **Catalog permissions**: Grant access to list catalogs and read system metadata used by Presto for connector discovery. * **File system permissions**: Direct object storage write permissions are not required for metadata ingestion. Keep read access aligned with your configured Iceberg catalog and storage policies. ## Metadata Ingestion To ingest metadata from Presto, you need to create a service connection. The service connects Presto with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Presto** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/presto.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b3bf40cf7a169684b0454adbde9eadfe) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Presto services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/presto.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=7ba5558352e895c77966e74d3cc21157) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Presto. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/presto.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=32a3f2f44e7ef4cb112b8b9d6493a5ea) * **Username**: Specify the user to connect to Presto. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Presto. * **Host and Port**: Enter the fully qualified hostname and port number for your Presto deployment in the Host and Port field. * **Catalog**: Presto offers a catalog feature where all the databases are stored. * **DatabaseSchema**: DatabaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Presto Troubleshooting](/ai-2-0/connectors/database/presto/troubleshooting) > > Learn more about how to troubleshoot common Presto connector issues and resolve configuration or ingestion errors. # Presto Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/presto/troubleshooting Troubleshoot Presto connector for query failures, ingestion errors, or unsupported schema configurations. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # QuestDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/questdb/hybrid-runner Connect QuestDB to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![QuestDB](/public/images/connectors/questdb.png) # QuestDB BETA This section provides guides and references to use the QuestDB connector. Configure and schedule QuestDB metadata and lineage workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/questdb/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). QuestDB exposes metadata through its built-in table functions (`tables()`, `views()`, `materialized_views()`, and `table_columns()`). Any authenticated user can call these functions. No additional database grants are required beyond valid credentials and network access to the QuestDB PostgreSQL wire protocol port (default: **8812**). > [!NOTE] > > **Note**: On QuestDB Enterprise, role-based access control (RBAC) is enforced at the connection endpoint. In addition to valid credentials, the service account must be granted PGWIRE endpoint access, or the connection is refused even though authentication succeeds: > > ```sql theme={null} > GRANT PGWIRE TO ''; > ``` ## Metadata Ingestion To ingest metadata from QuestDB, you need to create a service connection. The service connects QuestDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **QuestDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/questdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=71970a9153a67ccb1bc76d7f39ac98bc) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other QuestDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/questdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3eb5d1551a9ca0a0361e283fb34ee5bd) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for QuestDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/questdb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d04331a9c69fbecd4ecf2e8ebf3f9946) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Username to connect to QuestDB. Ensure you have enough privileges to read all the metadata. * **Password**: Password for the QuestDB user. * **Host and Port**: Host and port of the QuestDB service. QuestDB exposes the PostgreSQL wire protocol on port **8812** by default (for example, `localhost:8812`). * **Connection Options** (optional): Additional connection options to pass to the database during connection as key-value pairs. * **Connection Arguments** (optional): Additional connection arguments such as security or protocol configs as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between **Scan all** (default) or **Only specific** to enable include rules. * **Always exclude**: Add permanent exclusion rules. Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [QuestDB Troubleshooting](/ai-2-0/connectors/database/questdb/troubleshooting) > > Learn more about how to troubleshoot common QuestDB connector issues and resolve configuration or ingestion errors. # QuestDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/questdb/index Connect QuestDB to Collate with our comprehensive connector guide. Set up metadata ingestion and view lineage extraction in minutes. ![QuestDB](/public/images/connectors/questdb.png) # QuestDB BETA This section provides guides and references to use the QuestDB connector. Configure and schedule QuestDB metadata and lineage workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/questdb/troubleshooting) ## Requirements QuestDB exposes metadata through its built-in table functions (`tables()`, `views()`, `materialized_views()`, and `table_columns()`). Any authenticated user can call these functions. No additional database grants are required beyond valid credentials and network access to the QuestDB PostgreSQL wire protocol port (default: **8812**). > [!NOTE] > > **Note**: On QuestDB Enterprise, role-based access control (RBAC) is enforced at the connection endpoint. In addition to valid credentials, the service account must be granted PGWIRE endpoint access, or the connection is refused even though authentication succeeds: > > ```sql theme={null} > GRANT PGWIRE TO ''; > ``` ## Metadata Ingestion To ingest metadata from QuestDB, you need to create a service connection. The service connects QuestDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **QuestDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/questdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=71970a9153a67ccb1bc76d7f39ac98bc) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other QuestDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/questdb.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3eb5d1551a9ca0a0361e283fb34ee5bd) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for QuestDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/questdb.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d04331a9c69fbecd4ecf2e8ebf3f9946) * **Username**: Username to connect to QuestDB. Ensure you have enough privileges to read all the metadata. * **Password**: Password for the QuestDB user. * **Host and Port**: Host and port of the QuestDB service. QuestDB exposes the PostgreSQL wire protocol on port **8812** by default (for example, `localhost:8812`). * **Connection Options** (optional): Additional connection options to pass to the database during connection as Key-Value pairs. * **Connection Arguments** (optional): Additional connection arguments such as security or protocol configs as Key-Value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between **Scan all** (default) or **Only specific** to enable include rules. * **Always exclude**: Add permanent exclusion rules. Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [QuestDB Troubleshooting](/ai-2-0/connectors/database/questdb/troubleshooting) > > Learn more about how to troubleshoot common QuestDB connector issues and resolve configuration or ingestion errors. # QuestDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/questdb/troubleshooting Troubleshoot common QuestDB connector issues in Collate – connection failures, permission errors, and ingestion problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## QuestDB-Specific Issues ### Connection Refused on Default Port QuestDB listens on port **8812** for the PostgreSQL wire protocol—not the standard PostgreSQL port 5432. Ensure your `hostPort` is set to `:8812` and that the port is reachable from the ingestion host. ### Schema Filter Not Supported QuestDB operates as a single-database (`qdb`), single-schema (`public`) system. Schema filtering is not applicable—all tables reside in the `public` schema and will be ingested automatically. Use the table filter pattern to restrict which tables are included. # Redshift Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/redshift/hybrid-runner Connect Amazon Redshift to Collate easily with our comprehensive database connector guide. Setup instructions, configuration tips, and metadata extraction workflows. ![Redshift](/public/images/connectors/redshift.webp) # Redshift PROD This section provides guides and references to use the Redshift connector. Configure and schedule Redshift metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Incremental Extraction](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/incremental-extraction/redshift) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-redshift-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/redshift/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata Redshift user must grant `SELECT` privilege on table [SVV_TABLE_INFO](https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_TABLE_INFO.html) to fetch the metadata of tables and views. For more information, see [Redshift Data Visibility](https://docs.aws.amazon.com/redshift/latest/dg/c_visibility-of-data.html). ```sql theme={null} -- Create a new user -- More details https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html CREATE USER test_user with PASSWORD 'password'; -- Grant SELECT on table GRANT SELECT ON TABLE svv_table_info to test_user; ``` > [!NOTE] > > **Note**: The Redshift connector supports both Amazon Redshift Provisioned (cluster) and Amazon Redshift Serverless starting from release 1.11.5. The connector automatically detects the deployment type during ingestion and uses the appropriate system views for query and lineage extraction. No additional configuration changes are required. > [!TIP] > > **Tip**: Ensure that the ingestion user has **USAGE** privileges on the schema containing the views. If additional access is needed, run the following command: > > ```sql theme={null} > GRANT USAGE ON SCHEMA "" TO ; > ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ### Usage and Lineage For the usage and lineage workflow, the user will need `SELECT` privilege on `STL_QUERY` table. For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/lineage). > [!NOTE] > > **Provisioned and Serverless capture different queries.** The usage workflow on a Provisioned cluster includes `SELECT` queries. On Serverless, the workflow only captures queries that insert, merge, or delete rows in a table. Usage statistics for tables that are only read are therefore missing or lower on Serverless. > > To include `SELECT` queries on Serverless, export them from `SYS_QUERY_HISTORY` to a query log file and run the usage workflow from that file. For more information, see [Redshift Serverless: Export SELECT Queries](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage/usage-workflow-query-logs#redshift-serverless-export-select-queries). ## Datashare Databases On a consumer cluster, Collate also ingests databases created from a datashare. The connector identifies these non-local databases and reads their schemas, tables, columns, and descriptions through Redshift's cross-database catalog views. No additional configuration is required. ## Metadata Ingestion To ingest metadata from Redshift, you need to create a service connection. The service connects Redshift with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Redshift** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/redshift.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=478a9ebbe7d658c64a95a441ac67afd9) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Redshift services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/redshift.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=5bfef9f53454a03e11bb5dc5d3eaa633) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Redshift. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/redshift.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=441fb376b85adca911971d8728a26113) It is recommended to exclude the schema "information_schema" from the metadata ingestion as it contains system tables and views. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Redshift. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Redshift. * **Database**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, the user will have to add the SSL config under connectionArguments which is placed in the source. #### SSL Modes There are a couple of types of SSL modes that Redshift supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. Amazon Redshift supports SSL, so SSL is used when you set sslmode to prefer. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified and the server hostname must match the hostname attribute on the certificate. For more information, you can visit [Redshift SSL documentation](https://docs.aws.amazon.com/redshift/latest/mgmt/connecting-ssl-support.html) #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Redshift Connection with SSL in Collate To establish secure connections between Collate and a Redshift database, you can configure SSL using different SSL modes provided by Redshift, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that Redshift requires only the CA certificate for SSL validation. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Reverse Metadata * **Description Management**: Redshift supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Redshift supports owner management at the following levels: * Database level * Schema level * Table level * **Tag Management**: Tag management is not supported for Redshift. * **Custom SQL Template**: Redshift supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update column description COMMENT ON COLUMN {database}.{schema}.{table}.{column} IS {description}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * `SUPERUSER` privilege to the user ```sql theme={null} -- Grant superuser privilege to the user ALTER USER USER_NAME CREATEUSER; ``` > [!TIP] > > **Tip**: > > * Owners are not ingested during Redshift metadata ingestion, but you can still sync ownership changes back to Redshift using reverse metadata. > * To update owners, the user must be a superuser (requires `CREATEUSER` permission). > * If the user is a superuser, no additional privileges are required. For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Redshift Troubleshooting](/ai-2-0/connectors/database/redshift/troubleshooting) > > Learn more about how to troubleshoot common Redshift connector issues and resolve configuration or ingestion errors. # Redshift Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/redshift/index Connect Amazon Redshift to Collate easily with our comprehensive database connector guide. Setup instructions, configuration tips, and metadata extraction workflows. ![Redshift](/public/images/connectors/redshift.webp) # Redshift PROD [https://www.youtube.com/embed/9Zyi9W5R9NY](https://www.youtube.com/embed/9Zyi9W5R9NY) This section provides guides and references to use the Redshift connector. Configure and schedule Redshift metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Incremental Extraction](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/incremental-extraction/redshift) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Enable Security](#securing-redshift-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/redshift/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements ### Metadata Redshift user must grant `SELECT` privilege on table [SVV_TABLE_INFO](https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_TABLE_INFO.html) to fetch the metadata of tables and views. For more information, see [Redshift Data Visibility](https://docs.aws.amazon.com/redshift/latest/dg/c_visibility-of-data.html). ```sql theme={null} -- Create a new user -- More details https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html CREATE USER test_user with PASSWORD 'password'; -- Grant SELECT on table GRANT SELECT ON TABLE svv_table_info to test_user; ``` > [!NOTE] > > **Note**: The Redshift connector supports both Amazon Redshift Provisioned (cluster) and Amazon Redshift Serverless starting from release 1.11.5. The connector automatically detects the deployment type during ingestion and uses the appropriate system views for query and lineage extraction. No additional configuration changes are required. > [!TIP] > > **Tip**: Ensure that the ingestion user has **USAGE** privileges on the schema containing the views. If additional access is needed, run the following command: > > ```sql theme={null} > GRANT USAGE ON SCHEMA "" TO ; > ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. The user should also be allowed to view information in `SVV_TABLE_INFO` for all objects in the database. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). For more information, see [Profiler Metrics](/ai-2-0/how-to-guides/data-quality-observability/profiler/metrics#redshift). ### Usage and Lineage For the usage and lineage workflow, the user will need `SELECT` privilege on: * `SVV_TABLE_INFO`, `STL_QUERY`, `STL_QUERYTEXT`, `STL_SCAN` and `SVL_STORED_PROC_CALL` for Provisioned cluster * `SYS_QUERY_HISTORY`, `SYS_QUERY_TEXT`, `SYS_QUERY_DETAIL` and `SYS_PROCEDURE_CALL` for Serverless instance. For more information, see [Usage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) and [Lineage Workflow](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/lineage). > [!NOTE] > > **Provisioned and Serverless capture different queries.** The usage workflow on a Provisioned cluster includes `SELECT` queries. On Serverless, the workflow only captures queries that insert, merge, or delete rows in a table. Usage statistics for tables that are only read are therefore missing or lower on Serverless. > > To include `SELECT` queries on Serverless, export them from `SYS_QUERY_HISTORY` to a query log file and run the usage workflow from that file. For more information, see [Redshift Serverless: Export SELECT Queries](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage/usage-workflow-query-logs#redshift-serverless-export-select-queries). ## Datashare Databases On a consumer cluster, Collate also ingests databases created from a datashare. The connector identifies these non-local databases and reads their schemas, tables, columns, and descriptions through Redshift's cross-database catalog views. No additional configuration is required. ## Metadata Ingestion To ingest metadata from Redshift, you need to create a service connection. The service connects Redshift with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Redshift** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/redshift.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=478a9ebbe7d658c64a95a441ac67afd9) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Redshift services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/redshift.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=5bfef9f53454a03e11bb5dc5d3eaa633) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Redshift. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/redshift.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=441fb376b85adca911971d8728a26113) It is recommended to exclude the schema "information_schema" from the metadata ingestion as it contains system tables and views. * **Username**: Specify the user to connect to Redshift. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Redshift. * **Database**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, the user will have to add the SSL config under connectionArguments which is placed in the source. #### SSL Modes There are a couple of types of SSL modes that Redshift supports which can be added to ConnectionArguments, they are as follows: * **disable**: SSL is disabled and the connection is not encrypted. * **allow**: SSL is used if the server requires it. * **prefer**: SSL is used if the server supports it. Amazon Redshift supports SSL, so SSL is used when you set sslmode to prefer. * **require**: SSL is required. * **verify-ca**: SSL must be used and the server certificate must be verified. * **verify-full**: SSL must be used. The server certificate must be verified and the server hostname must match the hostname attribute on the certificate. For more information, you can visit [Redshift SSL documentation](https://docs.aws.amazon.com/redshift/latest/mgmt/connecting-ssl-support.html) #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Redshift Connection with SSL in Collate To establish secure connections between Collate and a Redshift database, you can configure SSL using different SSL modes provided by Redshift, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that Redshift requires only the CA certificate for SSL validation. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Redshift Troubleshooting](/ai-2-0/connectors/database/redshift/troubleshooting) > > Learn more about how to troubleshoot common Redshift connector issues and resolve configuration or ingestion errors. ## Reverse Metadata * **Description Management**: Redshift supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Redshift supports owner management at the following levels: * Database level * Schema level * Table level * **Tag Management**: Tag management is not supported for Redshift. * **Custom SQL Template**: Redshift supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update column description COMMENT ON COLUMN {database}.{schema}.{table}.{column} IS {description}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * `SUPERUSER` privilege to the user ```sql theme={null} -- Grant superuser privilege to the user ALTER USER USER_NAME CREATEUSER; ``` > [!TIP] > > **Tip**: > > * Owners are not ingested during Redshift metadata ingestion, but you can still sync ownership changes back to Redshift using reverse metadata. > * To update owners, the user must be a superuser (requires `CREATEUSER` permission). > * If the user is a superuser, no additional privileges are required. For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). # Redshift Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/redshift/troubleshooting Troubleshoot Redshift ingestion errors like driver issues, throttling, or missing table metadata. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the Redshift connector. ### Connection Error ``` connection to server at \":\" (@IP), failed: server certificate for \"\*:\" does not match host name \":\" ``` If you see this error, pass `{'sslmode': 'verify-ca'}` in the connection arguments. ![Configure service connection](https://mintcdn.com/collatedocs/piJyXg9wW6Ik1lg-/public/images/connectors/redshift/service-connection-arguments.png?fit=max\&auto=format\&n=piJyXg9wW6Ik1lg-\&q=85\&s=fe108a3afb02024a7faabe674a12b7f6) ### Metadata Ingestion Failure If your metadata ingesiton fails and you have errors like: ```text theme={null} RuntimeError: Table entity not found: [.pg_class] RuntimeError: Table entity not found: [.pg_constraint] ``` This is because the schema `information_schema` is being ingested and the ingestion bot does not have the permissions to access it. It is recommended to exclude the schema `information_schema` unless you explicitly need to ingest it like in [the example config](https://github.com/open-metadata/OpenMetadata/blob/2477bbc9ca398c33703c85627cdd26bc2c27aad3/ingestion/src/metadata/examples/workflows/redshift.yaml#L16). ```yaml theme={null} # ... source: # ... type: redshift sourceConfig: config: type: DatabaseMetadata schemaFilterPattern: excludes: - information_schema.* # ... ``` # S3 Datalake Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/s3-datalake/hybrid-runner Connect your S3 data lake to Collate with our comprehensive database connector guide. Setup instructions, configuration examples, and best practices included. ![S3 Datalake](/public/images/connectors/amazon-s3.webp) # S3 Datalake PROD This section provides guides and references to use the S3 Datalake connector. Configure and schedule S3 Datalake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/s3-datalake/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: The S3 Datalake connector supports extracting metadata from file types `JSON`, `CSV`, `TSV`, and `Parquet`. ### S3 Permissions To execute metadata extraction AWS account should have enough access to fetch required data. The **Bucket Policy** in AWS requires at least these permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ## Metadata Ingestion To ingest metadata from S3 Datalake, you need to create a service connection. The service connects S3 Datalake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **S3 Datalake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=0cec8dcda78457f8a9bccd9dd994c2e0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other S3 Datalake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/datalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e4d74248e004065b294858a8e00b0ce2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for S3 Datalake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/s3-datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8347c671499fbaa5c141f19e5d6ca6a0) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [S3 Datalake Troubleshooting](/ai-2-0/connectors/database/s3-datalake/troubleshooting) > > Learn more about how to troubleshoot common S3 Datalake connector issues and resolve configuration or ingestion errors. # S3 Datalake Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/s3-datalake/index Connect your S3 data lake to Collate with our comprehensive database connector guide. Setup instructions, configuration examples, and best practices included. ![S3 Datalake](/public/images/connectors/amazon-s3.webp) # S3 Datalake PROD This section provides guides and references to use the S3 Datalake connector. Configure and schedule S3 Datalake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/s3-datalake/troubleshooting) ## Requirements > [!TIP] > > **Tip**: The S3 Datalake connector supports extracting metadata from file types `JSON`, `CSV`, `TSV`, and `Parquet`. ### S3 Permissions To execute metadata extraction AWS account should have enough access to fetch required data. The **Bucket Policy** in AWS requires at least these permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ] } ] } ``` ## Metadata Ingestion To ingest metadata from S3 Datalake, you need to create a service connection. The service connects S3 Datalake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **S3 Datalake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=0cec8dcda78457f8a9bccd9dd994c2e0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other S3 Datalake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/datalake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e4d74248e004065b294858a8e00b0ce2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for S3 Datalake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/s3-datalake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8347c671499fbaa5c141f19e5d6ca6a0) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [S3 Datalake Troubleshooting](/ai-2-0/connectors/database/s3-datalake/troubleshooting) > > Learn more about how to troubleshoot common S3 Datalake connector issues and resolve configuration or ingestion errors. # S3 Datalake Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/s3-datalake/troubleshooting Fix S3 Datalake ingestion problems like IAM permission errors, schema discovery, or format issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the S3 Datalake connector. * **Access Denied error when reading from S3 bucket** Ensure you have a Bucket Policy with the permissions explained in the requirement section [here](/ai-2-0/connectors/database/s3-datalake). # Salesforce Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/salesforce/hybrid-runner Connect Salesforce to Collate with our comprehensive database connector guide. Setup instructions, configuration tips, and metadata extraction made easy. ![Salesforce](/public/images/connectors/salesforce.webp) # Salesforce PROD This section provides guides and references to use the Salesforce connector. Configure and schedule Salesforce metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-salesforce-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/salesforce/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). These are the permissions you will require to fetch the metadata from Salesforce. * **API Access**: You must have the API Enabled permission in your Salesforce organization. * **Object Permissions**: You must have read access to the Salesforce objects that you want to ingest. ## Metadata Ingestion To ingest metadata from Salesforce, you need to create a service connection. The service connects Salesforce with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Salesforce** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/salesforce.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=824e73c74d70297698ddd3eccdc29526) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Salesforce services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/salesforce.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=5780e1363a90482cfeb117bd52847295) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Salesforce. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/salesforce.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=45d2e8ce201b870d82329cb867588ef9) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). **Authentication** Collate supports the following Salesforce authentication patterns: * **OAuth 2.0 client credentials flow**: Use Consumer Key and Consumer Secret without Username or Password. This requires a Salesforce My Domain value in the **Salesforce Domain** field, such as `mycompany.my`. It does not work with the default `login` or `test` domains. * **OAuth 2.0 password flow**: Use Consumer Key and Consumer Secret together with Username and Password. Use this flow when **Salesforce Domain** is `login` or `test`. * **Consumer Key**: Salesforce Consumer Key (Client ID) for OAuth 2.0 authentication. * **Consumer Secret**: Salesforce Consumer Secret (Client Secret) for OAuth 2.0 authentication. * **Username / Password (Legacy)** > [!WARNING] > > **Important**: Salesforce is deprecating direct username/password API access. Migrate to OAuth 2.0 using a Connected App (External Client App) to avoid future disruption. See [Salesforce OAuth documentation](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_authenticate.htm\&type=5). * **Username**: Username to connect to Salesforce. This user should have the access defined in the requirements. * **Password**: Password to connect to Salesforce. * **Security Token**: Salesforce Security Token for legacy username/password authentication. Use this only when you are not using Consumer Key and Consumer Secret. You can check [this doc](https://help.salesforce.com/s/articleView?id=sf.user_security_token.htm\&type=5) to get the token. **Common fields** * **Organization ID**: Salesforce Organization ID is the unique identifier for your Salesforce identity. You can check out [this doc](https://help.salesforce.com/s/articleView?id=000385215\&type=1) on how to get your Salesforce Organization ID. > [!TIP] > > **Note**: You need to provide the `15` digit organization ID in this section, for example `00DIB000004nDEq`, which you can find by following the steps in the doc above (`Salesforce dashboard -> Setup -> Company Profile -> Company Information -> Salesforce.com Organization Id`). > [!TIP] > > **Note**: If you want to access Salesforce metadata without a token and only use the organization ID, you need to set up your IP in trusted IP ranges. Go to `Salesforce dashboard -> Setup -> Security -> Network Access -> Trusted IP Ranges` to configure this. You can check [Trusted IP Ranges](https://help.salesforce.com/s/articleView?id=sf.security_networkaccess.htm\&type=5) for details. * **Salesforce Object Names**: List the Salesforce object names to ingest. If you leave this blank, Collate ingests all available objects that pass the filter pattern. * **Database Name**: Optional name to use for the database in Collate. If left blank, the connector uses the default database name. * **Salesforce API Version**: Follow [Find the Salesforce API Version](https://help.salesforce.com/s/articleView?id=000386929\&type=1) to get the API version. Enter the numeric value in the field, for example `62.0`. The connector defaults to `42.0`. Use a version supported by your Salesforce org and update it when Salesforce retires older API versions. The constraint depends on your authentication method: * **OAuth 2.0**: Any supported Salesforce API version works, including the default `42.0`. * **Username / Password (Legacy)**: Use version `64.0` or lower. Salesforce removed SOAP API login support in version `65.0` and later — using `65.0` or higher with username/password authentication will cause authentication to fail. * **Salesforce Domain**: Specify the Salesforce domain (subdomain only) to use for authentication. This field accepts only the domain prefix, not the full URL. **Common values**: * `login` (default) - For production instances (resolves to `https://login.salesforce.com`) * `test` - For sandbox instances (resolves to `https://test.salesforce.com`) **For Salesforce My Domain**: Enter your custom domain prefix, including all subdomain components such as `.my` or `.sandbox.my`, but without `.salesforce.com`. **Examples**: * If your My Domain URL is `https://mycompany.my.salesforce.com`, enter: `mycompany.my` * If your sandbox My Domain URL is `https://mycompany--uat.sandbox.my.salesforce.com`, enter: `mycompany--uat.sandbox.my` * If your URL is `https://example-dot-com--uat.sandbox.my.salesforce.com`, enter: `example-dot-com--uat.sandbox.my` > [!NOTE] > > **Note**: > **Important**: Don't enter the full URL or include `.salesforce.com`. Only enter the subdomain prefix as shown in the examples above. **SSL Configuration** To integrate SSL in the metadata ingestion config, add the SSL config under `sslConfig` in the source. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Salesforce Connection with SSL in Collate To establish secure connections between Collate and Salesforce, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying `caCertificate`. Alternatively, if both client and server require mutual authentication, use all three parameters: `ssl_key`, `ssl_cert`, and `ssl_ca`. In this case, `ssl_cert` is used for the client's SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `ssl_ca` for the CA certificate that validates the server certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Salesforce Troubleshooting](/ai-2-0/connectors/database/salesforce/troubleshooting) > > Learn more about how to troubleshoot common Salesforce connector issues and resolve configuration or ingestion errors. # Salesforce Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/salesforce/index Connect Salesforce to Collate with our comprehensive database connector guide. Setup instructions, configuration tips, and metadata extraction made easy. ![Salesforce](/public/images/connectors/salesforce.webp) # Salesforce PROD This section provides guides and references to use the Salesforce connector. Configure and schedule Salesforce metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-salesforce-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/salesforce/troubleshooting) ## Requirements These are the permissions you will require to fetch the metadata from Salesforce. * **API Access**: You must have the API Enabled permission in your Salesforce organization. * **Object Permissions**: You must have read access to the Salesforce objects that you want to ingest. ## Metadata Ingestion To ingest metadata from Salesforce, you need to create a service connection. The service connects Salesforce with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Salesforce** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/salesforce.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=824e73c74d70297698ddd3eccdc29526) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Salesforce services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/salesforce.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=5780e1363a90482cfeb117bd52847295) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Salesforce. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/salesforce.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=45d2e8ce201b870d82329cb867588ef9) **Authentication** Collate supports the following Salesforce authentication patterns: * **OAuth 2.0 client credentials flow**: Use Consumer Key and Consumer Secret without Username or Password. This requires a Salesforce My Domain value in the **Salesforce Domain** field, such as `mycompany.my`. It does not work with the default `login` or `test` domains. * **OAuth 2.0 password flow**: Use Consumer Key and Consumer Secret together with Username and Password. Use this flow when **Salesforce Domain** is `login` or `test`. * **Consumer Key**: Salesforce Consumer Key (Client ID) for OAuth 2.0 authentication. * **Consumer Secret**: Salesforce Consumer Secret (Client Secret) for OAuth 2.0 authentication. * **Username / Password (Legacy)** > [!WARNING] > > **Important**: Salesforce is deprecating direct username/password API access. Migrate to OAuth 2.0 using a Connected App (External Client App) to avoid future disruption. See [Salesforce OAuth documentation](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_authenticate.htm\&type=5). * **Username**: Username to connect to Salesforce. This user should have the access defined in the requirements. * **Password**: Password to connect to Salesforce. * **Security Token**: Salesforce Security Token for legacy username/password authentication. Use this only when you are not using Consumer Key and Consumer Secret. You can check [this doc](https://help.salesforce.com/s/articleView?id=sf.user_security_token.htm\&type=5) to get the token. **Common fields** * **Organization ID**: Salesforce Organization ID is the unique identifier for your Salesforce identity. You can check out [this doc](https://help.salesforce.com/s/articleView?id=000385215\&type=1) on how to get your Salesforce Organization ID. > [!TIP] > > **Note**: You need to provide the `15` digit organization ID in this section, for example `00DIB000004nDEq`, which you can find by following the steps in the doc above (`Salesforce dashboard -> Setup -> Company Profile -> Company Information -> Salesforce.com Organization Id`). > [!TIP] > > **Note**: If you want to access Salesforce metadata without a token and only use the organization ID, you need to set up your IP in trusted IP ranges. Go to `Salesforce dashboard -> Setup -> Security -> Network Access -> Trusted IP Ranges` to configure this. You can check [Trusted IP Ranges](https://help.salesforce.com/s/articleView?id=sf.security_networkaccess.htm\&type=5) for details. * **Salesforce Object Names**: List the Salesforce object names to ingest. If you leave this blank, Collate ingests all available objects that pass the filter pattern. * **Database Name**: Optional name to use for the database in Collate. If left blank, the connector uses the default database name. * **Salesforce API Version**: Follow [Find the Salesforce API Version](https://help.salesforce.com/s/articleView?id=000386929\&type=1) to get the API version. Enter the numeric value in the field, for example `62.0`. The connector defaults to `42.0`. Use a version supported by your Salesforce org and update it when Salesforce retires older API versions. The constraint depends on your authentication method: * **OAuth 2.0**: Any supported Salesforce API version works, including the default `42.0`. * **Username / Password (Legacy)**: Use version `64.0` or lower. Salesforce removed SOAP API login support in version `65.0` and later — using `65.0` or higher with username/password authentication will cause authentication to fail. * **Salesforce Domain**: Specify the Salesforce domain (subdomain only) to use for authentication. This field accepts only the domain prefix, not the full URL. **Common values**: * `login` (default) - For production instances (resolves to `https://login.salesforce.com`) * `test` - For sandbox instances (resolves to `https://test.salesforce.com`) **For Salesforce My Domain**: Enter your custom domain prefix, including all subdomain components such as `.my` or `.sandbox.my`, but without `.salesforce.com`. **Examples**: * If your My Domain URL is `https://mycompany.my.salesforce.com`, enter: `mycompany.my` * If your sandbox My Domain URL is `https://mycompany--uat.sandbox.my.salesforce.com`, enter: `mycompany--uat.sandbox.my` * If your URL is `https://example-dot-com--uat.sandbox.my.salesforce.com`, enter: `example-dot-com--uat.sandbox.my` > [!NOTE] > > **Note**: > **Important**: Don't enter the full URL or include `.salesforce.com`. Only enter the subdomain prefix as shown in the examples above. **SSL Configuration** To integrate SSL in the metadata ingestion config, add the SSL config under `sslConfig` in the source. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Salesforce Connection with SSL in Collate To establish secure connections between Collate and Salesforce, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying `caCertificate`. Alternatively, if both client and server require mutual authentication, use all three parameters: `ssl_key`, `ssl_cert`, and `ssl_ca`. In this case, `ssl_cert` is used for the client's SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `ssl_ca` for the CA certificate that validates the server certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_connection.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=e90fd6e04057c3481ac6ca1987423a30) ## Troubleshooting > [card] [Salesforce Troubleshooting](/ai-2-0/connectors/database/salesforce/troubleshooting) > > Learn more about how to troubleshoot common Salesforce connector issues and resolve configuration or ingestion errors. # Salesforce Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/salesforce/troubleshooting Fix Salesforce ingestion errors such as access denial, API rate limits, or object sync issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Domo Dashboard Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/domo-dashboard/hybrid-runner Connect Domo dashboards to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Domo](/public/images/connectors/domo.webp) # Domo PROD This section provides guides and references to use the Domo Dashboard connector. Configure and schedule Domo Dashboard metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/domo-dashboard/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). For metadata ingestion, make sure to add at least `data` scopes to the clientId provided. For questions related to scopes, see [Domo API Authentication](https://developer.domo.com/portal/1845fc11bbe5d-api-authentication). ## Metadata Ingestion To ingest metadata from Domo Dashboard, you need to create a service connection. The service connects Domo Dashboard with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Domo Dashboard** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/domodashboard.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c45acf699f1fc7dbcbb5847b511a4256) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Domo Dashboard services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/domodashboard.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=04541615efe3037bc490b8a625339ca8) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Domo Dashboard. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/domodashboard.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=205d7de13d87ab04b9ca1b924231b266) * **Client ID**: Client ID to Connect to Domo Dashboard. * **Secret Token**: Secret Token to Connect Domo Dashboard. * **Access Token**: Access to Connect to Domo Dashboard. * **API Host**: API Host to Connect to Domo Dashboard instance. * **Instance Domain**: URL to connect to your Domo instance UI. For example `https://.domo.com`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Domo Dashboard Troubleshooting](/ai-2-0/connectors/dashboard/domo-dashboard/troubleshooting) > > Learn more about how to troubleshoot common Domo Dashboard connector issues and resolve configuration or ingestion errors. # Domo Dashboard Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/domo-dashboard/index Connect Domo dashboards to Collate with our comprehensive connector guide. Easy setup, configuration steps, and metadata extraction explained. ![Domo](/public/images/connectors/domo.webp) # Domo PROD This section provides guides and references to use the Domo Dashboard connector. Configure and schedule Domo Dashboard metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/domo-dashboard/troubleshooting) ## Requirements For metadata ingestion, make sure to add at least `data` scopes to the clientId provided. For more information, see [Domo API Authentication](https://developer.domo.com/portal/1845fc11bbe5d-api-authentication). ## Metadata Ingestion To ingest metadata from Domo Dashboard, you need to create a service connection. The service connects Domo Dashboard with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Domo Dashboard** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/domodashboard.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c45acf699f1fc7dbcbb5847b511a4256) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Domo Dashboard services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/domodashboard.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=04541615efe3037bc490b8a625339ca8) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Domo Dashboard. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/domodashboard.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=205d7de13d87ab04b9ca1b924231b266) * **Client ID**: Client ID to Connect to Domo Dashboard. * **Secret Token**: Secret Token to Connect Domo Dashboard. * **Access Token**: Access to Connect to Domo Dashboard. * **API Host**: API Host to Connect to Domo Dashboard instance. * **Instance Domain**: URL to connect to your Domo instance UI. For example `https://.domo.com`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Domo Dashboard Troubleshooting](/ai-2-0/connectors/dashboard/domo-dashboard/troubleshooting) > > Learn more about how to troubleshoot common Domo Dashboard connector issues and resolve configuration or ingestion errors. # Domo Dashboard Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/domo-dashboard/troubleshooting Resolve Domo Dashboard connector issues in Collate with expert troubleshooting guides, common error fixes, and step-by-step solutions. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Grafana Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/grafana/hybrid-runner Connect Grafana to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Grafana](/public/images/connectors/grafana.png) # Grafana BETA This section provides guides and references to use the Grafana connector. Configure and schedule Grafana metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/grafana/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To access the Grafana APIs and import dashboards and panels into Collate, you need a Service Account Token with sufficient permissions (Admin role is recommended) and API access enabled on your Grafana instance. ## Metadata Ingestion To ingest metadata from Grafana, you need to create a service connection. The service connects Grafana with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Grafana** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/grafana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f0162a86d66b95e5cdcb2e199a4cf46a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Grafana services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/grafana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=fde68372f419d6eac9a651c94a27d840) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Grafana. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/grafana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=1cf6cae424c975fbbf349a786f96c362) * **Host and Port**: URL to the Grafana instance. * **API Token**: Service Account Token with sufficient permissions (Admin role recommended). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Grafana Troubleshooting](/ai-2-0/connectors/dashboard/grafana/troubleshooting) > > Learn more about how to troubleshoot common Grafana connector issues and resolve configuration or ingestion errors. # Grafana Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/grafana/index Learn how to configure and use the Grafana connector in Collate. Includes setup, authentication, metadata ingestion, and lineage. ![Grafana](/public/images/connectors/grafana.png) # Grafana BETA This section provides guides and references to use the Grafana connector. Configure and schedule Grafana metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/grafana/troubleshooting) ## Requirements To access the Grafana APIs and import dashboards and panels into Collate, you need a Service Account Token with sufficient permissions (Admin role is recommended) and API access enabled on your Grafana instance. ## Metadata Ingestion To ingest metadata from Grafana, you need to create a service connection. The service connects Grafana with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Grafana** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/grafana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f0162a86d66b95e5cdcb2e199a4cf46a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Grafana services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/grafana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=fde68372f419d6eac9a651c94a27d840) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Grafana. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/grafana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=1cf6cae424c975fbbf349a786f96c362) * **Host and Port**: URL to the Grafana instance. * **API Token**: Service Account Token with sufficient permissions (Admin role recommended). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Grafana Troubleshooting](/ai-2-0/connectors/dashboard/grafana/troubleshooting) > > Learn more about how to troubleshoot common Grafana connector issues and resolve configuration or ingestion errors. # Grafana Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/grafana/troubleshooting Troubleshoot Grafana connector issues related to table ingestion, schema parsing, or access errors. > [!NOTE] > > **Note**: Enable debug logging to troubleshoot issues: > > ```bash theme={null} > export LOG_LEVEL=DEBUG > ``` ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Hex Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/hex/hybrid-runner Connect Hex to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Hex](/public/images/connectors/hex.webp) # Hex BETA This section provides guides and references to use the Hex connector. Configure and schedule Hex metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/hex/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: Hex connector supports both personal and workspace tokens for authentication. ### Hex Account Setup Follow the steps below to configure the account setup for Hex connector: ### Step 1: Generate API Token To generate an API token in Hex: 1. Log into your [Hex](https://app.hex.tech) account. 2. Navigate to Account Settings. 3. Go to the API Keys section. 4. Click **Create API Key**. 5. Choose the token type: * **Personal Token**: Provides access to projects you own or have access to. * **Workspace Token**: Provides access to all projects in the workspace (requires admin privileges). 6. Copy and securely store the generated token. > [!TIP] > > **Tip**: API tokens are shown only once when created. Make sure to copy and store them securely. ### Step 2: Verify API Access Ensure that the token has appropriate permissions: * For personal tokens: Verify you have access to the projects you want to ingest * For workspace tokens: Verify admin privileges are granted ## Metadata Ingestion To ingest metadata from Hex, you need to create a service connection. The service connects Hex with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Hex** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/hex.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fd1b3f05474bd8123779a4f1fbd3498a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Hex services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/hex.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ebe799f469063b62d213fe8decd6d29) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Hex. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/hex.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=869371f7aa1993b33d8fb18b21aa0f2e) * **hostPort**: URL to the Hex instance. Provide the URL to your Hex instance. For Hex cloud users, use `https://app.hex.tech`. For on-premise installations, provide your custom domain URL. * **tokenType**: Type of authentication token. Select the type of token you're using: * **personal**: Personal access token (default) * **workspace**: Workspace-level token (requires admin privileges) * **token**: Hex API Token. Provide the API token generated from your Hex account. This token is used for authentication with the Hex APIs. To generate a token: * Log into Hex * Go to **Account Settings** > **API Keys** * Create a new API key * Copy the generated token * **includeTags**: Import Hex Categories and Status as Tags. Enable this option to import Hex project categories and status as Collate tags. This helps in organizing and filtering your Hex projects within Collate. By default, this is set to `true`. * **Dashboard Filter Pattern**: Use regex patterns to include or exclude specific dashboards from ingestion. This helps you control which Hex projects are imported into Collate. Examples: * Include only production projects: `^prod-.*` * Exclude test projects: `^(?!test-).*` > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Hex connector extracts lineage information by: * **Warehouse Query History**: Directly queries data warehouse logs (Snowflake, BigQuery, Databricks, Redshift, and others) to find queries executed by Hex * **Hex Metadata Identification**: Identifies Hex-originated queries using metadata comments embedded by Hex containing project IDs * **SQL Parsing**: Analyzes the discovered SQL queries to extract upstream table dependencies The lineage information helps you understand: * Which data warehouse tables are actually queried by each Hex project * Real data usage patterns based on executed queries * Impact analysis when making changes to underlying data sources **Note**: The connector does not use Hex APIs for lineage. Instead, it discovers lineage by analyzing actual queries executed in your data warehouses, providing more accurate data dependency information. ### Warehouse Query Log Requirements For lineage extraction to work, query logging must be enabled in your data warehouse: #### Snowflake * Requires access to `SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY` * Query history is automatically maintained by Snowflake #### BigQuery * Requires access to `INFORMATION_SCHEMA.JOBS_BY_PROJECT` * Query history is automatically maintained by BigQuery #### MySQL * Requires general_log to be enabled: ```sql theme={null} SET GLOBAL general_log = 'ON'; SET GLOBAL log_output = 'TABLE'; ``` * Grant access to `mysql.general_log` table #### Databricks * Requires access to `system.query.history` * Query history is automatically maintained #### Redshift * Requires access to `stl_query` system table * Query history is automatically maintained #### Other Warehouses * Athena: Access to query history via CloudTrail or S3 logs * ClickHouse: Access to `system.query_log` table ## Troubleshooting > [card] [Hex Troubleshooting](/ai-2-0/connectors/dashboard/hex/troubleshooting) > > Learn more about how to troubleshoot common Hex connector issues and resolve configuration or ingestion errors. # Hex Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/hex/index Connect Hex to Collate with our comprehensive dashboard connector guide. Setup instructions, configuration tips, and metadata extraction made simple. ![Hex](/public/images/connectors/hex.webp) # Hex BETA This section provides guides and references to use the Hex connector. Configure and schedule Hex metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/hex/troubleshooting) ## Requirements > [!TIP] > > **Tip**: Hex connector supports both personal and workspace tokens for authentication. ### Hex Account Setup Follow the steps below to configure the account setup for Hex connector: ### Step 1: Generate API Token To generate an API token in Hex: 1. Log into your [Hex](https://app.hex.tech) account. 2. Navigate to Account Settings. 3. Go to the API Keys section. 4. Click **Create API Key**. 5. Choose the token type: * **Personal Token**: Provides access to projects you own or have access to. * **Workspace Token**: Provides access to all projects in the workspace (requires admin privileges). 6. Copy and securely store the generated token. > [!TIP] > > **Tip**: API tokens are shown only once when created. Make sure to copy and store them securely. ### Step 2: Verify API Access Ensure that the token has appropriate permissions: * For personal tokens: Verify you have access to the projects you want to ingest * For workspace tokens: Verify admin privileges are granted ### Owners Collate assigns a dashboard owner from the email address on the Hex project. Collate uses the project owner's email first. If the project has no owner email, it uses the creator's email. The email must match an existing Collate user. If no user matches, Collate sets no owner on the dashboard. ## Metadata Ingestion To ingest metadata from Hex, you need to create a service connection. The service connects Hex with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Hex** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/hex.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fd1b3f05474bd8123779a4f1fbd3498a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Hex services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/hex.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ebe799f469063b62d213fe8decd6d29) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Hex. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/hex.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=869371f7aa1993b33d8fb18b21aa0f2e) * **hostPort**: URL to the Hex instance. Provide the URL to your Hex instance. For Hex cloud users, use `https://app.hex.tech`. For on-premise installations, provide your custom domain URL. * **tokenType**: Type of authentication token. Select the type of token you're using: * **personal**: Personal access token (default) * **workspace**: Workspace-level token (requires admin privileges) * **token**: Hex API Token. Provide the API token generated from your Hex account. This token is used for authentication with the Hex APIs. To generate a token: * Log into Hex * Go to **Account Settings** > **API Keys** * Create a new API key * Copy the generated token * **includeTags**: Import Hex Categories and Status as Tags. Enable this option to import Hex project categories and status as Collate tags. This helps in organizing and filtering your Hex projects within Collate. By default, this is set to `true`. * **Dashboard Filter Pattern**: Use regex patterns to include or exclude specific dashboards from ingestion. This helps you control which Hex projects are imported into Collate. Examples: * Include only production projects: `^prod-.*` * Exclude test projects: `^(?!test-).*` #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Hex connector extracts lineage information by: * **Warehouse Query History**: Directly queries data warehouse logs (Snowflake, BigQuery, Databricks, Redshift, and others) to find queries executed by Hex * **Hex Metadata Identification**: Identifies Hex-originated queries using metadata comments embedded by Hex containing project IDs * **SQL Parsing**: Analyzes the discovered SQL queries to extract upstream table dependencies The lineage information helps you understand: * Which data warehouse tables are actually queried by each Hex project * Real data usage patterns based on executed queries * Impact analysis when making changes to underlying data sources **Note**: The connector does not use Hex APIs for lineage. Instead, it discovers lineage by analyzing actual queries executed in your data warehouses, providing more accurate data dependency information. ### Warehouse Query Log Requirements For lineage extraction to work, query logging must be enabled in your data warehouse: #### Snowflake * Requires access to `SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY` * Query history is automatically maintained by Snowflake #### BigQuery * Requires access to `INFORMATION_SCHEMA.JOBS_BY_PROJECT` * Query history is automatically maintained by BigQuery #### MySQL * Requires general_log to be enabled: ```sql theme={null} SET GLOBAL general_log = 'ON'; SET GLOBAL log_output = 'TABLE'; ``` * Grant access to `mysql.general_log` table #### Databricks * Requires access to `system.query.history` * Query history is automatically maintained #### Redshift * Requires access to `stl_query` system table * Query history is automatically maintained #### Other Warehouses * Athena: Access to query history via CloudTrail or S3 logs * ClickHouse: Access to `system.query_log` table ## Troubleshooting > [card] [Hex Troubleshooting](/ai-2-0/connectors/dashboard/hex/troubleshooting) > > Learn more about how to troubleshoot common Hex connector issues and resolve configuration or ingestion errors. # Hex Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/hex/troubleshooting Troubleshoot Hex connector issues related to table ingestion, schema parsing, or access errors. ### Common Issues #### Authentication Failures * Verify that your API token is valid and hasn't expired. * Check that the token type matches your access level (personal vs workspace). * Ensure the API token has necessary permissions. #### Missing Projects * For personal tokens: Verify you have access to the projects. * For workspace tokens: Confirm admin privileges. * Check the dashboard filter pattern configuration. #### Connection Timeouts * Verify the hostPort URL is correct. * Check network connectivity to Hex. * For on-premise installations, ensure firewall rules allow access. #### Rate Limiting * Hex APIs may have rate limits. * Consider adjusting the ingestion schedule if you encounter rate limit errors. * Contact Hex support if persistent rate limiting issues occur. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Dashboard Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/index Discover Collate dashboard connectors to integrate Tableau, PowerBI, Superset & more. Complete setup guides, configurations & metadata extraction. # Dashboard Services This is the supported list of connectors for Dashboard Services: > [card] [Domo](/ai-2-0/connectors/dashboard/domo-dashboard) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Grafana](/ai-2-0/connectors/dashboard/grafana) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Hex](/ai-2-0/connectors/dashboard/hex) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Lightdash](/ai-2-0/connectors/dashboard/lightdash) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Looker](/ai-2-0/connectors/dashboard/looker) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Metabase](/ai-2-0/connectors/dashboard/metabase) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [MicroStrategy](/ai-2-0/connectors/dashboard/microstrategy) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Mode](/ai-2-0/connectors/dashboard/mode) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Omni](/ai-2-0/connectors/dashboard/omni) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [PowerBI](/ai-2-0/connectors/dashboard/powerbi) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [PowerBI Report Server](/ai-2-0/connectors/dashboard/powerbireportserver) > > PROD > [card] [Qlik Cloud](/ai-2-0/connectors/dashboard/qlikcloud) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Qlik Sense](/ai-2-0/connectors/dashboard/qliksense) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [QuickSight](/ai-2-0/connectors/dashboard/quicksight) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Redash](/ai-2-0/connectors/dashboard/redash) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Rill](/ai-2-0/connectors/dashboard/rill) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SAP S/4HANA](/ai-2-0/connectors/dashboard/saps4hana) > > BETA > [card] [Sigma](/ai-2-0/connectors/dashboard/sigma) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [SSRS](/ai-2-0/connectors/dashboard/ssrs) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Superset](/ai-2-0/connectors/dashboard/superset) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Tableau](/ai-2-0/connectors/dashboard/tableau) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [ThoughtSpot](/ai-2-0/connectors/dashboard/thoughtspot) > > BETA If you have a request for a new connector, don't hesitate to reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # Lightdash Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/lightdash/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Lightdash dashboards to Collate. ![Lightdash](/public/images/connectors/lightdash.webp) # Lightdash PROD This section provides guides and references to use the Lightdash connector. Configure and schedule Lightdash metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/lightdash/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To integrate Lightdash, ensure you are using Collate version 1.2.x or higher. ## Metadata Ingestion To ingest metadata from Lightdash, you need to create a service connection. The service connects Lightdash with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Lightdash** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/lightdash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=382a2de7bc495fa3979095bf44169fc2) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Lightdash services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/lightdash.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=61c5ef55608e2743c020659e6bcb277c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Lightdash. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/lightdash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=ba952908f4abd52fbe4444a102be13db) * **Host and Port**: Specify the network location where your Lightdash instance is accessible, combining both hostname and port in a URI format: either `http://hostname:port` or `https://hostname:port`, based on your security needs. * **Example**: For a local setup, use `http://localhost:8080`. For a server deployment, use something like `https://lightdash.example.com:3000`. * Ensure the specified port is open and accessible through network firewall settings. * **API Key**: This key authenticates requests to your Lightdash instance. Keep the API Key secure, sharing it only with authorized applications or users. * **Project UUID**: This unique identifier links API requests or configurations to a specific project in Lightdash. * **Space UUID**: Identifies a specific "Space" in Lightdash, used to organize dashboards, charts, and assets. * **Proxy Authentication**: If your Lightdash instance requires authentication through a proxy server, provide proxy credentials. Proxy authentication controls access to external resources and Lightdash. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Lightdash Troubleshooting](/ai-2-0/connectors/dashboard/lightdash/troubleshooting) > > Learn more about how to troubleshoot common Lightdash connector issues and resolve configuration or ingestion errors. # Lightdash Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/lightdash/index Connect Lightdash to Collate with our comprehensive dashboard connector guide. Set up data lineage, metadata extraction, and BI integration easily. ![Lightdash](/public/images/connectors/lightdash.webp) # Lightdash PROD This section provides guides and references to use the Lightdash connector. Configure and schedule Lightdash metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/lightdash/troubleshooting) ## Requirements To integrate Lightdash, ensure you are using Collate version 1.2.x or higher. ## Metadata Ingestion To ingest metadata from Lightdash, you need to create a service connection. The service connects Lightdash with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Lightdash** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/lightdash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=382a2de7bc495fa3979095bf44169fc2) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Lightdash services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/lightdash.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=61c5ef55608e2743c020659e6bcb277c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Lightdash. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/lightdash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=ba952908f4abd52fbe4444a102be13db) * **Host and Port**: Specify the network location where your Lightdash instance is accessible, combining both hostname and port in a URI format: either `http://hostname:port` or `https://hostname:port`, based on your security needs. * **Example**: For a local setup, use `http://localhost:8080`. For a server deployment, use something like `https://lightdash.example.com:3000`. * Ensure the specified port is open and accessible through network firewall settings. * **API Key**: This key authenticates requests to your Lightdash instance. Keep the API Key secure, sharing it only with authorized applications or users. * **Project UUID**: This unique identifier links API requests or configurations to a specific project in Lightdash. * **Space UUID**: Identifies a specific "Space" in Lightdash, used to organize dashboards, charts, and assets. * **Proxy Authentication**: If your Lightdash instance requires authentication through a proxy server, provide proxy credentials. Proxy authentication controls access to external resources and Lightdash. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Lightdash Troubleshooting](/ai-2-0/connectors/dashboard/lightdash/troubleshooting) > > Learn more about how to troubleshoot common Lightdash connector issues and resolve configuration or ingestion errors. # Lightdash Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/lightdash/troubleshooting Solve Lightdash connector issues in Collate with our comprehensive troubleshooting guide. Fix common problems, debug errors, and optimize your setup. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Looker Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/looker/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Looker dashboards to Collate. ![Looker](/public/images/connectors/looker.webp) # Looker PROD This section provides guides and references to use the Looker connector. Configure and schedule Looker metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Entity Mapping](#entity-mapping) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/looker/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate ingests two types of metadata from Looker: * Dashboards & Charts * LookML Models For the `project` metadata being ingested: * The actual LookML Project an Explore or View is developed in. * For Dashboards, the folder name from the UI, since there is no other hierarchy involved there. In terms of permissions, a user with access to the Dashboards and LookML Explores to be ingested is required. Create your API credentials by following [Looker API authentication](https://cloud.google.com/looker/docs/api-auth). However, LookML Views are not present in the Looker SDK. Instead, that information must be extracted directly from the GitHub repository holding the source `.lkml` files. To get this metadata, a GitHub token with read only access to the repository is required. For steps, see [Creating a personal access token](https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token). > [!TIP] > > **Tip**: The GitHub credentials are completely optional. Without them, Collate cannot ingest metadata > out of LookML Views, including their lineage to the source databases. > Moreover, Looker lineage only supports LookML views configured with `sql_table_name` and `derived_table` in plain SQL. > Liquid variables are not yet supported. ## Entity Mapping The Looker connector maps Looker assets to Collate entities as follows: | Looker Asset | Collate Entity | Description | | - | - | - | | **Dashboards** | **Dashboard** | Looker dashboards are mapped to Collate Dashboard entities. | | **Dashboard Elements** (tiles) | **Chart** | Visualization tiles within a Looker dashboard are mapped to Collate Chart entities. | | **Explores** and **Views** (LookML) | **Data Models** | LookML Explores and Views are mapped to Collate Data Model entities. | | **Folders** (Dashboards) / **LookML Projects** (Explores & Views) | **Project field** | The project field means something different depending on the entity: for a Dashboard it stores the Looker folder name, while for an Explore or View it stores the LookML project (Git repository) it belongs to. | ### Example Structure **Looker Structure**: ``` Folder: Sales Team └── Dashboard: Revenue Overview ├── Tile: Monthly Revenue └── Tile: Regional Breakdown LookML Project: sales_analytics ├── Explore: revenue └── View: orders ``` **Collate Structure**: ``` Dashboard: "Revenue Overview" (Project: "Sales Team") ├── Chart: "Monthly Revenue" └── Chart: "Regional Breakdown" Data Model: "revenue" (Project: "sales_analytics") Data Model: "orders" (Project: "sales_analytics") ``` This mapping ensures that: * Looker dashboards appear as Collate dashboards, organized by their Looker folder * Dashboard tiles appear as charts underneath their dashboard * LookML Explores and Views appear as data models, organized by their LookML project * The project field is sourced differently depending on entity type: a Looker folder for Dashboards, a LookML project for Data Models ## Metadata Ingestion To ingest metadata from Looker, you need to create a service connection. The service connects Looker with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Looker** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/looker.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=065a6615ecf14c560be6fb2904bf1359) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Looker services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/looker.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bebc36e4fee23c2c7bbc76870e779807) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Looker. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/looker.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=aba8ec463a51a6d95138668ba8a03f87) * **Host and Port**: URL to the Looker instance, for example, `https://my-company.region.looker.com`. * **Client ID**: User's Client ID to authenticate to the SDK. This user should have privileges to read all the metadata in Looker. * **Client Secret**: User's Client Secret for the same ID provided. To ingest LookML Views, provide your GitHub credentials: * **Repository Owner**: The owner (user or organization) of a GitHub repository. For example, in [https://github.com/open-metadata/OpenMetadata](https://github.com/open-metadata/OpenMetadata), the owner is `open-metadata`. * **Repository Name**: The name of a GitHub repository. For example, in [https://github.com/open-metadata/OpenMetadata](https://github.com/open-metadata/OpenMetadata), the name is `OpenMetadata`. * **API Token**: Token to use the API. This is required for private repositories and to avoid hitting API rate limits. Follow these [steps](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token) to create a fine-grained personal access token. When configuring, give repository access to `Only select repositories` and choose the one containing your LookML files. Set `Repository Permissions` to `Read-only` for `Contents`. * **Include Metrics**: Ingest LookML measures as **Metric** entities. Disabled by default because Metric names must be unique across the whole Collate instance. Enable **Include Data Models** under the ingestion options as well because Collate discovers measures from the data models that expose them. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Looker Troubleshooting](/ai-2-0/connectors/dashboard/looker/troubleshooting) > > Learn more about how to troubleshoot common Looker connector issues and resolve configuration or ingestion errors. # Looker Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/looker/index Connect Looker dashboards to Collate with our comprehensive connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![Looker](/public/images/connectors/looker.webp) # Looker PROD This section provides guides and references to use the Looker connector. Configure and schedule Looker metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Entity Mapping](#entity-mapping) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/looker/troubleshooting) ## Requirements Collate ingests two types of metadata from Looker: * Dashboards & Charts * LookML Models For the `project` metadata being ingested: * The actual LookML Project an Explore or View is developed in. * For Dashboards, the folder name from the UI, since there is no other hierarchy involved there. > [!NOTE] > > Filter patterns in the **What to Ingest** step control which assets Collate ingests, not how you browse them afterward. To find assets by project after ingestion, use the **Project** field in [Advanced Search](/ai-2-0/how-to-guides/data-discovery/advanced). **Project** also appears in the details panel of each asset. In terms of permissions, a user with access to the Dashboards and LookML Explores to be ingested is required. Create your API credentials by following [Looker API authentication](https://cloud.google.com/looker/docs/api-auth). However, LookML Views are not present in the Looker SDK. Instead, that information must be extracted directly from the GitHub repository holding the source `.lkml` files. To get this metadata, a GitHub token with read only access to the repository is required. For steps, see [Creating a personal access token](https://docs.github.com/en/enterprise-server@3.4/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token). > [!TIP] > > **Tip**: The GitHub credentials are completely optional. Without them, Collate cannot ingest metadata > out of LookML Views, including their lineage to the source databases. > Moreover, Looker lineage only supports LookML views configured with `sql_table_name` and `derived_table` in plain SQL. > Liquid variables are not yet supported. ## Entity Mapping The Looker connector maps Looker assets to Collate entities as follows: | Looker Asset | Collate Entity | Description | | - | - | - | | **Dashboards** | **Dashboard** | Looker dashboards are mapped to Collate Dashboard entities. | | **Dashboard Elements** (tiles) | **Chart** | Visualization tiles within a Looker dashboard are mapped to Collate Chart entities. | | **Explores** and **Views** (LookML) | **Data Models** | LookML Explores and Views are mapped to Collate Data Model entities. | | **Folders** (Dashboards) / **LookML Projects** (Explores & Views) | **Project field** | The project field means something different depending on the entity: for a Dashboard it stores the Looker folder name, while for an Explore or View it stores the LookML project (Git repository) it belongs to. | ### Example Structure **Looker Structure**: ``` Folder: Sales Team └── Dashboard: Revenue Overview ├── Tile: Monthly Revenue └── Tile: Regional Breakdown LookML Project: sales_analytics ├── Explore: revenue └── View: orders ``` **Collate Structure**: ``` Dashboard: "Revenue Overview" (Project: "Sales Team") ├── Chart: "Monthly Revenue" └── Chart: "Regional Breakdown" Data Model: "revenue" (Project: "sales_analytics") Data Model: "orders" (Project: "sales_analytics") ``` This mapping ensures that: * Looker dashboards appear as Collate dashboards, organized by their Looker folder * Dashboard tiles appear as charts underneath their dashboard * LookML Explores and Views appear as data models, organized by their LookML project * The project field is sourced differently depending on entity type: a Looker folder for Dashboards, a LookML project for Data Models ## Metadata Ingestion To ingest metadata from Looker, you need to create a service connection. The service connects Looker with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Looker** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/looker.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=065a6615ecf14c560be6fb2904bf1359) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Looker services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/looker.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=bebc36e4fee23c2c7bbc76870e779807) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Looker. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/looker.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=aba8ec463a51a6d95138668ba8a03f87) **Connection** * **Client ID**: User's Client ID to authenticate to the SDK. This user should have privileges to read all the metadata in Looker. * **Host and Port**: URL to the Looker instance, for example, `https://my-company.region.looker.com`. **Authentication** * **Client Secret**: User's Client Secret for the same ID provided. **Scope & Options** * **Git Credentials**: Choose how to extract the `.lkml` files that hold your LookML views and their lineage to source tables: * **No Git Credentials**: Default option. Skips LookML view ingestion and lineage to source tables. * **Local Path**: Path to the repository on the local file system where the ingestion pipeline runs, for example `/opt/looker/repo`. * **GitHub Credentials**: Credentials for a GitHub repository. * **Git Host URL**: GitHub instance URL. For GitHub.com, use `https://github.com`. * **Repository Owner**: The owner (user or organization) of a GitHub repository. For example, in [https://github.com/open-metadata/OpenMetadata](https://github.com/open-metadata/OpenMetadata), the owner is `open-metadata`. * **Repository Name**: The name of a GitHub repository. For example, in [https://github.com/open-metadata/OpenMetadata](https://github.com/open-metadata/OpenMetadata), the name is `OpenMetadata`. To ingest LookML files from multiple repositories under the same owner, provide a comma-separated list, for example `looker-main-repo,looker-secondary-repo,looker-analytics-repo`. * **API Token**: Token to use the API. This is required for private repositories and to avoid hitting API rate limits. To create a fine-grained personal access token, see [Creating a fine-grained personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token). When configuring, give repository access to `Only select repositories` and choose the one containing your LookML files. Set `Repository Permissions` to `Read-only` for `Contents`. * **BitBucket Credentials**: Credentials for a BitBucket repository. * **Git Host URL**: BitBucket instance URL. For BitBucket Cloud, use `https://bitbucket.org`. * **Repository Owner**: The owner (user or organization) of the repository. * **Repository Name**: The name of the repository. To ingest LookML files from multiple repositories under the same owner, provide a comma-separated list, for example `looker-main-repo,looker-secondary-repo,looker-analytics-repo`. * **API Token**: Token to use the API. This is required for private repositories and to avoid hitting API rate limits. * **Main Branch**: Main production branch of the repository, for example `main`. This field is required. * **GitLab Credentials**: Credentials for a GitLab repository. * **Git Host URL**: GitLab instance URL. For GitLab.com, use `https://gitlab.com`. * **Repository Owner**: The owner (user or organization) of the repository. * **Repository Name**: The name of the repository. To ingest LookML files from multiple repositories under the same owner, provide a comma-separated list, for example `looker-main-repo,looker-secondary-repo,looker-analytics-repo`. * **API Token**: Token to use the API. This is required for private repositories and to avoid hitting API rate limits. * **Include Metrics**: Ingest LookML measures as **Metric** entities. Disabled by default because Metric names must be unique across the whole Collate instance. Enable **Include Data Models** under the ingestion options as well because Collate discovers measures from the data models that expose them. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Looker Troubleshooting](/ai-2-0/connectors/dashboard/looker/troubleshooting) > > Learn more about how to troubleshoot common Looker connector issues and resolve configuration or ingestion errors. # Looker Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/looker/troubleshooting Solve Looker connector issues in Collate with expert troubleshooting guides. Fix authentication, API errors, and data sync problems quickly. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Metabase Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/metabase/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Metabase dashboards to Collate. ![Metabase](/public/images/connectors/metabase.webp) # Metabase PROD This section provides guides and references to use the Metabase connector. Configure and schedule Metabase metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/metabase/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The service account must have view access to all dashboards and charts that need to be ingested. Without view access, the connector cannot retrieve those objects. **Note**: Collate has been tested with Metabase versions `0.42.4` and `0.43.4`. ## Metadata Ingestion To ingest metadata from Metabase, you need to create a service connection. The service connects Metabase with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Metabase** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/metabase.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=dadabf34aa937adb1328da40cbd3d140) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Metabase services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/metabase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=95418854fc283122eb65fd3bb8f78b3b) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Metabase. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/metabase.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=31cf2fc94bdce9441de0195af8f11423) * **Host and Port**: The hostPort parameter specifies the host and port of the Metabase instance. This should be specified as a string in the format `http://hostname:port` or `https://hostname:port`. For example, you might set the hostPort parameter to `https://org.metabase.com:3000`. * **Username**: Username to connect to Metabase, for example, `user@organization.com`. This user should have access to relevant dashboards and charts in Metabase to fetch the metadata. * **Password**: Password of the user account to connect with Metabase. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Metabase Troubleshooting](/ai-2-0/connectors/dashboard/metabase/troubleshooting) > > Learn more about how to troubleshoot common Metabase connector issues and resolve configuration or ingestion errors. # Metabase Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/metabase/index Connect Metabase dashboards to Collate effortlessly. Complete setup guide, configuration steps, and metadata extraction for seamless integration. ![Metabase](/public/images/connectors/metabase.webp) # Metabase PROD [Metabase connector setup in Collate (video)](https://www.youtube.com/embed/WlsAZz7-7lk) This section provides guides and references to use the Metabase connector. Configure and schedule Metabase metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/metabase/troubleshooting) ## Requirements The service account must have view access to all dashboards and charts that need to be ingested. Without view access, the connector cannot retrieve those objects. **Note**: Collate has been tested with Metabase versions `0.42.4` and `0.43.4`. ## Metadata Ingestion To ingest metadata from Metabase, you need to create a service connection. The service connects Metabase with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Metabase** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/metabase.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=dadabf34aa937adb1328da40cbd3d140) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Metabase services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/metabase.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=95418854fc283122eb65fd3bb8f78b3b) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Metabase. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/metabase.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=31cf2fc94bdce9441de0195af8f11423) * **Host and Port**: The hostPort parameter specifies the host and port of the Metabase instance. This should be specified as a string in the format `http://hostname:port` or `https://hostname:port`. For example, you might set the hostPort parameter to `https://org.metabase.com:3000`. * **Username**: Username to connect to Metabase, for example, `user@organization.com`. This user should have access to relevant dashboards and charts in Metabase to fetch the metadata. * **Password**: Password of the user account to connect with Metabase. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Metabase Troubleshooting](/ai-2-0/connectors/dashboard/metabase/troubleshooting) > > Learn more about how to troubleshoot common Metabase connector issues and resolve configuration or ingestion errors. # Metabase Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/metabase/troubleshooting Resolve Metabase connector issues with Collate's comprehensive troubleshooting guide. Fix common errors, configuration problems, and data sync issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # MicroStrategy Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/microstrategy/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from MicroStrategy dashboards to Collate. ![MicroStrategy](/public/images/connectors/microstrategy.webp) # MicroStrategy PROD This section provides guides and references to use the MicroStrategy connector. Configure and schedule MicroStrategy metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/microstrategy/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To integrate MicroStrategy, ensure you are using Collate version 1.2.x or higher. When a service user is created, it is already provisioned with the necessary permissions. However, if the user still cannot access the APIs, verify that it has the following Decision Support Systems (DSS) privileges for the MicroStrategy REST/JSON API: * **Web Services API**: Essential for REST API usage. * **Login to MicroStrategy**: User authentication. * **Use Project Sources**: Access to project sources. * **View Metadata**: Metadata browsing and viewing. * **Access Administration Objects**: Global metadata access (connections, DB instances). * **Browse Repository**: Object navigation within projects/folders. ## Metadata Ingestion To ingest metadata from MicroStrategy, you need to create a service connection. The service connects MicroStrategy with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **MicroStrategy** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/microstrategy.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=19294a29e0bbb3490573a323db811379) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MicroStrategy services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/microstrategy.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d84e57574ed37995cdb8758a67445080) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MicroStrategy. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/microstrategy.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=978f853b649abdf8dc59aedb32e471c2) * **Username**: Username to connect to MicroStrategy, for example, [user@organization.com](mailto:user@organization.com). This user should have access to relevant dashboards and charts in MicroStrategy to fetch the metadata. * **Password**: Password of the user account to connect with MicroStrategy. * **Host Port**: This parameter specifies the host of the MicroStrategy instance. This should be specified as a URI string in the format `http://hostname` or `https://hostname`. For example, set it to the URL of your MicroStrategy instance. * **Project Name**: The name of the project within MicroStrategy that Collate will connect to, linking to the relevant dashboards and reports for metadata retrieval. * **Login Mode**: Login Mode for MicroStrategy's REST API connection. You can authenticate with one of the following authentication modes: `Standard (1)`, `Anonymous (8)`. Default will be `Standard (1)`. If you're using a demo account for MicroStrategy, authenticate using loginMode `8`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MicroStrategy Troubleshooting](/ai-2-0/connectors/dashboard/microstrategy/troubleshooting) > > Learn more about how to troubleshoot common MicroStrategy connector issues and resolve configuration or ingestion errors. # MicroStrategy Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/microstrategy/index Connect MicroStrategy dashboards to Collate with our comprehensive connector guide. Setup instructions, configuration options, and metadata extraction steps. ![MicroStrategy](/public/images/connectors/microstrategy.webp) # MicroStrategy PROD This section provides guides and references to use the MicroStrategy connector. Configure and schedule MicroStrategy metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/microstrategy/troubleshooting) ## Requirements To integrate MicroStrategy, ensure you are using Collate version 1.2.x or higher. When a service user is created, it is already provisioned with the necessary permissions. However, if the user still cannot access the APIs, verify that it has the following Decision Support Systems (DSS) privileges for the MicroStrategy REST/JSON API: * **Web Services API**: Essential for REST API usage. * **Login to MicroStrategy**: User authentication. * **Use Project Sources**: Access to project sources. * **View Metadata**: Metadata browsing and viewing. * **Access Administration Objects**: Global metadata access (connections, DB instances). * **Browse Repository**: Object navigation within projects/folders. ## Metadata Ingestion To ingest metadata from MicroStrategy, you need to create a service connection. The service connects MicroStrategy with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **MicroStrategy** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/microstrategy.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=19294a29e0bbb3490573a323db811379) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MicroStrategy services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/microstrategy.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d84e57574ed37995cdb8758a67445080) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MicroStrategy. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/microstrategy.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=978f853b649abdf8dc59aedb32e471c2) * **Username**: Username to connect to MicroStrategy, e.g., [user@organization.com](mailto:user@organization.com). This user should have access to relevant dashboards and charts in MicroStrategy to fetch the metadata. * **Password**: Password of the user account to connect with MicroStrategy. * **Host Port**: This parameter specifies the host of the MicroStrategy instance. This should be specified as a URI string in the format `http://hostname` or `https://hostname`. For example, set it to the URL of your MicroStrategy instance. * **Project Name**: The name of the project within MicroStrategy that Collate will connect to, linking to the relevant dashboards and reports for metadata retrieval. * **Login Mode**: Login Mode for MicroStrategy's REST API connection. You can authenticate with one of the following authentication modes: `Standard (1)`, `Anonymous (8)`. Default will be `Standard (1)`. If you're using a demo account for MicroStrategy, authenticate using loginMode `8`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MicroStrategy Troubleshooting](/ai-2-0/connectors/dashboard/microstrategy/troubleshooting) > > Learn more about how to troubleshoot common MicroStrategy connector issues and resolve configuration or ingestion errors. # MicroStrategy Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/microstrategy/troubleshooting Resolve MicroStrategy connector issues in Collate with expert troubleshooting tips, common error fixes, and step-by-step solutions for seamless integration. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Mode Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/mode/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Mode Analytics dashboards to Collate. ![Mode](/public/images/connectors/mode.webp) # Mode PROD This section provides guides and references to use the Mode connector. Configure and schedule Mode metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Owners](#owners) * [Troubleshooting](/ai-2-0/connectors/dashboard/mode/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate relies on Mode's API, which is exclusive to members of the Mode Business Workspace. This means that only resources that belong to a Mode Business Workspace can be accessed via the API. ## Metadata Ingestion To ingest metadata from Mode, you need to create a service connection. The service connects Mode with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Mode** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/mode.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b20441b2f99828b6577d6d33745638be) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Mode services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/mode.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=57d72f9e58fa3ae6fc5ddb2091bfa3ab) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Mode. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/mode.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=1215cd118b9a515ee9c386578d30e3ff) * **hostPort**: Host and port for the Mode dashboard. The hostPort parameter specifies the host and port of the Mode server. This should be specified as a string in the format `https://app.mode.com`. * **accessToken**: Access Token for Mode Dashboard. Get the Access Token by following the steps below: * Navigate to your Mode homepage. * Click on your name in the upper left corner and click My Account. * Click on API Tokens. * To generate a new API token and password, enter a token name and click **Create Token**. * Copy the generated access token and password. For detailed information, see the [Mode API reference](https://mode.com/developer/api-reference/introduction/). * **accessTokenPassword**: Access Token Password for Mode Dashboard. Copy the access token password from the step above where a new token is generated. For detailed information, see the [Mode API reference](https://mode.com/developer/api-reference/introduction/). * **workspaceName**: Mode Workspace Name. Name of the Mode workspace from which Collate fetches metadata. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. Collate also parses the SQL of each Mode query to fill in the columns of its data model. It then builds column-level lineage from the source tables to those columns. Collate looks up a `database.schema.table` reference under the database the SQL names, not under the database set on the data source connection. ## Owners Collate sets the creator of each Mode report as the owner of the dashboard when the creator's email matches a user in Collate. To apply this, turn on the **Include Current Owners** toggle in the metadata ingestion settings. Collate sets the owner only when the dashboard has no owner. ## Troubleshooting > [card] [Mode Troubleshooting](/ai-2-0/connectors/dashboard/mode/troubleshooting) > > Learn more about how to troubleshoot common Mode connector issues and resolve configuration or ingestion errors. # Mode Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/mode/index Connect Mode Analytics dashboards to Collate with our comprehensive connector guide. Easy setup, configuration steps, and metadata extraction instructions. ![Mode](/public/images/connectors/mode.webp) # Mode PROD This section provides guides and references to use the Mode connector. Configure and schedule Mode metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Owners](#owners) * [Troubleshooting](/ai-2-0/connectors/dashboard/mode/troubleshooting) ## Requirements Collate relies on Mode's API, which is exclusive to members of the Mode Business Workspace. This means that only resources that belong to a Mode Business Workspace can be accessed via the API. ## Metadata Ingestion To ingest metadata from Mode, you need to create a service connection. The service connects Mode with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Mode** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/mode.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b20441b2f99828b6577d6d33745638be) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Mode services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/mode.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=57d72f9e58fa3ae6fc5ddb2091bfa3ab) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Mode. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/mode.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=1215cd118b9a515ee9c386578d30e3ff) * **hostPort**: Host and port for the Mode dashboard. The hostPort parameter specifies the host and port of the Mode server. This should be specified as a string in the format `https://app.mode.com`. * **accessToken**: Access Token for Mode Dashboard. Get the Access Token by following the steps below: * Navigate to your Mode homepage. * Click on your name in the upper left corner and click My Account. * Click on API Tokens on the left side. * To generate a new API token and password, enter a token name and click **Create Token**. * Copy the generated access token and password. For detailed information, see the [Mode API reference](https://mode.com/developer/api-reference/introduction/). * **accessTokenPassword**: Access Token Password for Mode Dashboard. Copy the access token password from the step above where a new token is generated. For detailed information, see the [Mode API reference](https://mode.com/developer/api-reference/introduction/). * **workspaceName**: Mode Workspace Name. Name of the Mode workspace from which Collate fetches metadata. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. Collate also parses the SQL of each Mode query to fill in the columns of its data model. It then builds column-level lineage from the source tables to those columns. Collate looks up a `database.schema.table` reference under the database the SQL names, not under the database set on the data source connection. ## Owners Collate sets the creator of each Mode report as the owner of the dashboard when the creator's email matches a user in Collate. To apply this, turn on the **Include Current Owners** toggle in the metadata ingestion settings. Collate sets the owner only when the dashboard has no owner. ## Troubleshooting > [card] [Mode Troubleshooting](/ai-2-0/connectors/dashboard/mode/troubleshooting) > > Learn more about how to troubleshoot common Mode connector issues and resolve configuration or ingestion errors. # Mode Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/mode/troubleshooting Fix Mode dashboard connector issues with Collate's comprehensive troubleshooting guide. Resolve common errors, debug connections, and optimize performance. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Omni Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/omni/hybrid-runner Connect Omni to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Omni](/public/images/connectors/omni.webp) # Omni BETA This section provides guides and references to use the Omni connector. Configure and schedule Omni metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/omni/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate ingests Omni metadata through Omni's REST API. The connector reads Omni models and topics as data models, documents (workbooks) as dashboards with their tiles as charts, and builds lineage from your warehouse tables through topics to dashboards. ### Generate an API Token Collate authenticates with Omni using an API token sent as a `Bearer` token. Use one of the following: * **Organization API Key**: Created by an Organization Admin. Grants access across the organization's models and documents. * **Personal Access Token (PAT)**: Scoped to your own access. For steps to obtain either Omni's credential, see [API authentication](https://docs.omni.co/api/authentication). > [!TIP] > > **Tip**: The token is shown only once when created. Copy and store it securely. ## Metadata Ingestion To ingest metadata from Omni, you need to create a service connection. The service connects Omni with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Omni** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/omni.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=ef77a8ff10a4ab1bdcc055fa03bd5dd6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Omni services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/omni.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9c2d172ecae630d253de24ab3a926a92) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Omni. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/omni.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=af6616a6ea9b9da749284d85e877da93) **Connection** * **Host and Port**: URL of the Omni instance, for example `https://your-org.omniapp.co`. The `/api` path is added automatically. **Authentication** * **API Token**: API token to authenticate with Omni. Generated in [Generate an API Token](#generate-an-api-token). **Scope & Options** * **Verify SSL**: Client SSL verification. Configure **SSL Config** if enabled. Defaults to `no-ssl`. **Advanced Config** *(driver-level options; most connections don't need these)* * **CA Certificate**: The CA certificate used for SSL validation. * **SSL Certificate**: The SSL certificate used for client authentication. * **SSL Key**: The SSL key used for client authentication. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. Omni resolves lineage from each topic's declared base table, so it doesn't need to parse warehouse query logs. A topic built on top of a table Collate has already indexed produces a direct edge from that source table, through the topic (data model), to every dashboard tile built on it. ## Troubleshooting > [card] [Omni Troubleshooting](/ai-2-0/connectors/dashboard/omni/troubleshooting) > > Learn more about how to troubleshoot common Omni connector issues and resolve configuration or ingestion errors. # Omni Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/omni/index Connect Omni to Collate with our comprehensive dashboard connector guide. Setup instructions, configuration tips, and metadata extraction made simple. ![Omni](/public/images/connectors/omni.webp) # Omni BETA This section provides guides and references to use the Omni connector. Configure and schedule Omni metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/omni/troubleshooting) ## Requirements Collate ingests Omni metadata through Omni's REST API. The connector reads Omni models and topics as data models, documents (workbooks) as dashboards with their tiles as charts, and builds lineage from your warehouse tables through topics to dashboards. ### Generate an API Token Collate authenticates with Omni using an API token sent as a `Bearer` token. Use one of the following: * **Organization API Key**: Created by an Organization Admin. Grants access across the organization's models and documents. * **Personal Access Token (PAT)**: Scoped to your own access. For steps to obtain either Omni's credential, see [API authentication](https://docs.omni.co/api/authentication). > [!TIP] > > **Tip**: The token is shown only once when created. Copy and store it securely. ## Metadata Ingestion To ingest metadata from Omni, you need to create a service connection. The service connects Omni with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Omni** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/omni.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=ef77a8ff10a4ab1bdcc055fa03bd5dd6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Omni services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/omni.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9c2d172ecae630d253de24ab3a926a92) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Omni. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/omni.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=af6616a6ea9b9da749284d85e877da93) **Connection** * **Host and Port**: URL of the Omni instance, for example `https://your-org.omniapp.co`. The `/api` path is added automatically. **Authentication** * **API Token**: API token to authenticate with Omni. Generated in [Generate an API Token](#generate-an-api-token). **Scope & Options** * **Verify SSL**: Client SSL verification. Configure **SSL Config** if enabled. Defaults to `no-ssl`. **Advanced Config** *(driver-level options; most connections don't need these)* * **CA Certificate**: The CA certificate used for SSL validation. * **SSL Certificate**: The SSL certificate used for client authentication. * **SSL Key**: The SSL key used for client authentication. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. Omni resolves lineage from each topic's declared base table, so it doesn't need to parse warehouse query logs. A topic built on top of a table Collate has already indexed produces a direct edge from that source table, through the topic (data model), to every dashboard tile built on it. ## Troubleshooting > [card] [Omni Troubleshooting](/ai-2-0/connectors/dashboard/omni/troubleshooting) > > Learn more about how to troubleshoot common Omni connector issues and resolve configuration or ingestion errors. # Omni Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/omni/troubleshooting Troubleshoot Omni connector issues related to authentication, lineage, or ingestion errors. ### Common Issues The following sections cover the most frequent Omni connector problems. #### Authentication Failures * Verify that your API token is valid and hasn't expired. * Confirm the token type matches the access you need: an Organization API key for org-wide access, or a Personal Access Token for your own access. * Regenerate the token in Omni and update the connection if authentication continues to fail. #### Connection Timeouts * Verify the **Host and Port** is correct and doesn't include a trailing `/api`. Collate appends it automatically. * Check network connectivity between the ingestion runner and your Omni instance. * If your Omni instance sits behind an internal certificate authority, set **Verify SSL** to `validate` and provide the CA certificate under **Advanced Config**. #### Missing Dashboards, Charts, or Data Models * Check the **Dashboard Filter Pattern**, **Chart Filter Pattern**, and **Data Model Filter Pattern** for rules that might be excluding the assets you expect to see. * Confirm the token has access to the project or folder the document lives in. #### Missing Lineage * Lineage depends on each Omni topic's declared base table matching a table Collate has already ingested. Ingest the source database service before running the Omni service, and confirm its schema and table names match what Omni's topic points to. * Set **Db Service Prefixes** in the metadata agent's **Lineage Information** section to scope table matching to the correct database service. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # PowerBI Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbi/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Power BI dashboards to Collate. ![PowerBI](/public/images/connectors/power-bi.webp) # PowerBI PROD This section provides guides and references to use the PowerBI connector. Configure and schedule PowerBI metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Entity Mapping](#entity-mapping) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/powerbi/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!WARNING] > > **Important**: To access the PowerBI APIs and import dashboards, charts, and datasets from PowerBI into Collate, a `PowerBI Pro` license is necessary. > [!TIP] > > **Tip**: Collate does not support Power BI usage ingestion because the Power BI Usage API does not support Service Principal authentication. > [!TIP] > > **Tip**: When configuring Azure Authentication, ensure that "Allow public client flows" is enabled. This setting is required to support authentication for public client applications. ### PowerBI Admin and Non-Admin APIs: When configuring PowerBI ingestion, choose whether to use the PowerBI Admin APIs or the PowerBI Non-Admin APIs to retrieve metadata. The following list describes the difference in functionality: * Enabled (Use PowerBI Admin APIs) Using the admin APIs will fetch the dashboard and chart metadata from all the workspaces available in the PowerBI instance. > [!TIP] > > **Tip**: When using the PowerBI Admin APIs, the table and dataset information used to generate lineage is gathered using the PowerBI [Scan Result](https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result) API. This API has no limitations, so it can retrieve all the data necessary for generating lineage. * Disabled (Use Non-Admin PowerBI APIs) Using the non-admin APIs will only fetch the dashboard and chart metadata from the workspaces that have the security group of the service principal assigned to them. > [!TIP] > > **Tip**: When using the PowerBI Non-Admin APIs, the table and dataset information used to generate lineage is gathered using the PowerBI [Get Dataset Tables](https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables) API. This API only retrieves the table information if the dataset is a [Push Dataset](https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets). > The lineage can therefore only be created for push datasets in this case. > For more information, see the [PowerBI official documentation](https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables#limitations). ### PowerBI Account Setup Follow these steps to configure the account setup for the PowerBI connector: ### Step 1: Enable API permissions from the PowerBI Admin console Collate extracts the information from PowerBI using APIs. This is a manual step a PowerBI Admin must complete to ensure Collate can get the right information. Log in to [Power BI](https://app.powerbi.com/) as an admin, and enable the settings below from [Tenant settings](https://app.powerbi.com/admin-portal/tenantSettings?experience=power-bi) in the Admin portal. The first setting authorizes the service principal to call the [PowerBI admin APIs](/ai-2-0/connectors/dashboard/powerbi#powerbi-admin-and-non-admin-apis). The other two add detail to the [GetScanResult](https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result) response that the connector reads. | Tenant setting | What it unlocks | If disabled | | - | - | - | | **Service principals can access read-only admin APIs** | Lets an app registered in Microsoft Entra ID authenticate to the read-only admin APIs with a service principal instead of user credentials. This is the base requirement for the `GetScanResult` API that supplies dashboard, chart, and datamodel metadata. See [Enable service principal authentication for read-only admin APIs](https://learn.microsoft.com/en-us/fabric/admin/enable-service-principal-admin-apis). | No metadata is ingested. | | **Enhance admin APIs responses with detailed metadata** | Adds semantic model table and column names to the `GetScanResult` response, which Collate ingests as datamodel tables and columns. See [Enabling enhanced metadata scanning](https://learn.microsoft.com/en-us/fabric/governance/metadata-scanning-overview#enabling-enhanced-metadata-scanning). | Data models are ingested without their tables and columns. | | **Enhance admin APIs responses with DAX and mashup expressions** | Adds table-level and column-level DAX and mashup expressions to the `GetScanResult` response. Collate parses these expressions to enrich datamodel metadata and to resolve lineage back to source tables and columns. | Lineage is incomplete, because the expressions that link data models to their source tables and columns are missing. | > [!NOTE] > > **Note**: The two enhanced metadata settings apply to service principals only when **Service principals can access read-only admin APIs** is also enabled. Enable all three together, and add the service principal to the security group specified in each setting. A fourth tenant setting, **Service principals can access admin APIs used for updates**, grants write access through the admin APIs. Collate's metadata ingestion is read-only, so this setting is not required. ### Step 2: Create the App in Azure AD See the [documentation on setting up an Azure AD application service principal](https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal) for detailed steps. ### Step 3: Provide necessary API permissions to the Azure AD app Go to the `Azure AD app registrations` page and select your app. Add the following permissions for the PowerBI service, then grant admin consent. All four permissions are required: * `Dashboard.Read.All`: dashboards and the tiles Collate ingests as charts. * `Dataset.Read.All`: datasets that Collate ingests as data models, along with their tables and columns. Without it, datamodel and lineage processing is skipped. * `Report.Read.All`: reports, which Collate also ingests as dashboards. * `Workspace.Read.All`: workspaces, which Collate stores in the project field of dashboards and data models. > [!WARNING] > > **Important**: Make sure the app does not have Tenant-related permissions in the API permissions section. For a detailed explanation, see [this discussion thread](https://stackoverflow.com/questions/71001110/power-bi-rest-api-requests-not-authorizing-as-expected). ### Step 4: PowerBI Workspaces The service principal does not support default user workspaces, such as `My Workspace`. To create a workspace, see [Create a workspace in Power BI](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-create-the-new-workspaces). For service principal requirements and limitations, see [Embed Power BI content with service principal and an application secret](https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal#considerations-and-limitations). ## Entity Mapping The PowerBI connector maps PowerBI assets to Collate entities as follows: | PowerBI Asset | Collate Entity | Description | | - | - | - | | **Dashboards** and **Reports** | **Dashboard** | Both PowerBI Dashboards (tile-based) and Reports are mapped to Collate Dashboard entities. | | **Tiles** (within a Dashboard) | **Chart** | Tiles on a PowerBI Dashboard are mapped to Collate Chart entities. Report pages do not generate separate Chart entities. | | **Datasets, Dataflows, Datamarts** | **Data Models** | PowerBI datasets, dataflows, and datamarts are mapped to Collate Data Model entities. | | **Workspaces** | **Project field** | The PowerBI workspace name is stored in the project field of the Dashboard and Data Model entities. | ### Example Structure **PowerBI Structure**: ``` Workspace: Sales Team ├── Dashboard: Revenue Overview │ ├── Tile: Monthly Revenue │ └── Tile: Regional Breakdown ├── Report: Sales Trends └── Dataset: Sales Data Model ``` **Collate Structure**: ``` Dashboard: "Revenue Overview" (Project: "Sales Team") ├── Chart: "Monthly Revenue" └── Chart: "Regional Breakdown" Dashboard: "Sales Trends" (Project: "Sales Team") Data Model: "Sales Data Model" (Project: "Sales Team") ``` This mapping ensures that: * PowerBI dashboards and reports both appear as Collate dashboards * Tiles on a dashboard appear as charts underneath it * Datasets, dataflows, and datamarts appear as data models * PowerBI workspace names are preserved in the project field ## Metadata Ingestion To ingest metadata from PowerBI, you need to create a service connection. The service connects PowerBI with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **PowerBI** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/powerbi.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f8901e2b57eeab0b30bc34886a68ed5b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PowerBI services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/powerbi.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c0cb645fd0b5c8e1dfa68d868269f6bd) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PowerBI. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/powerbi.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=6fc9db09dfc9c164d210300e0223db71) * **clientId**: PowerBI Client ID. To get the client ID (also known as application ID), follow these steps: * Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). * Search for App registrations and select the App registrations link. * Select the Azure AD app you're using for embedding your Power BI content. * From the Overview section, copy the Application (client) ID. * **clientSecret**: PowerBI Client Secret. To get the client secret, follow these steps: * Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). * Search for App registrations and select the App registrations link. * Select the Azure AD app you're using for embedding your Power BI content. * Under Manage, select Certificates & secrets. * Under Client secrets, select New client secret. * In the Add a client secret pop-up window, provide a description for your application secret, select when the application secret expires, and select Add. * From the Client secrets section, copy the string in the Value column of the newly created application secret. * **tenantId**: PowerBI Tenant ID. To get the tenant ID, follow these steps: * Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). * Search for App registrations and select the App registrations link. * Select the Azure AD app you're using for Power BI. * From the Overview section, copy the Directory (tenant) ID. * **scope**: Service scope. To let Collate use the Power BI APIs using your Azure AD app, you'll need to add the following scopes: * `https://analysis.windows.net/powerbi/api/.default` For instructions on adding these scopes to your app, see the [Power BI app registration guide](https://learn.microsoft.com/en-us/power-bi/developer/embedded/register-app). * **authorityUri**: Authority URI for the service. To identify a token authority, provide a URL that points to the authority in question. If you don't specify a URL for the token authority, Collate uses the default value of [https://login.microsoftonline.com/](https://login.microsoftonline.com/). * **hostPort**: URL to the PowerBI instance. To connect with your Power BI instance, you'll need to provide the host URL. If you're using an on-premise installation of Power BI, this will be the domain name associated with your instance. If you don't specify a host URL, Collate uses the default value of [https://app.powerbi.com](https://app.powerbi.com) to connect with your Power BI instance. * **Pagination Entity Per Page**: The pagination limit for Power BI APIs can be set using this parameter. The limit determines the number of records to be displayed per page. By default, the pagination limit is set to 100 records, which is also the maximum value allowed. * **Use Admin APIs**: Option for using the PowerBI admin APIs. For more information, see [PowerBI Admin and Non-Admin APIs](/ai-2-0/connectors/dashboard/powerbi#powerbi-admin-and-non-admin-apis). * Enabled (Use PowerBI Admin APIs) * Disabled (Use Non-Admin PowerBI APIs) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [PowerBI Troubleshooting](/ai-2-0/connectors/dashboard/powerbi/troubleshooting) > > Learn more about how to troubleshoot common PowerBI connector issues and resolve configuration or ingestion errors. # PowerBI Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbi/index Connect Power BI to Collate with our comprehensive dashboard connector guide. Setup instructions, configuration tips, and metadata extraction made simple. ![PowerBI](/public/images/connectors/power-bi.webp) # PowerBI PROD [PowerBI connector setup in Collate (video)](https://www.youtube.com/embed/Ul8PLcNENcw) This section provides guides and references to use the PowerBI connector. Configure and schedule PowerBI metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Entity Mapping](#entity-mapping) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/powerbi/troubleshooting) ## Requirements > [!WARNING] > > **Important**: To access the PowerBI APIs and import dashboards, charts, and datasets from PowerBI into Collate, a `PowerBI Pro` license is necessary. > [!TIP] > > **Tip**: Collate does not support Power BI usage ingestion because the Power BI Usage API does not support Service Principal authentication. > [!TIP] > > **Tip**: When configuring Azure Authentication, ensure that "Allow public client flows" is enabled. This setting is required to support authentication for public client applications. ### PowerBI Admin and Non-Admin APIs: When configuring PowerBI ingestion, choose whether to use the PowerBI Admin APIs or the PowerBI Non-Admin APIs to retrieve metadata. The following list describes the difference in functionality: * Enabled (Use PowerBI Admin APIs) Using the admin APIs will fetch the dashboard and chart metadata from all the workspaces available in the PowerBI instance. > [!TIP] > > **Tip**: When using the PowerBI Admin APIs, the table and dataset information used to generate lineage is gathered using the PowerBI [Scan Result](https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result) API. This API has no limitations, so it can retrieve all the data necessary for generating lineage. * Disabled (Use Non-Admin PowerBI APIs) Using the non-admin APIs will only fetch the dashboard and chart metadata from the workspaces that have the security group of the service principal assigned to them. > [!TIP] > > **Tip**: When using the PowerBI Non-Admin APIs, the table and dataset information used to generate lineage is gathered using the PowerBI [Get Dataset Tables](https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables) API. This API only retrieves the table information if the dataset is a [Push Dataset](https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets). > The lineage can therefore only be created for push datasets in this case. > For more information, see the [PowerBI official documentation](https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-get-tables#limitations). ### PowerBI Account Setup Follow these steps to configure the account setup for the PowerBI connector: ### Step 1: Enable API permissions from the PowerBI Admin console Collate extracts the information from PowerBI using APIs. This is a manual step a PowerBI Admin must complete to ensure Collate can get the right information. Log in to [Power BI](https://app.powerbi.com/) as an admin, and enable the settings below from [Tenant settings](https://app.powerbi.com/admin-portal/tenantSettings?experience=power-bi) in the Admin portal. The first setting authorizes the service principal to call the [PowerBI admin APIs](/ai-2-0/connectors/dashboard/powerbi#powerbi-admin-and-non-admin-apis). The other two add detail to the [GetScanResult](https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result) response that the connector reads. | Tenant setting | What it unlocks | If disabled | | - | - | - | | **Service principals can access read-only admin APIs** | Lets an app registered in Microsoft Entra ID authenticate to the read-only admin APIs with a service principal instead of user credentials. This is the base requirement for the `GetScanResult` API that supplies dashboard, chart, and datamodel metadata. See [Enable service principal authentication for read-only admin APIs](https://learn.microsoft.com/en-us/fabric/admin/enable-service-principal-admin-apis). | No metadata is ingested. | | **Enhance admin APIs responses with detailed metadata** | Adds semantic model table and column names to the `GetScanResult` response, which Collate ingests as datamodel tables and columns. See [Enabling enhanced metadata scanning](https://learn.microsoft.com/en-us/fabric/governance/metadata-scanning-overview#enabling-enhanced-metadata-scanning). | Data models are ingested without their tables and columns. | | **Enhance admin APIs responses with DAX and mashup expressions** | Adds table-level and column-level DAX and mashup expressions to the `GetScanResult` response. Collate parses these expressions to enrich datamodel metadata and to resolve lineage back to source tables and columns. | Lineage is incomplete, because the expressions that link data models to their source tables and columns are missing. | > [!NOTE] > > **Note**: The two enhanced metadata settings apply to service principals only when **Service principals can access read-only admin APIs** is also enabled. Enable all three together, and add the service principal to the security group specified in each setting. A fourth tenant setting, **Service principals can access admin APIs used for updates**, grants write access through the admin APIs. Collate's metadata ingestion is read-only, so this setting is not required. ### Step 2: Create the App in Azure AD See the [documentation on setting up an Azure AD application service principal](https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal) for detailed steps. ### Step 3: Provide necessary API permissions to the Azure AD app Go to the `Azure AD app registrations` page and select your app. Add the following permissions for the PowerBI service, then grant admin consent. All four permissions are required: * `Dashboard.Read.All`: dashboards and the tiles Collate ingests as charts. * `Dataset.Read.All`: datasets that Collate ingests as data models, along with their tables and columns. Without it, datamodel and lineage processing is skipped. * `Report.Read.All`: reports, which Collate also ingests as dashboards. * `Workspace.Read.All`: workspaces, which Collate stores in the project field of dashboards and data models. > [!WARNING] > > **Important**: Make sure the app does not have Tenant-related permissions in the API permissions section. For a detailed explanation, see [this discussion thread](https://stackoverflow.com/questions/71001110/power-bi-rest-api-requests-not-authorizing-as-expected). ### Step 4: PowerBI Workspaces The service principal does not support default user workspaces, such as `My Workspace`. To create a workspace, see [Create a workspace in Power BI](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-create-the-new-workspaces). For service principal requirements and limitations, see [Embed Power BI content with service principal and an application secret](https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal#considerations-and-limitations). ## Entity Mapping The PowerBI connector maps PowerBI assets to Collate entities as follows: | PowerBI Asset | Collate Entity | Description | | - | - | - | | **Dashboards** and **Reports** | **Dashboard** | Both PowerBI Dashboards (tile-based) and Reports are mapped to Collate Dashboard entities. | | **Tiles** (within a Dashboard) | **Chart** | Tiles on a PowerBI Dashboard are mapped to Collate Chart entities. Report pages do not generate separate Chart entities. | | **Datasets, Dataflows, Datamarts** | **Data Models** | PowerBI datasets, dataflows, and datamarts are mapped to Collate Data Model entities. | | **Workspaces** | **Project field** | The PowerBI workspace name is stored in the project field of the Dashboard and Data Model entities. | ### Example Structure **PowerBI Structure**: ``` Workspace: Sales Team ├── Dashboard: Revenue Overview │ ├── Tile: Monthly Revenue │ └── Tile: Regional Breakdown ├── Report: Sales Trends └── Dataset: Sales Data Model ``` **Collate Structure**: ``` Dashboard: "Revenue Overview" (Project: "Sales Team") ├── Chart: "Monthly Revenue" └── Chart: "Regional Breakdown" Dashboard: "Sales Trends" (Project: "Sales Team") Data Model: "Sales Data Model" (Project: "Sales Team") ``` This mapping ensures that: * PowerBI dashboards and reports both appear as Collate dashboards * Tiles on a dashboard appear as charts underneath it * Datasets, dataflows, and datamarts appear as data models * PowerBI workspace names are preserved in the project field ## Metadata Ingestion To ingest metadata from PowerBI, you need to create a service connection. The service connects PowerBI with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **PowerBI** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/powerbi.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f8901e2b57eeab0b30bc34886a68ed5b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PowerBI services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/powerbi.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c0cb645fd0b5c8e1dfa68d868269f6bd) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PowerBI. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/powerbi.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=6fc9db09dfc9c164d210300e0223db71) * **clientId**: PowerBI Client ID. To get the client ID (also known as application ID), follow these steps: * Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). * Search for App registrations and select the App registrations link. * Select the Azure AD app you're using for embedding your Power BI content. * From the Overview section, copy the Application (client) ID. * **clientSecret**: PowerBI Client Secret. To get the client secret, follow these steps: * Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). * Search for App registrations and select the App registrations link. * Select the Azure AD app you're using for embedding your Power BI content. * Under Manage, select Certificates & secrets. * Under Client secrets, select New client secret. * In the Add a client secret pop-up window, provide a description for your application secret, select when the application secret expires, and select Add. * From the Client secrets section, copy the string in the Value column of the newly created application secret. * **tenantId**: PowerBI Tenant ID. To get the tenant ID, follow these steps: * Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). * Search for App registrations and select the App registrations link. * Select the Azure AD app you're using for Power BI. * From the Overview section, copy the Directory (tenant) ID. * **scope**: Service scope. To let Collate use the Power BI APIs using your Azure AD app, you'll need to add the following scopes: * `https://analysis.windows.net/powerbi/api/.default` For instructions on adding these scopes to your app, see the [Power BI app registration guide](https://learn.microsoft.com/en-us/power-bi/developer/embedded/register-app). * **authorityUri**: Authority URI for the service. To identify a token authority, provide a URL that points to the authority in question. If you don't specify a URL for the token authority, Collate uses the default value of [https://login.microsoftonline.com/](https://login.microsoftonline.com/). * **hostPort**: URL to the PowerBI instance. To connect with your Power BI instance, you'll need to provide the host URL. If you're using an on-premise installation of Power BI, this will be the domain name associated with your instance. If you don't specify a host URL, Collate uses the default value of [https://app.powerbi.com](https://app.powerbi.com) to connect with your Power BI instance. * **Pagination Entity Per Page**: The pagination limit for Power BI APIs can be set using this parameter. The limit determines the number of records to be displayed per page. By default, the pagination limit is set to 100 records, which is also the maximum value allowed. * **Use Admin APIs**: Option for using the PowerBI admin APIs. For more information, see [PowerBI Admin and Non-Admin APIs](/ai-2-0/connectors/dashboard/powerbi#powerbi-admin-and-non-admin-apis). * Enabled (Use PowerBI Admin APIs) * Disabled (Use Non-Admin PowerBI APIs) #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [PowerBI Troubleshooting](/ai-2-0/connectors/dashboard/powerbi/troubleshooting) > > Learn more about how to troubleshoot common PowerBI connector issues and resolve configuration or ingestion errors. # PowerBI PBIT Lineage Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbi/powerbi-pbit-lineage # Lineage from pbit Files This section provides guides and references to get the lineage between `DataSource Tables <-> PowerBI Datasets <-> PowerBI Reports`. ## Follow These Steps to Generate the Lineage ### 1. Generate the .pbit Files The PowerBI connector will parse the .pbit files generated using PowerBI desktop application to generate the lineage. Export the .pbit file for your PowerBI Reports by following the guide [here](https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-templates#creating-report-templates) ### 2. Select the Source to Pick the Files From Use any one of the below sources to store the .pbit files and configure these sources in the PowerBI connector * local: Provide the full path of your folder in the local system where the pbit files are stored. For the powerbi ingestion to pick these files, the ingestion should be running on the same system where the files are stored. * azure: Store the pbit files in an Azure datalake bucket and specify the bucket name and path where the files are stored. * s3: Store the pbit files in an S3 bucket and specify the bucket name and path where the files are stored. * gcs: Store the pbit files in a GCS bucket and specify the bucket name and path where the files are stored. ### 3. Configure the source with PowerBI connector ### Run from UI Select the source for the .pbit files from UI and add the connection for it ![pbit-file-sources](https://mintcdn.com/collatedocs/kj7ZjFqdvAgAlfBX/public/images/connectors/powerbi/pbit-file-source.png?fit=max\&auto=format\&n=kj7ZjFqdvAgAlfBX\&q=85\&s=2bd15ab204fbed5e81ecb1a41a8deb5a) ### Run Externally Choose one of the configs for local, Azure, S3, and GCS by modifying `pbitFilesSource` from below yaml and run the connector by following steps [here](/ai-2-0/connectors/dashboard/powerbi/hybrid-runner). ```yaml theme={null} source: type: powerbi serviceName: local_powerbi serviceConnection: config: clientId: client_id clientSecret: client_secret tenantId: tenant_id scope: - https://analysis.windows.net/powerbi/api/.default pagination_entity_per_page: 100 # useAdminApis: true or false # For pbit files, choose one of Local, S3, Azure or GCS configurations # # For local # pbitFilesSource: # pbitFileConfigType: local # path: "/path/to/pbit/files" # pbitFilesExtractDir: "/path/to/extract/pbit/files" # # For S3 # pbitFilesSource: # pbitFileConfigType: s3 # securityConfig: # These are modeled after all AWS credentials # awsAccessKeyId: KEY # awsSecretAccessKey: SECRET # awsRegion: us-east-2 # prefixConfig: # bucketName: bucket_name # objectPrefix: "main_dir/pbit_files" # pbitFilesExtractDir: "/path/to/extract/pbit/files" # # For Azure # pbitFilesSource: # pbitFileConfigType: azure # securityConfig: # clientId: clientId # clientSecret: clientSecret # tenantId: tenantId # accountName: accountName # prefixConfig: # bucketName: bucket_name # objectPrefix: "main_dir/pbit_files" # pbitFilesExtractDir: "/path/to/extract/pbit/files" # # For GCS # pbitFilesSource: # pbitFileConfigType: gcs # securityConfig: # gcpConfig: # type: My Type # projectId: project ID # privateKeyId: us-east-2 # privateKey: | # -----BEGIN PRIVATE KEY----- # Super secret key # -----END PRIVATE KEY----- # clientEmail: client@mail.com # clientId: 1234 # authUri: https://accounts.google.com/o/oauth2/auth (default) # tokenUri: https://oauth2.googleapis.com/token (default) # authProviderX509CertUrl: https://www.googleapis.com/oauth2/v1/certs (default) # clientX509CertUrl: https://cert.url (URI) # prefixConfig: # bucketName: bucket_name # objectPrefix: "main_dir/pbit_files" # pbitFilesExtractDir: "/path/to/extract/pbit/files" type: PowerBI sourceConfig: config: type: DashboardMetadata lineageInformation: dbServiceNames: - snowflake_service - redshift_service chartFilterPattern: includes: - Gross Margin % - Total Defect* - "Number" excludes: - Total Revenue dashboardFilterPattern: includes: - Supplier Quality Analysis Sample - "Customer" projectFilterPattern: includes: - Supplier Quality Analysis Sample - "Customer" sink: type: metadata-rest config: {} workflowConfig: openMetadataServerConfig: hostPort: http://localhost:8585/api authProvider: openmetadata securityConfig: jwtToken: "your_jwt_token" ``` ### 4. Run the PowerBI Connector Add `dbServiceNames` under `lineageInformation` to create lineage between datasource Tables and PowerBI datasets. After running the PowerBI connector, the connector will gather these files and extract the files under path specified at `pbitFilesExtractDir` (directory will be created if not present). Then the extracted contents will be used to create the lineage. > [!TIP] > > **Tip**: Make sure to provide enough permissions under the `pbitFilesExtractDir` to be able to extract the pbit files. # PowerBI Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbi/troubleshooting Resolve PowerBI connector issues with Collate's comprehensive troubleshooting guide. Fix common errors, debug connections, and optimize your setup. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # PowerBI Report Server Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbireportserver/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Power BI Report Server to Collate. ![PowerBI Report Server](/public/images/connectors/power-bi.webp) # PowerBI Report Server BETA This section provides guides and references to use the PowerBI Report Server connector. Configure and schedule PowerBI Report Server metadata from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/powerbireportserver/troubleshooting) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The PowerBI Report Server should be accessible from the ingestion environment. ## Metadata Ingestion To ingest metadata from PowerBI Report Server, you need to create a service connection. The service connects PowerBI Report Server with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **PowerBI Report Server** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/powerbireportserver.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=94806b71281b2ec277b48ed04c42d0ba) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PowerBI Report Server services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/powerbireportserver.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=779e9f79237fad965cc08cc96e5354e8) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PowerBI Report Server. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/powerbireportserver.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=7a3ac5c026f40e3a367d870937302cfe) * **Host and Port**: This parameter specifies the host and port of the PowerBI Report Server instance. This should be specified as a URI string in the format `http://hostname:port` or `https://hostname:port`. For example, you might set it to `http://192.168.1.1:80`. * **Username**: Username to connect to PowerBI Report Server. * **Password**: Password to connect to PowerBI Report Server. * **Web Portal Virtual Directory Name**: Web Portal Virtual Directory name which you have configured in your PowerBI Report Server configuration manager. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [PowerBI Report Server Troubleshooting](/ai-2-0/connectors/dashboard/powerbireportserver/troubleshooting) > > Learn more about how to troubleshoot common PowerBI Report Server connector issues and resolve configuration or ingestion errors. # PowerBI Report Server Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbireportserver/index Connect Power BI Report Server to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![PowerBI Report Server](/public/images/connectors/power-bi.webp) # PowerBI Report Server BETA This section provides guides and references to use the PowerBI Report Server connector. Configure and schedule PowerBI Report Server metadata from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/powerbireportserver/troubleshooting) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements The PowerBI Report Server should be accessible from the ingestion environment. ## Metadata Ingestion To ingest metadata from PowerBI Report Server, you need to create a service connection. The service connects PowerBI Report Server with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **PowerBI Report Server** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/powerbireportserver.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=94806b71281b2ec277b48ed04c42d0ba) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other PowerBI Report Server services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/powerbireportserver.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=779e9f79237fad965cc08cc96e5354e8) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for PowerBI Report Server. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/powerbireportserver.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=7a3ac5c026f40e3a367d870937302cfe) * **Host and Port**: This parameter specifies the host and port of the PowerBI Report Server instance. This should be specified as a URI string in the format `http://hostname:port` or `https://hostname:port`. For example, you might set it to `http://192.168.1.1:80`. * **Username**: Username to connect to PowerBI Report Server. * **Password**: Password to connect to PowerBI Report Server. * **Web Portal Virtual Directory Name**: Web Portal Virtual Directory name which you have configured in your PowerBI Report Server configuration manager. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [PowerBI Report Server Troubleshooting](/ai-2-0/connectors/dashboard/powerbireportserver/troubleshooting) > > Learn more about how to troubleshoot common PowerBI Report Server connector issues and resolve configuration or ingestion errors. # PowerBI Report Server Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/powerbireportserver/troubleshooting Fix Power BI Report Server integration issues like failed authentication, metadata extraction gaps, or visualization syncing. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Qlik Cloud API Keys Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qlikcloud/api_keys # How to Generate an API Key Collate uses [REST APIs](https://qlik.dev/apis/) to communicate with Qlik Cloud and fetch relevant metadata, and connecting to these APIs require authentication token as described in [these docs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm). This document explains how to generate this token so that Collate can communicate with Qlik Cloud. ## Step 1: Open Qlik Cloud Management Console (QMC) Open your Qlik Cloud Management Console (QMC) and navigate to API Keys section. ![Navigate to API Keys in QMC](https://mintcdn.com/collatedocs/kj7ZjFqdvAgAlfBX/public/images/connectors/qlikcloud/qlik-cloud-management-console.png?fit=max\&auto=format\&n=kj7ZjFqdvAgAlfBX\&q=85\&s=64d34f868dc51010fbeef38a1d5a4ad1) ## Step 2: Provide Name and Generate API Key 1. Provide name for the API key you will generate. 2. Select Expire in time. It will revoke the API in selected time duration. 3. Select Generate. Copy the key and keep it somewhere safe. > [!NOTE] > > **Note**: This key is generated only once. Keep it in a secure location. ![Provide API Key Details](https://mintcdn.com/collatedocs/kj7ZjFqdvAgAlfBX/public/images/connectors/qlikcloud/qlik-cloud-generate-new-api-key.png?fit=max\&auto=format\&n=kj7ZjFqdvAgAlfBX\&q=85\&s=6e8f89687ae4c1b4b7ec2fedf3854fbe) # Qlik Cloud Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qlikcloud/hybrid-runner Connect Qlik Cloud dashboards to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Qlik Cloud](/public/images/connectors/qlikcloud.webp) # Qlik Cloud PROD This section provides guides and references to use the Qlik Cloud connector. Configure and schedule Qlik Cloud metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/qlikcloud/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [card] [Collate 1.1.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Metadata Ingestion To ingest metadata from Qlik Cloud, you need to create a service connection. The service connects Qlik Cloud with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Qlik Cloud** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/qlikcloud.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=cb3d56abfb42ef80d1575c2057ba0730) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Qlik Cloud services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/qlikcloud.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=fb197fe443cace351c82264c1d52bdcf) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Qlik Cloud. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/qlikcloud.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=0b7794854ae3179e1907f05735fa9ed8) * **Qlik Cloud Host Port**: This field refers to the base URL of your Qlik Cloud portal. Collate uses it to generate the redirect links for dashboards and charts. Example: `https://.qlikcloud.com` * **Qlik Cloud API Token**: Enter the API token for Qlik Cloud API access. For details on generating this token, see the [Qlik API key documentation](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm). Example: `eyJhbGciOiJFU***`. * **Qlik Cloud Space Types**: Select the relevant Qlik Cloud space types to filter the dashboards ingested into the platform. Example: `Personal`, `Shared`, `Managed`, `Data`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Qlik Cloud Troubleshooting](/ai-2-0/connectors/dashboard/qlikcloud/troubleshooting) > > Learn more about how to troubleshoot common Qlik Cloud connector issues and resolve configuration or ingestion errors. # Qlik Cloud Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qlikcloud/index Connect Qlik Cloud dashboards to Collate effortlessly. Complete setup guide, configuration steps, and metadata extraction for seamless data governance. ![Qlik Cloud](/public/images/connectors/qlikcloud.webp) # Qlik Cloud PROD This section provides guides and references to use the Qlik Cloud connector. Configure and schedule Qlik Cloud metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/qlikcloud/troubleshooting) ## Requirements > [card] [Collate 1.1.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Metadata Ingestion To ingest metadata from Qlik Cloud, you need to create a service connection. The service connects Qlik Cloud with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Qlik Cloud** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/qlikcloud.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=cb3d56abfb42ef80d1575c2057ba0730) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Qlik Cloud services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/qlikcloud.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=fb197fe443cace351c82264c1d52bdcf) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Qlik Cloud. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/qlikcloud.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=0b7794854ae3179e1907f05735fa9ed8) * **Qlik Cloud Host Port**: This field refers to the base URL of your Qlik Cloud portal. Collate uses it to generate the redirect links for dashboards and charts. Example: `https://.qlikcloud.com` * **Qlik Cloud API Token**: Enter the API token for Qlik Cloud API access. For details on generating this token, see the [Qlik API key documentation](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm). Example: `eyJhbGciOiJFU***`. * **Qlik Cloud Space Types**: Select the relevant Qlik Cloud space types to filter the dashboards ingested into the platform. Example: `Personal`, `Shared`, `Managed`, `Data`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Qlik Cloud Troubleshooting](/ai-2-0/connectors/dashboard/qlikcloud/troubleshooting) > > Learn more about how to troubleshoot common Qlik Cloud connector issues and resolve configuration or ingestion errors. # Qlik Cloud Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qlikcloud/troubleshooting Fix Qlik Cloud connector issues fast with Collate's expert troubleshooting guide. Solve common problems, debug connections, and optimize your setup. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Qlik Sense Certificates Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qliksense/certificates Configure Qlik Sense certificate authentication for Collate dashboard connectors. Step-by-step setup guide for secure SSL/TLS connections and data integration. # How to Generate Authentication Certificates Collate uses [Qlik Engine APIs](https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/EngineAPI/Content/Sense_EngineAPI/introducing-engine-API.htm) to communicate with Qlik Sense and fetch relevant metadata, and connecting to these APIs require authentication certificates as described in [these docs](https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingStarted/connecting-to-engine-api.htm). In this document we will explain how you can generate these certificates so that Collate can communicate with Qlik Sense. ## Step 1: Open Qlik Management Console (QMC) Open your Qlik Management Console (QMC) and navigate to certificates section. ![Navigate to certificates in QMC](https://mintcdn.com/collatedocs/kj7ZjFqdvAgAlfBX/public/images/connectors/qliksense/qlik-certificate-nav.png?fit=max\&auto=format\&n=kj7ZjFqdvAgAlfBX\&q=85\&s=2e75c263fb7ce3bda0446f5f5ebc5047) ## Step 2: Provide Details and Export Certificates 1. In the Machine name box, type the full computer name of the computer that you are creating the certificates for: MYMACHINE.mydomain.com or the IP address. 2. Using a password is optional. If you choose to use a password, the same password applies to exported client and server certificates. a. Type a password in the Certificate password box. b. Repeat the password in the Retype password box. The passwords must match. 3. Select Include secret key if you want to add a secret key to the public key. 4. From the *Export file format for certificates* field select the "Platform independent PEM-format" ![Provide Certificate Details](https://mintcdn.com/collatedocs/kj7ZjFqdvAgAlfBX/public/images/connectors/qliksense/qlik-export-cert.png?fit=max\&auto=format\&n=kj7ZjFqdvAgAlfBX\&q=85\&s=ac8cbab890cfe8f0a00bc04960495bf2) ## Step 3: Locate the certificates Once you have exported the certificates you can see the location of exported certificates just below the certificate details page. When you navigate to that location you will find the `root.pem`, `client.pem` & `client_key.pem` certificates which will be used by Collate. ![Locate Certificate](https://mintcdn.com/collatedocs/kj7ZjFqdvAgAlfBX/public/images/connectors/qliksense/qlik-locate-certificates.png?fit=max\&auto=format\&n=kj7ZjFqdvAgAlfBX\&q=85\&s=304499abd674ea6840170d9a3bfced74) # Qlik Sense Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qliksense/hybrid-runner Connect Qlik Sense dashboards to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Qlik Sense](/public/images/connectors/qliksense.webp) # Qlik Sense PROD This section provides guides and references to use the Qlik Sense connector. Configure and schedule Qlik Sense metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-qlik-sense-connection-with-ssl-in-collate) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/qliksense/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [card] [Collate 1.1.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Metadata Ingestion To ingest metadata from Qlik Sense, you need to create a service connection. The service connects Qlik Sense with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Qlik Sense** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/qliksense.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b92732a75ff81c19a7b793b2b50bf457) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Qlik Sense services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/qliksense.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=21acb8accaac4b0d01162d5867117df7) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Qlik Sense. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/qliksense.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=831280d45687e36ef21ab63f4a53de34) * **Qlik Sense Base URL**: This field refers to the base URL of your Qlik Sense portal. It's used to generate redirect links for dashboards and charts. Example: `https://server.domain.com` or `https://server.domain.com/` * **Qlik Engine JSON API Websocket URL**: Enter the WebSocket URL of the Qlik Sense Engine JSON API. For more information, see the [Qlik Engine API connection guide](https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingStarted/connecting-to-engine-api.htm). Example: `wss://server.domain.com:4747` or `wss://server.domain.com[/virtual proxy]`. The Qlik Sense Engine APIs require authentication using certificates generated on the Qlik Management Console. * **Qlik Certificate By Values**: This approach provides the content of the certificates in the relevant field. * **Client Certificate Value**: This field specifies the value of `client.pem` certificate required for authentication. * **Client Key Certificate Value**: This field specifies the value of `client_key.pem` certificate required for authentication. * **Root Certificate Value**: This field specifies the value of `root.pem` certificate required for authentication. * **Staging Directory Path**: This field specifies the path to temporary staging directory, where the certificates will be stored temporarily during the ingestion process, which will be deleted once the ingestion job is over. When using this approach, make sure you pass the key in the correct format. If your certificate looks like this: ``` -----BEGIN CERTIFICATE----- MII.. MBQ... CgU.. 8Lt.. ... h+4= -----END CERTIFICATE----- ``` You will have to replace new lines with `\n` and the final private key that you need to pass should look like this: ``` -----BEGIN CERTIFICATE-----\nMII..\nMBQ...\nCgU..\n8Lt..\n...\nh+4=\n-----END CERTIFICATE-----\n ``` * **Qlik Certificate By Path**: This approach provides the path to the certificates stored in the container or environment running the ingestion workflow. * **Client Certificate Path**: This field specifies the path of `client.pem` certificate required for authentication. * **Client Key Certificate Value**: This field specifies the path of `client_key.pem` certificate required for authentication. * **Root Certificate Value**: This field specifies the path of `root.pem` certificate required for authentication. * **User Directory**: This field specifies the user directory of the user. * **User ID**: This field specifies the user ID of the user. * **Validate Host Name**: Enable or disable this field to validate the host name against the provided certificates. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Securing Qlik Sense Connection with SSL in Collate Collate supports two ways to establish secure connections with Qlik Sense: defining the certificate file path or providing the certificate values directly. Navigate to the `Advanced Config` section. When using the local certificate file path, ensure that the certificates are accessible from the Airflow Server. Specify the path for the `client certificate`, `client key certificate`, and `root certificate`. Alternatively, when using the certificate values, provide the CA certificate used for SSL validation in the `CA Certificate` field. If both client and server require mutual authentication, upload all three: `CA Certificate`, `SSL Certificate`, and `SSL Key`. For more information about generating authentication certificates so that Collate can communicate with Qlik Sense, see the [certificate generation guide](/ai-2-0/connectors/dashboard/qliksense/certificates). ![SSL Configuration by local file path](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_qlik_1.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=75e168d54a14815e77b35907e9d6e14a) ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_qlik_2.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=310d030406a7ad05a627873bbb717c77) ## Troubleshooting > [card] [Qlik Sense Troubleshooting](/ai-2-0/connectors/dashboard/qliksense/troubleshooting) > > Learn more about how to troubleshoot common Qlik Sense connector issues and resolve configuration or ingestion errors. # Qlik Sense Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qliksense/index Connect Qlik Sense dashboards to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![Qlik Sense](/public/images/connectors/qliksense.webp) # Qlik Sense PROD This section provides guides and references to use the Qlik Sense connector. Configure and schedule Qlik Sense metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-qlik-sense-connection-with-ssl-in-collate) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/qliksense/troubleshooting) ## Requirements > [card] [Collate 1.1.1 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Metadata Ingestion To ingest metadata from Qlik Sense, you need to create a service connection. The service connects Qlik Sense with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Qlik Sense** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/qliksense.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b92732a75ff81c19a7b793b2b50bf457) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Qlik Sense services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/qliksense.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=21acb8accaac4b0d01162d5867117df7) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Qlik Sense. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/qliksense.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=831280d45687e36ef21ab63f4a53de34) * **Qlik Sense Base URL**: This field refers to the base URL of your Qlik Sense portal. It's used to generate redirect links for dashboards and charts. Example: `https://server.domain.com` or `https://server.domain.com/` * **Qlik Engine JSON API Websocket URL**: Enter the WebSocket URL of the Qlik Sense Engine JSON API. For more information, see the [Qlik Engine API connection guide](https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingStarted/connecting-to-engine-api.htm). Example: `wss://server.domain.com:4747` or `wss://server.domain.com[/virtual proxy]`. The Qlik Sense Engine APIs require authentication using certificates generated on the Qlik Management Console. * **Qlik Certificate By Values**: This approach provides the content of the certificates in the relevant field. * **Client Certificate Value**: This field specifies the value of `client.pem` certificate required for authentication. * **Client Key Certificate Value**: This field specifies the value of `client_key.pem` certificate required for authentication. * **Root Certificate Value**: This field specifies the value of `root.pem` certificate required for authentication. * **Staging Directory Path**: This field specifies the path to temporary staging directory, where the certificates will be stored temporarily during the ingestion process, which will be deleted once the ingestion job is over. When using this approach, make sure you pass the key in the correct format. If your certificate looks like this: ``` -----BEGIN CERTIFICATE----- MII.. MBQ... CgU.. 8Lt.. ... h+4= -----END CERTIFICATE----- ``` You will have to replace new lines with `\n` and the final private key that you need to pass should look like this: ``` -----BEGIN CERTIFICATE-----\nMII..\nMBQ...\nCgU..\n8Lt..\n...\nh+4=\n-----END CERTIFICATE-----\n ``` * **Qlik Certificate By Path**: This approach provides the path to the certificates stored in the container or environment running the ingestion workflow. * **Client Certificate Path**: This field specifies the path of `client.pem` certificate required for authentication. * **Client Key Certificate Value**: This field specifies the path of `client_key.pem` certificate required for authentication. * **Root Certificate Value**: This field specifies the path of `root.pem` certificate required for authentication. * **User Directory**: This field specifies the user directory of the user. * **User ID**: This field specifies the user ID of the user. * **Validate Host Name**: Enable or disable this field to validate the host name against the provided certificates. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Securing Qlik Sense Connection with SSL in Collate Collate supports two ways to establish secure connections with Qlik Sense: defining the certificate file path or providing the certificate values directly. Navigate to the `Advanced Config` section. When using the local certificate file path, ensure that the certificates are accessible from the Airflow Server. Specify the path for the `client certificate`, `client key certificate`, and `root certificate`. Alternatively, when using the certificate values, provide the CA certificate used for SSL validation in the `CA Certificate` field. If both client and server require mutual authentication, upload all three: `CA Certificate`, `SSL Certificate`, and `SSL Key`. For more information about generating authentication certificates so that Collate can communicate with Qlik Sense, see the [certificate generation guide](/ai-2-0/connectors/dashboard/qliksense/certificates). ![SSL Configuration by local file path](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_qlik_1.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=75e168d54a14815e77b35907e9d6e14a) ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_qlik_2.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=310d030406a7ad05a627873bbb717c77) ## Troubleshooting > [card] [Qlik Sense Troubleshooting](/ai-2-0/connectors/dashboard/qliksense/troubleshooting) > > Learn more about how to troubleshoot common Qlik Sense connector issues and resolve configuration or ingestion errors. # Qlik Sense Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/qliksense/troubleshooting Resolve Qlik Sense connector issues in Collate with expert troubleshooting guides. Fix dashboard integration problems and get your data flowing smoothly. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # QuickSight Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/quicksight/hybrid-runner Connect Amazon QuickSight to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![QuickSight](/public/images/connectors/quicksight.webp) # QuickSight PROD This section provides guides and references to use the QuickSight connector. Configure and schedule QuickSight metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/quicksight/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To execute metadata extraction and usage workflow successfully the IAM User should have enough access to fetch required data. The following table describes the minimum required permissions: | # | AWS QuickSight Permission | | :- | :- | | 1 | DescribeDashboard | | 2 | ListAnalyses | | 3 | ListDataSources | | 4 | ListDashboards | | 5 | DescribeAnalysis | | 6 | DescribeDataSet | | 7 | ListDataSets | | 8 | DescribeDataSource | | Here is how to add Permissions to an IAM user. | | 1. Navigate to the IAM console in the AWS Management Console. 2. Choose the IAM user or group to attach the policy to. 3. Click the "Permissions" tab. 4. Click the "Add permissions" button and select "Attach existing policies directly". 5. Search for the policy by name or by filtering the available policies, and select the one you want to attach. 6. Review the policy and click "Add permissions" to complete the process. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "quicksight:DescribeDashboard", "quicksight:ListAnalyses", "quicksight:ListDataSources", "quicksight:ListDashboards", "quicksight:DescribeAnalysis", "quicksight:DescribeDataSet", "quicksight:ListDataSets", "quicksight:DescribeDataSource" ], "Resource": "*" } ] } ``` ## Metadata Ingestion To ingest metadata from QuickSight, you need to create a service connection. The service connects QuickSight with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **QuickSight** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/quicksight.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=e6cf168bd74f27122447f6c79b610b03) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other QuickSight services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/quicksight.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=b7c23ec60567ec4ef36b58295df60865) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for QuickSight. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/quicksight.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c16d4d4a01557d43cf9db683dc821d55) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. For more information, see [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, Collate needs to know the region of the service you want to reach. The AWS Region is the only required parameter when configuring a connection. When connecting to services programmatically, Collate can extract and use the rest of the AWS configuration in different ways. For more information, see [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, provide the AWS Access Key ID and AWS Secret Access Key. Temporary credentials also include an AWS Session Token. For more information, see [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. For more information, see the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **identityType**: The authentication method you use to sign in. * **awsAccountId**: QuickSight account ID is required to manage QuickSight users, data sources, and reports. * **namespace**: The Amazon QuickSight namespace that contains the dashboard IDs in this request. Provide this when identityType is `ANONYMOUS`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [QuickSight Troubleshooting](/ai-2-0/connectors/dashboard/quicksight/troubleshooting) > > Learn more about how to troubleshoot common QuickSight connector issues and resolve configuration or ingestion errors. # QuickSight Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/quicksight/index Connect Amazon QuickSight to Collate with our comprehensive dashboard connector guide. Step-by-step setup, configuration, and metadata extraction. ![QuickSight](/public/images/connectors/quicksight.webp) # QuickSight PROD This section provides guides and references to use the QuickSight connector. Configure and schedule QuickSight metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/quicksight/troubleshooting) ## Requirements To execute metadata extraction and usage workflow successfully the IAM User should have enough access to fetch required data. The following table describes the minimum required permissions: | # | AWS QuickSight Permission | | :- | :- | | 1 | DescribeDashboard | | 2 | ListAnalyses | | 3 | ListDataSources | | 4 | ListDashboards | | 5 | DescribeAnalysis | | 6 | DescribeDataSet | | 7 | ListDataSets | | 8 | DescribeDataSource | | Here is how to add Permissions to an IAM user. | | 1. Navigate to the IAM console in the AWS Management Console. 2. Choose the IAM user or group to attach the policy to. 3. Click the "Permissions" tab. 4. Click the "Add permissions" button and select "Attach existing policies directly". 5. Search for the policy by name or by filtering the available policies, and select the one you want to attach. 6. Review the policy and click "Add permissions" to complete the process. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "quicksight:DescribeDashboard", "quicksight:ListAnalyses", "quicksight:ListDataSources", "quicksight:ListDashboards", "quicksight:DescribeAnalysis", "quicksight:DescribeDataSet", "quicksight:ListDataSets", "quicksight:DescribeDataSource" ], "Resource": "*" } ] } ``` ## Metadata Ingestion To ingest metadata from QuickSight, you need to create a service connection. The service connects QuickSight with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **QuickSight** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/quicksight.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=e6cf168bd74f27122447f6c79b610b03) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other QuickSight services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/quicksight.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=b7c23ec60567ec4ef36b58295df60865) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for QuickSight. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/quicksight.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c16d4d4a01557d43cf9db683dc821d55) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. For more information, see [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, Collate needs to know the region of the service you want to reach. The AWS Region is the only required parameter when configuring a connection. When connecting to services programmatically, Collate can extract and use the rest of the AWS configuration in different ways. For more information, see [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, provide the AWS Access Key ID and AWS Secret Access Key. Temporary credentials also include an AWS Session Token. For more information, see [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. For more information, see the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). * **identityType**: The authentication method you use to sign in. * **awsAccountId**: QuickSight account ID is required to manage QuickSight users, data sources, and reports. * **namespace**: The Amazon QuickSight namespace that contains the dashboard IDs in this request. Provide this when identityType is `ANONYMOUS`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [QuickSight Troubleshooting](/ai-2-0/connectors/dashboard/quicksight/troubleshooting) > > Learn more about how to troubleshoot common QuickSight connector issues and resolve configuration or ingestion errors. # QuickSight Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/quicksight/troubleshooting ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Redash Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/redash/hybrid-runner Connect Redash dashboards to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Redash](/public/images/connectors/redash.webp) # Redash PROD This section provides guides and references to use the Redash connector. Configure and schedule Redash metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/redash/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate connects to Redash through the [API](https://redash.io/help/user-guide/integrations-and-api/api) endpoint, so the user configured for ingestion must have enough permissions to view all the data. For more information, see the [Redash permissions documentation](https://redash.io/help/user-guide/users/permissions-groups). ## Metadata Ingestion To ingest metadata from Redash, you need to create a service connection. The service connects Redash with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Redash** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/redash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c7a2363fc4c685ee143cff95642802c6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Redash services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/redash.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c56b8d52da9b9a042a79cdd3aae8dd65) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Redash. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/redash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c4b43692a595da92c485a40743385880) * **Host and Port**: URL to the Redash instance. * **Username**: Specify the user account used to connect to Redash. It should have enough privileges to read all the metadata. * **API Key**: API key of the Redash instance to access. It has the same permissions as the user who owns it. It appears on the user's profile page. * **Redash Version**: Redash version of your Redash instance. Enter the numerical value from the [Redash Releases](https://github.com/getredash/redash/releases) page. Default: `10.0.0`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Redash Troubleshooting](/ai-2-0/connectors/dashboard/redash/troubleshooting) > > Learn more about how to troubleshoot common Redash connector issues and resolve configuration or ingestion errors. # Redash Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/redash/index Connect Redash dashboards to Collate easily. Complete setup guide, configuration steps, and integration instructions for seamless data lineage tracking. ![Redash](/public/images/connectors/redash.webp) # Redash PROD This section provides guides and references to use the Redash connector. Configure and schedule Redash metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/redash/troubleshooting) ## Requirements Collate connects to Redash through the [API](https://redash.io/help/user-guide/integrations-and-api/api) endpoint, so the user configured for ingestion must have enough permissions to view all the data. For more information, see the [Redash permissions documentation](https://redash.io/help/user-guide/users/permissions-groups). ## Metadata Ingestion To ingest metadata from Redash, you need to create a service connection. The service connects Redash with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Redash** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/redash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c7a2363fc4c685ee143cff95642802c6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Redash services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/redash.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=c56b8d52da9b9a042a79cdd3aae8dd65) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Redash. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/redash.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=c4b43692a595da92c485a40743385880) * **Host and Port**: URL to the Redash instance. * **Username**: Specify the user account used to connect to Redash. It should have enough privileges to read all the metadata. * **API Key**: API key of the Redash instance to access. It has the same permissions as the user who owns it. It appears on the user's profile page. * **Redash Version**: Redash version of your Redash instance. Enter the numerical value from the [Redash Releases](https://github.com/getredash/redash/releases) page. Default: `10.0.0`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Redash Troubleshooting](/ai-2-0/connectors/dashboard/redash/troubleshooting) > > Learn more about how to troubleshoot common Redash connector issues and resolve configuration or ingestion errors. # SAP ERP Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-erp/hybrid-runner Connect SAP ERP to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![SAP ERP](/public/images/connectors/sap-erp.png) # SAP ERP PROD This section provides guides and references to use the SAP ERP connector. Configure and schedule SAP ERP metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/sap-erp/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To ingest the SAP ERP metadata, CDS Views and OData services need to be set up to efficiently expose SAP data. To achieve this, data must be exposed via RESTful interfaces. Follow [Set Up SAP APIs](/ai-2-0/connectors/database/sap-erp/setup-sap-apis) to set up the APIs. ## Metadata Ingestion To ingest metadata from SAP ERP, you need to create a service connection. The service connects SAP ERP with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP ERP** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/saperp.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=fd015918af7c651db5f42767bb0b2f83) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP ERP services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/saperp.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b29f207eb67d1ac910fd50cd55c97749) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP ERP. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/saperp.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d0c531d55b8effd2a73083131a153a67) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Host and Port**: This parameter specifies the host and port of the SAP ERP instance. This should be specified as a string in the format `https://hostname.com`. * **API Key**: API Key to authenticate the SAP ERP APIs. * **database**: Optional name to give to the database in Collate. If left blank, Collate uses `default` as the database name. * **databaseSchema**: Optional name to give to the database schema in Collate. If left blank, Collate uses `default` as the database schema name. * **paginationLimit**: Pagination limit used while querying the SAP ERP APIs for fetching the entities. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP ERP Troubleshooting](/ai-2-0/connectors/database/sap-erp/troubleshooting) > > Learn more about how to troubleshoot common SAP ERP connector issues and resolve configuration or ingestion errors. # SAP ERP Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-erp/index Connect SAP ERP to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![SAP ERP](/public/images/connectors/sap-erp.png) # SAP ERP PROD This section provides guides and references to use the SAP ERP connector. Configure and schedule SAP ERP metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/sap-erp/troubleshooting) ## Requirements To ingest the SAP ERP metadata, CDS Views and OData services need to be set up to efficiently expose SAP data. To achieve this, data must be exposed via RESTful interfaces. Follow [Set Up SAP APIs](/ai-2-0/connectors/database/sap-erp/setup-sap-apis) to set up the APIs. ## Metadata Ingestion To ingest metadata from SAP ERP, you need to create a service connection. The service connects SAP ERP with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP ERP** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/saperp.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=fd015918af7c651db5f42767bb0b2f83) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP ERP services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/saperp.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b29f207eb67d1ac910fd50cd55c97749) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP ERP. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/saperp.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d0c531d55b8effd2a73083131a153a67) * **Host and Port**: This parameter specifies the host and port of the SAP ERP instance. This should be specified as a string in the format `https://hostname.com`. * **API Key**: API Key to authenticate the SAP ERP APIs. * **database**: Optional name to give to the database in Collate. If left blank, Collate uses `default` as the database name. * **databaseSchema**: Optional name to give to the database schema in Collate. If left blank, Collate uses `default` as the database schema name. * **paginationLimit**: Pagination limit used while querying the SAP ERP APIs for fetching the entities. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP ERP Troubleshooting](/ai-2-0/connectors/database/sap-erp/troubleshooting) > > Learn more about how to troubleshoot common SAP ERP connector issues and resolve configuration or ingestion errors. # SAP ERP API Setup Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-erp/setup-sap-apis Set up SAP ERP APIs for metadata ingestion, configure access and validate integration readiness. # Setup SAP ERP APIs This section provides guides and references to set up the SAP ERP APIs needed for the connector. This document details the integration of Open Metadata with SAP systems, emphasizing the use of CDS Views and OData services to efficiently expose SAP data. To achieve this, data must be exposed via RESTful interfaces. Key concepts include: * **SAP Gateway**: A software component that bridges RFC and RESTful interfaces. * **RAP (Restful Application Programming)**: A coding framework designed to expose services via RESTful interfaces. * **CDS (Core Data Services)**: A layer that describes data objects and annotates them with desired functionalities, which are converted into code upon activation. * **OData V2 or V4**: A RESTful standard that simplifies interaction with database backends. ## Steps ### 1. ABAP Development Tools (ADT) Using the Eclipse based [ABAP Development Tools (ADT)](https://tools.hana.ondemand.com/#abap) the Restful interfaces are built. ### 2. CDS Views After creating a new ABAP Project for the connected SAP system, a new Data Definition object is to be created. ![Data Definition Object](https://mintcdn.com/collatedocs/piJyXg9wW6Ik1lg-/public/images/connectors/sap-erp/data-definition-object.png?fit=max\&auto=format\&n=piJyXg9wW6Ik1lg-\&q=85\&s=cd5da1119125d0e2dfba54f47ce3ccaf) * Create the first view that gets the table metadata ```sql theme={null} @AbapCatalog.sqlViewName: 'ZZ_I_DDIC_TAB_CDS' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label: 'Open Metadata Tables' define view ZZ_I_DDIC_TAB_CDS as select from dd02l l left outer join dd02t t on (l.tabname = t.tabname and l.as4local = t.as4local and l.as4vers = t.as4vers and t.ddlanguage = 'E') { key l.tabname, key l.as4local, key l.as4vers, @ObjectModel.readOnly: true 'E' as LANG, @ObjectModel.readOnly: true l.tabclass, @ObjectModel.readOnly: true l.sqltab, @ObjectModel.readOnly: true l.applclass, @ObjectModel.readOnly: true l.authclass, @ObjectModel.readOnly: true l.as4date, @ObjectModel.readOnly: true l.as4time, @ObjectModel.readOnly: true l.masterlang, @ObjectModel.readOnly: true t.ddtext } ``` * Then create the second view for table columns ```sql theme={null} @AbapCatalog.sqlViewName: 'ZZ_I_DDIC_COL_CDS_V' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label: 'Open Metadata Column' define view ZZ_I_DDIC_COL_CDS as select from dd03l l left outer join dd03t t on (l.tabname = t.tabname and l.fieldname = t.fieldname and l.as4local = t.as4local and t.ddlanguage = 'E') { key l.tabname, key l.fieldname, key l.as4local, key l.as4vers, key l.position as POS, @ObjectModel.readOnly: true 'E' as LANG, @ObjectModel.readOnly: true l.keyflag, @ObjectModel.readOnly: true l.mandatory, @ObjectModel.readOnly: true l.checktable, @ObjectModel.readOnly: true l.inttype, @ObjectModel.readOnly: true l.intlen, @ObjectModel.readOnly: true l.reftable, @ObjectModel.readOnly: true l.precfield, @ObjectModel.readOnly: true l.reffield, @ObjectModel.readOnly: true l.notnull, @ObjectModel.readOnly: true l.datatype, @ObjectModel.readOnly: true l.leng, @ObjectModel.readOnly: true l.decimals, @ObjectModel.readOnly: true l.domname, @ObjectModel.readOnly: true l.comptype, @ObjectModel.readOnly: true l.reftype, @ObjectModel.readOnly: true t.ddtext } where l.as4local = 'A' ``` ### 3. SAP Gateway Using the transaction `/nsegw` in SAPGUI, open the configuration screen for the SAP Gateway and create a new project with default project type. ![Create Project](https://mintcdn.com/collatedocs/piJyXg9wW6Ik1lg-/public/images/connectors/sap-erp/create-project.png?fit=max\&auto=format\&n=piJyXg9wW6Ik1lg-\&q=85\&s=83466b63d82b13ff6ad41d6289e4effa) Create a reference to the CDS views under Data Model and import the views. This is all that is needed to configure the OData details thanks to the CDS view annotations. ![Add Reference](https://mintcdn.com/collatedocs/piJyXg9wW6Ik1lg-/public/images/connectors/sap-erp/add-reference.png?fit=max\&auto=format\&n=piJyXg9wW6Ik1lg-\&q=85\&s=db997306e840e7ad8cf87801b3cedda9) The final step is to expose the generated code as OData service. This is the Register step. ![Register odata Service](https://mintcdn.com/collatedocs/piJyXg9wW6Ik1lg-/public/images/connectors/sap-erp/register-odata-service.png?fit=max\&auto=format\&n=piJyXg9wW6Ik1lg-\&q=85\&s=91afe27d72bbb003d65ec00cb7fd23a4) In the next screen click on Add Service and add the service as new OData endpoint. The service alias is the location where the SAP Gateway is installed. ![Add Service As Endpoint](https://mintcdn.com/collatedocs/piJyXg9wW6Ik1lg-/public/images/connectors/sap-erp/add-service-as-endpoint.png?fit=max\&auto=format\&n=piJyXg9wW6Ik1lg-\&q=85\&s=acdc390ae194a7c8605db88a560a1fcb) # SAP ERP Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-erp/troubleshooting Troubleshoot SAP ERP ingestion issues such as invalid token, missing endpoints, or metadata loss. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # SAP HANA Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-hana/hybrid-runner Connect SAP HANA to Collate effortlessly with our comprehensive database connector guide. Setup instructions, configuration steps, and troubleshooting guidance. ![SAP HANA](/public/images/connectors/saphana.webp) # SAP HANA PROD This section provides guides and references to use the SAP HANA connector. Configure and schedule SAP HANA metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/sap-hana/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: The connector is compatible with HANA or HANA express versions since HANA SPS 2. ### Metadata To extract metadata the user used in the connection needs to have access to the `SYS` schema. You can create a new user to run the ingestion with: ```SQL theme={null} CREATE USER openmetadata PASSWORD Password123; ``` And, if you have password policies forcing users to reset the password, you can disable that policy for this technical user with: ```SQL theme={null} ALTER USER openmetadata DISABLE PASSWORD LIFETIME; ``` Note that to get the metadata for **Calculation Views**, **Analytics Views** and **Attribute Views**, you need to have enough permissions on the `_SYS_BIC` schema. You can grant the required permissions to the user by running the following SQL commands: ```SQL theme={null} GRANT SELECT ON SCHEMA _SYS_BIC TO ; ``` The same applies to the `_SYS_REPO` schema, required for lineage extraction. Lineage extraction from queries also requires the `CATALOG READ` system privilege. Without it, `SYS.M_SQL_PLAN_CACHE` only reports queries run by the ingestion user. ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. The user also needs the `CATALOG READ` system privilege. Without it, `SYS.M_TABLES` only shows the tables the user has access to, so row counts and sizes are missing for all other tables. ```SQL theme={null} GRANT CATALOG READ TO ; ``` For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from SAP HANA, you need to create a service connection. The service connects SAP HANA with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP HANA** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/saphana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e03c8778d996cad251758c74dcfc86fd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP HANA services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/saphana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=98a55647c4b2fa045608418aec38d149) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP HANA. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/saphana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=ba80d37faf7636d216aab8ac6422a726) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). Collate supports two possible connection types: 1. **SQL Connection**, where you enter the username, password, and host. 2. **HDB User Store** [connection](https://help.sap.com/docs/SAP_HANA_PLATFORM/b3ee5778bc2e4a089d3299b82ec762a7/dd95ac9dbb571014a7d7f0234d762fdb.html?version=2.0.05\&locale=en-US). Note that the HDB Store will need to be locally available to the instance running the ingestion process. If you are unsure about this setting, you can run the ingestion process passing the usual SQL connection details. * **SQL Connection**: * **Host and Port**: Host and port of the SAP HANA service. This should be specified as a string in the format `hostname:port`. For example, `localhost:39041` or `host.docker.internal:39041`. * **Username**: Specify the user to connect to SAP HANA. It should have enough privileges to read all the metadata. * **Password**: Password to connect to SAP HANA. * **database**: Optional parameter to connect to a specific database. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter, if you would like to restrict the metadata reading to a single schema. When left blank, Collate ingestion attempts to scan all the schemas. * **HDB User Store**: * **User Key**: HDB Store User Key generated from the command `hdbuserstore SET `. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP HANA Troubleshooting](/ai-2-0/connectors/database/sap-hana/troubleshooting) > > Learn more about how to troubleshoot common SAP HANA connector issues and resolve configuration or ingestion errors. # SAP HANA Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-hana/index Connect SAP HANA to Collate effortlessly with our comprehensive database connector guide. Setup instructions, configuration steps, and troubleshooting guidance. ![SAP HANA](/public/images/connectors/saphana.webp) # SAP HANA PROD This section provides guides and references to use the SAP HANA connector. Configure and schedule SAP HANA metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/sap-hana/troubleshooting) ## Requirements > [!TIP] > > **Tip**: The connector is compatible with HANA or HANA express versions since HANA SPS 2. ### Metadata To extract metadata the user used in the connection needs to have access to the `SYS` schema. You can create a new user to run the ingestion with: ```SQL theme={null} CREATE USER openmetadata PASSWORD Password123; ``` And, if you have password policies forcing users to reset the password, you can disable that policy for this technical user with: ```SQL theme={null} ALTER USER openmetadata DISABLE PASSWORD LIFETIME; ``` Note that to get the metadata for **Calculation Views**, **Analytics Views** and **Attribute Views**, you need to have enough permissions on the `_SYS_BIC` schema. You can grant the required permissions to the user by running the following SQL commands: ```SQL theme={null} GRANT SELECT ON SCHEMA _SYS_BIC TO ; ``` The same applies to the `_SYS_REPO` schema, required for lineage extraction. Lineage extraction from queries also requires the `CATALOG READ` system privilege. Without it, `SYS.M_SQL_PLAN_CACHE` only reports queries run by the ingestion user. ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. The user also needs the `CATALOG READ` system privilege. Without it, `SYS.M_TABLES` only shows the tables the user has access to, so row counts and sizes are missing for all other tables. ```SQL theme={null} GRANT CATALOG READ TO ; ``` For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from SAP HANA, you need to create a service connection. The service connects SAP HANA with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP HANA** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/saphana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=e03c8778d996cad251758c74dcfc86fd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP HANA services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/saphana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=98a55647c4b2fa045608418aec38d149) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP HANA. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/saphana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=ba80d37faf7636d216aab8ac6422a726) Collate supports two possible connection types: 1. **SQL Connection**, where you enter the username, password, and host. 2. **HDB User Store** [connection](https://help.sap.com/docs/SAP_HANA_PLATFORM/b3ee5778bc2e4a089d3299b82ec762a7/dd95ac9dbb571014a7d7f0234d762fdb.html?version=2.0.05\&locale=en-US). Note that the HDB Store will need to be locally available to the instance running the ingestion process. If you are unsure about this setting, you can run the ingestion process passing the usual SQL connection details. * **SQL Connection**: * **Host and Port**: Host and port of the SAP HANA service. This should be specified as a string in the format `hostname:port`. For example, `localhost:39041` or `host.docker.internal:39041`. * **Username**: Specify the user to connect to SAP HANA. It should have enough privileges to read all the metadata. * **Password**: Password to connect to SAP HANA. * **database**: Optional parameter to connect to a specific database. * **databaseSchema**: databaseSchema of the data source. This is an optional parameter, if you would like to restrict the metadata reading to a single schema. When left blank, Collate ingestion attempts to scan all the schemas. * **HDB User Store**: * **User Key**: HDB Store User Key generated from the command `hdbuserstore SET `. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP HANA Troubleshooting](/ai-2-0/connectors/database/sap-hana/troubleshooting) > > Learn more about how to troubleshoot common SAP HANA connector issues and resolve configuration or ingestion errors. # SAP HANA Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-hana/troubleshooting Resolve SAP HANA connector issues with Collate's comprehensive troubleshooting guide. Fix connection errors, authentication problems, and metadata ingestion issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # SAP SuccessFactors Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-successfactors/hybrid-runner Connect SAP SuccessFactors to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SAP SuccessFactors](/public/images/connectors/sap-successfactors.png) # SAP SuccessFactors BETA This section provides guides and references to use the SAP SuccessFactors connector. Configure and schedule SAP SuccessFactors metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/sap-successfactors/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate ingests SAP SuccessFactors metadata through its OData API. You need: * Your SAP SuccessFactors **Company ID** (tenant identifier) and OData API **Base URL**, for example `https://api4.successfactors.com`. * A user permitted to call the OData API, authenticated with either: * **Password**: a username and password (BasicAuth). * **Key pair**: an OAuth2 Client ID, a PEM-encoded RSA private key, and the OAuth2 Token URL (OAuth2 SAML Bearer flow). The username is used as the SAML NameID (the user on whose behalf the token is requested) and must be permitted to use the OAuth2 application. Collate ingests each OData entity set as a table, with entity properties as columns and navigation properties mapped to table constraints and relationships. ## Metadata Ingestion To ingest metadata from SAP SuccessFactors, you need to create a service connection. The service connects SAP SuccessFactors with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP SuccessFactors** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sapsuccessfactors.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=0322ae2ae118767d0c26d7b091c11ef1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP SuccessFactors services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sapsuccessfactors.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=14a3cc93dd9e4cabcc4add776b574f38) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP SuccessFactors. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sapsucessfactors.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9f4f5d097a52b90cfe70effe48a7ed12) **Connection** * **Base URL**: SAP SuccessFactors OData API base URL, for example `https://api4.successfactors.com`. * **Company ID**: SAP SuccessFactors Company ID (tenant identifier). Required for all API calls. * **Username**: SAP SuccessFactors user login name. For **Password** authentication, this is the credential username. For **Key pair** authentication, this is the SAML NameID: the user on whose behalf the token is requested. The user must exist in the SF system and be permitted to use the OAuth2 application. * **Client ID**: OAuth2 Client ID. Required when using **Key pair** authentication. **Authentication**: choose one method: * **Password**: Password for **Password** authentication. Required when using this method. * **Key pair**: PEM-encoded RSA private key used to sign SAML assertions for the OAuth2 SAML Bearer flow. Required when using this method. > [!NOTE] > > **Note**: Only one authentication method's credential is stored per connection. Switching methods discards the other. **Scope & Options** * **Token URL**: OAuth2 Token endpoint URL. Required when using **Key pair** authentication, for example `https://api4.successfactors.com/oauth/token`. * **API Version**: SAP SuccessFactors OData API version. Defaults to `v2`. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses `default` as the database name. * **Verify SSL**: Client SSL verification. Defaults to `no-ssl`. **Advanced Config** *(driver-level options; most connections don't need these)* * **CA Certificate**: The CA certificate used for SSL validation. * **SSL Certificate**: The SSL certificate used for client authentication. * **SSL Key**: The SSL key used for client authentication. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all tables available in the source. #### Filter Options The Table section includes the following filter options: * **Table**: Controls which tables Collate ingests from the source. The Table section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP SuccessFactors Troubleshooting](/ai-2-0/connectors/database/sap-successfactors/troubleshooting) > > Learn more about how to troubleshoot common SAP SuccessFactors connector issues and resolve configuration or ingestion errors. # SAP SuccessFactors Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-successfactors/index Connect SAP SuccessFactors to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![SAP SuccessFactors](/public/images/connectors/sap-successfactors.png) # SAP SuccessFactors BETA This section provides guides and references to use the SAP SuccessFactors connector. Configure and schedule SAP SuccessFactors metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/sap-successfactors/troubleshooting) ## Requirements Collate ingests SAP SuccessFactors metadata through its OData API. You need: * Your SAP SuccessFactors **Company ID** (tenant identifier) and OData API **Base URL**, for example `https://api4.successfactors.com`. * A user permitted to call the OData API, authenticated with either: * **Password**: a username and password (BasicAuth). * **Key pair**: an OAuth2 Client ID, a PEM-encoded RSA private key, and the OAuth2 Token URL (OAuth2 SAML Bearer flow). The username is used as the SAML NameID (the user on whose behalf the token is requested) and must be permitted to use the OAuth2 application. Collate ingests each OData entity set as a table, with entity properties as columns and navigation properties mapped to table constraints and relationships. ## Metadata Ingestion To ingest metadata from SAP SuccessFactors, you need to create a service connection. The service connects SAP SuccessFactors with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP SuccessFactors** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sapsuccessfactors.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=0322ae2ae118767d0c26d7b091c11ef1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP SuccessFactors services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sapsuccessfactors.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=14a3cc93dd9e4cabcc4add776b574f38) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP SuccessFactors. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sapsucessfactors.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9f4f5d097a52b90cfe70effe48a7ed12) **Connection** * **Base URL**: SAP SuccessFactors OData API base URL, for example `https://api4.successfactors.com`. * **Company ID**: SAP SuccessFactors Company ID (tenant identifier). Required for all API calls. * **Username**: SAP SuccessFactors user login name. For **Password** authentication, this is the credential username. For **Key pair** authentication, this is the SAML NameID: the user on whose behalf the token is requested. The user must exist in the SF system and be permitted to use the OAuth2 application. * **Client ID**: OAuth2 Client ID. Required when using **Key pair** authentication. **Authentication**: choose one method: * **Password**: Password for **Password** authentication. Required when using this method. * **Key pair**: PEM-encoded RSA private key used to sign SAML assertions for the OAuth2 SAML Bearer flow. Required when using this method. > [!NOTE] > > **Note**: Only one authentication method's credential is stored per connection. Switching methods discards the other. **Scope & Options** * **Token URL**: OAuth2 Token endpoint URL. Required when using **Key pair** authentication, for example `https://api4.successfactors.com/oauth/token`. * **API Version**: SAP SuccessFactors OData API version. Defaults to `v2`. * **Database Name**: Optional name to give to the database in Collate. If left blank, Collate uses `default` as the database name. * **Verify SSL**: Client SSL verification. Defaults to `no-ssl`. **Advanced Config** *(driver-level options; most connections don't need these)* * **CA Certificate**: The CA certificate used for SSL validation. * **SSL Certificate**: The SSL certificate used for client authentication. * **SSL Key**: The SSL key used for client authentication. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all tables available in the source. #### Filter Options The Table section includes the following filter options: * **Table**: Controls which tables Collate ingests from the source. The Table section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP SuccessFactors Troubleshooting](/ai-2-0/connectors/database/sap-successfactors/troubleshooting) > > Learn more about how to troubleshoot common SAP SuccessFactors connector issues and resolve configuration or ingestion errors. # SAP SuccessFactors Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/sap-successfactors/troubleshooting Troubleshoot SAP SuccessFactors connector ingestion problems like schema drift or metadata gaps. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # SAP BW/4HANA Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/sapbw4hana/hybrid-runner Connect SAP BW/4HANA to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SAP BW/4HANA](/public/images/connectors/sapbw4hana.png) # SAP BW/4HANA BETA > [!NOTE] > > This connector is available exclusively on **Collate**. This section provides guides and references to use the SAP BW/4HANA connector. Configure and schedule SAP BW/4HANA metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](#troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The connector connects directly to the underlying SAP HANA instance of your BW/4HANA system and reads BW ABAP catalog tables. The HANA user requires `SELECT` privileges on the following objects: ### Metadata Ingestion ```sql theme={null} -- InfoArea directory (maps to schemas) GRANT SELECT ON .RSDAREA TO ; GRANT SELECT ON .RSDAREAT TO ; -- ADSO directory (maps to tables) GRANT SELECT ON .RSOADSO TO ; GRANT SELECT ON .RSOADSOT TO ; -- CompositeProvider directory (maps to views) GRANT SELECT ON .RSOHCPR TO ; GRANT SELECT ON .RSOHCPRT TO ; -- BEx Query directory (maps to views) GRANT SELECT ON .RSRREPDIR TO ; -- ADSO column definitions (HANA system view) GRANT SELECT ON SYS.TABLE_COLUMNS TO ; ``` ### Lineage ```sql theme={null} -- ADSO → ADSO transformation definitions GRANT SELECT ON .RSTRAN TO ; -- Column-level transformation rules and fields GRANT SELECT ON .RSTRANRULE TO ; GRANT SELECT ON .RSTRANFIELD TO ; -- ADSO → CompositeProvider lineage (HANA system view) GRANT SELECT ON SYS.OBJECT_DEPENDENCIES TO ; ``` > [!TIP] > > **Tip**: Replace `` with your actual ABAP schema name (default: `SAPHANADB`). You can find the correct schema by running: > > ```sql theme={null} > SELECT SCHEMA_NAME FROM SYS.TABLES WHERE TABLE_NAME = 'RSOADSO'; > ``` ## Metadata Ingestion To ingest metadata from SAP BW/4HANA, you need to create a service connection. The service connects SAP BW/4HANA with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP BW/4HANA** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sapbw4hana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=281043744a850e9506183951508cdd8a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP BW/4HANA services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sapbw4hana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3b3b678483f0743ab583db0d1a1e592d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP BW/4HANA. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sapbw4hana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=488fc7d9063f0d89aba7409d3fea03f1) * **Host and Port**: Host and port of the SAP HANA instance underlying BW/4HANA. Specify as `hostname:port`, for example `hana-host:30015`. This is the standard HANA SQL port, not the BW application server address. * **Username**: HANA database username with `SELECT` access to the BW ABAP catalog tables listed in the Requirements section above. * **Password**: Password for the HANA database user. * **ABAP Schema**: Schema name in HANA where the BW/4HANA ABAP metadata tables reside. Defaults to `SAPHANADB`. To confirm the correct value on your system, run: ```sql theme={null} SELECT SCHEMA_NAME FROM SYS.TABLES WHERE TABLE_NAME = 'RSOADSO'; ``` * **Schema Filter Pattern**: Regex pattern to include or exclude InfoAreas (which map to schemas). System InfoAreas starting with `0` or `/` are automatically excluded by the connector. * **Table Filter Pattern**: Regex pattern to include or exclude InfoProviders: ADSOs, CompositeProviders, and BEx Queries (which map to tables/views). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your SAP BW/4HANA service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all InfoAreas and InfoProviders available in the source. #### Filter Options The Schema and Table sections each include the following filter options: * **Schema**: Controls which InfoAreas (mapped to schemas) Collate ingests from the source. * **Table**: Controls which InfoProviders (ADSOs, CompositeProviders, and BEx Queries, mapped to tables/views) are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP BW/4HANA Troubleshooting](/ai-2-0/connectors/database/sapbw4hana/troubleshoot) > > Learn more about how to troubleshoot common SAP BW/4HANA connector issues and resolve configuration or ingestion errors. # SAP BW/4HANA Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/sapbw4hana/index Connect SAP BW/4HANA to Collate. Extract InfoAreas, ADSOs, CompositeProviders, BEx Queries, and lineage from BW transformation catalog tables. ![SAP BW/4HANA](/public/images/connectors/sapbw4hana.png) # SAP BW/4HANA BETA > [!NOTE] > > This connector is available exclusively on **Collate**. This section provides guides and references to use the SAP BW/4HANA connector. Configure and schedule SAP BW/4HANA metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [Troubleshooting](#troubleshooting) ## Requirements The connector connects directly to the underlying SAP HANA instance of your BW/4HANA system and reads BW ABAP catalog tables. The HANA user requires `SELECT` privileges on the following objects: ### Metadata Ingestion ```sql theme={null} -- InfoArea directory (maps to schemas) GRANT SELECT ON .RSDAREA TO ; GRANT SELECT ON .RSDAREAT TO ; -- ADSO directory (maps to tables) GRANT SELECT ON .RSOADSO TO ; GRANT SELECT ON .RSOADSOT TO ; -- CompositeProvider directory (maps to views) GRANT SELECT ON .RSOHCPR TO ; GRANT SELECT ON .RSOHCPRT TO ; -- BEx Query directory (maps to views) GRANT SELECT ON .RSRREPDIR TO ; -- ADSO column definitions (HANA system view) GRANT SELECT ON SYS.TABLE_COLUMNS TO ; ``` ### Lineage ```sql theme={null} -- ADSO → ADSO transformation definitions GRANT SELECT ON .RSTRAN TO ; -- Column-level transformation rules and fields GRANT SELECT ON .RSTRANRULE TO ; GRANT SELECT ON .RSTRANFIELD TO ; -- ADSO → CompositeProvider lineage (HANA system view) GRANT SELECT ON SYS.OBJECT_DEPENDENCIES TO ; ``` > [!TIP] > > **Tip**: Replace `` with your actual ABAP schema name (default: `SAPHANADB`). You can find the correct schema by running: > > ```sql theme={null} > SELECT SCHEMA_NAME FROM SYS.TABLES WHERE TABLE_NAME = 'RSOADSO'; > ``` ## Metadata Ingestion To ingest metadata from SAP BW/4HANA, you need to create a service connection. The service connects SAP BW/4HANA with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAP BW/4HANA** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sapbw4hana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=281043744a850e9506183951508cdd8a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP BW/4HANA services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sapbw4hana.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=3b3b678483f0743ab583db0d1a1e592d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP BW/4HANA. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sapbw4hana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=488fc7d9063f0d89aba7409d3fea03f1) * **Host and Port**: Host and port of the SAP HANA instance underlying BW/4HANA. Specify as `hostname:port`, for example `hana-host:30015`. This is the standard HANA SQL port, not the BW application server address. * **Username**: HANA database username with `SELECT` access to the BW ABAP catalog tables listed in the Requirements section above. * **Password**: Password for the HANA database user. * **ABAP Schema**: Schema name in HANA where the BW/4HANA ABAP metadata tables reside. Defaults to `SAPHANADB`. To confirm the correct value on your system, run: ```sql theme={null} SELECT SCHEMA_NAME FROM SYS.TABLES WHERE TABLE_NAME = 'RSOADSO'; ``` * **Schema Filter Pattern**: Regex pattern to include or exclude InfoAreas (which map to schemas). System InfoAreas starting with `0` or `/` are automatically excluded by the connector. * **Table Filter Pattern**: Regex pattern to include or exclude InfoProviders: ADSOs, CompositeProviders, and BEx Queries (which map to tables/views). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your SAP BW/4HANA service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all InfoAreas and InfoProviders available in the source. #### Filter Options The Schema and Table sections each include the following filter options: * **Schema**: Controls which InfoAreas (mapped to schemas) Collate ingests from the source. * **Table**: Controls which InfoProviders (ADSOs, CompositeProviders, and BEx Queries, mapped to tables/views) are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP BW/4HANA Troubleshooting](/ai-2-0/connectors/database/sapbw4hana/troubleshoot) > > Learn more about how to troubleshoot common SAP BW/4HANA connector issues and resolve configuration or ingestion errors. # SAP BW/4HANA Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/sapbw4hana/troubleshoot Troubleshoot common SAP BW/4HANA connector issues in Collate — connection failures, permission errors on ABAP catalog tables, and ingestion problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## SAP BW/4HANA-Specific Issues ### Permission Denied on ABAP Catalog Tables **Symptom**: Test connection step `GetInfoAreas`, `GetADSOs`, `GetCompositeProviders`, or `GetBExQueries` fails with a permission error. **Cause**: The HANA user does not have `SELECT` access on one or more BW ABAP catalog tables in the configured `abapSchema`. **Resolution**: Grant the required permissions listed in the [Requirements](/ai-2-0/connectors/database/sapbw4hana#requirements) section. Verify the correct schema name by running: ```sql theme={null} SELECT SCHEMA_NAME FROM SYS.TABLES WHERE TABLE_NAME = 'RSOADSO'; ``` ### Wrong ABAP Schema **Symptom**: Test connection passes (`CheckAccess` succeeds) but `GetInfoAreas` returns 0 results or fails. **Cause**: The `abapSchema` field is set to the default (`SAPHANADB`) but your system uses a different schema name. **Resolution**: Run the following query on your HANA system and use the returned schema name in the `abapSchema` field: ```sql theme={null} SELECT SCHEMA_NAME FROM SYS.TABLES WHERE TABLE_NAME = 'RSOADSO'; ``` ### No Lineage Edges Produced **Symptom**: Metadata ingestion works but the lineage workflow produces no edges. **Cause**: The HANA user may be missing `SELECT` on the lineage-specific tables (`RSTRAN`, `RSTRANRULE`, `RSTRANFIELD`, `SYS.OBJECT_DEPENDENCIES`), or your BW system has no active transformations between ADSOs. **Resolution**: Verify the lineage permissions from the [Requirements](/ai-2-0/connectors/database/sapbw4hana#requirements) section. Confirm that transformation objects exist in your BW/4HANA system by checking `RSTRAN`. ### HANA Port Not Reachable **Symptom**: `CheckAccess` test step fails with a connection timeout or refused error. **Cause**: The `hostPort` may point to the wrong port, or the HANA SQL port (default `30015`) is not accessible from the ingestion host. **Resolution**: Confirm the correct HANA instance SQL port. For multi-tenant systems, the tenant port may differ (e.g. `30041` for tenant `41`). Ensure your network allows TCP connectivity from the ingestion runner to the HANA host on that port. # SAS Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/sas/hybrid-runner Connect SAS databases to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![SAS](/public/images/connectors/sas.webp) # SAS BETA This section provides guides and references to use the SAS connector. Configure and schedule SAS metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/sas/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [card] [Collate 1.3 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Metadata Ingestion To ingest metadata from SAS, you need to create a service connection. The service connects SAS with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAS** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=51dab5ff2c0d316dacdbb4b513fcd29a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAS services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d2925bf805a696b73103830d6016f3b2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAS. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sas.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=76feade4c7bc27671d81f1303136fca6) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **ServerHost**: Host and port of the SAS Viya deployment. * **Username**: Username to connect to SAS Viya. This user should have privileges to read all the metadata in SAS Information Catalog. * **Password**: Password to connect to SAS Viya. * **Filter**: A filter expression specifying items for import. For more information, see the [SAS Catalog API documentation](https://developer.sas.com/rest-apis/catalog) #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAS Troubleshooting](/ai-2-0/connectors/database/sas/troubleshooting) > > Learn more about how to troubleshoot common SAS connector issues and resolve configuration or ingestion errors. # SAS Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/sas/index Connect SAS databases to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![SAS](/public/images/connectors/sas.webp) # SAS BETA This section provides guides and references to use the SAS connector. Configure and schedule SAS metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/sas/troubleshooting) ## Requirements > [card] [Collate 1.3 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. ## Metadata Ingestion To ingest metadata from SAS, you need to create a service connection. The service connects SAS with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SAS** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=51dab5ff2c0d316dacdbb4b513fcd29a) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAS services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d2925bf805a696b73103830d6016f3b2) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAS. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sas.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=76feade4c7bc27671d81f1303136fca6) * **ServerHost**: Host and port of the SAS Viya deployment. * **Username**: Username to connect to SAS Viya. This user should have privileges to read all the metadata in SAS Information Catalog. * **Password**: Password to connect to SAS Viya. * **Filter**: A filter expression specifying items for import. For more information, see the [SAS Catalog API documentation](https://developer.sas.com/rest-apis/catalog) #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAS Troubleshooting](/ai-2-0/connectors/database/sas/troubleshooting) > > Learn more about how to troubleshoot common SAS connector issues and resolve configuration or ingestion errors. # SAS Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/sas/troubleshooting Resolve SAS database connector issues in Collate with expert troubleshooting guides, common error fixes, and step-by-step solutions for integration. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # ServiceNow Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/servicenow/hybrid-runner Connect ServiceNow to Collate to automatically discover, catalog, and manage your ServiceNow metadata. Step-by-step configuration guide. ![ServiceNow](/public/images/connectors/servicenow.png) # ServiceNow BETA This section provides guides and references to use the ServiceNow connector. Configure and schedule ServiceNow metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To fetch metadata from ServiceNow into Collate, you need: 1. An accessible ServiceNow instance URL (for example, `https://your-instance.service-now.com`). 2. A ServiceNow username with read access to `sys_db_object` and `sys_dictionary` tables. 3. The password for the ServiceNow user. ## Metadata Ingestion To ingest metadata from ServiceNow, you need to create a service connection. The service connects ServiceNow with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ServiceNow** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/servicenow.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=2cca7a05c892be1e00e6421ab34fdb8d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ServiceNow services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/servicenow.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=98af3cef8700409a02263034c56b849e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ServiceNow. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/servicenow.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=f760b06d04a60556d05999e5b37367a6) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **ServiceNow Instance URL**: Your ServiceNow instance URL (for example, `https://your-instance.service-now.com`). * **Username**: Username to connect to ServiceNow. This user should have read access to `sys_db_object` and `sys_dictionary` tables. * **Password**: Password to connect to ServiceNow. * **Include Scopes as Schemas**: If true, ServiceNow application scopes will be imported as database schemas. Otherwise, a single default schema will be used. Default: `false`. * **Include System Tables**: If true, both admin and system tables (`sys_*` tables) will be fetched. If false, only admin tables will be fetched. Default: `false`. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [ServiceNow Troubleshooting](/ai-2-0/connectors/database/servicenow/troubleshooting) > > Learn more about how to troubleshoot common ServiceNow connector issues and resolve configuration or ingestion errors. # ServiceNow Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/servicenow/index Connect ServiceNow to Collate to automatically discover, catalog, and manage your ServiceNow metadata. Step-by-step configuration guide. ![ServiceNow](/public/images/connectors/servicenow.png) # ServiceNow BETA This section provides guides and references to use the ServiceNow connector. Configure and schedule ServiceNow metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/servicenow/troubleshooting) ## Requirements To fetch metadata from ServiceNow into Collate, you need: 1. An accessible ServiceNow instance URL (for example, `https://your-instance.service-now.com`). 2. A ServiceNow username with read access to `sys_db_object` and `sys_dictionary` tables. 3. The password for the ServiceNow user. ## Metadata Ingestion To ingest metadata from ServiceNow, you need to create a service connection. The service connects ServiceNow with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **ServiceNow** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/servicenow.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=2cca7a05c892be1e00e6421ab34fdb8d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ServiceNow services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/servicenow.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=98af3cef8700409a02263034c56b849e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ServiceNow. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/servicenow.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=f760b06d04a60556d05999e5b37367a6) * **ServiceNow Instance URL**: Your ServiceNow instance URL (for example, `https://your-instance.service-now.com`). * **Username**: Username to connect to ServiceNow. This user should have read access to `sys_db_object` and `sys_dictionary` tables. * **Password**: Password to connect to ServiceNow. * **Include Scopes as Schemas**: If true, ServiceNow application scopes will be imported as database schemas. Otherwise, a single default schema will be used. Default: `false`. * **Include System Tables**: If true, both admin and system tables (`sys_*` tables) will be fetched. If false, only admin tables will be fetched. Default: `false`. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is only required for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [ServiceNow Troubleshooting](/ai-2-0/connectors/database/servicenow/troubleshooting) > > Learn more about how to troubleshoot common ServiceNow connector issues and resolve configuration or ingestion errors. # ServiceNow Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/servicenow/troubleshooting Resolve ServiceNow database connector issues in Collate with expert troubleshooting guides, common error fixes, and step-by-step solutions. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # SingleStore Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/singlestore/hybrid-runner Connect SingleStore to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SingleStore](/public/images/connectors/singlestore.webp) # SingleStore PROD This section provides guides and references to use the SingleStore connector. Configure and schedule SingleStore metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/singlestore/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata the user used in the connection needs to have access to the `INFORMATION_SCHEMA`. By default a user can see only the rows in the `INFORMATION_SCHEMA` that correspond to objects for which the user has the proper access privileges. ```SQL theme={null} -- Create user. -- More details https://docs.singlestore.com/managed-service/en/reference/sql-reference/security-management-commands/create-user.html CREATE USER [@] IDENTIFIED BY ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a specific object GRANT SELECT ON world.hello TO ''; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from SingleStore, you need to create a service connection. The service connects SingleStore with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SingleStore** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/singlestore.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bb458313b0db22563ecbe1316611aba0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SingleStore services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/singlestore.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=93de53b31e26260b3eecea55c21c86fd) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SingleStore. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/singlestore.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=06508de8e1232a740cab2c774ec3e080) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to SingleStore. It should have enough privileges to read all the metadata. * **Password**: Password to connect to SingleStore. * **Host and Port**: Enter the fully qualified hostname and port number for your SingleStore deployment in the Host and Port field. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses `default` as the database name. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SingleStore Troubleshooting](/ai-2-0/connectors/database/singlestore/troubleshooting) > > Learn more about how to troubleshoot common SingleStore connector issues and resolve configuration or ingestion errors. # SingleStore Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/singlestore/index Learn how to connect SingleStore database to Collate with step-by-step setup instructions, configuration options, and metadata extraction guides. ![SingleStore](/public/images/connectors/singlestore.webp) # SingleStore PROD This section provides guides and references to use the SingleStore connector. Configure and schedule SingleStore metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/singlestore/troubleshooting) ## Requirements ### Metadata To extract metadata the user used in the connection needs to have access to the `INFORMATION_SCHEMA`. By default a user can see only the rows in the `INFORMATION_SCHEMA` that correspond to objects for which the user has the proper access privileges. ```SQL theme={null} -- Create user. -- More details https://docs.singlestore.com/managed-service/en/reference/sql-reference/security-management-commands/create-user.html CREATE USER [@] IDENTIFIED BY ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a database GRANT SELECT ON world.* TO ''; -- Grant select on a specific object GRANT SELECT ON world.hello TO ''; ``` ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from SingleStore, you need to create a service connection. The service connects SingleStore with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SingleStore** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/singlestore.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=bb458313b0db22563ecbe1316611aba0) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SingleStore services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/singlestore.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=93de53b31e26260b3eecea55c21c86fd) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SingleStore. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/singlestore.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=06508de8e1232a740cab2c774ec3e080) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to SingleStore. It should have enough privileges to read all the metadata. * **Password**: Password to connect to SingleStore. * **Host and Port**: Enter the fully qualified hostname and port number for your SingleStore deployment in the Host and Port field. * **databaseName**: Optional name to give to the database in Collate. If left blank, Collate uses `default` as the database name. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SingleStore Troubleshooting](/ai-2-0/connectors/database/singlestore/troubleshooting) > > Learn more about how to troubleshoot common SingleStore connector issues and resolve configuration or ingestion errors. # SingleStore Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/singlestore/troubleshooting Resolve SingleStore database connector issues in Collate with expert troubleshooting guides, common error fixes, and step-by-step solutions. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Snowflake Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/snowflake/hybrid-runner Connect Snowflake to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Snowflake](/public/images/connectors/snowflakes.webp) # Snowflake PROD This section provides guides and references to use the Snowflake connector. Configure and schedule Snowflake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Incremental Extraction](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/incremental-extraction/snowflake) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/snowflake/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To ingest basic metadata snowflake user must have the following privileges: * `USAGE` Privilege on Warehouse * `USAGE` Privilege on Database * `USAGE` Privilege on Schema * `SELECT` Privilege on Tables Before you grant privileges, replace these placeholders with your own values: | Placeholder | Description | | - | - | | `` | Name of the new Snowflake role you want to create and assign to the user | | `` | Username for the new Snowflake user being created | | `` | A strong password for the new Snowflake user | | `` | Name of the Snowflake warehouse the new role needs access to | | `` | Name of the Snowflake database from which you want to ingest data | | `` | Name of the Snowflake schema within the database from which you want to ingest data | ```sql theme={null} -- Create New Role CREATE ROLE ; -- Create New User CREATE USER DEFAULT_ROLE= PASSWORD=''; -- Grant role to user GRANT ROLE TO USER ; -- Grant USAGE Privilege on Warehouse to New Role GRANT USAGE ON WAREHOUSE TO ROLE ; -- Grant USAGE Privilege on Database to New Role GRANT USAGE ON DATABASE TO ROLE ; -- Grant USAGE Privilege on required Schemas to New Role GRANT USAGE ON ALL SCHEMAS IN DATABASE TO ROLE ; GRANT USAGE ON FUTURE SCHEMAS IN DATABASE TO ROLE ; -- Grant SELECT Privilege on required tables & views to New Role GRANT SELECT ON ALL FUTURE TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL FUTURE EXTERNAL TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL EXTERNAL TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL FUTURE VIEWS IN DATABASE TO ROLE ; GRANT SELECT ON ALL VIEWS IN DATABASE TO ROLE ; GRANT SELECT ON ALL FUTURE DYNAMIC TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL DYNAMIC TABLES IN DATABASE TO ROLE ; -- Grant IMPORTED PRIVILEGES on all Schemas of SNOWFLAKE DB to New Role, -- optional but required for usage, lineage and stored procedure ingestion GRANT IMPORTED PRIVILEGES ON ALL SCHEMAS IN DATABASE SNOWFLAKE TO ROLE ; ``` ### Additional Privileges The following workflows require additional grants: * **Incremental Extraction**: Collate fetches the information by querying `snowflake.account_usage.tables`. * **Ingesting Tags**: Collate fetches the information by querying `snowflake.account_usage.tag_references`. * **Ingesting Stored Procedures**: Collate fetches the information by querying `snowflake.account_usage.procedures` and `snowflake.account_usage.functions`. * **Lineage and Usage Workflow**: For lineage, Collate uses Snowflake's `ACCOUNT_USAGE.ACCESS_HISTORY` view by default. See [Lineage with Access History](#lineage-with-access-history). For the Usage workflow, and as the lineage fallback, Collate fetches query logs by querying `snowflake.account_usage.query_history`. Both views require the Snowflake user to have the `ACCOUNTADMIN` role or a role with `IMPORTED PRIVILEGES` on the `SNOWFLAKE` database. For more information about the `account_usage` schema, see [Account Usage](https://docs.snowflake.com/en/sql-reference/account-usage). ### Lineage with Access History **Use Access History for Lineage** is enabled by default. With it enabled, the lineage agent reads Snowflake-computed lineage from `ACCOUNT_USAGE.ACCESS_HISTORY` instead of parsing SQL from `QUERY_HISTORY`: * **Table and column lineage** comes from the objects each query read and modified, as recorded by Snowflake. `COPY_HISTORY` adds lineage for data loads. * **Snowflake edition**: `ACCESS_HISTORY` requires Snowflake Enterprise Edition or higher. On Standard Edition, or if the role cannot read the view, ingestion logs a warning and falls back to parsing query logs. * **Query Log Duration** still applies. It sets how many days of `ACCESS_HISTORY` are scanned. **Access History Chunk Size (Days)** only splits that window into smaller queries. * **Result Limit** applies only to the query-log fallback. * **Filter Condition** is applied to the resulting `ACCESS_HISTORY` lineage edges. Filter on `UPSTREAM_TABLE` or `DOWNSTREAM_TABLE`, for example `DOWNSTREAM_TABLE LIKE 'MYDB.%'`. Both columns hold fully qualified `DATABASE.SCHEMA.TABLE` names. The filter doesn't apply to `COPY_HISTORY` load lineage. In the query-log fallback, the filter runs against `QUERY_HISTORY` columns instead, so a filter on `UPSTREAM_TABLE` or `DOWNSTREAM_TABLE` fails there. If your account can fall back, for example on Standard Edition, use `QUERY_HISTORY` columns or disable **Use Access History for Lineage**. To use the query-log parser instead, disable **Use Access History for Lineage** in the connection's Advanced Configuration. ## Metadata Ingestion To ingest metadata from Snowflake, you need to create a service connection. The service connects Snowflake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Snowflake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/snowflake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=05e63ef333f70da5e57891d268e1dbab) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Snowflake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/snowflake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=2dd441bf214fb33ac715923419cbed80) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Snowflake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/snowflake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=3ea1962187d623b18db468248395c5fb) * **Username**: Specify the user to connect to Snowflake. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Snowflake. * **Account**: Snowflake account identifier uniquely identifies a Snowflake account within your organization, as well as throughout the global network of Snowflake-supported cloud platforms and cloud regions. If the Snowflake URL is `https://xyz1234.us-east-1.gcp.snowflakecomputing.com`, then the account is `xyz1234.us-east-1.gcp`. * **Role (Optional)**: You can specify the role of user that you would like to ingest with, if no role is specified the default roles assigned to user will be selected. * **Warehouse**: Snowflake warehouse is required for executing queries to fetch the metadata. Enter the name of warehouse against which you would like to execute these queries. * **Database (Optional)**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. * **Private Key (Optional)**: If you have configured the key pair authentication for the given user you will have to pass the private key associated with the user in this field. For more information about key-pair authentication, see [Key-pair authentication and key-pair rotation](https://docs.snowflake.com/en/user-guide/key-pair-auth). Ensure your private key is formatted correctly before passing it. The key must be a single line with all line breaks replaced by `\n`. For example, if you have the following multi-line key (raw format): ``` -----BEGIN ENCRYPTED PRIVATE KEY----- MII.. MBQ... CgU.. 8Lt.. ... h+4= -----END ENCRYPTED PRIVATE KEY----- ``` Replace it with the following single-line key (required format): ``` -----BEGIN ENCRYPTED PRIVATE KEY-----\nMII..\nMBQ...\nCgU..\n8Lt..\n...\nh+4=\n-----END ENCRYPTED PRIVATE KEY-----\n ``` Replace every newline character in your key with a literal `\n`, including after the final line. * **Snowflake Passphrase Key (Optional)**: Enter the passphrase associated with your encrypted private key. * **Include Transient Tables**: Enabled by default. Collate ingests `TRANSIENT` and `TEMPORARY` tables alongside permanent tables. Disable this option to skip them. * **Include Streams**: Ingest streams when enabled. Disabled by default. * **Client Session Keep Alive**: Optional Configuration to keep the session active in case the ingestion job runs for longer duration. * **Account Usage Schema Name**: Full name of account usage schema, used in case your user does not have direct access to `SNOWFLAKE.ACCOUNT_USAGE` schema. In such case you can replicate tables `QUERY_HISTORY`, `TAG_REFERENCES`, `PROCEDURES`, `FUNCTIONS`, `ACCESS_HISTORY`, `COPY_HISTORY` to a custom schema (for example, `CUSTOM_DB.CUSTOM_SCHEMA`), and provide the same name in this field. When using this field make sure you have `QUERY_HISTORY`, `TAG_REFERENCES`, `PROCEDURES`, and `FUNCTIONS` available within your custom schema. `ACCESS_HISTORY` and `COPY_HISTORY` are needed only when **Use Access History for Lineage** is enabled. Without `ACCESS_HISTORY`, lineage falls back to parsing `QUERY_HISTORY`. * **Query Tag (Optional)**: Session query tag used to monitor usage on Snowflake. The Snowflake user must have privileges to alter the session. * **Include Stages**: Ingest external and internal stages when enabled. Disabled by default. * **Include Semantic Views (Optional)**: Ingest Snowflake semantic views as data assets. Ingested semantic views get the `SemanticView` table type. Disabled by default. Semantic views are a Snowflake Enterprise-edition feature, so this applies to Enterprise accounts only. * **Cost of Credit (Optional)**: Cost of a Snowflake credit for your account, used to estimate warehouse and query costs. Defaults to `3.3`. * **Snowflake Source Host (Optional)**: Snowflake account host used to build direct links back to Snowflake, for example from lineage or query details. Defaults to `app.snowflake.com`. #### Semantic Views After you enable **Include Semantic Views**, redeploy the connection and rerun the Metadata Agent. * **Privileges**: The connection role needs privileges on the semantic views. Run `SHOW SEMANTIC VIEWS IN SCHEMA .` as the connection role. If it returns nothing, grant the role privileges on the views. * **Find them in Collate**: Open Explore, select Advanced Search, and filter by the `SemanticView` table type. * **Dimensions, time dimensions, facts, and metrics**: Listed as columns on the Schema tab of the semantic view. * **Metrics**: Also ingested as separate Metric entities that link back to the view. * **Relationships**: Not modeled as separate objects. They appear only in the view's SQL definition. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. * **Use Access History for Lineage**: Uses Snowflake's `ACCOUNT_USAGE.ACCESS_HISTORY` view as the source of query lineage. Enabled by default. See [Lineage with Access History](#lineage-with-access-history). * **Access History Chunk Size (Days)**: Number of days of `ACCESS_HISTORY` scanned per query when "Use Access History for Lineage" is enabled. The lineage time window is split into chunks of this size to keep each query bounded and avoid timeouts on busy accounts. Defaults to `2`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png) 6. Click **Add** to deploy the agent. ## Dynamic Tables in View Lineage Collate processes a Snowflake dynamic table the same way as a view or a materialized view. During metadata ingestion, it stores the dynamic table's DDL as the table's definition. The DDL is the `CREATE DYNAMIC TABLE ... AS SELECT` statement. The lineage agent then parses that definition and creates lineage from the source tables to the dynamic table. For the lineage edges to resolve: * Qualify the names of tables that are in a different schema or database from the dynamic table, for example `analytics.public.orders`. Collate looks up a name without a database or schema in the dynamic table's own database and schema. * Ingest the metadata of both the source database and the target database first. Collate can only create an edge between tables that it has already ingested. * If the source and target tables are in different Collate services, turn on **Process Cross Database Lineage** and list those services in **Cross Database Service Names**. For more information, see [Cross Database Lineage](/ai-2-0/how-to-guides/data-lineage/cross-database-lineage). * Don't filter out the dynamic table in the lineage agent filter patterns. If the lineage agent logs `Processing View Lineage` followed by `0/0 chunks processed`, see [No View Lineage Is Processed](/ai-2-0/connectors/database/snowflake/troubleshooting#no-view-lineage-is-processed). ## Incomplete Column Level for Views For views with a tag or policy, you may see incorrect lineage, this can be because user may not have enough access to fetch those policies or tags. You need to grant the following privileges to fix it. For more information, see [GET_DDL usage notes](https://docs.snowflake.com/en/sql-reference/functions/get_ddl#usage-notes). ``` GRANT APPLY MASKING POLICY TO ROLE ; GRANT APPLY ROW ACCESS POLICY TO ROLE ; GRANT APPLY AGGREGATION POLICY TO ROLE ; GRANT APPLY PROJECTION POLICY TO ROLE ; GRANT APPLY TAG TO ROLE ; ``` Depending on your view DDL, you can grant the relevant privileges using the preceding queries. ## Reverse Metadata * **Description Management**: Snowflake supports full description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Owner management is not supported for Snowflake, because Snowflake assigns object ownership to roles rather than to individual users. As a workaround, grant ownership to a role and assign that role to the desired user (for example: `GRANT ROLE TO USER ;`). Transferring ownership with `REVOKE CURRENT GRANTS` can revoke existing object grants, so test this workflow in non-production first. ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Grant ownership on a table to the role GRANT OWNERSHIP ON TABLE .. TO ROLE REVOKE CURRENT GRANTS; ``` * **Tag Management**: Snowflake supports tag management at the following levels: * Schema level * Table level * Column level Additionally, Snowflake supports automated masking policy application based on tags. For example, when you apply a `Sensitive` tag to a column in Collate, the corresponding masking policy will be automatically applied to that column in Snowflake. > [!TIP] > > **Tip**: While Collate differentiates between "classification" values and "tag" values, Snowflake's masking policies only support actions based on classification values (tag keys). Therefore, it is advised not to use PII.None along with tag masking policies. ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Create masking policy CREATE MASKING POLICY SENSITIVE_DATA AS (VAL STRING) RETURNS STRING -> CASE WHEN VAL IS NOT NULL THEN '**********' ELSE NULL END; -- Apply masking policy to PII.Sensitive tag ALTER TAG PII SET MASKING POLICY SENSITIVE_DATA; ``` * **Custom SQL Template**: Snowflake supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Set schema tag ALTER SCHEMA {database}.{schema} SET TAG {database}.{schema}.{tag_key} = '{tag_value}'; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: Reverse metadata builds on the basic ingestion privileges. Grant only what the features you use need: * Database description: `MODIFY` on the database * Schema description: `MODIFY` on the schema * Table, view or column description: `OWNERSHIP` of the object * Tags: `CREATE TAG` on the schema, plus `APPLY TAG` on the account * Reading existing tags: the `SNOWFLAKE.GOVERNANCE_VIEWER` database role > [!NOTE] > > **Note**: > **Descriptions** require `OWNERSHIP` of the object. Snowflake only permits `ALTER TABLE/VIEW ... SET COMMENT` to the owning role. > > **Tags** on objects the role already owns work without `APPLY TAG`. The account-level `APPLY TAG` privilege is only needed to tag objects the role does not own. | Placeholder | Description | | - | - | | `` | Name of the new Snowflake role you want to create and assign to the user | | `` | Username for the new Snowflake user being created | | `` | A strong password for the new Snowflake user | | `` | Name of the Snowflake warehouse the new role needs access to | | `` | Name of the Snowflake database from which you want to ingest data | | `` | Name of the Snowflake schema within the database from which you want to ingest data | ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Reuse the role created for metadata ingestion, or create a dedicated one GRANT USAGE ON WAREHOUSE TO ROLE ; GRANT USAGE ON DATABASE TO ROLE ; GRANT USAGE ON SCHEMA . TO ROLE ; -- Descriptions on database and schema (MODIFY, no ownership) GRANT MODIFY ON DATABASE TO ROLE ; GRANT MODIFY ON SCHEMA . TO ROLE ; -- Descriptions on tables, views and columns (ownership of the objects) -- WARNING: Transferring ownership can revoke existing object grants (due to REVOKE CURRENT GRANTS). Test in non-prod first. GRANT OWNERSHIP ON ALL TABLES IN SCHEMA . TO ROLE REVOKE CURRENT GRANTS; GRANT OWNERSHIP ON ALL VIEWS IN SCHEMA . TO ROLE REVOKE CURRENT GRANTS; -- Tags: create and apply without owning every object GRANT CREATE TAG ON SCHEMA . TO ROLE ; GRANT APPLY TAG ON ACCOUNT TO ROLE ; -- Read existing tag assignments GRANT DATABASE ROLE SNOWFLAKE.GOVERNANCE_VIEWER TO ROLE ; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Snowflake Troubleshooting](/ai-2-0/connectors/database/snowflake/troubleshooting) > > Learn more about how to troubleshoot common Snowflake connector issues and resolve configuration or ingestion errors. # Snowflake Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/snowflake/index Connect Snowflake to Collate with our comprehensive database connector guide. Easy setup, metadata extraction, and data lineage tracking. ![Snowflake](/public/images/connectors/snowflakes.webp) # Snowflake PROD [Snowflake connector walkthrough video](https://www.youtube.com/embed/EfycmnM_hPs) This section provides guides and references to use the Snowflake connector. Configure and schedule Snowflake metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Incremental Extraction](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/incremental-extraction/snowflake) * [Query Usage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/usage) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/snowflake/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements To ingest basic metadata snowflake user must have the following privileges: * `USAGE` Privilege on Warehouse * `USAGE` Privilege on Database * `USAGE` Privilege on Schema * `SELECT` Privilege on Tables Before you grant privileges, replace these placeholders with your own values: | Placeholder | Description | | - | - | | `` | Name of the new Snowflake role you want to create and assign to the user | | `` | Username for the new Snowflake user being created | | `` | A strong password for the new Snowflake user | | `` | Name of the Snowflake warehouse the new role needs access to | | `` | Name of the Snowflake database from which you want to ingest data | ```sql theme={null} -- Create New Role CREATE ROLE ; -- Create New User CREATE USER DEFAULT_ROLE= PASSWORD=''; -- Grant role to user GRANT ROLE TO USER ; -- Grant USAGE Privilege on Warehouse to New Role GRANT USAGE ON WAREHOUSE TO ROLE ; -- Grant USAGE Privilege on Database to New Role GRANT USAGE ON DATABASE TO ROLE ; -- Grant USAGE Privilege on required Schemas to New Role GRANT USAGE ON ALL SCHEMAS IN DATABASE TO ROLE ; GRANT USAGE ON FUTURE SCHEMAS IN DATABASE TO ROLE ; -- Grant SELECT Privilege on required tables & views to New Role GRANT SELECT ON ALL FUTURE TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL FUTURE EXTERNAL TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL EXTERNAL TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL FUTURE VIEWS IN DATABASE TO ROLE ; GRANT SELECT ON ALL VIEWS IN DATABASE TO ROLE ; GRANT SELECT ON ALL FUTURE DYNAMIC TABLES IN DATABASE TO ROLE ; GRANT SELECT ON ALL DYNAMIC TABLES IN DATABASE TO ROLE ; -- Grant IMPORTED PRIVILEGES on all Schemas of SNOWFLAKE DB to New Role, -- optional but required for usage, lineage and stored procedure ingestion GRANT IMPORTED PRIVILEGES ON ALL SCHEMAS IN DATABASE SNOWFLAKE TO ROLE ; ``` ### Additional Privileges The following workflows require additional grants: * **Incremental Extraction**: Collate fetches the information by querying `snowflake.account_usage.tables`. * **Ingesting Tags**: Collate fetches the information by querying `snowflake.account_usage.tag_references`. * **Ingesting Stored Procedures**: Collate fetches the information by querying `snowflake.account_usage.procedures` and `snowflake.account_usage.functions`. * **Lineage and Usage Workflow**: For lineage, Collate uses Snowflake's `ACCOUNT_USAGE.ACCESS_HISTORY` view by default. See [Lineage with Access History](#lineage-with-access-history). For the Usage workflow, and as the lineage fallback, Collate fetches query logs by querying `snowflake.account_usage.query_history`. Both views require the Snowflake user to have the `ACCOUNTADMIN` role or a role with `IMPORTED PRIVILEGES` on the `SNOWFLAKE` database. For more information about the `account_usage` schema, see [Account Usage](https://docs.snowflake.com/en/sql-reference/account-usage). ### Lineage with Access History **Use Access History for Lineage** is enabled by default. With it enabled, the lineage agent reads Snowflake-computed lineage from `ACCOUNT_USAGE.ACCESS_HISTORY` instead of parsing SQL from `QUERY_HISTORY`: * **Table and column lineage** comes from the objects each query read and modified, as recorded by Snowflake. `COPY_HISTORY` adds lineage for data loads. * **Snowflake edition**: `ACCESS_HISTORY` requires Snowflake Enterprise Edition or higher. On Standard Edition, or if the role cannot read the view, ingestion logs a warning and falls back to parsing query logs. * **Query Log Duration** still applies. It sets how many days of `ACCESS_HISTORY` are scanned. **Access History Chunk Size (Days)** only splits that window into smaller queries. * **Result Limit** applies only to the query-log fallback. * **Filter Condition** is applied to the resulting `ACCESS_HISTORY` lineage edges. Filter on `UPSTREAM_TABLE` or `DOWNSTREAM_TABLE`, for example `DOWNSTREAM_TABLE LIKE 'MYDB.%'`. Both columns hold fully qualified `DATABASE.SCHEMA.TABLE` names. The filter doesn't apply to `COPY_HISTORY` load lineage. In the query-log fallback, the filter runs against `QUERY_HISTORY` columns instead, so a filter on `UPSTREAM_TABLE` or `DOWNSTREAM_TABLE` fails there. If your account can fall back, for example on Standard Edition, use `QUERY_HISTORY` columns or disable **Use Access History for Lineage**. To use the query-log parser instead, disable **Use Access History for Lineage** in the connection's Advanced Configuration. ## Iceberg Table Support Snowflake supports Iceberg table ingestion in Collate through source metadata signals. ### How Table Classification Works * Collate reads Iceberg-related metadata from Snowflake system table metadata. * When Snowflake metadata resolves Iceberg table semantics, Collate classifies the table as `Iceberg`. ### Access Requirements * **Catalog permissions**: Grant read access to `information_schema.tables` and any required account usage views used by your ingestion mode. * **File system permissions**: Direct object storage write permissions are not required for metadata ingestion. Keep read access aligned with your Snowflake external table and catalog setup. ## Metadata Ingestion To ingest metadata from Snowflake, you need to create a service connection. The service connects Snowflake with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Snowflake** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/snowflake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=05e63ef333f70da5e57891d268e1dbab) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Snowflake services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/snowflake.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=2dd441bf214fb33ac715923419cbed80) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Snowflake. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/snowflake.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=3ea1962187d623b18db468248395c5fb) * **Username**: Specify the user to connect to Snowflake. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Snowflake. * **Account**: Snowflake account identifier uniquely identifies a Snowflake account within your organization, as well as throughout the global network of Snowflake-supported cloud platforms and cloud regions. If the Snowflake URL is `https://xyz1234.us-east-1.gcp.snowflakecomputing.com`, then the account is `xyz1234.us-east-1.gcp`. * **Role (Optional)**: You can specify the role of user that you would like to ingest with, if no role is specified the default roles assigned to user will be selected. * **Warehouse**: Snowflake warehouse is required for executing queries to fetch the metadata. Enter the name of warehouse against which you would like to execute these queries. * **Database (Optional)**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. * **Private Key (Optional)**: If you have configured the key pair authentication for the given user you will have to pass the private key associated with the user in this field. For more information about key-pair authentication, see [Key-pair authentication and key-pair rotation](https://docs.snowflake.com/en/user-guide/key-pair-auth). Ensure your private key is formatted correctly before passing it. The key must be a single line with all line breaks replaced by `\n`. For example, if you have the following multi-line key (raw format): ``` -----BEGIN ENCRYPTED PRIVATE KEY----- MII.. MBQ... CgU.. 8Lt.. ... h+4= -----END ENCRYPTED PRIVATE KEY----- ``` Replace it with the following single-line key (required format): ``` -----BEGIN ENCRYPTED PRIVATE KEY-----\nMII..\nMBQ...\nCgU..\n8Lt..\n...\nh+4=\n-----END ENCRYPTED PRIVATE KEY-----\n ``` Replace every newline character in your key with a literal `\n`, including after the final line. * **Snowflake Passphrase Key (Optional)**: Enter the passphrase associated with your encrypted private key. * **Include Transient Tables**: Enabled by default. Collate ingests `TRANSIENT` and `TEMPORARY` tables alongside permanent tables. Disable this option to skip them. * **Include Streams**: Ingest streams when enabled. Disabled by default. * **Client Session Keep Alive**: Optional Configuration to keep the session active in case the ingestion job runs for longer duration. * **Account Usage Schema Name**: Full name of account usage schema, used in case your user does not have direct access to `SNOWFLAKE.ACCOUNT_USAGE` schema. In such case you can replicate tables `QUERY_HISTORY`, `TAG_REFERENCES`, `PROCEDURES`, `FUNCTIONS`, `ACCESS_HISTORY`, `COPY_HISTORY` to a custom schema (for example, `CUSTOM_DB.CUSTOM_SCHEMA`), and provide the same name in this field. When using this field make sure you have `QUERY_HISTORY`, `TAG_REFERENCES`, `PROCEDURES`, and `FUNCTIONS` available within your custom schema. `ACCESS_HISTORY` and `COPY_HISTORY` are needed only when **Use Access History for Lineage** is enabled. Without `ACCESS_HISTORY`, lineage falls back to parsing `QUERY_HISTORY`. * **Query Tag (Optional)**: Session query tag used to monitor usage on Snowflake. The Snowflake user must have privileges to alter the session. * **Include Stages**: Ingest external and internal stages when enabled. Disabled by default. * **Include Semantic Views (Optional)**: Ingest Snowflake semantic views as data assets. Ingested semantic views get the `SemanticView` table type. Disabled by default. Semantic views are a Snowflake Enterprise-edition feature, so this applies to Enterprise accounts only. * **Cost of Credit (Optional)**: Cost of a Snowflake credit for your account, used to estimate warehouse and query costs. Defaults to `3.3`. * **Snowflake Source Host (Optional)**: Snowflake account host used to build direct links back to Snowflake, for example from lineage or query details. Defaults to `app.snowflake.com`. #### Semantic Views After you enable **Include Semantic Views**, redeploy the connection and rerun the Metadata Agent. * **Privileges**: The connection role needs privileges on the semantic views. Run `SHOW SEMANTIC VIEWS IN SCHEMA .` as the connection role. If it returns nothing, grant the role privileges on the views. * **Find them in Collate**: Open Explore, select Advanced Search, and filter by the `SemanticView` table type. * **Dimensions, time dimensions, facts, and metrics**: Listed as columns on the Schema tab of the semantic view. * **Metrics**: Also ingested as separate Metric entities that link back to the view. * **Relationships**: Not modeled as separate objects. They appear only in the view's SQL definition. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. * **Use Access History for Lineage**: Uses Snowflake's `ACCOUNT_USAGE.ACCESS_HISTORY` view as the source of query lineage. Enabled by default. See [Lineage with Access History](#lineage-with-access-history). * **Access History Chunk Size (Days)**: Number of days of `ACCESS_HISTORY` scanned per query when "Use Access History for Lineage" is enabled. The lineage time window is split into chunks of this size to keep each query bounded and avoid timeouts on busy accounts. Defaults to `2`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png) 6. Click **Add** to deploy the agent. ## Dynamic Tables in View Lineage Collate processes a Snowflake dynamic table the same way as a view or a materialized view. During metadata ingestion, it stores the dynamic table's DDL as the table's definition. The DDL is the `CREATE DYNAMIC TABLE ... AS SELECT` statement. The lineage agent then parses that definition and creates lineage from the source tables to the dynamic table. For the lineage edges to resolve: * Qualify the names of tables that are in a different schema or database from the dynamic table, for example `analytics.public.orders`. Collate looks up a name without a database or schema in the dynamic table's own database and schema. * Ingest the metadata of both the source database and the target database first. Collate can only create an edge between tables that it has already ingested. * If the source and target tables are in different Collate services, turn on **Process Cross Database Lineage** and list those services in **Cross Database Service Names**. For more information, see [Cross Database Lineage](/ai-2-0/how-to-guides/data-lineage/cross-database-lineage). * Don't filter out the dynamic table in the lineage agent filter patterns. If the lineage agent logs `Processing View Lineage` followed by `0/0 chunks processed`, see [No View Lineage Is Processed](/ai-2-0/connectors/database/snowflake/troubleshooting#no-view-lineage-is-processed). ## Incomplete Column Level for Views For views with a tag or policy, you may see incorrect lineage, this can be because user may not have enough access to fetch those policies or tags. You need to grant the following privileges to fix it. For more information, see [GET_DDL usage notes](https://docs.snowflake.com/en/sql-reference/functions/get_ddl#usage-notes). ``` GRANT APPLY MASKING POLICY TO ROLE ; GRANT APPLY ROW ACCESS POLICY TO ROLE ; GRANT APPLY AGGREGATION POLICY TO ROLE ; GRANT APPLY PROJECTION POLICY TO ROLE ; GRANT APPLY TAG TO ROLE ; ``` Depending on your view DDL, you can grant the relevant privileges using the preceding queries. ## Reverse Metadata * **Description Management**: Snowflake supports full description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Owner management is not supported for Snowflake, because Snowflake assigns object ownership to roles rather than to individual users. As a workaround, grant ownership to a role and assign that role to the desired user (for example: `GRANT ROLE TO USER ;`). Transferring ownership with `REVOKE CURRENT GRANTS` can revoke existing object grants, so test this workflow in non-production first. ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Grant ownership on a table to the role GRANT OWNERSHIP ON TABLE .. TO ROLE REVOKE CURRENT GRANTS; ``` * **Tag Management**: Snowflake supports tag management at the following levels: * Schema level * Table level * Column level Additionally, Snowflake supports automated masking policy application based on tags. For example, when you apply a `Sensitive` tag to a column in Collate, the corresponding masking policy will be automatically applied to that column in Snowflake. > [!TIP] > > **Tip**: While Collate differentiates between "classification" values and "tag" values, Snowflake's masking policies only support actions based on classification values (tag keys). Therefore, it is advised not to use PII.None along with tag masking policies. ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Create masking policy CREATE MASKING POLICY SENSITIVE_DATA AS (VAL STRING) RETURNS STRING -> CASE WHEN VAL IS NOT NULL THEN '**********' ELSE NULL END; -- Apply masking policy to PII.Sensitive tag ALTER TAG PII SET MASKING POLICY SENSITIVE_DATA; ``` * **Custom SQL Template**: Snowflake supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Set schema tag ALTER SCHEMA {database}.{schema} SET TAG {database}.{schema}.{tag_key} = '{tag_value}'; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: Reverse metadata builds on the basic ingestion privileges. Grant only what the features you use need: * Database description: `MODIFY` on the database * Schema description: `MODIFY` on the schema * Table, view or column description: `OWNERSHIP` of the object * Tags: `CREATE TAG` on the schema, plus `APPLY TAG` on the account * Reading existing tags: the `SNOWFLAKE.GOVERNANCE_VIEWER` database role > [!NOTE] > > **Note**: > **Descriptions** require `OWNERSHIP` of the object. Snowflake only permits `ALTER TABLE/VIEW ... SET COMMENT` to the owning role. > > **Tags** on objects the role already owns work without `APPLY TAG`. The account-level `APPLY TAG` privilege is only needed to tag objects the role does not own. | Placeholder | Description | | - | - | | `` | Name of the new Snowflake role you want to create and assign to the user | | `` | Username for the new Snowflake user being created | | `` | A strong password for the new Snowflake user | | `` | Name of the Snowflake warehouse the new role needs access to | | `` | Name of the Snowflake database from which you want to ingest data | | `` | Name of the Snowflake schema within the database from which you want to ingest data | ```sql theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} theme={null} -- Reuse the role created for metadata ingestion, or create a dedicated one GRANT USAGE ON WAREHOUSE TO ROLE ; GRANT USAGE ON DATABASE TO ROLE ; GRANT USAGE ON SCHEMA . TO ROLE ; -- Descriptions on database and schema (MODIFY, no ownership) GRANT MODIFY ON DATABASE TO ROLE ; GRANT MODIFY ON SCHEMA . TO ROLE ; -- Descriptions on tables, views and columns (ownership of the objects) -- WARNING: Transferring ownership can revoke existing object grants (due to REVOKE CURRENT GRANTS). Test in non-prod first. GRANT OWNERSHIP ON ALL TABLES IN SCHEMA . TO ROLE REVOKE CURRENT GRANTS; GRANT OWNERSHIP ON ALL VIEWS IN SCHEMA . TO ROLE REVOKE CURRENT GRANTS; -- Tags: create and apply without owning every object GRANT CREATE TAG ON SCHEMA . TO ROLE ; GRANT APPLY TAG ON ACCOUNT TO ROLE ; -- Read existing tag assignments GRANT DATABASE ROLE SNOWFLAKE.GOVERNANCE_VIEWER TO ROLE ; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Snowflake Troubleshooting](/ai-2-0/connectors/database/snowflake/troubleshooting) > > Learn more about how to troubleshoot common Snowflake connector issues and resolve configuration or ingestion errors. # Snowflake Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/snowflake/troubleshooting Fix Snowflake connector issues fast with Collate's troubleshooting guide. Get solutions for common problems, error codes, and connection failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Snowflake User Access Disabled If you encounter the following error when attempting to connect to a Snowflake database: ```yaml theme={null} (snowflake.connector.errors.DatabaseError) 250001 (08001): None: Failed to connect to DB: .snowflakecomputing.com:443. User access disabled. Contact your local system administrator. ``` This indicates that the Snowflake user account used for the connection has been **disabled**. ### Resolution 1. **Log in to Snowflake** using an account with administrative privileges. 2. Run the following SQL command to re-enable the user: ```sql theme={null} ALTER USER SET DISABLED = FALSE; ``` ## No View Lineage Is Processed The lineage agent log shows `Processing View Lineage` and then `Lineage processing completed with 0/0 chunks processed`, and no lineage is created for views, materialized views, or dynamic tables. `0/0` means the agent found no view definitions to process. Check the following: * Run the metadata agent first. The lineage agent reads view and dynamic table definitions from the Collate search index, so the metadata agent must have stored them and the search index must include them. If it doesn't, run a search reindex. For more information, see [Reindexing Search](/ai-2-0/admin-guide/reindexing-search). * Confirm that the views or dynamic tables exist in Collate under the same service name as the lineage agent. * Check the database, schema, and table filter patterns of the lineage agent. Filtered-out views are skipped. * Confirm that **Process View Lineage** is on. If **Incremental Lineage Processing** is on, the agent skips views that it already processed in an earlier run, so a run with nothing new gives `0/0`. * Confirm that the Snowflake role used by the metadata agent can read the definition. If the agent can't fetch a definition, it ingests the table without one, and the lineage agent skips it. # SQLite Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/sqlite/hybrid-runner Connect SQLite to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SQLite](/public/images/connectors/sqlite.webp) # SQLite PROD This section provides guides and references to use the SQLite connector. Configure and schedule SQLite metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/sqlite/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user needs to be able to perform `.tables`, `.schema`, on database you wish to extract metadata from and have `SELECT` permission on the `sqlite_temp_master`. Access to resources will be different based on the connector used. ## Metadata Ingestion To ingest metadata from SQLite, you need to create a service connection. The service connects SQLite with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SQLite** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sqlite.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=34c2b39e5e99ae8aba310dc943c9ebbb) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SQLite services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sqlite.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b0f18f4a811a33cb2a23b0635a0bfc81) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SQLite. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sqlite.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=2cd3fd16c99a0fbec5c01cb268179b75) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Username to connect to SQLite. Blank for in-memory database. * **Password**: Password to connect to SQLite. Blank for in-memory database. * **Host and Port**: Enter the fully qualified hostname and port number for your SQLite deployment in the Host and Port field. * **Database**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. * **Database Mode**: How to run the SQLite database. :memory: by default. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SQLite Troubleshooting](/ai-2-0/connectors/database/sqlite/troubleshooting) > > Learn more about how to troubleshoot common SQLite connector issues and resolve configuration or ingestion errors. # SQLite Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/sqlite/index Learn to configure Collate's SQLite database connector for data cataloging. Step-by-step setup guide with examples and troubleshooting tips. ![SQLite](/public/images/connectors/sqlite.webp) # SQLite PROD This section provides guides and references to use the SQLite connector. Configure and schedule SQLite metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/sqlite/troubleshooting) ## Requirements ### Metadata To extract metadata, the user needs to be able to perform `.tables`, `.schema`, on database you wish to extract metadata from and have `SELECT` permission on the `sqlite_temp_master`. Access to resources will be different based on the connector used. ## Metadata Ingestion To ingest metadata from SQLite, you need to create a service connection. The service connects SQLite with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SQLite** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/sqlite.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=34c2b39e5e99ae8aba310dc943c9ebbb) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SQLite services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/sqlite.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=b0f18f4a811a33cb2a23b0635a0bfc81) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SQLite. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/sqlite.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=2cd3fd16c99a0fbec5c01cb268179b75) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Username to connect to SQLite. Blank for in-memory database. * **Password**: Password to connect to SQLite. Blank for in-memory database. * **Host and Port**: Enter the fully qualified hostname and port number for your SQLite deployment in the Host and Port field. * **Database**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. * **Database Mode**: How to run the SQLite database. :memory: by default. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SQLite Troubleshooting](/ai-2-0/connectors/database/sqlite/troubleshooting) > > Learn more about how to troubleshoot common SQLite connector issues and resolve configuration or ingestion errors. # SQLite Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/sqlite/troubleshooting Solve SQLite connector issues in Collate with our comprehensive troubleshooting guide. Fix connection errors, resolve common problems and optimize performance. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # SSAS Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/ssas/hybrid-runner Connect SSAS to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SSAS](/public/images/connectors/ssas.png) # SSAS BETA This section provides guides and references to use the SSAS connector. Configure and schedule SSAS metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/ssas/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To extract metadata from SSAS, ensure the following requirements are met: * **HTTP Access**: The SSAS service must be accessible via HTTP. You need to grant HTTP access to the SSAS instance. * **Authentication**: HTTP access should be secured using Basic Authentication. Make sure you have a valid username and password with sufficient privileges to access the required models. * **Model Deployment**: The SSAS models you want to ingest must be deployed and available in the SSAS instance. * **Documentation**: For detailed steps on enabling HTTP access and configuring authentication for SSAS, refer to the official SSAS documentation: [SSAS HTTP Access Guide](https://learn.microsoft.com/en-us/analysis-services/instances/configure-http-access-to-analysis-services-on-iis-8-0?view=sql-analysis-services-2025) These steps are necessary to allow the connector to communicate with your SSAS instance and retrieve metadata successfully. ## Metadata Ingestion To ingest metadata from SSAS, you need to create a service connection. The service connects SSAS with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SSAS** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/ssas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=be9c6d636be065962b73ee8fd06b97a5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SSAS services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/ssas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=0406717b83ad6ddd234a7a7dd624cd1e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SSAS. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/ssas.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8fd395f0e8a6a8b3d423dab6e328a342) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **HTTP Connection**: The HTTP endpoint (URL) for accessing your SSAS instance. This should be the address where your SSAS service is exposed for HTTP requests. * **Username**: The username for authenticating to the SSAS HTTP endpoint. This user must have sufficient privileges to access the required models and metadata. * **Password**: The password for the above username. The password is stored securely and used for Basic Authentication. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SSAS Troubleshooting](/ai-2-0/connectors/database/ssas/troubleshooting) > > Learn more about how to troubleshoot common SSAS connector issues and resolve configuration or ingestion errors. # SSAS Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/ssas/index Connect SSAS to Collate with our comprehensive database connector guide. Setup instructions, configuration steps, and metadata extraction tips. ![SSAS](/public/images/connectors/ssas.png) # SSAS BETA This section provides guides and references to use the SSAS connector. Configure and schedule SSAS metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/ssas/troubleshooting) ## Requirements To extract metadata from SSAS, ensure the following requirements are met: * **HTTP Access**: The SSAS service must be accessible via HTTP. You need to grant HTTP access to the SSAS instance. * **Authentication**: HTTP access should be secured using Basic Authentication. Make sure you have a valid username and password with sufficient privileges to access the required models. * **Model Deployment**: The SSAS models you want to ingest must be deployed and available in the SSAS instance. * **Documentation**: For detailed steps on enabling HTTP access and configuring authentication for SSAS, please refer to the official SSAS documentation: [SSAS HTTP Access Guide](https://learn.microsoft.com/en-us/analysis-services/instances/configure-http-access-to-analysis-services-on-iis-8-0?view=sql-analysis-services-2025) These steps are necessary to allow the connector to communicate with your SSAS instance and retrieve metadata successfully. ## Metadata Ingestion To ingest metadata from SSAS, you need to create a service connection. The service connects SSAS with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **SSAS** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/ssas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=be9c6d636be065962b73ee8fd06b97a5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SSAS services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/ssas.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=0406717b83ad6ddd234a7a7dd624cd1e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SSAS. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/ssas.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8fd395f0e8a6a8b3d423dab6e328a342) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **HTTP Connection**: The HTTP endpoint (URL) for accessing your SSAS instance. This should be the address where your SSAS service is exposed for HTTP requests. * **Username**: The username for authenticating to the SSAS HTTP endpoint. This user must have sufficient privileges to access the required models and metadata. * **Password**: The password for the above username. The password is stored securely and used for Basic Authentication. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SSAS Troubleshooting](/ai-2-0/connectors/database/ssas/troubleshooting) > > Learn more about how to troubleshoot common SSAS connector issues and resolve configuration or ingestion errors. # SSAS Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/ssas/troubleshooting Solve SSAS connector issues in Collate with our comprehensive troubleshooting guide. Fix connection errors, resolve common problems and optimize performance. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # StarRocks Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/starrocks/hybrid-runner Connect StarRocks to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![StarRocks](/public/images/connectors/starrocks.webp) # StarRocks BETA This section provides guides and references to use the StarRocks connector. Configure and schedule StarRocks metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/starrocks/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata from StarRocks, the user needs to have: * Valid credentials (username and password) with appropriate permissions * Access to the StarRocks FE (Frontend) host and query port * Privileges to read all the metadata in StarRocks The user should be able to: * Authenticate against the StarRocks FE node * Query schemas and tables via the MySQL-compatible interface * Read table definitions, column types, and view definitions You can find more details about StarRocks authentication in the [official StarRocks documentation](https://docs.starrocks.io/). ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have `SELECT` permission on the tables where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from StarRocks, you need to create a service connection. The service connects StarRocks with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **StarRocks** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/starrocks.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=8b56dde4074d32058a80d575e9ea85a5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other StarRocks services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/starrocks.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d96516e04c52acb7332d7149e7c989d5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for StarRocks. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/starrocks.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d10bb20276f49276c483387126625f37) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Scheme**: SQLAlchemy driver scheme options. Defaults to `mysql+pymysql`. * **Username**: Username to connect to StarRocks. This user should have privileges to read all the metadata in StarRocks. * **Password**: Password to connect to StarRocks. * **Host and Port**: Host and port of the StarRocks FE service (for example, `localhost:9030`). * **Database Name** *(Optional)*: Name to give to the database in Collate. If left blank, `default` will be used. * **Database Schema** *(Optional)*: Restrict metadata reading to a single schema. When left blank, Collate scans all schemas. * **SSL Config** *(Optional)*: SSL certificate configuration for secure connections. * **Schema Filter Pattern** *(Optional)*: Regex to only include/exclude schemas that match the pattern. System schemas (`information_schema`, `_statistics_`, `sys`) are excluded by default. * **Table Filter Pattern** *(Optional)*: Regex to only include/exclude tables that match the pattern. * **Database Filter Pattern** *(Optional)*: Regex to only include/exclude databases that match the pattern. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [StarRocks Troubleshooting](/ai-2-0/connectors/database/starrocks/troubleshooting) > > Learn more about how to troubleshoot common StarRocks connector issues and resolve configuration or ingestion errors. # StarRocks Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/starrocks/index Connect StarRocks to Collate with our comprehensive database connector guide. Step-by-step setup, configuration, and metadata extraction for integration. ![StarRocks](/public/images/connectors/starrocks.webp) # StarRocks BETA This section provides guides and references to use the StarRocks connector. Configure and schedule StarRocks metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Troubleshooting](/ai-2-0/connectors/database/starrocks/troubleshooting) ## Requirements ### Metadata To extract metadata from StarRocks, the user needs to have: * Valid credentials (username and password) with appropriate permissions * Access to the StarRocks FE (Frontend) host and query port * Privileges to read all the metadata in StarRocks The user should be able to: * Authenticate against the StarRocks FE node * Query schemas and tables via the MySQL-compatible interface * Read table definitions, column types, and view definitions You can find more details about StarRocks authentication in the [official StarRocks documentation](https://docs.starrocks.io/). ### Profiler and Data Quality Executing the profiler workflow or data quality tests will require the user to have `SELECT` permission on the tables where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Iceberg Table Support StarRocks supports Iceberg table ingestion in Collate through engine metadata mapping. ### How Table Classification Works * Collate reads table engine metadata from StarRocks system metadata. * Tables whose engine resolves to `ICEBERG` are classified in Collate as `Iceberg`. ### Access Requirements * **Catalog permissions**: Grant read access to database, table, and column metadata in the target StarRocks instance. * **File system permissions**: Direct object storage write permissions are not required for metadata ingestion. Keep read access aligned with your external table and engine configuration. ## Metadata Ingestion To ingest metadata from StarRocks, you need to create a service connection. The service connects StarRocks with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **StarRocks** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/starrocks.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=8b56dde4074d32058a80d575e9ea85a5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other StarRocks services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/starrocks.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d96516e04c52acb7332d7149e7c989d5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for StarRocks. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/starrocks.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d10bb20276f49276c483387126625f37) * **Scheme**: SQLAlchemy driver scheme options. Defaults to `mysql+pymysql`. * **Username**: Username to connect to StarRocks. This user should have privileges to read all the metadata in StarRocks. * **Password**: Password to connect to StarRocks. * **Host and Port**: Host and port of the StarRocks FE service (e.g., `localhost:9030`). * **Database Name** *(Optional)*: Name to give to the database in Collate. If left blank, `default` will be used. * **Database Schema** *(Optional)*: Restrict metadata reading to a single schema. When left blank, Collate scans all schemas. * **SSL Config** *(Optional)*: SSL certificate configuration for secure connections. * **Schema Filter Pattern** *(Optional)*: Regex to only include/exclude schemas that match the pattern. System schemas (`information_schema`, `_statistics_`, `sys`) are excluded by default. * **Table Filter Pattern** *(Optional)*: Regex to only include/exclude tables that match the pattern. * **Database Filter Pattern** *(Optional)*: Regex to only include/exclude databases that match the pattern. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [StarRocks Troubleshooting](/ai-2-0/connectors/database/starrocks/troubleshooting) > > Learn more about how to troubleshoot common StarRocks connector issues and resolve configuration or ingestion errors. # StarRocks Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/starrocks/troubleshooting Troubleshoot StarRocks connector ingestion problems like schema drift or metadata gaps. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Synapse Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/synapse/hybrid-runner Connect Azure Synapse to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Synapse](/public/images/connectors/synapse.webp) # Synapse PROD This section provides guides and references to use the Synapse connector. Configure and schedule Synapse metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/synapse/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Make sure you have allowlisted the ingestion container IP in the Azure SQL firewall rules. For more information, see [Use the Azure Portal to Manage Server-Level IP Firewall Rules](https://learn.microsoft.com/en-us/azure/azure-sql/database/firewall-configure?view=azuresql#use-the-azure-portal-to-manage-server-level-ip-firewall-rules). The Synapse database user must be granted the `SELECT` privilege to fetch the metadata of tables and views. ```sql theme={null} -- Create a new user -- More details https://learn.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql?view=sql-server-ver16 CREATE USER Mary WITH PASSWORD = '********'; -- Grant SELECT on table GRANT SELECT TO Mary; ``` ## Metadata Ingestion To ingest metadata from Synapse, you need to create a service connection. The service connects Synapse with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Synapse** connector tile. ![Select Service](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/select-service.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=fbc0c2c9cb2d38336ef7a6db6d01359c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Synapse services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/add-new-service.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=94fa0e187fdefc44641fd62af468077e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Synapse. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/service-connection.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=338df231acf0652be40e8699d114660f) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Synapse. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Synapse. * **Host and Port**: Enter the fully qualified hostname and port number for your Synapse deployment in the Host and Port field. * **Database**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. * **Driver**: Connecting to Synapse requires ODBC driver to be installed. Specify ODBC driver name in the field. Download the ODBC driver from [Download ODBC Driver for SQL Server](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16). For Docker or Kubernetes deployments, this driver is included with version `ODBC Driver 18 for SQL Server`. **Authentication Mode**: * **Authentication**: * The `authentication` parameter determines the method of authentication when connecting to Synapse using ODBC (Open Database Connectivity). * If you select **"Active Directory Password"**, you'll need to provide the password associated with your Azure Active Directory account. * Alternatively, if you choose **"Active Directory Integrated"**, the connection will use the credentials of the currently logged-in user. This mode ensures secure and seamless connections with Synapse. * **Encrypt**: * The `encrypt` setting in the connection string pertains to data encryption during communication with Synapse. * When enabled, it ensures that data exchanged between your application and the database is encrypted, enhancing security. * **Trust Server Certificate**: * The `trustServerCertificate` option also relates to security. * When set to true, your application will trust the server's SSL certificate without validation. Use this cautiously, as it bypasses certificate validation checks. * **Connection Timeout**: * The `connectionTimeout` parameter specifies the maximum time (in seconds) that your application will wait while attempting to establish a connection to Synapse. * If the connection cannot be established within this timeframe, an error will be raised. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Synapse Troubleshooting](/ai-2-0/connectors/database/synapse/troubleshooting) > > Learn more about how to troubleshoot common Synapse connector issues and resolve configuration or ingestion errors. # Synapse Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/synapse/index Connect Azure Synapse to Collate with our comprehensive database connector guide. Configure metadata extraction, lineage tracking, and profiling in minutes. ![Synapse](/public/images/connectors/synapse.webp) # Synapse PROD This section provides guides and references to use the Synapse connector. Configure and schedule Synapse metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/database/synapse/troubleshooting) ## Requirements Make sure you have allowlisted the ingestion container IP in the Azure SQL firewall rules. For more information, see [Use the Azure Portal to Manage Server-Level IP Firewall Rules](https://learn.microsoft.com/en-us/azure/azure-sql/database/firewall-configure?view=azuresql#use-the-azure-portal-to-manage-server-level-ip-firewall-rules). The Synapse database user must be granted the `SELECT` privilege to fetch the metadata of tables and views. ```sql theme={null} -- Create a new user -- More details https://learn.microsoft.com/en-us/sql/t-sql/statements/create-user-transact-sql?view=sql-server-ver16 CREATE USER Mary WITH PASSWORD = '********'; -- Grant SELECT on table GRANT SELECT TO Mary; ``` ## Metadata Ingestion To ingest metadata from Synapse, you need to create a service connection. The service connects Synapse with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Synapse** connector tile. ![Select Service](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/select-service.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=fbc0c2c9cb2d38336ef7a6db6d01359c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Synapse services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/add-new-service.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=94fa0e187fdefc44641fd62af468077e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Synapse. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/service-connection.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=338df231acf0652be40e8699d114660f) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Synapse. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Synapse. * **Host and Port**: Enter the fully qualified hostname and port number for your Synapse deployment in the Host and Port field. * **Database**: The database of the data source is an optional parameter, if you would like to restrict the metadata reading to a single database. If left blank, Collate ingestion attempts to scan all the databases. * **Driver**: Connecting to Synapse requires ODBC driver to be installed. Specify ODBC driver name in the field. Download the ODBC driver from [Download ODBC Driver for SQL Server](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16). For Docker or Kubernetes deployments, this driver is included with version `ODBC Driver 18 for SQL Server`. **Authentication Mode**: * **Authentication**: * The `authentication` parameter determines the method of authentication when connecting to Synapse using ODBC (Open Database Connectivity). * If you select **"Active Directory Password"**, you'll need to provide the password associated with your Azure Active Directory account. * Alternatively, if you choose **"Active Directory Integrated"**, the connection will use the credentials of the currently logged-in user. This mode ensures secure and seamless connections with Synapse. * **Encrypt**: * The `encrypt` setting in the connection string pertains to data encryption during communication with Synapse. * When enabled, it ensures that data exchanged between your application and the database is encrypted, enhancing security. * **Trust Server Certificate**: * The `trustServerCertificate` option also relates to security. * When set to true, your application will trust the server's SSL certificate without validation. Use this cautiously, as it bypasses certificate validation checks. * **Connection Timeout**: * The `connectionTimeout` parameter specifies the maximum time (in seconds) that your application will wait while attempting to establish a connection to Synapse. * If the connection cannot be established within this timeframe, an error will be raised. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Synapse Troubleshooting](/ai-2-0/connectors/database/synapse/troubleshooting) > > Learn more about how to troubleshoot common Synapse connector issues and resolve configuration or ingestion errors. # Synapse Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/synapse/troubleshooting Troubleshoot Synapse connector issues like permission denial, query errors, or slow ingestion. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the Synapse connector. * **Unknown error connecting with Engine \[...]; An attempt to complete a transaction has failed. No corresponding transaction found. (111214) (SQLEndTran)** This is an exception you can get when trying to connect to Synapse using SQLAlchemy (the internal Collate ingestion library for reaching databases). To solve this issue, you can edit your Service Connection by adding the following **Connection Argument**: * Key: `autocommit` * Value: `true` ![autocommit](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/autocommit.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=e6323e4bd1880c3568e50de5fbb500f2) * **Cannot open server '\[server name]' requested by the login. Client with IP address '\[your IP]' is not allowed to access the server** This is an exception you can get when trying to connect to Synapse using SQLAlchemy (the internal Collate ingestion library for reaching databases). To solve this issue, you need to add your IP address in firewall rules for your Azure SQL instance. ![azure sql firewall rules](https://mintcdn.com/collatedocs/L7psA65ao88vmcRI/public/images/connectors/synapse/azure-firewall.webp?fit=max\&auto=format\&n=L7psA65ao88vmcRI\&q=85\&s=65ea932746cd48a20a8038c57aeb73ed) # Teradata Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/teradata/hybrid-runner Connect Teradata to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Teradata](/public/images/connectors/teradata.webp) # Teradata BETA This section provides guides and references to use the Teradata connector. Configure and schedule Teradata metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality/configure) * [Troubleshooting](/ai-2-0/connectors/database/teradata/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [card] [Collate 1.6 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. Connector was tested on Teradata DBS version 17.20. Since there are no significant changes in metadata objects, so it should work with 15.x, 16.x versions. ### Lineage and Usage Collate 2.0.6 and later reads query lineage and usage from the Teradata Database Query Log (DBQL). To extract them: * Enable query logging with the full SQL text, for example `BEGIN QUERY LOGGING WITH SQL ON ALL;`. Without `WITH SQL`, Teradata logs only the first characters of each query, and Collate can't parse most of them. * Grant the connection user `SELECT` on `DBC.QryLogV` and `DBC.QryLogSQLV`. ```sql theme={null} GRANT SELECT ON DBC.QryLogV TO ; GRANT SELECT ON DBC.QryLogSQLV TO ; ``` ## Metadata Ingestion To ingest metadata from Teradata, you need to create a service connection. The service connects Teradata with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Teradata** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/teradata.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=857adc6794110fe6bc188de67d472eb9) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Teradata services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/teradata.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=411aeeddf254be5c15ee84e3d0dba196) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Teradata. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/teradata.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=98da1f3f6e0e2ece68367d7f99387f9a) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Teradata. * **Password**: Password to connect to Teradata * **Logmech**: Specifies the logon authentication method. Possible values are TD2 (the default), JWT, LDAP, KRB5 for Kerberos, or TDNEGO. * **LOGDATA**: Specifies additional data needed by a logon mechanism, such as a secure token, Distinguished Name, or a domain/realm name. LOGDATA values are specific to each logon mechanism. * **Host and Port**: Enter the fully qualified hostname and port number (default port for Teradata is 1025) for your Teradata deployment in the Host and Port field. * **Transaction Mode**: Specifies the transaction mode for the connection. Possible values are DEFAULT (the default), ANSI, or TERA. * **Teradata Database Account**: Specifies an account string to override the default account string defined for the database user. Accounts are used by the database for workload management and resource usage monitoring. * **Connection Options** and **Connection Arguments**: additional connection parameters. For more information, see [teradatasql](https://pypi.org/project/teradatasql/). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Teradata Troubleshooting](/ai-2-0/connectors/database/teradata/troubleshooting) > > Learn more about how to troubleshoot common Teradata connector issues and resolve configuration or ingestion errors. # Teradata Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/teradata/index Connect Teradata databases to Collate with our comprehensive connector guide. Step-by-step setup, configuration, and metadata extraction instructions. ![Teradata](/public/images/connectors/teradata.webp) # Teradata BETA This section provides guides and references to use the Teradata connector. Configure and schedule Teradata metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality/configure) * [Troubleshooting](/ai-2-0/connectors/database/teradata/troubleshooting) ## Requirements > [card] [Collate 1.6 or later](/ai-2-0/getting-started) > > To deploy Collate, check the Deployment guides. Connector was tested on Teradata DBS version 17.20. Since there are no significant changes in metadata objects, so it should work with 15.x, 16.x versions. ### Lineage and Usage Collate 2.0.6 and later reads query lineage and usage from the Teradata Database Query Log (DBQL). To extract them: * Enable query logging with the full SQL text, for example `BEGIN QUERY LOGGING WITH SQL ON ALL;`. Without `WITH SQL`, Teradata logs only the first characters of each query, and Collate can't parse most of them. * Grant the connection user `SELECT` on `DBC.QryLogV` and `DBC.QryLogSQLV`. ```sql theme={null} GRANT SELECT ON DBC.QryLogV TO ; GRANT SELECT ON DBC.QryLogSQLV TO ; ``` ## Metadata Ingestion To ingest metadata from Teradata, you need to create a service connection. The service connects Teradata with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Teradata** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/teradata.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=857adc6794110fe6bc188de67d472eb9) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Teradata services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/teradata.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=411aeeddf254be5c15ee84e3d0dba196) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Teradata. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/teradata.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=98da1f3f6e0e2ece68367d7f99387f9a) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Teradata. * **Password**: Password to connect to Teradata * **Logmech**: Specifies the logon authentication method. Possible values are TD2 (the default), JWT, LDAP, KRB5 for Kerberos, or TDNEGO. * **LOGDATA**: Specifies additional data needed by a logon mechanism, such as a secure token, Distinguished Name, or a domain/realm name. LOGDATA values are specific to each logon mechanism. * **Host and Port**: Enter the fully qualified hostname and port number (default port for Teradata is 1025) for your Teradata deployment in the Host and Port field. * **Transaction Mode**: Specifies the transaction mode for the connection. Possible values are DEFAULT (the default), ANSI, or TERA. * **Teradata Database Account**: Specifies an account string to override the default account string defined for the database user. Accounts are used by the database for workload management and resource usage monitoring. * **Connection Options** and **Connection Arguments**: additional connection parameters. For more information, see [teradatasql](https://pypi.org/project/teradatasql/). #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Teradata Troubleshooting](/ai-2-0/connectors/database/teradata/troubleshooting) > > Learn more about how to troubleshoot common Teradata connector issues and resolve configuration or ingestion errors. # Teradata Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/teradata/troubleshooting Resolve Collate Teradata connector issues fast with expert troubleshooting guides, common error fixes, and step-by-step solutions for integration. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # TimescaleDB Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/timescale/hybrid-runner Connect TimescaleDB to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![TimescaleDB](/public/images/connectors/timescale.webp) # TimescaleDB BETA This section provides guides and references to use the TimescaleDB connector. Configure and schedule TimescaleDB metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Usage and Lineage considerations](#usage-and-lineage-considerations) * [IAM Authentication](#iam-authentication) * [Metadata Ingestion](#metadata-ingestion) * [Securing TimescaleDB Connection with SSL in Collate](#securing-timescaledb-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/timescale/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: Starting from Collate **version 1.6.5**, support for **Stored Procedures Lineage** has been introduced. This feature enables tracking the relationships and dependencies between stored procedures and other database objects, enhancing lineage visibility and data traceability. > [!TIP] > > **Tip**: TimescaleDB is built on PostgreSQL. Collate supports only the officially supported PostgreSQL versions. For more information, see [PostgreSQL Versioning Policy](https://www.postgresql.org/support/versioning/). ### Usage and Lineage considerations When extracting lineage and usage information from TimescaleDB, Collate bases its findings on the `pg_stat_statements` table. You can find more information about it on the official [docs](https://www.postgresql.org/docs/current/pgstatstatements.html#id-1.11.7.39.6). Another interesting consideration here is explained in the following SO [question](https://stackoverflow.com/questions/50803147/what-is-the-timeframe-for-pg-stat-statements). As a summary: * The `pg_stat_statements` has no time data embedded in it. * It will show all queries from the last reset (one can call `pg_stat_statements_reset()`). Then, when extracting usage and lineage data, the query log duration will have no impact, only the query limit. **Note**: For usage and lineage, grant your user `pg_read_all_stats` permission. ```sql theme={null} GRANT pg_read_all_stats TO your_user; ``` ### IAM Authentication To be able to connect via IAM, you need to have the following: 1. Database is configured to use IAM authentication Ensure that the RDS has IAM DB authentication enabled. In the RDS console, click **Modify** to enable it if it is not already enabled. 2. The user has the necessary IAM permissions Even if you use IAM to connect to TimescaleDB, you need to specify a user to prepare the connection. You need to create a user as follows: ```sql theme={null} CREATE USER iam_user WITH LOGIN; GRANT rds_iam TO iam_user; ``` 3. The AWS Role has the necessary permissions The role that is going to be used to perform the ingestion, needs to have the following permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "rds-db:connect" ], "Resource": [ "arn:aws:rds-db:eu-west-1::dbuser:/" ] } ] } ``` Otherwise, you might be finding issues such as PAM authentication failed for user "user" ## Metadata Ingestion To ingest metadata from TimescaleDB, you need to create a service connection. The service connects TimescaleDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **TimescaleDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/timescale.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=1a8f1d36d61da3b84b9fa1b4dccf6b29) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other TimescaleDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/timescale.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d024573e0e5c7aad8e64a86a2169af26) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for TimescaleDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/timescale.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=655ce979c512508fb6dc0c8784cd4c4a) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to TimescaleDB. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud RDS. * **Basic Auth**: Provide the password to connect to TimescaleDB. * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: Required when interacting with AWS programmatically ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). * **AWS Region**: Required to resolve service endpoints ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). * **AWS Session Token (optional)**: Needed when using temporary credentials ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)). * **Endpoint URL (optional)**: Override the default AWS endpoint if needed ([docs](https://docs.aws.amazon.com/general/latest/gr/rande.html)). * **Profile Name**: Use a named profile other than `default` if desired ([docs](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)). * **Assume Role Arn**: ARN of the role to assume for cross-account access ([docs](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)). * **Assume Role Session Name**: Identifier for the assumed role session ([docs](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Role%20Session%20Name)). * **Assume Role Source Identity**: Source identity for CloudTrail attribution ([docs](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=SourceIdentity)). > [!TIP] > > **Tip**: When using Assume Role authentication, provide the AWS Region and the Assume Role ARN used for ingestion. * **Host and Port**: Enter the fully qualified hostname and port number for your TimescaleDB deployment. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing TimescaleDB Connection with SSL in Collate To establish secure connections between Collate and a TimescaleDB database, you can configure SSL using different SSL modes provided by PostgreSQL, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that TimescaleDB (PostgreSQL) requires only the CA certificate for SSL validation. > [!TIP] > > **Tip**: For IAM authentication, choose the `allow` mode or another SSL mode that fits your requirements. **1. Advanced Configuration** Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. This would only be required to handle advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. ![Advanced Configuration](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/advanced-configuration.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=5c8159f3c92aa4501c116c5f4f2139ae) ## Reverse Metadata * **Description Management**: TimescaleDB supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: TimescaleDB supports owner management at the following levels: * Database level * Schema level * Table level * **Tag Management**: Tag management is not supported for TimescaleDB. * **Custom SQL Template**: TimescaleDB supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update database owner ALTER DATABASE {database} OWNER TO {owner}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * `SUPERUSER` privilege to the user ```sql theme={null} -- Grant superuser privilege to the user ALTER ROLE USER_NAME SUPERUSER; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [TimescaleDB Troubleshooting](/ai-2-0/connectors/database/timescale/troubleshooting) > > Learn more about how to troubleshoot common TimescaleDB connector issues and resolve configuration or ingestion errors. # TimescaleDB Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/timescale/index Connect TimescaleDB to Collate with our comprehensive database connector guide. Step-by-step setup, configuration examples, and metadata extraction tips. ![TimescaleDB](/public/images/connectors/timescale.webp) # TimescaleDB BETA This section provides guides and references to use the TimescaleDB connector. Configure and schedule TimescaleDB metadata and profiler workflows from the Collate UI: * [Hypertable-Aware Profiling](#hypertable-aware-profiling) * [Requirements](#requirements) * [Usage and Lineage considerations](#usage-and-lineage-considerations) * [IAM Authentication](#iam-authentication) * [Metadata Ingestion](#metadata-ingestion) * [Securing TimescaleDB Connection with SSL in Collate](#securing-timescaledb-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/database/timescale/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Hypertable-Aware Profiling Starting from Collate **version 1.12**, the **Data Profiler**, **Data Quality**, and **Auto-Classification** workflows are optimized for TimescaleDB hypertables with compression enabled. ### How It Works When a hypertable has both compressed and uncompressed chunks, Collate automatically restricts all profiling queries to **uncompressed data only**. This avoids the expensive decompression operations that would otherwise be required to scan compressed chunks, significantly reducing CPU usage and memory pressure on the database. For **table-level metrics**, the profiler uses TimescaleDB-specific functions: * `approximate_row_count()` instead of scanning `pg_catalog` for row counts * `hypertable_size()` instead of `pg_total_relation_size()` for size metrics For hypertables without compression or regular PostgreSQL tables, the profiler falls back to standard PostgreSQL behavior. > [!WARNING] > > **Important**: > **Thread count considerations**: Each profiler thread opens a separate database connection. When querying hypertables, each connection acquires locks on the chunks it accesses. Running multiple threads against a hypertable with many chunks can exhaust PostgreSQL's `max_locks_per_transaction` shared memory, resulting in `out of shared memory` errors. If you encounter this error, reduce the `threadCount` in your profiler configuration or increase `max_locks_per_transaction` on the database side. ## Requirements > [!TIP] > > **Tip**: Starting from Collate **version 1.6.5**, support for **Stored Procedures Lineage** has been introduced. This feature enables tracking the relationships and dependencies between stored procedures and other database objects, enhancing lineage visibility and data traceability. > [!TIP] > > **Tip**: TimescaleDB is built on PostgreSQL. Collate supports only the officially supported PostgreSQL versions. For more information, see [PostgreSQL Versioning Policy](https://www.postgresql.org/support/versioning/). ### Usage and Lineage considerations When extracting lineage and usage information from TimescaleDB, Collate bases its findings on the `pg_stat_statements` table. You can find more information about it on the official [docs](https://www.postgresql.org/docs/current/pgstatstatements.html#id-1.11.7.39.6). Another interesting consideration here is explained in the following SO [question](https://stackoverflow.com/questions/50803147/what-is-the-timeframe-for-pg-stat-statements). As a summary: * The `pg_stat_statements` has no time data embedded in it. * It will show all queries from the last reset (one can call `pg_stat_statements_reset()`). Then, when extracting usage and lineage data, the query log duration will have no impact, only the query limit. **Note**: For usage and lineage, grant your user `pg_read_all_stats` permission. ```sql theme={null} GRANT pg_read_all_stats TO your_user; ``` ### IAM Authentication To be able to connect via IAM, you need to have the following: 1. Database is configured to use IAM authentication Ensure that the RDS has IAM DB authentication enabled. In the RDS console, click **Modify** to enable it if it is not already enabled. 2. The user has the necessary IAM permissions Even if you use IAM to connect to TimescaleDB, you need to specify a user to prepare the connection. You need to create a user as follows: ```sql theme={null} CREATE USER iam_user WITH LOGIN; GRANT rds_iam TO iam_user; ``` 3. The AWS Role has the necessary permissions The role that is going to be used to perform the ingestion, needs to have the following permissions: ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "rds-db:connect" ], "Resource": [ "arn:aws:rds-db:eu-west-1::dbuser:/" ] } ] } ``` Otherwise, you might be finding issues such as PAM authentication failed for user "user" ## Metadata Ingestion To ingest metadata from TimescaleDB, you need to create a service connection. The service connects TimescaleDB with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **TimescaleDB** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/timescale.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=1a8f1d36d61da3b84b9fa1b4dccf6b29) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other TimescaleDB services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/timescale.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=d024573e0e5c7aad8e64a86a2169af26) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for TimescaleDB. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/timescale.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=655ce979c512508fb6dc0c8784cd4c4a) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to TimescaleDB. It should have enough privileges to read all the metadata. * **Auth Type**: Basic Auth or IAM based auth to connect to instances / cloud RDS. * **Basic Auth**: Provide the password to connect to TimescaleDB. * **IAM Based Auth**: * **AWS Access Key ID and AWS Secret Access Key**: Required when interacting with AWS programmatically ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). * **AWS Region**: Required to resolve service endpoints ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). * **AWS Session Token (optional)**: Needed when using temporary credentials ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)). * **Endpoint URL (optional)**: Override the default AWS endpoint if needed ([docs](https://docs.aws.amazon.com/general/latest/gr/rande.html)). * **Profile Name**: Use a named profile other than `default` if desired ([docs](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)). * **Assume Role Arn**: ARN of the role to assume for cross-account access ([docs](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)). * **Assume Role Session Name**: Identifier for the assumed role session ([docs](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Role%20Session%20Name)). * **Assume Role Source Identity**: Source identity for CloudTrail attribution ([docs](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=SourceIdentity)). > [!TIP] > > **Tip**: When using Assume Role authentication, provide the AWS Region and the Assume Role ARN used for ingestion. * **Host and Port**: Enter the fully qualified hostname and port number for your TimescaleDB deployment. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, Table, and Stored Procedure sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. * **Stored Procedure**: Controls which stored procedures are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing TimescaleDB Connection with SSL in Collate To establish secure connections between Collate and a TimescaleDB database, you can configure SSL using different SSL modes provided by PostgreSQL, each offering varying levels of security. Under `Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). Note that TimescaleDB (PostgreSQL) requires only the CA certificate for SSL validation. > [!TIP] > > **Tip**: For IAM authentication, choose the `allow` mode or another SSL mode that fits your requirements. **1. Advanced Configuration** Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. This would only be required to handle advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. ![Advanced Configuration](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/advanced-configuration.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=5c8159f3c92aa4501c116c5f4f2139ae) ## Reverse Metadata * **Description Management**: TimescaleDB supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: TimescaleDB supports owner management at the following levels: * Database level * Schema level * Table level * **Tag Management**: Tag management is not supported for TimescaleDB. * **Custom SQL Template**: TimescaleDB supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update database owner ALTER DATABASE {database} OWNER TO {owner}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: * `SUPERUSER` privilege to the user ```sql theme={null} -- Grant superuser privilege to the user ALTER ROLE USER_NAME SUPERUSER; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [TimescaleDB Troubleshooting](/ai-2-0/connectors/database/timescale/troubleshooting) > > Learn more about how to troubleshoot common TimescaleDB connector issues and resolve configuration or ingestion errors. # TimescaleDB Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/timescale/troubleshooting Resolve Collate TimescaleDB connector issues fast with expert troubleshooting guides, common error fixes, and step-by-step solutions for integration. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Trino Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/trino/hybrid-runner Connect Trino to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Trino](/public/images/connectors/trino.webp) # Trino PROD This section provides guides and references to use the Trino connector. Configure and schedule Trino metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/trino/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata, the user needs to be able to have `SELECT` privilege on all the tables that you would like to ingest in Collate as well as `SELECT` privilege `system.metadata.table_comments` table. Access to resources will be based on the user access permission to access specific data sources. For more information, see [Trino Security](https://trino.io/docs/current/security.html). ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Metadata Ingestion To ingest metadata from Trino, you need to create a service connection. The service connects Trino with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Trino** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/trino.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ae307c459b01a848020836a7894a0880) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Trino services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/trino.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=773f661fa3e7ac9d45950a235361eab5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Trino. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/trino.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=51accbdac280c9b0db63449e4fdedd0f) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Trino. It should have enough privileges to read all the metadata. * **Auth Config**: Authenticate the Trino instance with either `Basic Authentication` (password) or `JWT Authentication`. * **Basic Auth**: * **Password**: Password to connect to Trino. * **JWT Auth Config**: * **JWT**: JWT can be used to authenticate with trino. Follow the steps in the [official trino](https://trino.io/docs/current/security/jwt.html) documentation to setup trino with jwt. * **Azure**: * **Client ID**: To get the Client ID (also known as application ID), follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. From the Overview section, copy the `Application (client) ID`. * **Client Secret**: To get the client secret, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. Under `Manage`, select `Certificates & secrets`. 5. Under `Client secrets`, select `New client secret`. 6. In the `Add a client secret` pop-up window, provide a description for your application secret. Choose when the application should expire, and select `Add`. 7. From the `Client secrets` section, copy the string in the `Value` column of the newly created application secret. * **Tenant ID**: To get the tenant ID, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. From the `Overview` section, copy the `Directory (tenant) ID`. * **Scopes**: To let Collate use the Trino Auth APIs using your Azure AD app, you'll need to add the scope 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. From the `Expose an API` section, copy the `Application ID URI` 5. Make sure the URI ends with `/.default` in case it does not, you can append the same manually * **Host and Port**: Enter the fully qualified hostname and port number for your Trino deployment in the Host and Port field. * **Catalog**: Trino offers a catalog feature where all the databases are stored. Enter a catalog name to ingest only that catalog. Leave it blank to ingest every catalog returned by `SHOW CATALOGS` on this Trino service. Each catalog appears in Collate as a database. To limit what is ingested, use the filter patterns in the metadata agent. * **DatabaseSchema**: DatabaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **proxies**: Proxies for the connection to Trino data source * **params**: URL parameters for connection to the Trino data source * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to Trino during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent to Trino during the connection. These details must be added as key-value pairs. * In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a key-value pair as follows: `"authenticator" : "sso_login_url"` #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, the user will have to add the SSL config under **connectionArguments** which is placed in source. #### SSL Modes There are a couple of types of SSL modes that Trino supports which can be added to ConnectionArguments, they are as follows: * **false**: To disable SSL verification, set the `verify` parameter to `False`. * **\**: To use self-signed certificates, specify a path to the certificate in `verify` parameter. Find more details in [the Python requests library documentation](https://requests.readthedocs.io/en/latest/user/advanced.html?highlight=ssl#ssl-cert-verification). #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Trino supports description updates at the following levels: * Table level * Column level * **Owner Management**: Owner management is not supported for Trino. * **Tag Management**: Tag management is not supported for Trino. * **Custom SQL Template**: Trino supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update table description COMMENT ON TABLE "{database}"."{schema}"."{table}" IS {description} ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Trino Troubleshooting](/ai-2-0/connectors/database/trino/troubleshooting) > > Learn more about how to troubleshoot common Trino connector issues and resolve configuration or ingestion errors. # Trino Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/trino/index Configure Collate's Trino database connector to integrate your distributed SQL engine with automated metadata discovery and lineage tracking. ![Trino](/public/images/connectors/trino.webp) # Trino PROD This section provides guides and references to use the Trino connector. Configure and schedule Trino metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Iceberg Table Support](#iceberg-table-support) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/trino/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements ### Metadata To extract metadata, the user needs to be able to have `SELECT` privilege on all the tables that you would like to ingest in Collate as well as `SELECT` privilege `system.metadata.table_comments` table. Access to resources will be based on the user access permission to access specific data sources. For more information, see [Trino Security](https://trino.io/docs/current/security.html). ### Profiler and Data Quality Executing the profiler workflow or data quality tests requires the user to have `SELECT` permission on the tables/schemas where the profiler/tests will be executed. For more information, see [Profiler Workflow](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) and [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality). ## Iceberg Table Support Trino supports Iceberg table ingestion in Collate through catalog connector metadata. ### How Table Classification Works * Collate inspects catalog metadata to identify whether the configured catalog is backed by the Iceberg connector. * If **Catalog** is blank, Collate checks each catalog that it ingests. * Tables from Iceberg-backed catalogs are classified in Collate as `Iceberg`. ### Access Requirements * **Catalog permissions**: Grant access to list catalogs and read system metadata used by Trino for connector discovery. * **File system permissions**: Direct object storage write permissions are not required for metadata ingestion. Keep read access aligned with your configured Iceberg catalog and storage policies. ## Metadata Ingestion To ingest metadata from Trino, you need to create a service connection. The service connects Trino with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Trino** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/trino.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=ae307c459b01a848020836a7894a0880) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Trino services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/trino.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=773f661fa3e7ac9d45950a235361eab5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Trino. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/trino.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=51accbdac280c9b0db63449e4fdedd0f) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Trino. It should have enough privileges to read all the metadata. * **Auth Config**: Authenticate the Trino instance with either `Basic Authentication` (password) or `JWT Authentication`. * **Basic Auth**: * **Password**: Password to connect to Trino. * **JWT Auth Config**: * **JWT**: JWT can be used to authenticate with trino. Follow the steps in the [official trino](https://trino.io/docs/current/security/jwt.html) documentation to setup trino with jwt. * **Azure**: * **Client ID**: To get the Client ID (also known as application ID), follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. From the Overview section, copy the `Application (client) ID`. * **Client Secret**: To get the client secret, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. Under `Manage`, select `Certificates & secrets`. 5. Under `Client secrets`, select `New client secret`. 6. In the `Add a client secret` pop-up window, provide a description for your application secret. Choose when the application should expire, and select `Add`. 7. From the `Client secrets` section, copy the string in the `Value` column of the newly created application secret. * **Tenant ID**: To get the tenant ID, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. From the `Overview` section, copy the `Directory (tenant) ID`. * **Scopes**: To let Collate use the Trino Auth APIs using your Azure AD app, you'll need to add the scope 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for Trino. 4. From the `Expose an API` section, copy the `Application ID URI` 5. Make sure the URI ends with `/.default` in case it does not, you can append the same manually * **Host and Port**: Enter the fully qualified hostname and port number for your Trino deployment in the Host and Port field. * **Catalog**: Trino offers a catalog feature where all the databases are stored. Enter a catalog name to ingest only that catalog. Leave it blank to ingest every catalog returned by `SHOW CATALOGS` on this Trino service. Each catalog appears in Collate as a database. To limit what is ingested, use the filter patterns in the metadata agent. * **DatabaseSchema**: DatabaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **proxies**: Proxies for the connection to Trino data source * **params**: URL parameters for connection to the Trino data source * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to Trino during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent to Trino during the connection. These details must be added as key-value pairs. * In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a key-value pair as follows: `"authenticator" : "sso_login_url"` #### SSL Configuration To integrate SSL in the Metadata Ingestion Config, the user will have to add the SSL config under **connectionArguments** which is placed in source. #### SSL Modes There are a couple of types of SSL modes that Trino supports which can be added to ConnectionArguments, they are as follows: * **false**: To disable SSL verification, set the `verify` parameter to `False`. * **\**: To use self-signed certificates, specify a path to the certificate in `verify` parameter. Find more details in [the Python requests library documentation](https://requests.readthedocs.io/en/latest/user/advanced.html?highlight=ssl#ssl-cert-verification). #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Trino supports description updates at the following levels: * Table level * Column level * **Owner Management**: Owner management is not supported for Trino. * **Tag Management**: Tag management is not supported for Trino. * **Custom SQL Template**: Trino supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Update table description COMMENT ON TABLE "{database}"."{schema}"."{table}" IS {description} ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Trino Troubleshooting](/ai-2-0/connectors/database/trino/troubleshooting) > > Learn more about how to troubleshoot common Trino connector issues and resolve configuration or ingestion errors. # Trino Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/trino/troubleshooting Solve Trino database connector issues in Collate with expert troubleshooting guides, error fixes, and step-by-step solutions for data integration. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Unity Catalog Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/unity-catalog/hybrid-runner Connect Unity Catalog to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Unity Catalog](/public/images/connectors/databrick.webp) # Unity Catalog PROD This section provides guides and references to use the Unity Catalog connector. Configure and schedule Unity Catalog metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/unity-catalog/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Permission Requirement To enable full functionality of metadata extraction, profiling, usage, and lineage features in Collate, the following permissions must be granted to the relevant users in your Databricks environment. ### Metadata and Profiling Permissions These permissions are required on the catalogs, schemas, and tables from which metadata and profiling information will be ingested. ```sql theme={null} GRANT USE CATALOG ON CATALOG TO ``; GRANT USE SCHEMA ON SCHEMA TO ``; GRANT SELECT ON TABLE TO ``; ``` Ensure these grants are applied to all relevant tables for metadata ingestion and profiling operations. ### Usage and Lineage These permissions enable Collate to extract query history and construct lineage information. ```sql theme={null} GRANT SELECT ON SYSTEM.QUERY.HISTORY TO ``; GRANT USE SCHEMA ON SCHEMA system.query TO ``; ``` These permissions allow access to Databricks system tables that track query activity, enabling lineage and usage statistics generation. > [!TIP] > > **Tip**: Adjust \, \, \, and \ according to your specific deployment and security requirements. ## Metadata Ingestion To ingest metadata from Unity Catalog, you need to create a service connection. The service connects Unity Catalog with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Unity Catalog** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/unitycatalog.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a8821415e9df45420523e3a586e56528) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Unity Catalog services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/unitycatalog.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=452dfaf9c2afd85315612c68a521b2f1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Unity Catalog. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/unitycatalog.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d34055057a8aac28029647da7dd60f0c) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Host and Port**: Enter the fully qualified hostname and port number for your Databricks deployment in the Host and Port field. * **Token**: Generated Token to connect to Databricks. * **HTTP Path**: Databricks compute resources URL. * **connectionTimeout**: The maximum amount of time (in seconds) to wait for a successful connection to the data source. If the connection attempt takes longer than this timeout period, an error will be returned. * **Catalog**: Catalog of the data source (for example, `hive_metastore`). This is an optional parameter. Use it to restrict metadata reading to a single catalog. When left blank, Collate ingestion attempts to scan all catalogs. * **DatabaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **Include Metric Views**: Ingest the measures of a Unity Catalog metric view as **Metric** entities, along with the lineage from the tables and views each metric view reads. Enabled by default. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Unity Catalog supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Unity Catalog supports owner management at the following levels: * Database level * Schema level * Table level > [!TIP] > > **Tip**: Unity Catalog does not support to set `null` as owner. > [!NOTE] > > **Note**: Unity Catalog identifies user principals by email, not by username. When reverse ingestion updates a user owner, Collate uses the assigned user's email address when available and falls back to the Collate username otherwise. Collate resolves teams by team name—the team must match an account-level Unity Catalog group. * **Tag Management**: Unity Catalog supports tag management at all levels: * Database level * Schema level * Table level * Column level > [!NOTE] > > **Note**: Unity Catalog only supports tags on a column as a whole. It doesn't support tags on a field nested inside a struct-typed column, such as a field inside a `GeoLocationIDs` struct column. Reverse metadata sync reflects this: > > * A tag applied to a struct-typed column itself syncs normally, like a tag on any other column. > * A tag applied to a field nested inside a struct doesn't sync, and Collate doesn't promote or combine it into the parent column. > * A dropped nested-field tag doesn't raise an error or appear in the Collate UI or run history. When a Collate classification maps to a Unity Catalog governed tag (a tag key restricted to a single value), reverse metadata sync behaves as follows: * Applying two tags from the same classification to a column in one edit triggers a conflict: Collate blocks the sync before sending anything to Unity Catalog and reports the conflict. * Applying two tags from the same classification in separate edits doesn't trigger a conflict: the newer tag value overwrites the older one because Unity Catalog holds only one value per tag key. * Applying a tag value that isn't among the governed tag's allowed values doesn't trigger validation in Collate: Unity Catalog rejects the value, and Collate reports the failure against the column in run history. * **Custom SQL Template**: Unity Catalog supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Set table tags ALTER TABLE {database}.{schema}.{table} SET TAGS {tags}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: ```sql theme={null} -- Catalog grants GRANT USE CATALOG ON CATALOG `` TO ``; GRANT MANAGE ON CATALOG `` TO ``; -- Schema grants GRANT USE SCHEMA ON SCHEMA ``.`` TO ``; GRANT MANAGE ON SCHEMA ``.`` TO ``; GRANT APPLY TAG ON SCHEMA ``.`` TO ``; -- Table grants GRANT MANAGE ON TABLE ``.``.`
` TO ``; GRANT APPLY TAG ON TABLE ``.``.`
` TO ``; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Unity Catalog Troubleshooting](/ai-2-0/connectors/database/unity-catalog/troubleshooting) > > Learn more about how to troubleshoot common Unity Catalog connector issues and resolve configuration or ingestion errors. # Unity Catalog Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/unity-catalog/index Learn how to connect Unity Catalog to Collate with our comprehensive connector guide. Setup instructions, configuration tips, and metadata integration workflows. ![Unity Catalog](/public/images/connectors/databrick.webp) # Unity Catalog PROD This section provides guides and references to use the Unity Catalog connector. Configure and schedule Unity Catalog metadata workflow from the Collate UI: * [Requirements](#requirements) * [Iceberg tables](#iceberg-tables) * [Metadata Ingestion](#metadata-ingestion) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [Lineage](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/lineage) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/unity-catalog/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## How to Run the Connector Externally To run the Ingestion via the UI you'll need to use the OpenMetadata Ingestion Container, which comes shipped with custom Airflow plugins to handle the workflow deployment. If, instead, you want to manage your workflows externally on your preferred orchestrator, you can check the following docs to run the Ingestion Framework **anywhere**. > [card] [External Schedulers](https://docs.open-metadata.org/latest/deployment/ingestion) > > Get more information about running the Ingestion Framework Externally ## Requirements ### Permission Requirement To enable full functionality of metadata extraction, profiling, usage, and lineage features in Collate, the following permissions must be granted to the relevant users in your Databricks environment. ### Metadata and Profiling Permissions These permissions are required on the catalogs, schemas, and tables from which metadata and profiling information will be ingested. ```sql theme={null} GRANT USE CATALOG ON CATALOG TO ``; GRANT USE SCHEMA ON SCHEMA TO ``; GRANT SELECT ON TABLE TO ``; ``` Ensure these grants are applied to all relevant tables for metadata ingestion and profiling operations. ### Usage and Lineage These permissions enable Collate to extract query history and construct lineage information. ```sql theme={null} GRANT SELECT ON SYSTEM.QUERY.HISTORY TO ``; GRANT USE SCHEMA ON SCHEMA system.query TO ``; ``` These permissions allow access to Databricks system tables that track query activity, enabling lineage and usage statistics generation. > [!TIP] > > **Tip**: Adjust \, \, \, and \ according to your specific deployment and security requirements. ## Iceberg Tables Collate reads Unity Catalog metadata through the standard catalog, schema, and table APIs described on this page. If Unity Catalog exposes an Iceberg-backed table through those APIs, use the same Unity Catalog connector workflow described here. This page does not document separate Iceberg-specific configuration, classification, or profiling guarantees for the Unity Catalog connector. Validate behavior in your environment if you rely on Unity Catalog for Iceberg-backed tables. ## Metadata Ingestion To ingest metadata from Unity Catalog, you need to create a service connection. The service connects Unity Catalog with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Unity Catalog** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/unitycatalog.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=a8821415e9df45420523e3a586e56528) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Unity Catalog services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/unitycatalog.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=452dfaf9c2afd85315612c68a521b2f1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Unity Catalog. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/unitycatalog.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=d34055057a8aac28029647da7dd60f0c) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Host and Port**: Enter the fully qualified hostname and port number for your Databricks deployment in the Host and Port field. * **Token**: Generated Token to connect to Databricks. * **HTTP Path**: Databricks compute resources URL. * **connectionTimeout**: The maximum amount of time (in seconds) to wait for a successful connection to the data source. If the connection attempt takes longer than this timeout period, an error will be returned. * **Catalog**: Catalog of the data source (for example, `hive_metastore`). This is an optional parameter. Use it to restrict metadata reading to a single catalog. When left blank, Collate ingestion attempts to scan all catalogs. * **DatabaseSchema**: databaseSchema of the data source. This is an optional parameter. Use it to restrict metadata reading to a single databaseSchema. When left blank, Collate ingestion attempts to scan all schemas. * **Include Metric Views**: Ingest the measures of a Unity Catalog metric view as **Metric** entities, along with the lineage from the tables and views each metric view reads. Enabled by default. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Reverse Metadata * **Description Management**: Unity Catalog supports description updates at all levels: * Database level * Schema level * Table level * Column level * **Owner Management**: Unity Catalog supports owner management at the following levels: * Database level * Schema level * Table level > [!TIP] > > **Tip**: Unity Catalog does not support to set `null` as owner. > [!NOTE] > > **Note**: Unity Catalog identifies user principals by email, not by username. When reverse ingestion updates a user owner, Collate uses the assigned user's email address when available and falls back to the Collate username otherwise. Collate resolves teams by team name—the team must match an account-level Unity Catalog group. * **Tag Management**: Unity Catalog supports tag management at all levels: * Database level * Schema level * Table level * Column level > [!NOTE] > > **Note**: Unity Catalog only supports tags on a column as a whole. It doesn't support tags on a field nested inside a struct-typed column, such as a field inside a `GeoLocationIDs` struct column. Reverse metadata sync reflects this: > > * A tag applied to a struct-typed column itself syncs normally, like a tag on any other column. > * A tag applied to a field nested inside a struct doesn't sync, and Collate doesn't promote or combine it into the parent column. > * A dropped nested-field tag doesn't raise an error or appear in the Collate UI or run history. When a Collate classification maps to a Unity Catalog governed tag (a tag key restricted to a single value), reverse metadata sync behaves as follows: * Applying two tags from the same classification to a column in one edit triggers a conflict: Collate blocks the sync before sending anything to Unity Catalog and reports the conflict. * Applying two tags from the same classification in separate edits doesn't trigger a conflict: the newer tag value overwrites the older one because Unity Catalog holds only one value per tag key. * Applying a tag value that isn't among the governed tag's allowed values doesn't trigger validation in Collate: Unity Catalog rejects the value, and Collate reports the failure against the column in run history. * **Custom SQL Template**: Unity Catalog supports custom SQL templates for metadata changes. The template is interpreted using python f-strings. Here are examples of custom SQL queries for metadata changes: ```sql theme={null} -- Set table tags ALTER TABLE {database}.{schema}.{table} SET TAGS {tags}; ``` The list of variables for custom SQL can be found [here](/ai-2-0/admin-guide/applications/reverse-metadata#custom-sql-templates). * **Requirements for Reverse Metadata**: In addition to the basic ingestion requirements, for reverse metadata ingestion the user needs: ```sql theme={null} -- Catalog grants GRANT USE CATALOG ON CATALOG `` TO ``; GRANT MANAGE ON CATALOG `` TO ``; -- Schema grants GRANT USE SCHEMA ON SCHEMA ``.`` TO ``; GRANT MANAGE ON SCHEMA ``.`` TO ``; GRANT APPLY TAG ON SCHEMA ``.`` TO ``; -- Table grants GRANT MANAGE ON TABLE ``.``.`
` TO ``; GRANT APPLY TAG ON TABLE ``.``.`
` TO ``; ``` For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). ## Troubleshooting > [card] [Unity Catalog Troubleshooting](/ai-2-0/connectors/database/unity-catalog/troubleshooting) > > Learn more about how to troubleshoot common Unity Catalog connector issues and resolve configuration or ingestion errors. # Unity Catalog Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/unity-catalog/troubleshooting Resolve Unity Catalog connector issues quickly with Collate's comprehensive troubleshooting guide. Fix common errors, configuration problems, and connection issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Unity Catalog Connection Details ``` source: type: unitycatalog serviceName: local_unity_catalog serviceConnection: config: catalog: hive_metastore databaseSchema: default token: hostPort: localhost:443 connectionArguments: http_path: sourceConfig: config: type: DatabaseMetadata sink: type: metadata-rest config: {} workflowConfig: openMetadataServerConfig: hostPort: http://localhost:8585/api authProvider: no-auth ``` Here are the steps to get `hostPort`, `token` and `http_path`. First login to Azure Databricks and from the side bar, select SQL Warehouse (in the SQL section). ![Select Sql Warehouse](https://mintcdn.com/collatedocs/VqDQzKrztCMb5uhb/public/images/connectors/unity-catalog/select-sql-warehouse.png?fit=max\&auto=format\&n=VqDQzKrztCMb5uhb\&q=85\&s=603634ce8e25597636cfc3327a4884c6) Now click on sql Warehouse from the SQL Warehouses list. ![Open Sql Warehouse](https://mintcdn.com/collatedocs/VqDQzKrztCMb5uhb/public/images/connectors/unity-catalog/Open-sql-warehouse.png?fit=max\&auto=format\&n=VqDQzKrztCMb5uhb\&q=85\&s=85f4943e0142aa95df763bbdf2e65913) Now inside that page go to Connection details section. In this page Server hostname and Port is your `hostPort`, HTTP path is your `http_path`. ![Connection details](https://mintcdn.com/collatedocs/VqDQzKrztCMb5uhb/public/images/connectors/unity-catalog/Connection-details.png?fit=max\&auto=format\&n=VqDQzKrztCMb5uhb\&q=85\&s=34f2a7bcb764b908098e32c5d6699c11) On the Connection Details page, select Create a personal access token. ![Open create token](https://mintcdn.com/collatedocs/VqDQzKrztCMb5uhb/public/images/connectors/unity-catalog/Open-create-token-page.png?fit=max\&auto=format\&n=VqDQzKrztCMb5uhb\&q=85\&s=8f2b0f3153810b4b10a93685d9804d96) On this page, you can create a new token. ![Generate token](https://mintcdn.com/collatedocs/VqDQzKrztCMb5uhb/public/images/connectors/unity-catalog/Generate-token.png?fit=max\&auto=format\&n=VqDQzKrztCMb5uhb\&q=85\&s=9b6639fdda0545e93db0c870b6972048) # Vertica Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/database/vertica/hybrid-runner Connect Vertica to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Vertica](/public/images/connectors/vertica.webp) # Vertica PROD This section provides guides and references to use the Vertica connector. Configure and schedule Vertica metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/vertica/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Permissions To run the ingestion we need a user with `SELECT` grants on the schemas that you'd like to ingest, as well as to the `V_CATALOG` schema. You can grant those as follows for the schemas in your database: ```sql theme={null} CREATE USER openmetadata IDENTIFIED BY 'password'; GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO openmetadata; GRANT SELECT ON ALL TABLES IN SCHEMA V_CATALOG TO openmetadata; ``` Note that these `GRANT`s won't be applied to any new table created on the schema unless the schema has [Inherited Privileges](https://www.vertica.com/docs/8.1.x/HTML/index.htm#Authoring/AdministratorsGuide/Security/DBUsersAndPrivileges/GrantInheritedPrivileges.htm) ```sql theme={null} ALTER SCHEMA s1 DEFAULT INCLUDE PRIVILEGES; -- If using the PUBLIC schema ALTER SCHEMA ".public" DEFAULT INCLUDE PRIVILEGES; ``` #### Profiler The profiler reads row counts and sizes from `v_monitor.projection_storage`, so the user needs `SELECT` on the `V_MONITOR` schema: ```sql theme={null} GRANT SELECT ON ALL TABLES IN SCHEMA V_MONITOR TO openmetadata; ``` #### Lineage and Usage If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the `V_MONITOR` schema: ```sql theme={null} GRANT SELECT ON ALL TABLES IN SCHEMA V_MONITOR TO openmetadata; ``` Note that this setting might only grant visibility to the queries executed by this user. A more complete approach will be to grant the `SYSMONITOR` role to the `openmetadata` user: ```sql theme={null} GRANT SYSMONITOR TO openmetadata; ALTER USER openmetadata DEFAULT ROLE SYSMONITOR; ``` #### Profiler To run the profiler, it's not enough to have `USAGE` permissions to the schema as we need to `SELECT` the tables in there. Therefore, you'll need to grant `SELECT` on all tables for the schemas: ```sql theme={null} GRANT SELECT ON ALL TABLES IN SCHEMA TO openmetadata; ``` ## Metadata Ingestion To ingest metadata from Vertica, you need to create a service connection. The service connects Vertica with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Vertica** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/vertica.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=43ae0d2cfa96db29daed63e45408a063) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Vertica services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/vertica.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=13dffa04c15a0341d5b04a76eb34a29e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Vertica. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/vertica.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=553d7d3afc0e8623ad3dd257e0a26f0d) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Vertica. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Vertica. * **Host and Port**: Enter the fully qualified hostname and port number for your Vertica deployment in the Host and Port field. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Vertica Troubleshooting](/ai-2-0/connectors/database/vertica/troubleshooting) > > Learn more about how to troubleshoot common Vertica connector issues and resolve configuration or ingestion errors. # Vertica Connector Source: https://docs.getcollate.io/ai-2-0/connectors/database/vertica/index Connect Vertica database to Collate with our comprehensive connector guide. Easy setup, configuration steps, and metadata extraction for your data catalog. ![Vertica](/public/images/connectors/vertica.webp) # Vertica PROD This section provides guides and references to use the Vertica connector. Configure and schedule Vertica metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](/ai-2-0/how-to-guides/data-lineage/workflow) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Data Quality](/ai-2-0/how-to-guides/data-quality-observability/quality) * [dbt Integration](/ai-2-0/connectors/database/dbt) * [Troubleshooting](/ai-2-0/connectors/database/vertica/troubleshooting) ## Requirements ### Permissions To run the ingestion we need a user with `SELECT` grants on the schemas that you'd like to ingest, as well as to the `V_CATALOG` schema. You can grant those as follows for the schemas in your database: ```sql theme={null} CREATE USER openmetadata IDENTIFIED BY 'password'; GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO openmetadata; GRANT SELECT ON ALL TABLES IN SCHEMA V_CATALOG TO openmetadata; ``` Note that these `GRANT`s won't be applied to any new table created on the schema unless the schema has [Inherited Privileges](https://www.vertica.com/docs/8.1.x/HTML/index.htm#Authoring/AdministratorsGuide/Security/DBUsersAndPrivileges/GrantInheritedPrivileges.htm) ```sql theme={null} ALTER SCHEMA s1 DEFAULT INCLUDE PRIVILEGES; -- If using the PUBLIC schema ALTER SCHEMA ".public" DEFAULT INCLUDE PRIVILEGES; ``` #### Profiler The profiler reads row counts and sizes from `v_monitor.projection_storage`, so the user needs `SELECT` on the `V_MONITOR` schema: ```sql theme={null} GRANT SELECT ON ALL TABLES IN SCHEMA V_MONITOR TO openmetadata; ``` #### Lineage and Usage If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the `V_MONITOR` schema: ```sql theme={null} GRANT SELECT ON ALL TABLES IN SCHEMA V_MONITOR TO openmetadata; ``` Note that this setting might only grant visibility to the queries executed by this user. A more complete approach will be to grant the `SYSMONITOR` role to the `openmetadata` user: ```sql theme={null} GRANT SYSMONITOR TO openmetadata; ALTER USER openmetadata DEFAULT ROLE SYSMONITOR; ``` #### Profiler To run the profiler, it's not enough to have `USAGE` permissions to the schema as we need to `SELECT` the tables in there. Therefore, you'll need to grant `SELECT` on all tables for the schemas: ```sql theme={null} GRANT SELECT ON ALL TABLES IN SCHEMA TO openmetadata; ``` ## Metadata Ingestion To ingest metadata from Vertica, you need to create a service connection. The service connects Vertica with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Database Services**, then click the **Vertica** connector tile. ![Select Service](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/select-service/vertica.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=43ae0d2cfa96db29daed63e45408a063) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Vertica services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Database/service-name/vertica.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=13dffa04c15a0341d5b04a76eb34a29e) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Vertica. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/connection-details/vertica.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=553d7d3afc0e8623ad3dd257e0a26f0d) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **Username**: Specify the user to connect to Vertica. It should have enough privileges to read all the metadata. * **Password**: Password to connect to Vertica. * **Host and Port**: Enter the fully qualified hostname and port number for your Vertica deployment in the Host and Port field. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your database service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all databases, schemas, and tables available in the source. #### Filter Options The Database, Schema, and Table sections each include the following filter options: * **Database**: Controls which databases Collate ingests from the source. * **Schema**: Controls which schemas within the ingested databases are included. * **Table**: Controls which tables and views within the ingested schemas are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts schemas, tables, columns, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure core parameters for metadata extraction. The following fields are available: | Field | Default | Description | | - | - | - | | **Default Owner** | — | Owner applied to any entity that has no owner from a more specific field below. Accepts a user or a team, by name or email. | | **Service Owner** | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | **Database Owner** | — | Owner assigned to every database this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per database. | | **Database Schema Owner** | — | Owner assigned to every schema this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per schema. | | **Table Owner** | — | Owner assigned to every table this agent ingests. Accepts either one owner for all of them, or a mapping of specific owners per table. | | **Enable Inheritance** | On | When on, a schema or table with no match of its own inherits the owner resolved for its parent. Default Owner still applies when nothing else resolves an owner. | | **Query Log Duration** | 1 | How many days of query logs to look back through when processing stored procedure results. | | **Query Parsing Timeout Limit** | 300 | How many seconds to spend parsing a single query before giving up on it and moving to the next. Raise this if large or complex queries are being skipped. | | **Number of Threads** | 1 | How many tables to ingest in parallel. Raising this can speed up ingestion on databases with many tables, at the cost of more load on the source. | | **Incremental Extraction** | Off | When on, a run extracts only entities that changed since the last successful run, instead of re-scanning everything every time. Faster on large, mostly-unchanged databases. | | **Successful Pipeline Run Lookback Days** | 7 | Only used when Incremental Extraction is on. How many days back to search for a prior successful run to use as the starting point for "what changed since then." | | **Safety Margin Days** | 1 | Only used when Incremental Extraction is on. Extra days added before that starting point, as a buffer so changes that were still in flight when the last run finished aren't missed. | | **Extract JSON Schema** | Off | Sample values in JSON columns to infer and ingest their schema, so the individual fields inside a JSON column are visible in Collate rather than just "JSON". Requires `SELECT` permission on the sampled tables; if that permission is missing, the JSON column is still ingested, just without a detailed schema. | | **JSON Schema Sample Size** | 10 | Only used when Extract JSON Schema is on. Number of rows sampled per JSON column to infer its schema. A larger sample gives more accurate results but takes longer to run. | For more information, see [Hierarchical Owner Configuration](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows/metadata/hierarchical-owner-configuration). ![Agent Setup](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-agent-setup.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=429839e5b479082a6909dd2a7734513d) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-filter-pattern.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=8a0c5fcc3475acf8acc94e6eecb55a11) * **Scope & Behaviour**: Control how the agent handles metadata during ingestion. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | **Include Tables** | On | Ingest tables and their columns. Turn off to skip tables entirely, for example if this agent exists only to pull tags or stored procedures. | | **Include Tags** | On | Ingest tags already defined on tables/columns in the source system (for example, a classification tag applied in Snowflake) and bring them into Collate as tags on the same assets. | | **Include Stored Procedures** | On | Ingest stored procedures as their own assets, so they show up in the catalog and can be linked into lineage. | | **Include DDL Statements** | Off | Also ingest the raw `CREATE TABLE` / `CREATE VIEW` statement for each asset, so it's viewable in Collate alongside the asset's metadata. | | **Include Owners** | Off | When an ingested asset's owner in the source system is an email that matches an existing Collate user, assign that user as the asset's owner. Never overwrites an owner an asset already has in Collate. | | **Include Custom Properties** | Off | Ingest source-specific metadata that doesn't map to a standard Collate field (for example, a database-specific attribute) into custom properties on the asset, if custom properties have been defined for that entity type. | | **Mark Deleted Tables** | On | If a table this agent previously ingested no longer exists in the source, soft-delete it in Collate too. Only affects tables within schemas this agent actually scans. | | **Mark Deleted Stored Procedures** | On | Same as Mark Deleted Tables, but for stored procedures. | | **Mark Deleted Schemas** | Off | If an entire schema this agent previously ingested no longer exists in the source, soft-delete the schema and everything in it. | | **Mark Deleted Databases** | Off | If an entire database this agent previously ingested no longer exists in the source, soft-delete the database and everything in it. | | **Override Metadata** | Off | On: values from the source (descriptions, tags, owners, display names) overwrite what's currently in Collate, even if someone edited it there. A description or display name that the source doesn't send never replaces an existing value, and existing table constraints are kept when the source sends none. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. Off: Collate only fills in fields that are still empty, so manual edits in Collate are preserved. | | **Enable Debug Log** | Off | Run this ingestion at DEBUG log verbosity instead of the normal level. Turn on when troubleshooting a failing or unexpected run; leave off otherwise, since debug logs are much larger. | > [!NOTE] > > **Note**: Available toggles vary by connector. Stored procedure options only appear for connectors that support stored procedures. ![Scope & Behaviour](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-scope-behaviour.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=6ada5b2870c990f494d1dac400e73459) * **Advanced Config**: Driver-level options (connection arguments, scheme, and timeouts). Most connections never need these, and they vary by connector. This section also has one ingestion-scope toggle: | Toggle | Default | Description | | - | - | - | | **Include Views** | On | Ingest views in addition to tables. Turn off to skip views entirely. Because view lineage is derived from parsing each view's SQL definition, turning this off also stops view-based lineage from being generated for this service. | ![Advanced Config](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Database/database-advance.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=63ef86d9e746b6d31f0571b599792357) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule. Trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Vertica Troubleshooting](/ai-2-0/connectors/database/vertica/troubleshooting) > > Learn more about how to troubleshoot common Vertica connector issues and resolve configuration or ingestion errors. # Vertica Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/database/vertica/troubleshooting Fix Vertica database connection issues with Collate's comprehensive troubleshooting guide. Get step-by-step solutions for common errors and problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. Learn how to resolve the most common problems people encounter in the Vertica connector. ## Profiler: New Session Rejected If you see the following error when computing the profiler `New session rejected due to limit, already XYZ sessions active`, it means that the number of threads configured in the profiler workflow is exceeding the connection limits of your Vertica instance. Note that by default the profiler runs with 5 threads. In case you see this error, you might need to reduce this number. # Redash Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/redash/troubleshooting Solve Redash connector issues in Collate with expert troubleshooting guides. Fix connection errors, data sync problems, and configuration issues fast. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Rill Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/rill/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from Rill dashboards to Collate. ![Rill](/public/images/connectors/rill.svg) # Rill PROD This section provides guides and references to use the Rill connector. Configure and schedule Rill metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/rill/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The Rill connector reads metadata from a Rill runtime over its REST API. It works with both deployment styles: * **Rill Developer**: A local or self-hosted Rill runtime. Point **Host and Port** at the runtime URL, for example `http://localhost:9009`. An API token is optional. * **Rill Cloud**: A hosted project. Point **Host and Port** at the project endpoint, for example `https://api.rilldata.com/v1/orgs//projects/`. An **API Token** is required. The connector does not support Rill Cloud branch-level routing yet. If your project URL includes a `/branch/` segment, remove it before configuring the connection. The token must have read access to the project's resources. Collate uses that access to list the following: * Dashboards, including Explore and Canvas dashboards * Charts, including Canvas components * Data models, including SQL models and metrics views * Relationships between these assets Project metadata is available for Rill Cloud only. A Rill Developer runtime does not expose a project. ## Metadata Ingestion To ingest metadata from Rill, you need to create a service connection. The service connects Rill with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Rill** connector tile. ![Select Service](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/rill.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=90c9d5ec84b4131e893a4d8e1b33eba3) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Rill services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/rill.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=1eeb07f52285ccc062893c2986866573) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Rill. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/TziiHwnsW6ykFomC/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/rill.png?fit=max\&auto=format\&n=TziiHwnsW6ykFomC\&q=85\&s=677bc7dce0f2bd8a0fe8b967cdafa491) * **Host and Port**: URL of a Rill Developer runtime or a Rill Cloud project endpoint. For a local Rill Developer runtime, use something like `http://localhost:9009`. For Rill Cloud, use the project endpoint, for example `https://api.rilldata.com/v1/orgs//projects/`. * **API Token** *(optional)*: API token used to authenticate with Rill. Required for Rill Cloud. Optional for a Rill Developer runtime that does not require authentication. * **Verify SSL** *(optional)*: Whether to verify SSL certificates when connecting to Rill. Defaults to `true`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which dashboards, charts, and data models Collate ingests from the source. #### How Filter Rules Work Each rule matches asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When include and exclusion rules both match an asset, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all dashboards, charts, and data models available in the source. #### Filter Options The **Dashboard**, **Chart**, and **Data Model** sections control ingestion for the corresponding asset type. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Rill Troubleshooting](/ai-2-0/connectors/dashboard/rill/troubleshooting) > > Learn more about how to troubleshoot common Rill connector issues and resolve configuration or ingestion errors. # Rill Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/rill/index Connect Rill to Collate with our dashboard connector guide. Ingest Explore and Canvas dashboards, charts, data models, and lineage. ![Rill](/public/images/connectors/rill.svg) # Rill PROD This section provides guides and references to use the Rill connector. Configure and schedule Rill metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/rill/troubleshooting) ## Requirements The Rill connector reads metadata from a Rill runtime over its REST API. It works with both deployment styles: * **Rill Developer**: A local or self-hosted Rill runtime. Point **Host and Port** at the runtime URL, for example `http://localhost:9009`. An API token is optional. * **Rill Cloud**: A hosted project. Point **Host and Port** at the project endpoint, for example `https://api.rilldata.com/v1/orgs//projects/`. An **API Token** is required. The connector does not support Rill Cloud branch-level routing yet. If your project URL includes a `/branch/` segment, remove it before configuring the connection. The token must have read access to the project's resources. Collate uses that access to list the following: * Dashboards, including Explore and Canvas dashboards * Charts, including Canvas components * Data models, including SQL models and metrics views * Relationships between these assets Project metadata is available for Rill Cloud only. A Rill Developer runtime does not expose a project. ## Metadata Ingestion To ingest metadata from Rill, you need to create a service connection. The service connects Rill with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Rill** connector tile. ![Select Service](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/rill.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=90c9d5ec84b4131e893a4d8e1b33eba3) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Rill services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/i_DqmtzSvEWwydvF/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/rill.png?fit=max\&auto=format\&n=i_DqmtzSvEWwydvF\&q=85\&s=1eeb07f52285ccc062893c2986866573) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Rill. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/TziiHwnsW6ykFomC/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/rill.png?fit=max\&auto=format\&n=TziiHwnsW6ykFomC\&q=85\&s=677bc7dce0f2bd8a0fe8b967cdafa491) * **Host and Port**: URL of a Rill Developer runtime or a Rill Cloud project endpoint. For a local Rill Developer runtime, use something like `http://localhost:9009`. For Rill Cloud, use the project endpoint, for example `https://api.rilldata.com/v1/orgs//projects/`. * **API Token** *(optional)*: API token used to authenticate with Rill. Required for Rill Cloud. Optional for a Rill Developer runtime that does not require authentication. * **Verify SSL** *(optional)*: Whether to verify SSL certificates when connecting to Rill. Defaults to `true`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which dashboards, charts, and data models Collate ingests from the source. #### How Filter Rules Work Each rule matches asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When include and exclusion rules both match an asset, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all dashboards, charts, and data models available in the source. #### Filter Options The **Dashboard**, **Chart**, and **Data Model** sections control ingestion for the corresponding asset type. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Rill Troubleshooting](/ai-2-0/connectors/dashboard/rill/troubleshooting) > > Learn more about how to troubleshoot common Rill connector issues and resolve configuration or ingestion errors. # Rill Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/rill/troubleshooting Troubleshoot Rill connector issues in Collate, including connection failures, authentication errors, and missing dashboards or lineage. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Rill-Specific Issues The following issues are specific to the Rill connector. ### Connection Fails Against a Rill Cloud Project Rill Cloud requires authentication. If the test connection fails with an authorization error, confirm that an **API Token** is set and that it has read access to the project's resources. For a Rill Cloud project, **Host and Port** must point at the project endpoint, for example `https://api.rilldata.com/v1/orgs//projects/`. ### Branch-Level Routing Is Not Supported The connector does not support Rill Cloud branch-level routing yet. If your project URL includes a `/branch/` segment, remove it so **Host and Port** ends at the project (`.../projects/`). ### No Dashboards, Charts, or Data Models Are Ingested * Confirm the token has read access to the project's resources. * Check your filter rules. Overly broad exclusion rules, or include rules in **Only specific** mode, can filter out every dashboard, chart, or data model. Rill exposes charts as the components used by **Canvas** dashboards. **Explore** dashboards do not define standalone components, so a project with only Explore dashboards produces no separate chart entities. ### Lineage to Source Tables Is Missing Model-to-table lineage resolves a Rill model's SQL against tables already ingested in Collate. Make sure the upstream database service has been ingested first, and that the data model workflow is enabled so models and metrics views are extracted. # SAP S/4HANA Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/saps4hana/hybrid-runner Connect SAP S/4HANA to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SAP S/4HANA](/public/images/connectors/saps4hana.png) # SAP S/4HANA BETA This section provides guides and references to use the SAP S/4HANA connector. Configure and schedule SAP S/4HANA metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/saps4hana/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The SAP S/4HANA connector ingests metadata from: * **Fiori OVP (Overview Page) Applications**: mapped as dashboards, with embedded KPI tiles and analytical cards mapped as charts. * **CDS-based Analytical Views**: discovered through the OData Gateway Catalog and mapped as data models. The configured user account must have read access to: * The **Fiori App Index** (`/sap/bc/ui2/app_index/`) for OVP application descriptors. * The **SAP Gateway Catalog** (`/sap/opu/odata/IWFND/CATALOGSERVICE`) to enumerate registered OData services. * Individual **OData service `$metadata` endpoints** for CDS analytical views. ## Metadata Ingestion To ingest metadata from SAP S/4HANA, you need to create a service connection. The service connects SAP S/4HANA with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **SAP S/4HANA** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/saps4hana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=aa79b9caab883ad46c83f678ffa83b0f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP S/4HANA services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/saps4hana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=46fbc302b2cd36fc7ada3cbc65066716) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP S/4HANA. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/saps4hana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=54c7b9c3c8a921ac950741d69e0cc70c) **Connection** * **Host and Port**: Base URL of your SAP S/4HANA instance, including the protocol and port if non-standard. For example, on-premise: `https://my-s4hana.company.com:8443`; cloud: `https://my-tenant.s4hana.ondemand.com`. **Authentication**: choose one **Authentication Type**: * **Basic Auth**: * **Username**: SAP dialog user account used to authenticate. The user must have the roles required to access the Fiori App Index and OData Gateway Catalog. * **Password**: Password for the SAP user account. * **OAuth 2.0 Client Credentials**: * **Client ID**: OAuth2 client ID registered on your SAP system. * **Client Secret**: OAuth2 client secret for the client ID above. * **Token Endpoint**: The OAuth2 token endpoint URL used to request an access token. > [!NOTE] > > **Note**: Only the selected authentication method's credentials are stored per connection. Switching methods discards the other. **Scope & Options** * **Client Number**: The SAP client (Mandant) number to connect to. Defaults to `100`. In SAP, a client is a self-contained organizational unit within the system with its own master data and configuration. Use the client number provided by your SAP Basis administrator. * **Verify SSL**: Client SSL verification mode. Use `no-ssl` for plain HTTP, `ignore` to skip certificate validation, or `validate` to verify against a CA certificate. Configure the certificate fields under **Advanced Config** when using `validate`. **Advanced Config** *(driver-level options; most connections don't need these)* * **CA Certificate**: The CA certificate (PEM format) used to validate the SAP server's SSL certificate. * **SSL Certificate**: Client SSL certificate (PEM format) for mutual TLS authentication, if required by your SAP installation. * **SSL Key**: Private key (PEM format) corresponding to the client SSL certificate. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards (Fiori OVP apps) Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. * **Data Model**: Controls which data models (CDS analytical views) are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP S/4HANA Troubleshooting](/ai-2-0/connectors/dashboard/saps4hana/troubleshooting) > > Learn more about how to troubleshoot common SAP S/4HANA connector issues and resolve configuration or ingestion errors. # SAP S/4HANA Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/saps4hana/index Connect SAP S/4HANA to Collate with our comprehensive dashboard connector guide. Setup instructions, configuration tips, and metadata extraction made simple. ![SAP S/4HANA](/public/images/connectors/saps4hana.png) # SAP S/4HANA BETA This section provides guides and references to use the SAP S/4HANA connector. Configure and schedule SAP S/4HANA metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/saps4hana/troubleshooting) ## Requirements The SAP S/4HANA connector ingests metadata from: * **Fiori OVP (Overview Page) Applications**: mapped as dashboards, with embedded KPI tiles and analytical cards mapped as charts. * **CDS-based Analytical Views**: discovered through the OData Gateway Catalog and mapped as data models. The configured user account must have read access to: * The **Fiori App Index** (`/sap/bc/ui2/app_index/`) for OVP application descriptors. * The **SAP Gateway Catalog** (`/sap/opu/odata/IWFND/CATALOGSERVICE`) to enumerate registered OData services. * Individual **OData service `$metadata` endpoints** for CDS analytical views. ## Metadata Ingestion To ingest metadata from SAP S/4HANA, you need to create a service connection. The service connects SAP S/4HANA with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **SAP S/4HANA** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/saps4hana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=aa79b9caab883ad46c83f678ffa83b0f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SAP S/4HANA services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/saps4hana.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=46fbc302b2cd36fc7ada3cbc65066716) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SAP S/4HANA. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/saps4hana.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=54c7b9c3c8a921ac950741d69e0cc70c) **Connection** * **Host and Port**: Base URL of your SAP S/4HANA instance, including the protocol and port if non-standard. For example, on-premise: `https://my-s4hana.company.com:8443`; cloud: `https://my-tenant.s4hana.ondemand.com`. **Authentication**: choose one **Authentication Type**: * **Basic Auth**: * **Username**: SAP dialog user account used to authenticate. The user must have the roles required to access the Fiori App Index and OData Gateway Catalog. * **Password**: Password for the SAP user account. * **OAuth 2.0 Client Credentials**: * **Client ID**: OAuth2 client ID registered on your SAP system. * **Client Secret**: OAuth2 client secret for the client ID above. * **Token Endpoint**: The OAuth2 token endpoint URL used to request an access token. > [!NOTE] > > **Note**: Only the selected authentication method's credentials are stored per connection. Switching methods discards the other. **Scope & Options** * **Client Number**: The SAP client (Mandant) number to connect to. Defaults to `100`. In SAP, a client is a self-contained organizational unit within the system with its own master data and configuration. Use the client number provided by your SAP Basis administrator. * **Verify SSL**: Client SSL verification mode. Use `no-ssl` for plain HTTP, `ignore` to skip certificate validation, or `validate` to verify against a CA certificate. Configure the certificate fields under **Advanced Config** when using `validate`. **Advanced Config** *(driver-level options; most connections don't need these)* * **CA Certificate**: The CA certificate (PEM format) used to validate the SAP server's SSL certificate. * **SSL Certificate**: Client SSL certificate (PEM format) for mutual TLS authentication, if required by your SAP installation. * **SSL Key**: Private key (PEM format) corresponding to the client SSL certificate. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards (Fiori OVP apps) Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. * **Data Model**: Controls which data models (CDS analytical views) are included in metadata ingestion. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SAP S/4HANA Troubleshooting](/ai-2-0/connectors/dashboard/saps4hana/troubleshooting) > > Learn more about how to troubleshoot common SAP S/4HANA connector issues and resolve configuration or ingestion errors. # SAP S/4HANA Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/saps4hana/troubleshooting Troubleshoot SAP S/4HANA connector issues related to authentication, access, or ingestion errors. ### Common Issues The following sections cover the most frequent SAP S/4HANA connector problems. #### Authentication Failures * For **Basic Auth**, verify the SAP user account is active and has the roles required to access the Fiori App Index and OData Gateway Catalog. * For **OAuth 2.0 Client Credentials**, verify the Client ID and Client Secret are correct and that the Token Endpoint is reachable from the ingestion runner. #### Missing Dashboards or Data Models * Confirm the user has read access to `/sap/bc/ui2/app_index/` (Fiori App Index) for dashboards, and `/sap/opu/odata/IWFND/CATALOGSERVICE` (SAP Gateway Catalog) for CDS analytical views. * Check the Dashboard and Data Model filter patterns for rules that might be excluding the assets you expect to see. #### Connection Timeouts * Verify the **Host and Port** URL is correct and reachable from the ingestion runner. * If your SAP instance requires mutual TLS, set **Verify SSL** to `validate` and provide the CA certificate, SSL certificate, and SSL key under **Advanced Config**. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Sigma Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/sigma/hybrid-runner Connect Sigma Analytics to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Sigma](/public/images/connectors/sigma.webp) # Sigma PROD This section provides guides and references to use the Sigma connector. Configure and schedule Sigma metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/sigma/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate relies on Sigma's REST API. For more information, see the [Sigma API Get Started docs](https://help.sigmacomputing.com/reference/get-started-sigma-api#about-the-api). To [generate API client credentials](https://help.sigmacomputing.com/reference/generate-client-credentials#user-requirements), you must be assigned the Admin account type. ## Metadata Ingestion To ingest metadata from Sigma, you need to create a service connection. The service connects Sigma with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Sigma** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/sigma.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=ea0f13cdce5bc30857f33602d9a1dcb6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Sigma services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/sigma.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=cc66364829ce0e71bd7f29794b5b7d36) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Sigma. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/sigma.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=db43951de35f3eac61b706a6a1e58a44) * **hostPort**: Host and port for the Sigma REST API. The hostPort parameter specifies the host and port of the Sigma API request URL. This should be specified as a string in the format `https://aws-api.sigmacomputing.com`. The Sigma API request URL varies according to the Sigma cloud. For more information, see [identifying your API request URL](https://help.sigmacomputing.com/reference/get-started-sigma-api#identify-your-api-request-url). * **clientId**: Client ID for the Sigma REST API. Get the Client ID and Client Secret by following the steps below: 1. Navigate to your Sigma homepage. 2. Click on Administration in the lower left corner. 3. Click on Developer Access. 4. To generate a new Client ID and Client Secret, click `Create New` in the upper left corner. 5. Enter the required details. 6. Click `Create`. 7. Copy the generated access token and password. For more information, see [generating API client credentials](https://help.sigmacomputing.com/reference/generate-client-credentials#generate-api-client-credentials). * **clientSecret**: Client Secret for the Sigma REST API. Copy the access token password from the step above where the new token is generated. For more information, see [generating API client credentials](https://help.sigmacomputing.com/reference/generate-client-credentials#generate-api-client-credentials). * **apiVersion**: Sigma REST API version. Defaults to `v2`. To find the Sigma REST API version, see [identifying your API request URL](https://help.sigmacomputing.com/reference/get-started-sigma-api#identify-your-api-request-url) and look at the `Token URL` section. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Sigma Troubleshooting](/ai-2-0/connectors/dashboard/sigma/troubleshooting) > > Learn more about how to troubleshoot common Sigma connector issues and resolve configuration or ingestion errors. # Sigma Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/sigma/index Connect Sigma Analytics to Collate seamlessly. Learn how to configure the Sigma dashboard connector for automated metadata extraction and lineage tracking. ![Sigma](/public/images/connectors/sigma.webp) # Sigma PROD This section provides guides and references to use the Sigma connector. Configure and schedule Sigma metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/sigma/troubleshooting) ## Requirements Collate relies on Sigma's REST API. For more information, see the [Sigma API Get Started docs](https://help.sigmacomputing.com/reference/get-started-sigma-api#about-the-api). To [generate API client credentials](https://help.sigmacomputing.com/reference/generate-client-credentials#user-requirements), you must be assigned the Admin account type. ## Metadata Ingestion To ingest metadata from Sigma, you need to create a service connection. The service connects Sigma with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Sigma** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/sigma.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=ea0f13cdce5bc30857f33602d9a1dcb6) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Sigma services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/sigma.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=cc66364829ce0e71bd7f29794b5b7d36) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Sigma. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/sigma.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=db43951de35f3eac61b706a6a1e58a44) * **hostPort**: Host and port for the Sigma REST API. The hostPort parameter specifies the host and port of the Sigma API request URL. This should be specified as a string in the format `https://aws-api.sigmacomputing.com`. The Sigma API request URL varies according to the Sigma cloud. For more information, see [identifying your API request URL](https://help.sigmacomputing.com/reference/get-started-sigma-api#identify-your-api-request-url). * **clientId**: Client ID for the Sigma REST API. Get the Client ID and Client Secret by following the steps below: 1. Navigate to your Sigma homepage. 2. Click on Administration in the lower left corner. 3. Click on Developer Access on the left side. 4. To generate a new Client ID and Client Secret, click `Create New` in the upper left corner. 5. Enter the required details. 6. Click `Create`. 7. Copy the generated access token and password. For more information, see [generating API client credentials](https://help.sigmacomputing.com/reference/generate-client-credentials#generate-api-client-credentials). * **clientSecret**: Client Secret for the Sigma REST API. Copy the access token password from the step above where the new token is generated. For more information, see [generating API client credentials](https://help.sigmacomputing.com/reference/generate-client-credentials#generate-api-client-credentials). * **apiVersion**: Sigma REST API version. Defaults to `v2`. To find the Sigma REST API version, see [identifying your API request URL](https://help.sigmacomputing.com/reference/get-started-sigma-api#identify-your-api-request-url) and look at the `Token URL` section. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [Sigma Troubleshooting](/ai-2-0/connectors/dashboard/sigma/troubleshooting) > > Learn more about how to troubleshoot common Sigma connector issues and resolve configuration or ingestion errors. # Sigma Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/sigma/troubleshooting Fix Sigma dashboard connector issues fast with Collate's troubleshooting guide. Solve common errors, connection problems, and data sync issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # SSRS Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/ssrs/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from SSRS dashboards to Collate. ![SSRS](/public/images/connectors/ssrs.webp) # SSRS PROD This section provides guides and references to use the SSRS connector. Configure and schedule SSRS metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/ssrs/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The SSRS connector uses the [SSRS REST API](https://docs.microsoft.com/en-us/sql/reporting-services/developer/rest-api) (v2.0) and authenticates via **Windows Authentication (NTLM)**. The account used must have at minimum **Browser** role on the SSRS Report Server to list folders and reports. > [!NOTE] > > The SSRS REST API (v2.0) requires **SQL Server Reporting Services 2017 or later**. Older SSRS versions using SOAP-based web services are not supported. To grant the required role: 1. Open the **SSRS Web Portal**. 2. Navigate to **Site Settings** > **Security** > **New Role Assignment**. 3. Add the service account and assign the **Browser** role. ## Metadata Ingestion To ingest metadata from SSRS, you need to create a service connection. The service connects SSRS with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **SSRS** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/ssrs.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=cbd06ac960017347522e721bf65657b9) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SSRS services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/ssrs.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=549605cfbc649b9ca936867bc79f1cec) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SSRS. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/ssrs.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=71c469548749b2d1886bb086cb40e3be) * **Host and Port**: The base URL of your SSRS web portal, for example, `https://your-ssrs-server/Reports`. The connector appends `/api/v2.0` to this URL when calling the REST API. Use the web portal path (default `/Reports`), not the Report Server SOAP/URL-access endpoint (`/ReportServer`). The `/ReportServer` endpoint returns HTML, so the connector fails with `Failed to connect to SSRS: Expecting value: line 1 column 1 (char 0)`. * **Username**: The Windows account username for NTLM authentication. Use `DOMAIN\username` format for domain accounts. * **Password**: Password for the Windows account used for NTLM authentication. * **Verify SSL** *(optional)*: Controls SSL certificate verification. Options: * `no-ssl` (default) — No SSL * `ignore` — SSL without certificate validation * `validate` — Full SSL certificate validation * **SSL Configuration** *(optional)*: Required when `verifySSL` is set to `validate`. Provide the CA certificate to verify the SSRS server's SSL certificate. * **Dashboard Filter Pattern** *(optional)*: Regex to include or exclude specific SSRS reports by name. * **Chart Filter Pattern** *(optional)*: Regex to include or exclude charts by name. * **Project Filter Pattern** *(optional)*: Regex to include or exclude SSRS folders (which map to Collate projects) by name. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SSRS Troubleshooting](/ai-2-0/connectors/dashboard/ssrs/troubleshooting) > > Learn more about how to troubleshoot common SSRS connector issues and resolve configuration or ingestion errors. # SSRS Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/ssrs/index Connect SQL Server Reporting Services (SSRS) to Collate with our comprehensive dashboard connector guide. Step-by-step setup, configuration examples, and metadata extraction tips. ![SSRS](/public/images/connectors/ssrs.webp) # SSRS PROD This section provides guides and references to use the SSRS connector. Configure and schedule SSRS metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/dashboard/ssrs/troubleshooting) ## Requirements The SSRS connector uses the [SSRS REST API](https://docs.microsoft.com/en-us/sql/reporting-services/developer/rest-api) (v2.0) and authenticates via **Windows Authentication (NTLM)**. The account used must have at minimum **Browser** role on the SSRS Report Server to list folders and reports. > [!NOTE] > > The SSRS REST API (v2.0) requires **SQL Server Reporting Services 2017 or later**. Older SSRS versions using SOAP-based web services are not supported. To grant the required role: 1. Open the **SSRS Web Portal**. 2. Navigate to **Site Settings** > **Security** > **New Role Assignment**. 3. Add the service account and assign the **Browser** role. ## Metadata Ingestion To ingest metadata from SSRS, you need to create a service connection. The service connects SSRS with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **SSRS** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/ssrs.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=cbd06ac960017347522e721bf65657b9) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SSRS services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/ssrs.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=549605cfbc649b9ca936867bc79f1cec) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SSRS. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/ssrs.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=71c469548749b2d1886bb086cb40e3be) * **Host and Port**: The base URL of your SSRS web portal, for example, `https://your-ssrs-server/Reports`. The connector appends `/api/v2.0` to this URL when calling the REST API. Use the web portal path (default `/Reports`), not the Report Server SOAP/URL-access endpoint (`/ReportServer`). The `/ReportServer` endpoint returns HTML, so the connector fails with `Failed to connect to SSRS: Expecting value: line 1 column 1 (char 0)`. * **Username**: The Windows account username for NTLM authentication. Use `DOMAIN\username` format for domain accounts. * **Password**: Password for the Windows account used for NTLM authentication. * **Verify SSL** *(optional)*: Controls SSL certificate verification. Options: * `no-ssl` (default) — No SSL * `ignore` — SSL without certificate validation * `validate` — Full SSL certificate validation * **SSL Configuration** *(optional)*: Required when `verifySSL` is set to `validate`. Provide the CA certificate to verify the SSRS server's SSL certificate. * **Dashboard Filter Pattern** *(optional)*: Regex to include or exclude specific SSRS reports by name. * **Chart Filter Pattern** *(optional)*: Regex to include or exclude charts by name. * **Project Filter Pattern** *(optional)*: Regex to include or exclude SSRS folders (which map to Collate projects) by name. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SSRS Troubleshooting](/ai-2-0/connectors/dashboard/ssrs/troubleshooting) > > Learn more about how to troubleshoot common SSRS connector issues and resolve configuration or ingestion errors. # SSRS Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/ssrs/troubleshooting Troubleshoot common SSRS connector issues in Collate — connection failures, NTLM authentication errors, and ingestion problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## SSRS-Specific Issues ### NTLM Authentication Failure If the connector fails with a `401 Unauthorized` error, verify that: * The username uses the correct format (`DOMAIN\username` for domain accounts) * The account has at least the **Browser** role on the SSRS Report Server * NTLM authentication is enabled on the Report Server (not only Kerberos) ### Cannot Connect to SSRS REST API Ensure the SSRS REST API is enabled. The connector uses `/api/v2.0/` endpoints — this requires **SSRS 2017 or later**. Older versions using SOAP-based web services are not supported by this connector. ### Failed to Connect to SSRS If the connector fails with `Failed to connect to SSRS: Expecting value: line 1 column 1 (char 0)`, the Host and Port points at the Report Server endpoint (`/ReportServer`) instead of the web portal. `/ReportServer` is the SOAP/URL-access endpoint and returns HTML, so the connector cannot parse the REST response. Set Host and Port to the web portal base URL (default `/Reports`), for example `https://your-ssrs-server/Reports`. ### SSL Certificate Errors If you see SSL verification errors, either: * Set `verifySSL: ignore` to skip validation (not recommended for production) * Set `verifySSL: validate` and provide the correct CA certificate path in `sslConfig` ### Reports Not Appearing If reports are missing after ingestion: * Confirm the service account has **Browser** role access on the folder containing those reports * Check whether `dashboardFilterPattern` or `projectFilterPattern` is inadvertently excluding them * Hidden reports are automatically skipped by the connector # Superset Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/superset/hybrid-runner Learn how to connect Apache Superset dashboards to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Superset](/public/images/connectors/superset.webp) # Superset PROD This section provides guides and references to use the Superset connector. Configure and schedule Superset metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-superset-connection-with-ssl-in-collate) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/superset/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The ingestion also works with Superset 2.0.0. **API Connection**: To extract metadata from Superset via API, the user must have at least `can read on Chart` and `can read on Dashboard` permissions. **Database Connection**: To extract metadata from Superset via MySQL or Postgres database, the database user must have at least `SELECT` privilege on the `dashboards`, `tables`, and `slices` tables within the Superset schema. ## Metadata Ingestion To ingest metadata from Superset, you need to create a service connection. The service connects Superset with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Superset** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/superset.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=12be6c20522c655673de3f5517b5f917) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Superset services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/superset.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9f2bf7c0bd5c08d18c9cdbae5d607dbb) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Superset. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/superset.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=8b3856f99471a709759620d267222fa2) * **Host and Port**: The `Host and Port` parameter is common to all three authentication modes and specifies the host and port of the Superset instance. This should be specified as a string in the format `http://hostname:port` or `https://hostname:port`. For example, you might set the hostPort parameter to `https://org.superset.com:8088`. * **Superset Connection**: Add the connection details to fetch metadata from Superset either through APIs or a database. ##### For Superset API Connection Superset API connection is the default authentication mode. It fetches metadata using the [Superset APIs](https://superset.apache.org/docs/api/). > [!TIP] > > **Tip**: Superset only supports basic or LDAP authentication through APIs. If you have SSO enabled on your Superset instance, this authentication mode won't work. Use a MySQL or Postgres connection instead to fetch metadata directly from the Superset database. * **Username**: Username to connect to Superset, for ex. `user@organization.com`. This user should have access to relevant dashboards and charts in Superset to fetch the metadata. * **Password**: Password of the user account to connect with Superset. * **Provider**: Choose between `db`(default) or `ldap` mode of Authentication provider for the Superset service. This parameter is used internally to connect to Superset's REST API. * **Verify SSL**: Client SSL verification. Make sure to configure the SSLConfig if enabled. Possible values: * `validate`: Validate the certificate using the public certificate (recommended). * `ignore`: Ignore the certification validation (not recommended for production). * `no-ssl`: SSL validation is not needed. * **SSL Config**: Client SSL configuration in case you are connecting to a host with SSL enabled. * **Certificate Path**: CA certificate path in the instance where the ingestion run. E.g., `/path/to/public.cert`. Will be used if Verify SSL is set to `validate`. ##### For MySQL Connection Use a MySQL connection when you have SSO enabled and your Superset instance is backed by a MySQL database. * **Username**: Specify the user to connect to MySQL. It should have enough privileges to read all the metadata. Make sure the user has select privileges on the `dashboards`, `tables`, and `slices` tables of the Superset schema. * **Password**: Password to connect to MySQL. * **Host and Port**: Enter the fully qualified hostname and port number for your MySQL deployment in the Host and Port field. * **databaseSchema**: Enter the database schema which is associated with the Superset instance. * **caCertificate**: Provide the path to ssl ca file. * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client certificate file (ssl_key). ##### For Postgres Connection Use a Postgres connection when you have SSO enabled and your Superset instance is backed by a Postgres database. * **Username**: Specify the user to connect to Postgres. Make sure the user has select privileges on the `dashboards`, `tables`, and `slices` tables of the Superset schema. * **Password**: Password to connect to Postgres. * **Host and Port**: Enter the fully qualified hostname and port number for your Postgres deployment in the Host and Port field. * **Database**: Initial Postgres database to connect to. Specify the name of the database associated with the Superset instance. * **caCertificate**: Provide the path to the SSL CA file. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is only needed for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Securing Superset Connection with SSL in Collate 1. To establish secure connections between Collate and Superset, navigate to the `Advanced Config` section. Update the `Certificate Path` and ensure that the certificates are accessible from the Airflow Server. ![Superset API SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_superset.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=978446865033e7cad49ffc3d3b25ace5) 2. To establish secure connections between Collate and Superset's MySQL database, configure SSL certificates appropriately. If you only require SSL validation, specify the `caCertificate` to use the CA certificate for validating the server's certificate. For mutual authentication, where both client and server need to authenticate each other, provide all three parameters: `ssl_key` for the client's private key, `ssl_cert` for the client's SSL certificate, and `ssl_ca` for the CA certificate to validate the server's certificate. ![MySQL SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_superset_mysql.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=b54e438c4967459a7481d8a558eb1740) 3. To establish secure connections between Collate and Superset's PostgreSQL database, configure SSL using different SSL modes provided by PostgreSQL, each offering varying levels of security. Under `PostgresConnection Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). PostgreSQL requires only the CA certificate for SSL validation. ![Postgres SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_superset_postgres.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=10b0de874c914b9e455b3274f27ccad0) ## Troubleshooting > [card] [Superset Troubleshooting](/ai-2-0/connectors/dashboard/superset/troubleshooting) > > Learn more about how to troubleshoot common Superset connector issues and resolve configuration or ingestion errors. # Superset Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/superset/index Learn how to connect Apache Superset dashboards to Collate with our comprehensive connector guide. Setup instructions, configuration, and metadata integration. ![Superset](/public/images/connectors/superset.webp) # Superset PROD [https://www.youtube.com/embed/37tYMMq2U0Q](https://www.youtube.com/embed/37tYMMq2U0Q) This section provides guides and references to use the Superset connector. Configure and schedule Superset metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-superset-connection-with-ssl-in-collate) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/superset/troubleshooting) ## Requirements The ingestion also works with Superset 2.0.0. **API Connection**: To extract metadata from Superset via API, the user must have at least `can read on Chart` and `can read on Dashboard` permissions. **Database Connection**: To extract metadata from Superset via MySQL or Postgres database, the database user must have at least `SELECT` privilege on the `dashboards`, `tables`, and `slices` tables within the Superset schema. ## Metadata Ingestion To ingest metadata from Superset, you need to create a service connection. The service connects Superset with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Superset** connector tile. ![Select Service](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/superset.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=12be6c20522c655673de3f5517b5f917) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Superset services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/superset.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=9f2bf7c0bd5c08d18c9cdbae5d607dbb) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Superset. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/superset.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=8b3856f99471a709759620d267222fa2) * **Host and Port**: The `Host and Port` parameter is common to all three authentication modes and specifies the host and port of the Superset instance. This should be specified as a string in the format `http://hostname:port` or `https://hostname:port`. For example, you might set the hostPort parameter to `https://org.superset.com:8088`. * **Superset Connection**: Add the connection details to fetch metadata from Superset either through APIs or a database. ##### For Superset API Connection Superset API connection is the default authentication mode. It fetches metadata using the [Superset APIs](https://superset.apache.org/docs/api/). > [!TIP] > > **Tip**: Superset only supports basic or LDAP authentication through APIs. If you have SSO enabled on your Superset instance, this authentication mode won't work. Use a MySQL or Postgres connection instead to fetch metadata directly from the Superset database. * **Username**: Username to connect to Superset, for ex. `user@organization.com`. This user should have access to relevant dashboards and charts in Superset to fetch the metadata. * **Password**: Password of the user account to connect with Superset. * **Provider**: Choose between `db`(default) or `ldap` mode of Authentication provider for the Superset service. This parameter is used internally to connect to Superset's REST API. * **Verify SSL**: Client SSL verification. Make sure to configure the SSLConfig if enabled. Possible values: * `validate`: Validate the certificate using the public certificate (recommended). * `ignore`: Ignore the certification validation (not recommended for production). * `no-ssl`: SSL validation is not needed. * **SSL Config**: Client SSL configuration in case you are connecting to a host with SSL enabled. * **Certificate Path**: CA certificate path in the instance where the ingestion run. E.g., `/path/to/public.cert`. Will be used if Verify SSL is set to `validate`. ##### For MySQL Connection Use a MySQL connection when you have SSO enabled and your Superset instance is backed by a MySQL database. * **Username**: Specify the user to connect to MySQL. It should have enough privileges to read all the metadata. Make sure the user has select privileges on the `dashboards`, `tables`, and `slices` tables of the Superset schema. * **Password**: Password to connect to MySQL. * **Host and Port**: Enter the fully qualified hostname and port number for your MySQL deployment in the Host and Port field. * **databaseSchema**: Enter the database schema which is associated with the Superset instance. * **caCertificate**: Provide the path to ssl ca file. * **sslCertificate**: Provide the path to ssl client certificate file (ssl_cert). * **sslKey**: Provide the path to ssl client certificate file (ssl_key). ##### For Postgres Connection Use a Postgres connection when you have SSO enabled and your Superset instance is backed by a Postgres database. * **Username**: Specify the user to connect to Postgres. Make sure the user has select privileges on the `dashboards`, `tables`, and `slices` tables of the Superset schema. * **Password**: Password to connect to Postgres. * **Host and Port**: Enter the fully qualified hostname and port number for your Postgres deployment in the Host and Port field. * **Database**: Initial Postgres database to connect to. Specify the name of the database associated with the Superset instance. * **caCertificate**: Provide the path to the SSL CA file. #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. This is only needed for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Securing Superset Connection with SSL in Collate 1. To establish secure connections between Collate and Superset, navigate to the `Advanced Config` section. Update the `Certificate Path` and ensure that the certificates are accessible from the Airflow Server. ![Superset API SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_superset.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=978446865033e7cad49ffc3d3b25ace5) 2. To establish secure connections between Collate and Superset's MySQL database, configure SSL certificates appropriately. If you only require SSL validation, specify the `caCertificate` to use the CA certificate for validating the server's certificate. For mutual authentication, where both client and server need to authenticate each other, provide all three parameters: `ssl_key` for the client's private key, `ssl_cert` for the client's SSL certificate, and `ssl_ca` for the CA certificate to validate the server's certificate. ![MySQL SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_superset_mysql.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=b54e438c4967459a7481d8a558eb1740) 3. To establish secure connections between Collate and Superset's PostgreSQL database, configure SSL using different SSL modes provided by PostgreSQL, each offering varying levels of security. Under `PostgresConnection Advanced Config`, specify the SSL mode appropriate for your connection, such as `prefer`, `verify-ca`, `allow`, and others. After selecting the SSL mode, provide the CA certificate used for SSL validation (`caCertificate`). PostgreSQL requires only the CA certificate for SSL validation. ![Postgres SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_superset_postgres.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=10b0de874c914b9e455b3274f27ccad0) ## Troubleshooting > [card] [Superset Troubleshooting](/ai-2-0/connectors/dashboard/superset/troubleshooting) > > Learn more about how to troubleshoot common Superset connector issues and resolve configuration or ingestion errors. # Superset SSO Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/superset/sso # Superset with SSO Collate uses [Superset REST APIs](https://superset.apache.org/docs/api/) to retrieve metadata from Superset. These APIs support two modes of authentication: `db` and `ldap`. At this time, `OAuth` authentication is not supported by these APIs. Although the Superset REST APIs do not support OAuth authentication, there are still two ways for a user to authenticate through the API: * **Using admin user credentials**: When a Superset instance is initialized, a default admin user is created with the username and password both set as "admin". This admin user can be used to authenticate to the Superset APIs via the "db" authentication mode. * **Using database credentials**: You can fetch metadata from superset instance by providing the `mysql` or `postgres` database connection details. # Superset Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/superset/troubleshooting Solve Apache Superset connector issues with Collate's comprehensive troubleshooting guide. Fix common dashboard integration problems quickly. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Tableau Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/tableau/hybrid-runner Connect Tableau dashboards to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Tableau](/public/images/connectors/tableau.webp) # Tableau PROD This section provides guides and references to use the Tableau connector. Configure and schedule Tableau metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Entity Mapping](#entity-mapping) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-tableau-connection-with-ssl-in-collate) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/tableau/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To ingest Tableau metadata, minimum `Site Role: Viewer` is required for the Tableau user. To create lineage between Tableau dashboards and any database service via the queries provided from Tableau Metadata API, enable the Tableau Metadata API for your Tableau server. For more information, see [Get Started with the Metadata API](https://help.tableau.com/current/api/metadata_api/en-us/docs/meta_api_start.html). > [!TIP] > > **Tip**: > > * If using a **default site** on Tableau Server, leave the **Site URL** and **Site Name** fields **blank** in the ingestion configuration. > * Ensure that the **Metadata API** is enabled for the user performing the ingestion. If it is not enabled, ingestion may fail. Follow the official Tableau documentation to [enable the Metadata API](https://help.tableau.com/current/api/metadata_api/en-us/docs/meta_api_start.html#enable-the-tableau-metadata-api-for-tableau-server). > * The minimum required role to retrieve owners is Site Admin Explorer. > [!TIP] > > **Tip**: > > * As of Collate versions `1.7.4` and `1.7.5`, the `siteUrl` field has been removed from the Tableau connector configuration. This change was intentional, as confirmed in the release commit. > * To connect to a non-default Tableau site, use the `siteName` field instead. The Tableau Python SDK does not require `siteUrl` for authentication. > * Ensure the `siteName` field is correctly populated (do not use `*`) to enable successful metadata ingestion for multi-site Tableau environments. ### Source Tables and Lineage > [!WARNING] > > **Important**: > **Table lineage requires** the ingestion account to have the **View** capability on the external assets in Tableau Catalog, granted directly or derived. For any asset it cannot view, Tableau returns the source table with its table and database names removed, keeping only internal identifiers, and reports no error. Those tables are skipped without a message, so **no lineage is created between them and the data models that use them**. Assets the account can view are unaffected, and dashboards, charts and data models are still ingested either way. Grant the ingestion account **View** on the affected external assets in Tableau Catalog, or use an account that already holds it. A Viewer or Explorer site role alone is not enough for Collate to build table lineage. For the steps, see [Manage Permissions for External Assets](https://help.tableau.com/current/server/en-us/dm_perms_assets.htm) in the Tableau documentation. ## Entity Mapping The Tableau connector maps Tableau assets to Collate entities as follows: | Tableau Asset | Collate Entity | Description | | - | - | - | | **Workbooks** | **Dashboard** | Tableau workbooks are mapped to Collate Dashboard entities. | | **Views** (worksheets, dashboard views, stories—all sheet types) | **Chart** | All Tableau views are mapped to Collate Chart entities, regardless of their sheet type. | | **Data Sources** (embedded and published) | **Data Models** | Tableau data sources are mapped to Collate Data Model entities. | | **Projects** | **Project field** | The Tableau project name is stored in the project field of the Dashboard. | ### Example Structure **Tableau Structure**: ``` Project: Sales Team └── Workbook: Sales Analysis ├── Dashboard: Revenue Overview (sheetType="dashboard") ├── Worksheet: Monthly Sales (sheetType="worksheet") └── Story: Sales Story (sheetType="story") ``` **Collate Structure**: ``` Dashboard: "Sales Analysis" (Project: "Sales Team") ├── Chart: "Revenue Overview" ├── Chart: "Monthly Sales" └── Chart: "Sales Story" ``` This mapping ensures that: * Tableau workbooks appear as Collate dashboards. * All views (worksheets, dashboard views, stories) appear as charts under that dashboard. * Tableau project names are preserved in the project field. * URLs point directly to the specific views. ## Metadata Ingestion To ingest metadata from Tableau, you need to create a service connection. The service connects Tableau with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Tableau** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/tableau.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=05486f2239bb92a8fd3a47067e7912b1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Tableau services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/tableau.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=3dfcbb9fbd968a6c5ebd71276b644a98) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Tableau. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/tableau.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=acde9fe7ddb13375344f1198eb703bc0) * **Host and Port**: URL or IP address of your installation of Tableau Server. * **Authentication Types**: * Basic Authentication * Username: The name of the user whose credentials will be used to sign in. * Password: The password of the user. 2. Access Token Authentication * Personal Access Token: The personal access token name. For more information, see [Personal Access Tokens](https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm). * Personal Access Token Secret: The personal access token value. For more information, see [Personal Access Tokens](https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm). * **API Version**: Tableau API version. For a list of Tableau Server versions and their corresponding REST API and REST API schema versions, see [REST API Versions](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_concepts_versions.htm). * **Site Name**: This corresponds to the `contentUrl` attribute in the Tableau REST API. The `site_name` is the portion of the URL that follows the `/site/` in the URL. * **Site URL**: If it is empty, the default Tableau site name will be used. * **Environment**: The config object can have multiple environments. The default environment is defined as `tableau_prod`, and you can change this if needed by specifying an `env` parameter. * **Pagination Limit**: The pagination limit will be used while querying the Tableau Graphql endpoint to get the data source information. ### Site Name and Site URL The `Site Name` and `Site URL` fields behave differently depending on how your Tableau instance is deployed. #### 1. Service Connection for Tableau Cloud If you're connecting to a cloud Tableau instance, add the `Site Name` and `Site URL` with your site name. #### 2. Service Connection for a Default Tableau Site For a default Tableau site, the `Site Name` and `Site URL` fields should be kept empty. #### 3. Service Connection for a Non-Default Tableau Site For a non-default Tableau site, the `Site Name` and `Site URL` fields are required. > [!TIP] > > **Tip**: If `https://xxx.tableau.com/#/site/MarketingTeam/home` represents the homepage URL for your Tableau site, the `MarketingTeam` from the URL should be entered in the `Site Name` and `Site URL` fields. ### Authentication Type Tableau supports two authentication methods for the connector. ### 1. Basic Authentication Basic authentication requires the username and password of the user signing in. ### 2. Access Token Authentication Access token authentication requires the personal access token name and the personal access token value. For more information, see [Personal Access Tokens](https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Securing Tableau Connection with SSL in Collate To establish secure connections between Collate and Tableau, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you'll need to use all three parameters: `ssl_key`, `ssl_cert`, and `caCertificate`. In this case, `ssl_cert` is used for the client’s SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `caCertificate` for the CA certificate to validate the server’s certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_tableau.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=0070f92d483e86d8caeac743f79a92a6) ## Troubleshooting > [card] [Tableau Troubleshooting](/ai-2-0/connectors/dashboard/tableau/troubleshooting) > > Learn more about how to troubleshoot common Tableau connector issues and resolve configuration or ingestion errors. ## Reverse Metadata * **Description Management**: Tableau supports description updates at the following levels: * Dashboard level * Chart level * **Owner Management**: Tableau supports owner management at the following levels: * Dashboard level Owner management is not supported for Charts as ownership in Tableau is managed at the workbook level. * **Tag Management**: Tableau supports tag management at the following levels: * Dashboard level * Chart level For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). # Tableau Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/tableau/index Connect Tableau dashboards to Collate with our comprehensive connector guide. Setup instructions, configuration options, and metadata extraction steps. ![Tableau](/public/images/connectors/tableau.webp) # Tableau PROD This section provides guides and references to use the Tableau connector. Configure and schedule Tableau metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Entity Mapping](#entity-mapping) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-tableau-connection-with-ssl-in-collate) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/tableau/troubleshooting) * [Reverse Metadata](#reverse-metadata) ## Requirements To ingest Tableau metadata, minimum `Site Role: Viewer` is required for the Tableau user. To create lineage between Tableau dashboards and any database service via the queries provided from Tableau Metadata API, enable the Tableau Metadata API for your Tableau server. For more information, see [Get Started with the Metadata API](https://help.tableau.com/current/api/metadata_api/en-us/docs/meta_api_start.html). > [!TIP] > > **Tip**: > > * If using a **default site** on Tableau Server, leave the **Site URL** and **Site Name** fields **blank** in the ingestion configuration. > * Ensure that the **Metadata API** is enabled for the user performing the ingestion. If it is not enabled, ingestion may fail. Follow the official Tableau documentation to [enable the Metadata API](https://help.tableau.com/current/api/metadata_api/en-us/docs/meta_api_start.html#enable-the-tableau-metadata-api-for-tableau-server). > * The minimum required role to retrieve owners is Site Admin Explorer. > [!TIP] > > **Tip**: > > * As of Collate versions `1.7.4` and `1.7.5`, the `siteUrl` field has been removed from the Tableau connector configuration. This change was intentional, as confirmed in the release commit. > * To connect to a non-default Tableau site, use the `siteName` field instead. The Tableau Python SDK does not require `siteUrl` for authentication. > * Ensure the `siteName` field is correctly populated (do not use `*`) to enable successful metadata ingestion for multi-site Tableau environments. ### Source Tables and Lineage > [!WARNING] > > **Important**: > **Table lineage requires** the ingestion account to have the **View** capability on the external assets in Tableau Catalog, granted directly or derived. For any asset it cannot view, Tableau returns the source table with its table and database names removed, keeping only internal identifiers, and reports no error. Those tables are skipped without a message, so **no lineage is created between them and the data models that use them**. Assets the account can view are unaffected, and dashboards, charts and data models are still ingested either way. Grant the ingestion account **View** on the affected external assets in Tableau Catalog, or use an account that already holds it. A Viewer or Explorer site role alone is not enough for Collate to build table lineage. For the steps, see [Manage Permissions for External Assets](https://help.tableau.com/current/server/en-us/dm_perms_assets.htm) in the Tableau documentation. ## Entity Mapping The Tableau connector maps Tableau assets to Collate entities as follows: | Tableau Asset | Collate Entity | Description | | - | - | - | | **Workbooks** | **Dashboard** | Tableau workbooks are mapped to Collate Dashboard entities. | | **Views** (worksheets, dashboard views, stories—all sheet types) | **Chart** | All Tableau views are mapped to Collate Chart entities, regardless of their sheet type. | | **Data Sources** (embedded and published) | **Data Models** | Tableau data sources are mapped to Collate Data Model entities. | | **Projects** | **Project field** | The Tableau project name is stored in the project field of the Dashboard. | ### Example Structure **Tableau Structure**: ``` Project: Sales Team └── Workbook: Sales Analysis ├── Dashboard: Revenue Overview (sheetType="dashboard") ├── Worksheet: Monthly Sales (sheetType="worksheet") └── Story: Sales Story (sheetType="story") ``` **Collate Structure**: ``` Dashboard: "Sales Analysis" (Project: "Sales Team") ├── Chart: "Revenue Overview" ├── Chart: "Monthly Sales" └── Chart: "Sales Story" ``` This mapping ensures that: * Tableau workbooks appear as Collate dashboards. * All views (worksheets, dashboard views, stories) appear as charts under that dashboard. * Tableau project names are preserved in the project field. * URLs point directly to the specific views. ## Metadata Ingestion To ingest metadata from Tableau, you need to create a service connection. The service connects Tableau with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **Tableau** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/tableau.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=05486f2239bb92a8fd3a47067e7912b1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Tableau services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/tableau.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=3dfcbb9fbd968a6c5ebd71276b644a98) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Tableau. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/tableau.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=acde9fe7ddb13375344f1198eb703bc0) * **Host and Port**: URL or IP address of your installation of Tableau Server. * **Authentication Types**: * Basic Authentication * Username: The name of the user whose credentials will be used to sign in. * Password: The password of the user. 2. Access Token Authentication * Personal Access Token: The personal access token name. For more information, see [Personal Access Tokens](https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm). * Personal Access Token Secret: The personal access token value. For more information, see [Personal Access Tokens](https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm). * **API Version**: Tableau API version. For a list of Tableau Server versions and their corresponding REST API and REST API schema versions, see [REST API Versions](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_concepts_versions.htm). * **Site Name**: This corresponds to the `contentUrl` attribute in the Tableau REST API. The `site_name` is the portion of the URL that follows the `/site/` in the URL. * **Site URL**: If it is empty, the default Tableau site name will be used. * **Environment**: The config object can have multiple environments. The default environment is defined as `tableau_prod`, and you can change this if needed by specifying an `env` parameter. * **Pagination Limit**: The pagination limit will be used while querying the Tableau Graphql endpoint to get the data source information. ### Site Name and Site URL The `Site Name` and `Site URL` fields behave differently depending on how your Tableau instance is deployed. #### 1. Service Connection for Tableau Cloud If you're connecting to a cloud Tableau instance, add the `Site Name` and `Site URL` with your site name. #### 2. Service Connection for a Default Tableau Site For a default Tableau site, the `Site Name` and `Site URL` fields should be kept empty. #### 3. Service Connection for a Non-Default Tableau Site For a non-default Tableau site, the `Site Name` and `Site URL` fields are required. > [!TIP] > > **Tip**: If `https://xxx.tableau.com/#/site/MarketingTeam/home` represents the homepage URL for your Tableau site, the `MarketingTeam` from the URL should be entered in the `Site Name` and `Site URL` fields. ### Authentication Type Tableau supports two authentication methods for the connector. ### 1. Basic Authentication Basic authentication requires the username and password of the user signing in. ### 2. Access Token Authentication Access token authentication requires the personal access token name and the personal access token value. For more information, see [Personal Access Tokens](https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Securing Tableau Connection with SSL in Collate To establish secure connections between Collate and Tableau, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you'll need to use all three parameters: `ssl_key`, `ssl_cert`, and `caCertificate`. In this case, `ssl_cert` is used for the client’s SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `caCertificate` for the CA certificate to validate the server’s certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_tableau.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=0070f92d483e86d8caeac743f79a92a6) ## Troubleshooting > [card] [Tableau Troubleshooting](/ai-2-0/connectors/dashboard/tableau/troubleshooting) > > Learn more about how to troubleshoot common Tableau connector issues and resolve configuration or ingestion errors. ## Reverse Metadata * **Description Management**: Tableau supports description updates at the following levels: * Dashboard level * Chart level * **Owner Management**: Tableau supports owner management at the following levels: * Dashboard level Owner management is not supported for Charts as ownership in Tableau is managed at the workbook level. * **Tag Management**: Tableau supports tag management at the following levels: * Dashboard level * Chart level For more information about reverse metadata ingestion, see [Reverse Metadata Application](/ai-2-0/admin-guide/applications/reverse-metadata). # Tableau Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/tableau/troubleshooting Fix Tableau connector issues in Collate with expert troubleshooting guides. Resolve common errors, connection problems, and data ingestion failures fast. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. > [!TIP] > > **Tip**: > > * As of OpenMetadata versions `1.7.4` and `1.7.5`, the `siteUrl` field has been removed from the Tableau connector configuration. This change was intentional, as confirmed in the release commit. > * To connect to a non-default Tableau site, use the `siteName` field instead. The Tableau Python SDK does not require `siteUrl` for authentication. > * Ensure the `siteName` field is correctly populated (do not use `*`) to enable successful metadata ingestion for multi-site Tableau environments. # ThoughtSpot Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/thoughtspot/hybrid-runner Learn how to configure and use the ThoughtSpot connector in Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![ThoughtSpot](/public/images/connectors/thoughtspot.webp) # ThoughtSpot BETA This section provides guides and references to use the ThoughtSpot connector. Configure and schedule ThoughtSpot metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/thoughtspot/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To access the ThoughtSpot APIs and import liveboards, charts, and data models from ThoughtSpot into Collate, you need appropriate permissions on your ThoughtSpot instance. ### ThoughtSpot Account Setup and Permissions 1. **Authentication Setup** ThoughtSpot supports multiple authentication methods: * **Basic Authentication**: Username and password authentication. The user should have appropriate permissions to read metadata from ThoughtSpot. * **API Token Authentication**: Use ThoughtSpot API tokens for authentication. Generate API tokens from your ThoughtSpot instance. 2. **API Permissions** Ensure your ThoughtSpot user or service account has the following permissions: * Read access to liveboards and answers * Read access to worksheets and data models * Access to metadata APIs * Export permissions for TML (ThoughtSpot Modeling Language) data 3. **Multi-tenant Configuration (Optional)** If you're using ThoughtSpot Cloud with multiple organizations: * Set the `Organization ID` parameter to specify which organization to connect to (only for ThoughtSpot Cloud). > [!TIP] > > **Tip**: > > * For lineage extraction, ensure TML (ThoughtSpot Modeling Language) export is enabled for your user. ## Metadata Ingestion To ingest metadata from ThoughtSpot, you need to create a service connection. The service connects ThoughtSpot with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **ThoughtSpot** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/thoughtspot.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=1a7bebbab39b61e4a5912c4cb82d8b7f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ThoughtSpot services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/thoughtspot.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=721a34fc697dbdf24a5f5975373d7b59) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ThoughtSpot. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/thoughtspot.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=69d68571740a019f418ed528b741bbf2) * **Host and Port**: The URL of your ThoughtSpot instance. Examples: * Cloud: `https://my-company.thoughtspot.cloud` * On-premise: `https://thoughtspot.company.com` * Local: `https://localhost` If running ingestion in Docker and ThoughtSpot is on `localhost`, use `host.docker.internal`. * **Authentication**: Choose one of the following: * **Basic Authentication**: * Username: Your ThoughtSpot username * Password: Your ThoughtSpot password * **API Token Authentication**: * API Token: Your ThoughtSpot API token * **API Version**: The ThoughtSpot API version to use for metadata extraction. * `v1`: Legacy API version (callosum endpoints) * `v2`: Current API version (recommended, default) * **Organization ID**: For multi-tenant ThoughtSpot Cloud deployments. * Leave empty for single-tenant * Set to your org ID for multi-tenant > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [ThoughtSpot Troubleshooting](/ai-2-0/connectors/dashboard/thoughtspot/troubleshooting) > > Learn more about how to troubleshoot common ThoughtSpot connector issues and resolve configuration or ingestion errors. # ThoughtSpot Connector Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/thoughtspot/index Learn how to configure and use the ThoughtSpot connector in Collate. Includes setup, authentication, API access, metadata ingestion, and lineage. ![ThoughtSpot](/public/images/connectors/thoughtspot.webp) # ThoughtSpot BETA This section provides guides and references to use the ThoughtSpot connector. Configure and schedule ThoughtSpot metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Lineage](#lineage) * [Troubleshooting](/ai-2-0/connectors/dashboard/thoughtspot/troubleshooting) ## Requirements To access the ThoughtSpot APIs and import liveboards, charts, and data models from ThoughtSpot into Collate, you need appropriate permissions on your ThoughtSpot instance. ### ThoughtSpot Account Setup and Permissions 1. **Authentication Setup** ThoughtSpot supports multiple authentication methods: * **Basic Authentication**: Username and password authentication. The user should have appropriate permissions to read metadata from ThoughtSpot. * **API Token Authentication**: Use ThoughtSpot API tokens for authentication. Generate API tokens from your ThoughtSpot instance. 2. **API Permissions** Ensure your ThoughtSpot user or service account has the following permissions: * Read access to liveboards and answers * Read access to worksheets and data models * Access to metadata APIs * Export permissions for TML (ThoughtSpot Modeling Language) data 3. **Multi-tenant Configuration (Optional)** If you're using ThoughtSpot Cloud with multiple organizations: * Set the `Organization ID` parameter to specify which organization to connect to (only for ThoughtSpot Cloud). > [!TIP] > > **Tip**: > > * For lineage extraction, ensure TML (ThoughtSpot Modeling Language) export is enabled for your user. ## Metadata Ingestion To ingest metadata from ThoughtSpot, you need to create a service connection. The service connects ThoughtSpot with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Dashboard Services**, then click the **ThoughtSpot** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/select-service/thoughtspot.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=1a7bebbab39b61e4a5912c4cb82d8b7f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other ThoughtSpot services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kTp2dTyiNAX4Np5A/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/service-name/thoughtspot.png?fit=max\&auto=format\&n=kTp2dTyiNAX4Np5A\&q=85\&s=721a34fc697dbdf24a5f5975373d7b59) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for ThoughtSpot. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/connection-details/thoughtspot.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=69d68571740a019f418ed528b741bbf2) * **Host and Port**: The URL of your ThoughtSpot instance. Examples: * Cloud: `https://my-company.thoughtspot.cloud` * On-premise: `https://thoughtspot.company.com` * Local: `https://localhost` If running ingestion in Docker and ThoughtSpot is on `localhost`, use `host.docker.internal`. * **Authentication**: Choose one of the following: * **Basic Authentication**: * Username: Your ThoughtSpot username * Password: Your ThoughtSpot password * **API Token Authentication**: * API Token: Your ThoughtSpot API token * **API Version**: The ThoughtSpot API version to use for metadata extraction. * `v1`: Legacy API version (callosum endpoints) * `v2`: Current API version (recommended, default) * **Organization ID**: For multi-tenant ThoughtSpot Cloud deployments. * Leave empty for single-tenant * Set to your org ID for multi-tenant #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your dashboard service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all dashboards and charts available in the source. #### Filter Options The Dashboard and Chart sections each include the following filter options: * **Dashboard**: Controls which dashboards Collate ingests from the source. * **Chart**: Controls which charts within the ingested dashboards are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts dashboards, charts, data models, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure ingestion parameters. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between dashboards and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Query Parser Type | Auto | Select the SQL parser used for lineage extraction from dashboard queries. **Auto** selects the best available parser automatically. **SqlGlot** is a high-performance parser with excellent dialect support; falls back to SqlParse on failure. **SqlFluff** is a comprehensive parser with strong dialect support; falls back to SqlParse on failure. | | Mark Deleted Dashboards | On | Soft-delete dashboards in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Data Models | On | Soft-delete data models in Collate when they are removed from the source. Associated lineage is also deleted. | | Mark Deleted Charts | On | Soft-delete charts in Collate when they are removed from the source. | | Include Data Models | On | Ingest data model metadata. | | Include Draft Dashboards | On | Ingest dashboards that are in draft state. | | Include Usage | On | Collect and ingest usage statistics for dashboards. | ![Agent Setup](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-agent-setup.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=4331bedb92cf4fc886548ed7e9d9caf7) * **Filter Patterns**: Apply include or exclude rules to scope which dashboards, charts, data models, and projects this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-filter-pattern.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=fafba3522eb159607f520f8252cace56) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Current Owners | Off | When enabled, replaces the current owner with a new owner from the source if the current owner is null. Recommended to keep enabled during the first metadata ingestion to capture owner information. | | Include Tags | On | Ingest tags from the source. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-scope-bahaviour.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=b62494bc009ab02b79062e74519e89de) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Lineage Lineage in Collate shows you which database tables power each dashboard. When lineage is set up, you can trace any dashboard back to the exact source tables in your database. There is no separate lineage agent or lineage pipeline — lineage is collected as part of the same metadata ingestion workflow. To enable lineage, open the **Configure Metadata Agent** section above, scroll to the **Lineage Information** section in the agent setup, and enter one or more database service names in the **Db Service Prefixes** field. ![Lineage Information](https://mintcdn.com/collatedocs/VsJxWKWlvReeFtlo/public/images/ai-2.0/connectors/metadata-ingestion/Dashboard/dashboard-lineage.png?fit=max\&auto=format\&n=VsJxWKWlvReeFtlo\&q=85\&s=f5bd7e6138bba796d865fc4ad94697ae) Configuring **Db Service Prefixes** is optional but recommended — it restricts table matching to specific database services. If left blank, Collate attempts to match source tables across all ingested database services. | What you enter | What it matches | | - | - | | `SnowflakeProd` | All tables in the Snowflake service named `SnowflakeProd` | | `SnowflakeProd.sales_db` | Tables in the `sales_db` database within `SnowflakeProd` | | `SnowflakeProd.sales_db.public` | Tables in the `public` schema within `sales_db` | > [!TIP] > > **Tip**: If your dashboards pull data from multiple database services, add each service as a separate entry in the **Db Service Prefixes** field. ## Troubleshooting > [card] [ThoughtSpot Troubleshooting](/ai-2-0/connectors/dashboard/thoughtspot/troubleshooting) > > Learn more about how to troubleshoot common ThoughtSpot connector issues and resolve configuration or ingestion errors. # ThoughtSpot Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/dashboard/thoughtspot/troubleshooting Fix ThoughtSpot connector issues in Collate with expert troubleshooting guides. Resolve common errors, connection problems, and data ingestion failures fast. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Custom Drive Connector Source: https://docs.getcollate.io/ai-2-0/connectors/drive/custom-drive/index Learn how to create a Custom Drive Connector to ingest metadata from file system-like services into Collate using the ingestion framework. # Custom Drive Connector Just like other services in Collate (Database, Pipelines, Dashboards, Messaging, and so on), it’s possible to create a **Custom Drive Connector** to bring metadata from a storage or file system-like service into Collate. This guide walks through how to implement your own Custom Drive Connector by extending the ingestion framework. The implementation pattern follows other service types closely, making the transition smooth for anyone familiar with the ecosystem. > [!TIP] > > **Tip**: Review the [tested Custom Drive connector](https://github.com/open-metadata/OpenMetadata/blob/main/ingestion/tests/integration/custom_connectors/custom_drive.py) for a complete implementation. Watch Collate's Webinar on Custom Connectors to get more context on how to build these integrations. [YouTube video player](https://www.youtube.com/embed/fDUj30Ub9VE?si=h1F_tckA_45V2ux3) ## Steps to Set Up a Custom Drive Connector ### Step 1 - Prepare Your Drive Connector A Custom Drive Connector is a Python class that inherits from: ```python theme={null} from metadata.ingestion.api.steps import Source ``` It must implement required methods such as: * `prepare` * `_iter` * `test_connection` (optional but recommended so the UI can validate access) ```python theme={null} custom_drive/ my_drive_connector.py ``` **Inside** `my_drive_connector.py`, **define your class**: ```python theme={null} class MyDriveConnector(Source): ... def _iter(self): ... ``` > [!TIP] > > **Tip**: `_iter` is a generator that produces the `CreateEntityRequest` instances expected by the ingestion framework. For more on the ingestion framework, refer to the [Ingestion Workflow Docs](/ai-2-0/how-to-guides/guide-for-data-users/ingestion/workflows). ### Step 2 - Yield Drive Data as Entities You need to yield `CreateEntityRequest` objects wrapped in an `Either` type. This pattern handles both successful entity creation and errors. **Import necessary types**: ```python theme={null} from metadata.ingestion.api.models import Either, StackTraceError from metadata.generated.schema.api.data.createDirectory import CreateDirectoryRequest from metadata.generated.schema.api.data.createFile import CreateFileRequest from metadata.generated.schema.api.data.createSpreadsheet import CreateSpreadsheetRequest from metadata.generated.schema.api.data.createWorksheet import CreateWorksheetRequest ``` **Example usage**: ```python theme={null} for directory in self.drive_client.list_directories(): try: yield Either( right=CreateDirectoryRequest( name=directory.name, description=directory.description, parent=directory.parent_fqn, href=directory.href, ) ) except Exception as exc: yield Either( left=StackTraceError( name="Drive Directory Ingestion Error", error=str(exc), stack_trace=traceback.format_exc(), ) ) for file_metadata in self.drive_client.list_files(): yield Either( right=CreateFileRequest( name=file_metadata.name, description=file_metadata.description, fileFormats=file_metadata.file_formats, parent=file_metadata.parent_directory_fqn, size=file_metadata.size, ) ) ``` Extend the same pattern with `CreateSpreadsheetRequest` and `CreateWorksheetRequest` if your Drive service exposes those concepts. ### Step 3 - Package Your Custom Drive Connector To use the connector, package it as a Python module. A minimal `setup.py` may look like: ```python theme={null} from setuptools import setup, find_packages setup( name="custom_drive_connector", version="0.1", packages=find_packages(), install_requires=[], ) ``` **Build the package**: ```bash theme={null} python setup.py sdist ``` ### Step 4 - Update the Ingestion Image To run your Custom Drive Connector inside Docker (for example, with Airflow or directly from the UI), the ingestion image must include your module. **Dockerfile example**: ```Dockerfile theme={null} FROM openmetadata/ingestion:2.0.5 WORKDIR ingestion USER airflow COPY custom_drive custom_drive COPY setup.py . RUN pip install --no-deps . ``` This ensures that your code is baked into the ingestion container. Always align the ingestion image tag with the Collate version that is running your server/UI. ### Step 5 - Run Collate with Custom Image If you're using Docker Compose, update your setup to use the new image. ```makefile theme={null} run: docker compose -f docker-compose.yml up --build ``` ### Step 6 - Configure Custom Drive in Collate UI 1. Go to **Connections** in the left navigation and select the **Drive** service. 2. Click **Add New Service** and select **Custom**. 3. Enter your Source Python Class as: ```python theme={null} custom_drive.my_drive_connector.MyDriveConnector ``` Ensure the full module path is specified so Collate can import the connector. ![Custom Connector](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/custom-drive.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=16db1fe545da6b814fe7943fa50a04a0) ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts directories, files, spreadsheets, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Number of Threads | 1 | Number of threads to use for parallel drive ingestion. | | Mark Deleted Directories | On | Soft-delete directories in Collate when they are removed from the source. Associated entities like files, spreadsheets, worksheets, and lineage are also deleted. | | Mark Deleted Files | On | Soft-delete files in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Spreadsheets | On | Soft-delete spreadsheets in Collate when they are removed from the source. Associated entities like worksheets and lineage are also deleted. | | Mark Deleted Worksheets | On | Soft-delete worksheets in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include Directories | On | Fetch directory metadata. Turn off to skip directories entirely. | | Include Files | On | Fetch file metadata. Turn off to skip files entirely. | | Include Spreadsheets | On | Fetch spreadsheet metadata. Turn off to skip spreadsheets entirely. | | Include Worksheets | On | Fetch worksheet metadata. Turn off to skip worksheets entirely. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a132a356d8ea3314299b648265a253c) * **Filter Patterns**: Apply include or exclude rules to scope which directories, files, spreadsheets, and worksheets this agent ingests. Use FQN for filtering to apply regex on fully qualified names (e.g. `service_name.directory_name.file_name`) instead of raw names. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1337b9f82862926e08662b4f1fb0013b) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Tags | On | Ingest tags from the source. | | Include Owners | Off | Assign owners from the source when the owner email matches a Collate user. Does not overwrite an existing owner. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=508c5978a32083dabbc5443f2a1ec4b4) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # Google Drive Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/drive/googledrive/hybrid-runner Connect Google Drive to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Google Drive](/public/images/connectors/googledrive.webp) # Google Drive BETA This section provides guides and references to use the Google Drive connector. Configure and schedule Google Drive metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### GCP Credentials To connect to Google Drive, you'll need to set up a Google Cloud Platform (GCP) service account with the necessary permissions. #### 1. Create a Service Account 1. Go to the [Google Cloud Console](https://console.cloud.google.com/). 2. Navigate to **IAM & Admin** > **Service Accounts**. 3. Click **Create Service Account**. 4. Provide a name and description for the service account. 5. Grant the service account the necessary roles (at minimum: **Viewer** role). 6. Click **Done**. #### 2. Enable Google Drive API 1. In the Google Cloud Console, navigate to **APIs & Services** > **Library**. 2. Search for "Google Drive API." 3. Click on it and enable the API. #### 3. Create and Download Service Account Key 1. Navigate back to **IAM & Admin** > **Service Accounts**. 2. Click on your newly created service account. 3. Go to the **Keys** tab. 4. Click **Add Key** > **Create new key**. 5. Choose **JSON** as the key type. 6. Download the JSON key file. #### 4. Domain-Wide Delegation (Optional) If you need to access files owned by other users in your organization: 1. In the service account details, click **Show Domain-Wide Delegation**. 2. Enable **Enable Google Workspace Domain-wide Delegation**. 3. Note the **Client ID**. 4. In Google Workspace Admin Console: * Navigate to **Security** > **API Controls** > **Domain-wide Delegation**. * Add the Client ID with the following OAuth scopes: * `https://www.googleapis.com/auth/drive.readonly` * `https://www.googleapis.com/auth/spreadsheets.readonly` 5. Specify the delegated email address in the connection configuration. ### Permissions Required The service account needs: * Read access to the Google Drive files and folders you want to ingest * If using shared drives: Access to the specific shared drive * If using domain-wide delegation: Domain-wide delegation enabled with appropriate scopes ## Metadata Ingestion To ingest metadata from Google Drive, you need to create a service connection. The service connects Google Drive with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Drive Services**, then click the **Google Drive** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/select-service/googledrive.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=3fb708c94ddf4063b44b7835faccd208) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Google Drive services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/service-name/googledrive.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=bf1613b2ea196a1aabb4b429d3dd559b) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Google Drive. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Drive/connection-details/googledrive.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=700362a6d3965074a901881c7fad9f92) * **GCP Credentials**: Provide the GCP credentials to access Google Drive API. You can provide the credentials in one of the following ways: * **GCP Credentials Path**: Path to the GCP service account credentials JSON file * **GCP Credentials Values**: Paste the content of the GCP service account credentials JSON file directly * **Delegated Email (Optional)**: Email address to impersonate using domain-wide delegation. This is required if you want to access files owned by other users in your organization using domain-wide delegation. * **Drive ID (Optional)**: Specific shared drive ID to connect to. If provided, only this shared drive will be processed. Leave empty to process all accessible drives. * **Include Team Drives**: Enable to include shared/team drives in metadata extraction. Default is `true`. * **Include Google Sheets**: Enable to extract metadata only for Google Sheets files. When enabled, only Google Sheets will be processed. Default is `false`. * **Directory Filter Pattern (Optional)**: Regex pattern to include or exclude directories from metadata extraction. * **File Filter Pattern (Optional)**: Regex pattern to include or exclude files from metadata extraction. * **Spreadsheet Filter Pattern (Optional)**: Regex pattern to include or exclude spreadsheets from metadata extraction (only applies when Include Google Sheets is enabled). * **Worksheet Filter Pattern (Optional)**: Regex pattern to include or exclude worksheets within spreadsheets from metadata extraction (only applies when Include Google Sheets is enabled). #### Advanced Configuration Drive Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the source during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your drive service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all directories, files, spreadsheets, and worksheets available in the source. #### Filter Options The Directory, File, Spreadsheet, and Worksheet sections each include the following filter options: * **Directory**: Controls which directories (folders) Collate ingests from the source. * **File**: Controls which individual files within the ingested directories are included. * **Spreadsheet**: Controls which spreadsheet files are included in metadata ingestion. * **Worksheet**: Controls which individual worksheets (tabs within a spreadsheet) are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts directories, files, spreadsheets, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Number of Threads | 1 | Number of threads to use for parallel drive ingestion. | | Mark Deleted Directories | On | Soft-delete directories in Collate when they are removed from the source. Associated entities like files, spreadsheets, worksheets, and lineage are also deleted. | | Mark Deleted Files | On | Soft-delete files in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Spreadsheets | On | Soft-delete spreadsheets in Collate when they are removed from the source. Associated entities like worksheets and lineage are also deleted. | | Mark Deleted Worksheets | On | Soft-delete worksheets in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include Directories | On | Fetch directory metadata. Turn off to skip directories entirely. | | Include Files | On | Fetch file metadata. Turn off to skip files entirely. | | Include Spreadsheets | On | Fetch spreadsheet metadata. Turn off to skip spreadsheets entirely. | | Include Worksheets | On | Fetch worksheet metadata. Turn off to skip worksheets entirely. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a132a356d8ea3314299b648265a253c) * **Filter Patterns**: Apply include or exclude rules to scope which directories, files, spreadsheets, and worksheets this agent ingests. Use FQN for filtering to apply regex on fully qualified names (e.g. `service_name.directory_name.file_name`) instead of raw names. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1337b9f82862926e08662b4f1fb0013b) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Tags | On | Ingest tags from the source. | | Include Owners | Off | Assign owners from the source when the owner email matches a Collate user. Does not overwrite an existing owner. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=508c5978a32083dabbc5443f2a1ec4b4) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Google Drive Troubleshooting](/ai-2-0/connectors/drive/googledrive/troubleshooting) > > Learn more about how to troubleshoot common Google Drive connector issues and resolve configuration or ingestion errors. # Google Drive Connector Source: https://docs.getcollate.io/ai-2-0/connectors/drive/googledrive/index Connect Google Drive to Collate with our comprehensive drive connector guide. Step-by-step setup, configuration examples, and metadata extraction tips. ![Google Drive](/public/images/connectors/googledrive.webp) # Google Drive BETA This section provides guides and references to use the Google Drive connector. Configure and schedule Google Drive metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Data Profiler](/ai-2-0/how-to-guides/data-quality-observability/profiler/profiler-workflow) * [Troubleshooting](/ai-2-0/connectors/drive/googledrive/troubleshooting) ## Requirements ### GCP Credentials To connect to Google Drive, you'll need to set up a Google Cloud Platform (GCP) service account with the necessary permissions. #### 1. Create a Service Account 1. Go to the [Google Cloud Console](https://console.cloud.google.com/). 2. Navigate to **IAM & Admin** > **Service Accounts**. 3. Click **Create Service Account**. 4. Provide a name and description for the service account. 5. Grant the service account the necessary roles (at minimum: **Viewer** role). 6. Click **Done**. #### 2. Enable Google Drive API 1. In the Google Cloud Console, navigate to **APIs & Services** > **Library**. 2. Search for "Google Drive API." 3. Click on it and enable the API. #### 3. Create and Download Service Account Key 1. Navigate back to **IAM & Admin** > **Service Accounts**. 2. Click on your newly created service account. 3. Go to the **Keys** tab. 4. Click **Add Key** > **Create new key**. 5. Choose **JSON** as the key type. 6. Download the JSON key file. #### 4. Domain-Wide Delegation (Optional) If you need to access files owned by other users in your organization: 1. In the service account details, click **Show Domain-Wide Delegation**. 2. Enable **Enable Google Workspace Domain-wide Delegation**. 3. Note the **Client ID**. 4. In Google Workspace Admin Console: * Navigate to **Security** > **API Controls** > **Domain-wide Delegation**. * Add the Client ID with the following OAuth scopes: * `https://www.googleapis.com/auth/drive.readonly` * `https://www.googleapis.com/auth/spreadsheets.readonly` 5. Specify the delegated email address in the connection configuration. ### Permissions Required The service account needs: * Read access to the Google Drive files and folders you want to ingest * If using shared drives: Access to the specific shared drive * If using domain-wide delegation: Domain-wide delegation enabled with appropriate scopes ## Metadata Ingestion To ingest metadata from Google Drive, you need to create a service connection. The service connects Google Drive with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Drive Services**, then click the **Google Drive** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/select-service/googledrive.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=3fb708c94ddf4063b44b7835faccd208) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Google Drive services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/service-name/googledrive.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=bf1613b2ea196a1aabb4b429d3dd559b) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Google Drive. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/bWmb7UY94lEjxxg4/public/images/ai-2.0/connectors/metadata-ingestion/Drive/connection-details/googledrive.png?fit=max\&auto=format\&n=bWmb7UY94lEjxxg4\&q=85\&s=700362a6d3965074a901881c7fad9f92) * **GCP Credentials**: Provide the GCP credentials to access Google Drive API. You can provide the credentials in one of the following ways: * **GCP Credentials Path**: Path to the GCP service account credentials JSON file * **GCP Credentials Values**: Paste the content of the GCP service account credentials JSON file directly * **Delegated Email (Optional)**: Email address to impersonate using domain-wide delegation. This is required if you want to access files owned by other users in your organization using domain-wide delegation. * **Drive ID (Optional)**: Specific shared drive ID to connect to. If provided, only this shared drive will be processed. Leave empty to process all accessible drives. * **Include Team Drives**: Enable to include shared/team drives in metadata extraction. Default is `true`. * **Include Google Sheets**: Enable to extract metadata only for Google Sheets files. When enabled, only Google Sheets will be processed. Default is `false`. * **Directory Filter Pattern (Optional)**: Regex pattern to include or exclude directories from metadata extraction. * **File Filter Pattern (Optional)**: Regex pattern to include or exclude files from metadata extraction. * **Spreadsheet Filter Pattern (Optional)**: Regex pattern to include or exclude spreadsheets from metadata extraction (only applies when Include Google Sheets is enabled). * **Worksheet Filter Pattern (Optional)**: Regex pattern to include or exclude worksheets within spreadsheets from metadata extraction (only applies when Include Google Sheets is enabled). #### Advanced Configuration Drive Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the source during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your drive service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all directories, files, spreadsheets, and worksheets available in the source. #### Filter Options The Directory, File, Spreadsheet, and Worksheet sections each include the following filter options: * **Directory**: Controls which directories (folders) Collate ingests from the source. * **File**: Controls which individual files within the ingested directories are included. * **Spreadsheet**: Controls which spreadsheet files are included in metadata ingestion. * **Worksheet**: Controls which individual worksheets (tabs within a spreadsheet) are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts directories, files, spreadsheets, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Number of Threads | 1 | Number of threads to use for parallel drive ingestion. | | Mark Deleted Directories | On | Soft-delete directories in Collate when they are removed from the source. Associated entities like files, spreadsheets, worksheets, and lineage are also deleted. | | Mark Deleted Files | On | Soft-delete files in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Spreadsheets | On | Soft-delete spreadsheets in Collate when they are removed from the source. Associated entities like worksheets and lineage are also deleted. | | Mark Deleted Worksheets | On | Soft-delete worksheets in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include Directories | On | Fetch directory metadata. Turn off to skip directories entirely. | | Include Files | On | Fetch file metadata. Turn off to skip files entirely. | | Include Spreadsheets | On | Fetch spreadsheet metadata. Turn off to skip spreadsheets entirely. | | Include Worksheets | On | Fetch worksheet metadata. Turn off to skip worksheets entirely. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a132a356d8ea3314299b648265a253c) * **Filter Patterns**: Apply include or exclude rules to scope which directories, files, spreadsheets, and worksheets this agent ingests. Use FQN for filtering to apply regex on fully qualified names (e.g. `service_name.directory_name.file_name`) instead of raw names. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1337b9f82862926e08662b4f1fb0013b) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Tags | On | Ingest tags from the source. | | Include Owners | Off | Assign owners from the source when the owner email matches a Collate user. Does not overwrite an existing owner. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=508c5978a32083dabbc5443f2a1ec4b4) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Google Drive Troubleshooting](/ai-2-0/connectors/drive/googledrive/troubleshooting) > > Learn more about how to troubleshoot common Google Drive connector issues and resolve configuration or ingestion errors. # Google Drive Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/drive/googledrive/troubleshooting Troubleshoot common issues with the Google Drive connector in Collate, including authentication failures, permission errors, missing files, and domain-wide delegation problems. # Troubleshooting Learn how to resolve the most common problems people encounter when using the Google Drive connector. ## Common Issues ### Authentication Errors **Problem**: Unable to authenticate with Google Drive API **Solutions**: 1. Verify that the Google Drive API is enabled in your GCP project 2. Check that your service account has the correct permissions 3. Ensure the credentials JSON file is valid and properly formatted 4. If using domain-wide delegation, verify the Client ID and OAuth scopes are correctly configured in Google Workspace Admin Console ### Permission Denied Errors **Problem**: "Permission denied" or "Access denied" errors during metadata extraction **Solutions**: 1. Verify the service account has read access to the files and folders you're trying to ingest 2. If using shared drives, ensure the service account has been granted access to the specific shared drive 3. Check if the `delegatedEmail` (if configured) has the necessary permissions 4. Verify the following OAuth scopes are granted: * `https://www.googleapis.com/auth/drive.readonly` * `https://www.googleapis.com/auth/spreadsheets.readonly` (if using Google Sheets) ### No Files Detected **Problem**: Ingestion completes successfully but no files are extracted **Solutions**: 1. Check your filter patterns - they might be excluding all files 2. Verify that the `driveId` (if specified) is correct 3. Ensure `includeTeamDrives` is set to `true` if you want to include shared drives 4. Check that the service account has access to the drives you're trying to ingest ### Domain-Wide Delegation Issues **Problem**: Domain-wide delegation not working **Solutions**: 1. Verify the Client ID is correctly added to the Google Workspace Admin Console 2. Ensure the OAuth scopes are properly configured 3. Check that the `delegatedEmail` specified in the connection configuration is correct 4. Verify that the service account has domain-wide delegation enabled ### Google Sheets Not Extracted **Problem**: Google Sheets files are not being ingested **Solutions**: 1. Set `includeGoogleSheets` to `true` in your configuration 2. Verify the Google Sheets API is enabled in your GCP project 3. Check that the OAuth scope `https://www.googleapis.com/auth/spreadsheets.readonly` is granted ## Getting Help If you continue to experience issues: 1. Check the [OpenMetadata Slack](https://slack.open-metadata.org/) community 2. Review the [GitHub Issues](https://github.com/open-metadata/OpenMetadata/issues) for similar problems 3. Consult the [Google Drive API documentation](https://developers.google.com/drive/api/guides/about-sdk) 4. Open a new issue on [GitHub](https://github.com/open-metadata/OpenMetadata/issues/new/choose) with detailed logs and error messages # Drive Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/drive/index # Drive Services This is the supported list of connectors for Drive Services: > [card] [Custom Drive](/ai-2-0/connectors/drive/custom-drive) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Google Drive](/ai-2-0/connectors/drive/googledrive) > > BETA > [card] [SFTP](/ai-2-0/connectors/drive/sftp) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA If you have a request for a new connector, don't hesitate to reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts directories, files, spreadsheets, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Number of Threads | 1 | Number of threads to use for parallel drive ingestion. | | Mark Deleted Directories | On | Soft-delete directories in Collate when they are removed from the source. Associated entities like files, spreadsheets, worksheets, and lineage are also deleted. | | Mark Deleted Files | On | Soft-delete files in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Spreadsheets | On | Soft-delete spreadsheets in Collate when they are removed from the source. Associated entities like worksheets and lineage are also deleted. | | Mark Deleted Worksheets | On | Soft-delete worksheets in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include Directories | On | Fetch directory metadata. Turn off to skip directories entirely. | | Include Files | On | Fetch file metadata. Turn off to skip files entirely. | | Include Spreadsheets | On | Fetch spreadsheet metadata. Turn off to skip spreadsheets entirely. | | Include Worksheets | On | Fetch worksheet metadata. Turn off to skip worksheets entirely. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a132a356d8ea3314299b648265a253c) * **Filter Patterns**: Apply include or exclude rules to scope which directories, files, spreadsheets, and worksheets this agent ingests. Use FQN for filtering to apply regex on fully qualified names (e.g. `service_name.directory_name.file_name`) instead of raw names. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1337b9f82862926e08662b4f1fb0013b) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Tags | On | Ingest tags from the source. | | Include Owners | Off | Assign owners from the source when the owner email matches a Collate user. Does not overwrite an existing owner. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=508c5978a32083dabbc5443f2a1ec4b4) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # SFTP Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/drive/sftp/hybrid-runner Connect SFTP servers to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SFTP](/public/images/connectors/sftp.webp) # SFTP BETA This section provides guides and references to use the SFTP connector. Configure and schedule SFTP metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Metadata To extract metadata from an SFTP server, the user needs to have: * A valid SFTP account with either username/password or SSH private key credentials * Read access to the directories and files to be catalogued * Network connectivity from the Collate ingestion host to the SFTP server The user should be able to: * Authenticate to the SFTP server via the specified credentials * List directories under the configured root directories * Read file metadata (name, size, timestamps) You can find more details about SFTP configuration in the [OpenSSH documentation](https://www.openssh.com/). ### Profiler and Data Quality SFTP is a file storage connector. Profiler and data quality workflows are not supported for this connector. ## Metadata Ingestion To ingest metadata from SFTP, you need to create a service connection. The service connects SFTP with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Drive Services**, then click the **Sftp** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/select-service/sftp.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=e14a42d0147f51e309f2d38534f634fd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SFTP services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/service-name/sftp.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0b4443145f13485132fd1b03789677b0) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SFTP. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/connection-details/sftp.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=25e07d7eab6b0a7e09616305b9eae864) * **Host**: SFTP server hostname or IP address. * **Port**: SFTP server port number. Defaults to `22`. * **Authentication Type**: Choose between: * **Username/Password**: Authenticate using a username and password. * **Private Key**: Authenticate using an SSH private key in PEM format. Supports RSA, Ed25519, ECDSA, and DSS keys. An optional passphrase can be provided if the key is encrypted. * **Root Directories** *(Optional)*: List of root directories to scan for files and subdirectories. Defaults to `/` (the user's home directory). * **Directory Filter Pattern** *(Optional)*: Regex to only include/exclude directories that match the pattern. * **File Filter Pattern** *(Optional)*: Regex to only include/exclude files that match the pattern. * **Structured Data Files Only** *(Optional)*: When enabled, only catalog structured data files (CSV, TSV) that can have schema extracted. Non-structured files like images, PDFs, and videos will be skipped. Defaults to `false`. * **Extract Sample Data** *(Optional)*: When enabled, extract sample data from structured files (CSV, TSV). Disabled by default to avoid performance overhead. #### Advanced Configuration Drive Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the source during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your drive service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all directories, files, spreadsheets, and worksheets available in the source. #### Filter Options The Directory, File, Spreadsheet, and Worksheet sections each include the following filter options: * **Directory**: Controls which directories (folders) Collate ingests from the source. * **File**: Controls which individual files within the ingested directories are included. * **Spreadsheet**: Controls which spreadsheet files are included in metadata ingestion. * **Worksheet**: Controls which individual worksheets (tabs within a spreadsheet) are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts directories, files, spreadsheets, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Number of Threads | 1 | Number of threads to use for parallel drive ingestion. | | Mark Deleted Directories | On | Soft-delete directories in Collate when they are removed from the source. Associated entities like files, spreadsheets, worksheets, and lineage are also deleted. | | Mark Deleted Files | On | Soft-delete files in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Spreadsheets | On | Soft-delete spreadsheets in Collate when they are removed from the source. Associated entities like worksheets and lineage are also deleted. | | Mark Deleted Worksheets | On | Soft-delete worksheets in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include Directories | On | Fetch directory metadata. Turn off to skip directories entirely. | | Include Files | On | Fetch file metadata. Turn off to skip files entirely. | | Include Spreadsheets | On | Fetch spreadsheet metadata. Turn off to skip spreadsheets entirely. | | Include Worksheets | On | Fetch worksheet metadata. Turn off to skip worksheets entirely. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a132a356d8ea3314299b648265a253c) * **Filter Patterns**: Apply include or exclude rules to scope which directories, files, spreadsheets, and worksheets this agent ingests. Use FQN for filtering to apply regex on fully qualified names (e.g. `service_name.directory_name.file_name`) instead of raw names. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1337b9f82862926e08662b4f1fb0013b) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Tags | On | Ingest tags from the source. | | Include Owners | Off | Assign owners from the source when the owner email matches a Collate user. Does not overwrite an existing owner. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=508c5978a32083dabbc5443f2a1ec4b4) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SFTP Troubleshooting](/ai-2-0/connectors/drive/sftp/troubleshooting) > > Learn more about how to troubleshoot common SFTP connector issues and resolve configuration or ingestion errors. # SFTP Connector Source: https://docs.getcollate.io/ai-2-0/connectors/drive/sftp/index Connect SFTP servers to Collate with our comprehensive drive connector guide. Step-by-step setup, configuration, and metadata extraction for secure file transfer protocol servers. ![SFTP](/public/images/connectors/sftp.webp) # SFTP BETA This section provides guides and references to use the SFTP connector. Configure and schedule SFTP metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/drive/sftp/troubleshooting) ## Requirements ### Metadata To extract metadata from an SFTP server, the user needs to have: * A valid SFTP account with either username/password or SSH private key credentials * Read access to the directories and files to be catalogued * Network connectivity from the Collate ingestion host to the SFTP server The user should be able to: * Authenticate to the SFTP server via the specified credentials * List directories under the configured root directories * Read file metadata (name, size, timestamps) You can find more details about SFTP configuration in the [OpenSSH documentation](https://www.openssh.com/). ### Profiler and Data Quality SFTP is a file storage connector. Profiler and data quality workflows are not supported for this connector. ## Metadata Ingestion To ingest metadata from SFTP, you need to create a service connection. The service connects SFTP with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Drive Services**, then click the **Sftp** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/select-service/sftp.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=e14a42d0147f51e309f2d38534f634fd) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SFTP services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/service-name/sftp.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0b4443145f13485132fd1b03789677b0) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SFTP. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/connection-details/sftp.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=25e07d7eab6b0a7e09616305b9eae864) * **Host**: SFTP server hostname or IP address. * **Port**: SFTP server port number. Defaults to `22`. * **Authentication Type**: Choose between: * **Username/Password**: Authenticate using a username and password. * **Private Key**: Authenticate using an SSH private key in PEM format. Supports RSA, Ed25519, ECDSA, and DSS keys. An optional passphrase can be provided if the key is encrypted. * **Root Directories** *(Optional)*: List of root directories to scan for files and subdirectories. Defaults to `/` (the user's home directory). * **Directory Filter Pattern** *(Optional)*: Regex to only include/exclude directories that match the pattern. * **File Filter Pattern** *(Optional)*: Regex to only include/exclude files that match the pattern. * **Structured Data Files Only** *(Optional)*: When enabled, only catalog structured data files (CSV, TSV) that can have schema extracted. Non-structured files like images, PDFs, and videos will be skipped. Defaults to `false`. * **Extract Sample Data** *(Optional)*: When enabled, extract sample data from structured files (CSV, TSV). Disabled by default to avoid performance overhead. #### Advanced Configuration Drive Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the source during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your drive service. Filter rules match asset names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave all filter patterns empty to ingest all directories, files, spreadsheets, and worksheets available in the source. #### Filter Options The Directory, File, Spreadsheet, and Worksheet sections each include the following filter options: * **Directory**: Controls which directories (folders) Collate ingests from the source. * **File**: Controls which individual files within the ingested directories are included. * **Spreadsheet**: Controls which spreadsheet files are included in metadata ingestion. * **Worksheet**: Controls which individual worksheets (tabs within a spreadsheet) are included. Each section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts directories, files, spreadsheets, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Number of Threads | 1 | Number of threads to use for parallel drive ingestion. | | Mark Deleted Directories | On | Soft-delete directories in Collate when they are removed from the source. Associated entities like files, spreadsheets, worksheets, and lineage are also deleted. | | Mark Deleted Files | On | Soft-delete files in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Spreadsheets | On | Soft-delete spreadsheets in Collate when they are removed from the source. Associated entities like worksheets and lineage are also deleted. | | Mark Deleted Worksheets | On | Soft-delete worksheets in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include Directories | On | Fetch directory metadata. Turn off to skip directories entirely. | | Include Files | On | Fetch file metadata. Turn off to skip files entirely. | | Include Spreadsheets | On | Fetch spreadsheet metadata. Turn off to skip spreadsheets entirely. | | Include Worksheets | On | Fetch worksheet metadata. Turn off to skip worksheets entirely. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a132a356d8ea3314299b648265a253c) * **Filter Patterns**: Apply include or exclude rules to scope which directories, files, spreadsheets, and worksheets this agent ingests. Use FQN for filtering to apply regex on fully qualified names (e.g. `service_name.directory_name.file_name`) instead of raw names. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1337b9f82862926e08662b4f1fb0013b) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Include Tags | On | Ingest tags from the source. | | Include Owners | Off | Assign owners from the source when the owner email matches a Collate user. Does not overwrite an existing owner. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Drive/drive-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=508c5978a32083dabbc5443f2a1ec4b4) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SFTP Troubleshooting](/ai-2-0/connectors/drive/sftp/troubleshooting) > > Learn more about how to troubleshoot common SFTP connector issues and resolve configuration or ingestion errors. # SFTP Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/drive/sftp/troubleshooting Solve SFTP connector issues in Collate with expert troubleshooting guides. Fix connection errors, authentication problems, and data ingestion failures fast. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Messaging Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/index Discover Collate's messaging connectors to integrate Kafka, Kinesis, Pub/Sub, Redpanda, and other streaming platforms. Extract metadata, lineage, and schema. # Messaging Services This is the supported list of connectors for Messaging Services: > [card] [Kafka](/ai-2-0/connectors/messaging/kafka) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Kinesis](/ai-2-0/connectors/messaging/kinesis) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [NATS JetStream](/ai-2-0/connectors/messaging/nats) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Pub/Sub](/ai-2-0/connectors/messaging/pubsub) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Redpanda](/ai-2-0/connectors/messaging/redpanda) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD If you have a request for a new connector, reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # Kafka Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/kafka/hybrid-runner Connect Kafka to Collate effortlessly with our comprehensive connector guide. Set up messaging metadata ingestion, configuration, and monitoring in minutes. ![Kafka](/public/images/connectors/kafka.webp) # Kafka PROD This section provides guides and references to use the Kafka connector. Configure and schedule Kafka metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-kafka-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/messaging/kafka/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Connecting to Kafka does not require any previous configuration. The ingestion of the Kafka topics' schema is done separately by configuring the **Schema Registry URL**. However, only the **Bootstrap Servers** information is mandatory. Below are the required Permissions for fetching the Metadata:- * READ TOPIC * DESCRIBE TOPIC * READ CLUSTER ## Metadata Ingestion To ingest metadata from Kafka, you need to create a service connection. The service connects Kafka with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Kafka** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/kafka.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=21e6562ef1439b2f881cd6c46f9f8e0d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Kafka services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/kafka.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2cda03ee443e58d927f2a4d43f5527be) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Kafka. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/kafka.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=5911d4f1cee61ea89d3386ecb0162610) * **Bootstrap Servers**: List of brokers as comma separated values of broker `host` or `host:port`. Example: `host1:9092,host2:9092` * **Schema Registry URL**: URL of the Schema Registry used to ingest the schemas of the topics. * **SASL Username**: SASL username for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Password**: SASL password for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Mechanism**: SASL mechanism to use for authentication. * **Basic Auth User Info**: Schema Registry Client HTTP credentials in the form of `username:password`. By default, user info is extracted from the URL if present. * **Consumer Config**: See the [librdkafka configuration reference](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md) for accepted additional values. * If you are using Confluent Kafka and SSL encryption is enabled, you need to add `security.protocol` as key and `SASL_SSL` as value under Consumer Config. * **Schema Registry Config**: See the [Confluent Schema Registry client reference](https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#schemaregistryclient) for accepted additional values. > [!TIP] > > **Tip**: To ingest the topic schema, provide the `Schema Registry URL` > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your messaging service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Kafka Connection with SSL in Collate To establish secure connections between Collate and Kafka, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you’ll need to use all three parameters: `ssl_key`, `ssl_cert`, and `caCertificate`. In this case, `ssl_cert` is used for the client’s SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `caCertificate` for the CA certificate to validate the server’s certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_kafka.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=eeadd9e414f04e35ebff14a0d8d5dca1) ## Troubleshooting > [card] [Kafka Troubleshooting](/ai-2-0/connectors/messaging/kafka/troubleshooting) > > Learn more about how to troubleshoot common Kafka connector issues and resolve configuration or ingestion errors. # Kafka Connector Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/kafka/index Connect Kafka to Collate effortlessly with our comprehensive connector guide. Set up messaging metadata ingestion, configuration, and monitoring in minutes. ![Kafka](/public/images/connectors/kafka.webp) # Kafka PROD [YouTube video player](https://www.youtube.com/embed/bRwQtuCeC_s) This section provides guides and references to use the Kafka connector. Configure and schedule Kafka metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Enable Security](#securing-kafka-connection-with-ssl-in-collate) * [Troubleshooting](/ai-2-0/connectors/messaging/kafka/troubleshooting) ## Requirements Connecting to Kafka does not require any previous configuration. The ingestion of the Kafka topics' schema is done separately by configuring the **Schema Registry URL**. However, only the **Bootstrap Servers** information is mandatory. Below are the required Permissions for fetching the Metadata:- * READ TOPIC * DESCRIBE TOPIC * READ CLUSTER ## Metadata Ingestion To ingest metadata from Kafka, you need to create a service connection. The service connects Kafka with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Kafka** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/kafka.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=21e6562ef1439b2f881cd6c46f9f8e0d) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Kafka services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/kafka.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2cda03ee443e58d927f2a4d43f5527be) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Kafka. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/kafka.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=5911d4f1cee61ea89d3386ecb0162610) * **Bootstrap Servers**: List of brokers as comma separated values of broker `host` or `host:port`. Example: `host1:9092,host2:9092` * **Schema Registry URL**: URL of the Schema Registry used to ingest the schemas of the topics. * **SASL Username**: SASL username for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Password**: SASL password for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Mechanism**: SASL mechanism to use for authentication. * **Basic Auth User Info**: Schema Registry Client HTTP credentials in the form of `username:password`. By default, user info is extracted from the URL if present. * **Consumer Config**: See the [librdkafka configuration reference](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md) for accepted additional values. If you are using Confluent Kafka and SSL encryption is enabled, you need to add `security.protocol` as key and `SASL_SSL` as value under Consumer Config. * **Schema Registry Config**: See the [Confluent Schema Registry client reference](https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#schemaregistryclient) for accepted additional values. > [!TIP] > > **Tip**: To ingest the topic schema, provide the `Schema Registry URL` #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your messaging service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Securing Kafka Connection with SSL in Collate To establish secure connections between Collate and Kafka, navigate to the `Advanced Config` section. Here, you can provide the CA certificate used for SSL validation by specifying the `caCertificate`. Alternatively, if both client and server require mutual authentication, you’ll need to use all three parameters: `ssl_key`, `ssl_cert`, and `caCertificate`. In this case, `ssl_cert` is used for the client’s SSL certificate, `ssl_key` for the private key associated with the SSL certificate, and `caCertificate` for the CA certificate to validate the server’s certificate. ![SSL Configuration](https://mintcdn.com/collatedocs/qybQN_VCNOUNg9nn/public/images/connectors/ssl_kafka.png?fit=max\&auto=format\&n=qybQN_VCNOUNg9nn\&q=85\&s=eeadd9e414f04e35ebff14a0d8d5dca1) ## Troubleshooting > [card] [Kafka Troubleshooting](/ai-2-0/connectors/messaging/kafka/troubleshooting) > > Learn more about how to troubleshoot common Kafka connector issues and resolve configuration or ingestion errors. # Kafka Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/kafka/troubleshooting Resolve Kafka ingestion problems including schema registry errors, consumer group misalignments, or lag detection issues. # Troubleshooting ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Consumer and Schema Registry Config When configuring the Kafka connector, the connector may require extra parameters to the consumer or the schema registry to be able to connect. The accepted values for the consumer can be found in the following [consumer configuration reference](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md), while the optional values for the schema registry are described in the [schema registry client documentation](https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#schemaregistryclient). If you encounter issues connecting to the Schema Registry, ensure that the protocol is explicitly specified in the Schema Registry URL, for example `http://localhost:8081` instead of `localhost:8081`. The Schema Registry requires a properly formatted URL, including the protocol (`http://` or `https://`). While this differentiation is expected in the Schema Registry configuration, it may not be immediately apparent. In case you are performing the ingestion through the CLI with a YAML file, the service connection config should look like this: ```yaml theme={null} serviceConnection: config: type: Kafka bootstrapServers: localhost:9092 schemaRegistryURL: http://localhost:8081 schemaRegistryTopicSuffixName: "suffix-name" consumerConfig: "ssl.truststore.password": "password" schemaRegistryConfig: "basic.auth.user.info": "username:password" ``` ## Connecting to Confluent Cloud Kafka If you are using Confluent Kafka and SSL encryption is enabled, you need to add `security.protocol` as key and `SASL_SSL` as value under Consumer Config. # Kinesis Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/kinesis/hybrid-runner Connect Amazon Kinesis to Collate with our comprehensive connector guide. Set up real-time streaming data ingestion and metadata extraction easily. ![Kinesis](/public/images/connectors/kinesis.webp) # Kinesis PROD This section provides guides and references to use the Kinesis connector. Configure and schedule Kinesis metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/kinesis/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The Kinesis connector ingests metadata using the Kinesis boto3 client. Collate retrieves information about streams and sample data from the streams in the AWS account. The user must have the following policy set to access the metadata from Kinesis. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "KinesisPolicy", "Effect": "Allow", "Action": [ "kinesis:ListStreams", "kinesis:DescribeStreamSummary", "kinesis:ListShards", "kinesis:GetShardIterator", "kinesis:GetRecords" ], "Resource": "*" } ] } ``` For more information on Kinesis permissions visit the [AWS Kinesis official documentation](https://docs.aws.amazon.com/streams/latest/dev/controlling-access.html). ## Metadata Ingestion To ingest metadata from Kinesis, you need to create a service connection. The service connects Kinesis with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Kinesis** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/kinesis.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=366122be1f4a97aeadf9413770fc3d72) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Kinesis services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/kinesis.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=614dde3f004b71d393e2453043bce78c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Kinesis. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/kinesis.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=9560823aeb17ed8be31b910248dd1e90) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, Collate needs to know which region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your messaging service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Kinesis Troubleshooting](/ai-2-0/connectors/messaging/kinesis/troubleshooting) > > Learn more about how to troubleshoot common Kinesis connector issues and resolve configuration or ingestion errors. # Kinesis Connector Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/kinesis/index Connect Amazon Kinesis to Collate with our comprehensive connector guide. Set up real-time streaming data ingestion and metadata extraction easily. ![Kinesis](/public/images/connectors/kinesis.webp) # Kinesis PROD This section provides guides and references to use the Kinesis connector. Configure and schedule Kinesis metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/kinesis/troubleshooting) ## Requirements The Kinesis connector ingests metadata using the Kinesis boto3 client. Collate retrieves information about streams and sample data from the streams in the AWS account. The user must have the following policy set to access the metadata from Kinesis. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "KinesisPolicy", "Effect": "Allow", "Action": [ "kinesis:ListStreams", "kinesis:DescribeStreamSummary", "kinesis:ListShards", "kinesis:GetShardIterator", "kinesis:GetRecords" ], "Resource": "*" } ] } ``` For more information on Kinesis permissions visit the [AWS Kinesis official documentation](https://docs.aws.amazon.com/streams/latest/dev/controlling-access.html). ## Metadata Ingestion To ingest metadata from Kinesis, you need to create a service connection. The service connects Kinesis with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Kinesis** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/kinesis.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=366122be1f4a97aeadf9413770fc3d72) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Kinesis services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/kinesis.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=614dde3f004b71d393e2453043bce78c) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Kinesis. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/kinesis.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=9560823aeb17ed8be31b910248dd1e90) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, Collate needs to know which region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your messaging service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Kinesis Troubleshooting](/ai-2-0/connectors/messaging/kinesis/troubleshooting) > > Learn more about how to troubleshoot common Kinesis connector issues and resolve configuration or ingestion errors. # Kinesis Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/kinesis/troubleshooting Troubleshoot Kinesis ingestion for event dropouts, schema mapping issues, or stream configuration errors. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # NATS JetStream Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/nats/hybrid-runner Hybrid Runner - Deploy the ingestion agent in your environment for secure, private network metadata extraction from NATS JetStream to Collate. ![NATS JetStream](/public/images/connectors/nats.png) # NATS JetStream BETA This section covers how to use the NATS JetStream connector. The connector ingests NATS JetStream **streams** as Collate **topics**. For each stream, the connector collects its state and configuration. The configuration includes subjects, storage type, retention policy, replication factor, and limits on message count and size. The connector can optionally fetch a sample of recent messages and read each stream's schema from a JetStream key-value (KV) bucket. Configure and schedule NATS JetStream metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/nats/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The connector communicates with the NATS JetStream API, so JetStream must be enabled on your NATS server. The connector reads metadata from the JetStream management subjects, for example `$JS.API.STREAM.LIST`, so the credentials you supply must be allowed to publish to and receive replies from the `$JS.API.>` subjects. If you want schema ingestion, store your schemas in a JetStream **KV bucket** and configure the bucket with **Schema KV Bucket**. To read them, the credentials must also be able to access the underlying KV stream subjects. The only mandatory connection field is **NATS Servers**. All authentication fields are optional. Leaving them empty connects anonymously. ### Supported Authentication Types NATS JetStream supports several ways to authenticate. Choose the one that matches your server configuration: * **Anonymous**: No credentials. Leave the authentication fields empty. Use this when your NATS server allows unauthenticated access. * **Username and Password**: Basic authentication with a NATS user and password. * **Token**: A single shared authentication token. * **NKey Seed**: NKey-based authentication using the account's seed, the private key that begins with `S`. Any of the above can be combined with **Transport Layer Security (TLS)** for an encrypted connection. Configure TLS separately with **TLS Configuration**. Use mutual TLS (mTLS) by supplying a client certificate and key. ## Metadata Ingestion To ingest metadata from NATS JetStream, you need to create a service connection. The service connects NATS JetStream with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **NATS JetStream** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kEVn7eD78GKy5iTp/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/nats.png?fit=max\&auto=format\&n=kEVn7eD78GKy5iTp\&q=85\&s=16d555b97bf3b098876ece237d7e6c29) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other NATS JetStream services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kEVn7eD78GKy5iTp/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/nats.png?fit=max\&auto=format\&n=kEVn7eD78GKy5iTp\&q=85\&s=5cf9eac4712a848b954891228d0ce572) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for NATS JetStream. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kEVn7eD78GKy5iTp/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/nats.png?fit=max\&auto=format\&n=kEVn7eD78GKy5iTp\&q=85\&s=ae426168df7f8ec2e51fb2e5995dc330) * **NATS Servers**: NATS server URLs as comma-separated values. Each entry uses the `nats://host:port` form (the default NATS port is `4222`). Example: `nats://host1:4222,nats://host2:4222`. This is the only required field. * **Authentication Type**: The method used to authenticate to NATS. Leave empty for anonymous access, or choose one of the following: * **Username and Password**: Provide a **Username** and **Password** for basic authentication. * **Token**: Provide a single **Token** for token-based authentication. * **NKey Seed**: Provide an **NKey Seed** (the private key seed beginning with `S`) for NKey authentication. * **TLS Configuration** *(optional)*: TLS/SSL configuration for secure connections. Provide the **CA Certificate** used to validate the server. For mutual TLS, also provide the **SSL Certificate** (client certificate) and **SSL Key** (the private key for that certificate). Both must be supplied together. For more information, see [TLS Configuration](#tls-configuration). * **Schema KV Bucket** *(optional)*: Name of the JetStream KV bucket where schemas are stored. Keys must match stream names and values should be Avro JSON, Protobuf (`.proto`), or JSON Schema text. For more information, see [Schema KV Bucket](#schema-kv-bucket). * **Additional NATS Config** *(optional)*: Additional NATS client configuration options passed through to the client. See the [NATS Python client documentation](https://nats-io.github.io/nats.py/). The following connection-managed keys are reserved and can't be set here: `servers`, `user`, `password`, `token`, `nkeys_seed`, `nkeys_seed_str`, `tls`, `user_credentials`, `signature_cb`, and `user_jwt_cb`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields, such as passwords, API keys, and private keys, must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) The test runs two checks: * **GetTopics**: Lists JetStream streams to confirm the connection and JetStream access. * **CheckSchemaKvBucket**: Confirms the configured Schema KV bucket is reachable. This check is optional. When no **Schema KV Bucket** is set, it reports a failure that you can ignore. The overall test still passes. ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which topics (JetStream streams) Collate ingests from the source. #### How Filter Rules Work Each rule matches topic names using one of five match types: * **contains**: matches any name containing the value. For example, `orders` matches `prod_orders` and `orders_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_orders` and `prod_events`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `orders` matches only `orders`. * **matches regex**: matches names using a regular expression. For example, `^orders_.*_v\d+$` matches `orders_eu_v1`. When include and exclusion rules both match a topic, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all topics available in the source. #### Filter Options The **Topic** section controls which NATS JetStream streams Collate ingests. It provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every topic the connector can access. This is the default. * **Only specific**: Enables include rules so only topics matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Topics matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. A topic is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## TLS Configuration To establish secure connections between Collate and NATS, configure the **TLS Configuration** option. Provide the **CA Certificate** used to validate the NATS server's certificate. If your server requires mutual TLS (mTLS), also provide the **SSL Certificate** (the client certificate) and the **SSL Key** (the private key associated with that certificate). The client certificate and key must always be supplied together. Configuring only one of them results in a connection error. ## Schema KV Bucket NATS JetStream does not have a built-in schema registry. To ingest topic schemas, store them in a JetStream **KV bucket** and set the **Schema KV Bucket** option to that bucket's name. * Each key in the bucket must match a stream (topic) name. * Each value should be schema text in Avro JSON, Protobuf (`.proto`), or JSON Schema format. During ingestion, Collate looks up the latest value for each stream name in the bucket. It then detects the schema type, parses the fields, and attaches the schema to the corresponding topic. Streams without a matching key in the bucket are still ingested, just without a schema. ## Sample Data When **Generate Sample Data** is enabled in the ingestion configuration, Collate fetches up to 10 messages from the last 100 sequences of each stream. The total sample is capped at 1 MB. Only UTF-8 text messages are included. Binary payloads are skipped. Sample data collection also respects the global sample-data storage setting. If sample data storage is disabled server-wide, no sample messages are collected. ## Troubleshooting > [card] [NATS JetStream Troubleshooting](/ai-2-0/connectors/messaging/nats/troubleshooting) > > Learn more about how to troubleshoot common NATS JetStream connector issues and resolve configuration or ingestion errors. # NATS JetStream Connector Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/nats/index Connect Collate to NATS JetStream with the messaging connector. Ingest stream metadata as topics, sample messages, and extract schemas from JetStream KV buckets. ![NATS JetStream](/public/images/connectors/nats.png) # NATS JetStream BETA This section covers how to use the NATS JetStream connector. The connector ingests NATS JetStream **streams** as Collate **topics**. For each stream, the connector collects its state and configuration. The configuration includes subjects, storage type, retention policy, replication factor, and limits on message count and size. The connector can optionally fetch a sample of recent messages and read each stream's schema from a JetStream key-value (KV) bucket. Configure and schedule NATS JetStream metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/nats/troubleshooting) ## Requirements The connector communicates with the NATS JetStream API, so JetStream must be enabled on your NATS server. The connector reads metadata from the JetStream management subjects, for example `$JS.API.STREAM.LIST`, so the credentials you supply must be allowed to publish to and receive replies from the `$JS.API.>` subjects. If you want schema ingestion, store your schemas in a JetStream **KV bucket** and configure the bucket with **Schema KV Bucket**. To read them, the credentials must also be able to access the underlying KV stream subjects. The only mandatory connection field is **NATS Servers**. All authentication fields are optional. Leaving them empty connects anonymously. ### Supported Authentication Types NATS JetStream supports several ways to authenticate. Choose the one that matches your server configuration: * **Anonymous**: No credentials. Leave the authentication fields empty. Use this when your NATS server allows unauthenticated access. * **Username and Password**: Basic authentication with a NATS user and password. * **Token**: A single shared authentication token. * **NKey Seed**: NKey-based authentication using the account's seed, the private key that begins with `S`. Any of the above can be combined with **Transport Layer Security (TLS)** for an encrypted connection. Configure TLS separately with **TLS Configuration**. Use mutual TLS (mTLS) by supplying a client certificate and key. ## Metadata Ingestion To ingest metadata from NATS JetStream, you need to create a service connection. The service connects NATS JetStream with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **NATS JetStream** connector tile. ![Select Service](https://mintcdn.com/collatedocs/kEVn7eD78GKy5iTp/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/nats.png?fit=max\&auto=format\&n=kEVn7eD78GKy5iTp\&q=85\&s=16d555b97bf3b098876ece237d7e6c29) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other NATS JetStream services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/kEVn7eD78GKy5iTp/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/nats.png?fit=max\&auto=format\&n=kEVn7eD78GKy5iTp\&q=85\&s=5cf9eac4712a848b954891228d0ce572) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for NATS JetStream. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/kEVn7eD78GKy5iTp/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/nats.png?fit=max\&auto=format\&n=kEVn7eD78GKy5iTp\&q=85\&s=ae426168df7f8ec2e51fb2e5995dc330) * **NATS Servers**: NATS server URLs as comma-separated values. Each entry uses the `nats://host:port` form (the default NATS port is `4222`). Example: `nats://host1:4222,nats://host2:4222`. This is the only required field. * **Authentication Type**: The method used to authenticate to NATS. Leave empty for anonymous access, or choose one of the following: * **Username and Password**: Provide a **Username** and **Password** for basic authentication. * **Token**: Provide a single **Token** for token-based authentication. * **NKey Seed**: Provide an **NKey Seed** (the private key seed beginning with `S`) for NKey authentication. * **TLS Configuration** *(optional)*: TLS/SSL configuration for secure connections. Provide the **CA Certificate** used to validate the server. For mutual TLS, also provide the **SSL Certificate** (client certificate) and **SSL Key** (the private key for that certificate). Both must be supplied together. For more information, see [TLS Configuration](#tls-configuration). * **Schema KV Bucket** *(optional)*: Name of the JetStream KV bucket where schemas are stored. Keys must match stream names and values should be Avro JSON, Protobuf (`.proto`), or JSON Schema text. For more information, see [Schema KV Bucket](#schema-kv-bucket). * **Additional NATS Config** *(optional)*: Additional NATS client configuration options passed through to the client. See the [NATS Python client documentation](https://nats-io.github.io/nats.py/). The following connection-managed keys are reserved and can't be set here: `servers`, `user`, `password`, `token`, `nkeys_seed`, `nkeys_seed_str`, `tls`, `user_credentials`, `signature_cb`, and `user_jwt_cb`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) The test runs two checks: * **GetTopics**: Lists JetStream streams to confirm the connection and JetStream access. * **CheckSchemaKvBucket**: Confirms the configured Schema KV bucket is reachable. This check is optional. When no **Schema KV Bucket** is set, it reports a failure that you can ignore. The overall test still passes. ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter rules to control which topics (JetStream streams) Collate ingests from the source. #### How Filter Rules Work Each rule matches topic names using one of five match types: * **contains**: matches any name containing the value. For example, `orders` matches `prod_orders` and `orders_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_orders` and `prod_events`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `orders` matches only `orders`. * **matches regex**: matches names using a regular expression. For example, `^orders_.*_v\d+$` matches `orders_eu_v1`. When include and exclusion rules both match a topic, the exclusion rule takes priority. > [!TIP] > > **Tip**: Leave all filter rules empty to ingest all topics available in the source. #### Filter Options The **Topic** section controls which NATS JetStream streams Collate ingests. It provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every topic the connector can access. This is the default. * **Only specific**: Enables include rules so only topics matching at least one rule are ingested. * **Always exclude**: Add permanent exclusion rules (shown in red). Topics matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. A topic is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## TLS Configuration To establish secure connections between Collate and NATS, configure the **TLS Configuration** option. Provide the **CA Certificate** used to validate the NATS server's certificate. If your server requires mutual TLS (mTLS), also provide the **SSL Certificate** (the client certificate) and the **SSL Key** (the private key associated with that certificate). The client certificate and key must always be supplied together. Configuring only one of them results in a connection error. ## Schema KV Bucket NATS JetStream does not have a built-in schema registry. To ingest topic schemas, store them in a JetStream **KV bucket** and set the **Schema KV Bucket** option to that bucket's name. * Each key in the bucket must match a stream (topic) name. * Each value should be schema text in Avro JSON, Protobuf (`.proto`), or JSON Schema format. During ingestion, Collate looks up the latest value for each stream name in the bucket. It then detects the schema type, parses the fields, and attaches the schema to the corresponding topic. Streams without a matching key in the bucket are still ingested, just without a schema. ## Sample Data When **Generate Sample Data** is enabled in the ingestion configuration, Collate fetches up to 10 messages from the last 100 sequences of each stream. The total sample is capped at 1 MB. Only UTF-8 text messages are included. Binary payloads are skipped. Sample data collection also respects the global sample-data storage setting. If sample data storage is disabled server-wide, no sample messages are collected. ## Troubleshooting > [card] [NATS JetStream Troubleshooting](/ai-2-0/connectors/messaging/nats/troubleshooting) > > Learn more about how to troubleshoot common NATS JetStream connector issues and resolve configuration or ingestion errors. # NATS JetStream Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/nats/troubleshooting Troubleshoot NATS JetStream ingestion errors including JetStream access, authentication, TLS, and schema KV bucket problems. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## NATS JetStream-Specific Issues The following issues are specific to the NATS JetStream connector. ### JetStream API Error When Listing Streams The connector reads metadata from the JetStream management subjects, for example `$JS.API.STREAM.LIST`. If the connection fails or the GetTopics test step errors: * Confirm JetStream is enabled on the NATS server. The connector only ingests JetStream streams. A core NATS server without JetStream has nothing to list. * Confirm the credentials are permitted to publish to and receive replies from the `$JS.API.>` subjects. Restrictive NATS permissions can block the management API even when the connection itself succeeds. ### Authentication Failures Provide exactly one authentication type, matching your server configuration: * Choose one of **Username and Password**, **Token**, or **NKey Seed**. * Leave all authentication fields empty only if the server allows anonymous access. * For **NKey Seed**, supply the account *seed* (the private key beginning with `S`), not the public NKey. ### Transport Layer Security (TLS) and Mutual TLS (mTLS) Errors * When using mutual TLS, both the **SSL Certificate** and **SSL Key** must be provided together. Supplying only one results in the error *"Both the TLS client certificate and key must be configured together."* * Provide the **CA Certificate** when the server uses a certificate that is not signed by a publicly trusted authority, so Collate can validate the server. ### Schema KV Bucket Unavailable The CheckSchemaKvBucket test step and schema ingestion require a reachable JetStream key-value (KV) bucket: * Set **Schema KV Bucket** to the exact bucket name. The connector reads the backing KV stream (`KV_`), so the credentials must be able to access those subjects. * Store one entry per stream, keyed by the stream (topic) name, with the schema text (Avro JSON, Protobuf, or JSON Schema) as the value. * Streams without a matching key in the bucket are still ingested, just without a schema. ### Reserved Additional Config Keys **Additional NATS Config** can't override connection-managed keys. The following keys are reserved: `servers`, `user`, `password`, `token`, `nkeys_seed`, `nkeys_seed_str`, `tls`, `user_credentials`, `signature_cb`, and `user_jwt_cb`. Setting any of these raises a "reserved connection options" error. Configure servers, authentication, and TLS through their dedicated fields instead. # Google Pub/Sub Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/pubsub/hybrid-runner Connect Google Pub/Sub to Collate using the Hybrid Runner deployment. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Google Pub/Sub](/public/images/connectors/pubsub.svg) # Google Pub/Sub PROD This section provides guides and references to use the Google Pub/Sub connector. Configure and schedule Google Pub/Sub metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/pubsub/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The Google Cloud service account used for ingestion needs the following identity and access management (IAM) permissions: ### Metadata Ingestion | Permission | Purpose | | - | - | | `pubsub.topics.list` | List topics in the project | | `pubsub.topics.get` | Read topic details; required per topic when fetching its subscriptions via `list_topic_subscriptions` | | `pubsub.subscriptions.list` | Project-wide subscription list used for the dead letter topic scan | | `pubsub.subscriptions.get` | Read individual subscription details for every subscription returned for a topic, including subscriptions in a different project | ### Schema Registry | Permission | Purpose | | - | - | | `pubsub.schemas.list` | List schemas in the Schema Registry | | `pubsub.schemas.get` | Read schema definitions (Avro, Protocol Buffer) | The built-in Google Cloud Platform (GCP) role **`roles/pubsub.viewer`** grants all of the above permissions and is the recommended role for Collate ingestion. ## Metadata Ingestion To ingest metadata from Google Pub/Sub, you need to create a service connection. The service connects Pub/Sub with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Pub/Sub** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/pubsub.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=b08a6aa618bd0eb5d2f9987c3ebc682c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Pub/Sub services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/pubsub.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=4c6079348d7a2bd8af3333dfd772c1bc) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Google Pub/Sub. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/pubsub.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=794726ac071e08b7b5713888a94cbfd3) > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). * **GCP Credentials**: Google Cloud service account credentials used to authenticate with Pub/Sub. Provide a service account key JSON containing `type`, `projectId`, `privateKeyId`, `privateKey`, `clientEmail`, and `clientId`. For more information, see [Creating and managing service account keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys). * **Project ID** (optional if using inline GCP credentials): GCP Project ID where Pub/Sub topics are located. The project ID is only derived automatically when using inline service account credentials. If you're using a credentials file path, Application Default Credentials, an external account, or the Pub/Sub emulator, you must set this field explicitly, or ingestion fails with `Project ID is required`. * **Host and Port** (optional): Pub/Sub API endpoint. Defaults to `pubsub.googleapis.com`. Set to the emulator address (for example, `localhost:8085`) when using a local emulator. * **Use Emulator** (optional): Set to `true` to connect to a local [Pub/Sub emulator](https://cloud.google.com/pubsub/docs/emulator) instead of the production service. * **Schema Registry Enabled** (optional, default: `true`): Fetch topic schemas from the Pub/Sub Schema Registry. Supports Avro and Protocol Buffer schema types. Set to `false` if your project does not use the Schema Registry. * **Include Subscriptions** (optional, default: `true`): Fetch subscription details for each topic. Only subscription names are persisted to topic metadata; acknowledgment deadlines, retention durations, push endpoints, and dead letter policies are read but not stored. When a subscription has a BigQuery export configuration, Collate uses it to extract lineage from the Pub/Sub topic to the target BigQuery table, though the export configuration itself is not persisted. * **Include Dead Letter Topics** (optional, default: `false`): Include dead letter topics in metadata extraction. By default, dead letter topics are excluded to keep the topic list focused on primary business topics. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which topics Collate ingests from your Pub/Sub service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only topics whose names match at least one rule. Leave blank to include all topics. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any topic whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `orders` matches `my_orders_topic` and `orders_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_events` and `prod_orders`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. * **Scan Mode**: Choose between **Scan all** (default) or **Only specific** to enable include rules. * **Always exclude**: Add permanent exclusion rules. Topics matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Google Pub/Sub Troubleshooting](/ai-2-0/connectors/messaging/pubsub/troubleshooting) > > Learn more about how to troubleshoot common Google Pub/Sub connector issues and resolve authentication or ingestion errors. # Google Pub/Sub Connector Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/pubsub/index Connect Google Pub/Sub to Collate with our comprehensive connector guide. Set up topic metadata ingestion, schema extraction, and subscription tracking. ![Google Pub/Sub](/public/images/connectors/pubsub.svg) # Google Pub/Sub PROD This section provides guides and references to use the Google Pub/Sub connector. Configure and schedule Google Pub/Sub metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/pubsub/troubleshooting) ## Requirements The Google Cloud service account used for ingestion needs the following identity and access management (IAM) permissions: ### Metadata Ingestion | Permission | Purpose | | - | - | | `pubsub.topics.list` | List topics in the project | | `pubsub.topics.get` | Read topic details; required per topic when fetching its subscriptions via `list_topic_subscriptions` | | `pubsub.subscriptions.list` | Project-wide subscription list used for the dead letter topic scan | | `pubsub.subscriptions.get` | Read individual subscription details for every subscription returned for a topic, including subscriptions in a different project | ### Schema Registry | Permission | Purpose | | - | - | | `pubsub.schemas.list` | List schemas in the Schema Registry | | `pubsub.schemas.get` | Read schema definitions (Avro, Protocol Buffer) | The built-in Google Cloud Platform (GCP) role **`roles/pubsub.viewer`** grants all of the above permissions and is the recommended role for Collate ingestion. ## Metadata Ingestion To ingest metadata from Google Pub/Sub, you need to create a service connection. The service connects Pub/Sub with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Pub/Sub** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/pubsub.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=b08a6aa618bd0eb5d2f9987c3ebc682c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Pub/Sub services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/pubsub.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=4c6079348d7a2bd8af3333dfd772c1bc) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Google Pub/Sub. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/pubsub.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=794726ac071e08b7b5713888a94cbfd3) * **GCP Credentials**: Google Cloud service account credentials used to authenticate with Pub/Sub. Provide a service account key JSON containing `type`, `projectId`, `privateKeyId`, `privateKey`, `clientEmail`, and `clientId`. For more information, see [Creating and managing service account keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys). * **Project ID** (optional if using inline GCP credentials): GCP Project ID where Pub/Sub topics are located. The project ID is only derived automatically when using inline service account credentials. If you're using a credentials file path, Application Default Credentials, an external account, or the Pub/Sub emulator, you must set this field explicitly, or ingestion fails with `Project ID is required`. * **Host and Port** (optional): Pub/Sub API endpoint. Defaults to `pubsub.googleapis.com`. Set to the emulator address (for example, `localhost:8085`) when using a local emulator. * **Use Emulator** (optional): Set to `true` to connect to a local [Pub/Sub emulator](https://cloud.google.com/pubsub/docs/emulator) instead of the production service. * **Schema Registry Enabled** (optional, default: `true`): Fetch topic schemas from the Pub/Sub Schema Registry. Supports Avro and Protocol Buffer schema types. Set to `false` if your project does not use the Schema Registry. * **Include Subscriptions** (optional, default: `true`): Fetch subscription details for each topic. Only subscription names are persisted to topic metadata; acknowledgment deadlines, retention durations, push endpoints, and dead letter policies are read but not stored. When a subscription has a BigQuery export configuration, Collate uses it to extract lineage from the Pub/Sub topic to the target BigQuery table, though the export configuration itself is not persisted. * **Include Dead Letter Topics** (optional, default: `false`): Include dead letter topics in metadata extraction. By default, dead letter topics are excluded to keep the topic list focused on primary business topics. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which topics Collate ingests from your Pub/Sub service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only topics whose names match at least one rule. Leave blank to include all topics. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any topic whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `orders` matches `my_orders_topic` and `orders_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_events` and `prod_orders`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. * **Scan Mode**: Choose between **Scan all** (default) or **Only specific** to enable include rules. * **Always exclude**: Add permanent exclusion rules. Topics matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Google Pub/Sub Troubleshooting](/ai-2-0/connectors/messaging/pubsub/troubleshooting) > > Learn more about how to troubleshoot common Google Pub/Sub connector issues and resolve authentication or ingestion errors. # Google Pub/Sub Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/pubsub/troubleshooting Troubleshoot common Google Pub/Sub connector issues in Collate – authentication failures, permission errors, schema registry problems, and ingestion issues. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## Google Pub/Sub-Specific Issues ### Authentication Fails: "Could not determine project ID" **Cause**: The project ID cannot be resolved from the provided credentials or connection config. **Resolution**: Explicitly set the `projectId` field in the connection configuration. This overrides the project ID read from the GCP credentials and is required when the service account belongs to a different project than the Pub/Sub topics. ### Emulator Connection Refused **Cause**: `useEmulator` is set to `true` but `hostPort` is still set to `pubsub.googleapis.com` (the default). **Resolution**: When using the Pub/Sub emulator, set `hostPort` to the emulator address (for example, `localhost:8085`). The connector will raise a validation error if the default production endpoint is used with `useEmulator: true`. ### Schema Registry Topics Not Showing Schema **Cause**: `schemaRegistryEnabled` is `true` but the Schema Registry client cannot be initialized when `useEmulator` is also `true`. **Resolution**: Schema Registry is not supported in emulator mode. The schema client is automatically disabled when `useEmulator: true`. To use the Schema Registry, connect to the production Pub/Sub service. ### Topics Missing from Ingestion **Cause 1**: Topics are being filtered out by dead letter topic detection. **Resolution**: Set `includeDeadLetterTopics: true` to include dead letter topics in metadata extraction. **Cause 2**: Topic names are excluded by the topic filter pattern. **Resolution**: Review your topic filter pattern configuration. To ingest all topics, set `includes: [".*"]` and leave `excludes` empty. ### `pubsub.subscriptions.list` Permission Denied **Cause**: The service account lacks the `pubsub.subscriptions.list` permission, which is required for the project-wide dead letter topic scan. **Resolution**: Grant the `roles/pubsub.viewer` role to the service account, or add the `pubsub.subscriptions.list` permission individually. Alternatively, set `includeSubscriptions: false` and `includeDeadLetterTopics: true` to skip subscription-related API calls—setting `includeDeadLetterTopics: false` alone still triggers a project-wide `pubsub.subscriptions.list` call to identify dead letter topics. # Redpanda Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/redpanda/hybrid-runner Connect Collate to Redpanda with our official messaging connector. Stream metadata, automate discovery, and integrate your Kafka-compatible platform seamlessly. ![Redpanda](/public/images/connectors/redpanda.webp) # Redpanda PROD This section provides guides and references to use the Redpanda connector. Configure and schedule Redpanda metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/redpanda/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Connecting to Redpanda does not require any previous configuration. The ingestion of the Kafka topics' schema is done separately by configuring the **Schema Registry URL**. However, only the **Bootstrap Servers** information is mandatory. ## Metadata Ingestion To ingest metadata from Redpanda, you need to create a service connection. The service connects Redpanda with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Redpanda** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/redpanda.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=43f891d849cfea62f86197873ee64d6f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Redpanda services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/redpanda.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=ab7a6537e9c3261eb5d20c568c1bd490) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Redpanda. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/redpanda.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0b9c6cee80ea1ee5ad1f829bf7dfdfc2) * **Bootstrap Servers**: List of brokers as comma separated values of broker `host` or `host:port`. Example: `host1:9092,host2:9092` * **Schema Registry URL**: URL of the Schema Registry used to ingest the schemas of the topics. * **SASL Username**: SASL username for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Password**: SASL password for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Mechanism**: SASL mechanism to use for authentication. * **Basic Auth User Info**: Schema Registry Client HTTP credentials in the form of `username:password`. By default, user info is extracted from the URL if present. * **Consumer Config**: See the [librdkafka configuration reference](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md) for accepted additional values. * **Schema Registry Config**: See the [Confluent Schema Registry client reference](https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#schemaregistryclient) for accepted additional values. > [!TIP] > > **Tip**: To ingest the topic schema, provide the `Schema Registry URL` > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your messaging service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Redpanda Troubleshooting](/ai-2-0/connectors/messaging/redpanda/troubleshooting) > > Learn more about how to troubleshoot common Redpanda connector issues and resolve configuration or ingestion errors. # Redpanda Connector Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/redpanda/index Connect Collate to Redpanda with our official messaging connector. Stream metadata, automate discovery, and integrate your Kafka-compatible platform. ![Redpanda](/public/images/connectors/redpanda.webp) # Redpanda PROD This section provides guides and references to use the Redpanda connector. Configure and schedule Redpanda metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/messaging/redpanda/troubleshooting) ## Requirements Connecting to Redpanda does not require any previous configuration. The ingestion of the Kafka topics' schema is done separately by configuring the **Schema Registry URL**. However, only the **Bootstrap Servers** information is mandatory. ## Metadata Ingestion To ingest metadata from Redpanda, you need to create a service connection. The service connects Redpanda with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Messaging Services**, then click the **Redpanda** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/select-service/redpanda.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=43f891d849cfea62f86197873ee64d6f) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Redpanda services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/service-name/redpanda.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=ab7a6537e9c3261eb5d20c568c1bd490) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Redpanda. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/connection-details/redpanda.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0b9c6cee80ea1ee5ad1f829bf7dfdfc2) * **Bootstrap Servers**: List of brokers as comma separated values of broker `host` or `host:port`. Example: `host1:9092,host2:9092` * **Schema Registry URL**: URL of the Schema Registry used to ingest the schemas of the topics. * **SASL Username**: SASL username for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Password**: SASL password for use with the PLAIN and SASL-SCRAM mechanisms. * **SASL Mechanism**: SASL mechanism to use for authentication. * **Basic Auth User Info**: Schema Registry Client HTTP credentials in the form of `username:password`. By default, user info is extracted from the URL if present. * **Consumer Config**: See the [librdkafka configuration reference](https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md) for accepted additional values. * **Schema Registry Config**: See the [Confluent Schema Registry client reference](https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#schemaregistryclient) for accepted additional values. > [!TIP] > > **Tip**: To ingest the topic schema, provide the `Schema Registry URL` #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your messaging service. Filter rules match topic names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match topic names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all topics available in the source. #### Filter Options The Topic section includes the following filter options: * **Topic**: Controls which topics Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts topics, schemas, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Generate Sample Data | Off | Generate sample data during metadata extraction. Turn off to skip it. | | Mark Deleted Topics | On | Soft-delete topics in Collate when they are removed from the source. Associated entities like sample data and lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8a5f2f280266c29fe5b4e494421fb1ed) * **Filter Patterns**: Apply include or exclude rules to scope which topics this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c268a706f57ed68e2117621edf5c9bb2) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Messaging/messaging-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c87a124d0550278f6e38619a2711b860) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Redpanda Troubleshooting](/ai-2-0/connectors/messaging/redpanda/troubleshooting) > > Learn more about how to troubleshoot common Redpanda connector issues and resolve configuration or ingestion errors. # Redpanda Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/messaging/redpanda/troubleshooting Troubleshoot Redpanda ingestion errors including topic not found, schema mismatch, or token failures. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Alation Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/alation/hybrid-runner Connect Alation to Collate seamlessly with our comprehensive connector guide. Learn setup, configuration, and metadata synchronization steps. ![Alation](/public/images/connectors/alation.webp) # Alation PROD This section provides guides and references to use the Alation connector. Configure and schedule Alation metadata workflow from the Collate UI: * [Requirements](#requirements) * [Data Mapping and Assumptions](#data-mapping-and-assumptions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/alation/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Follow the official documentation to [generate an API Access Token](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-an-api-access-token). ## Data Mapping and Assumptions The following entities are supported and map to the Collate entities as shown in the table. | Alation Entity | Collate Entity | | :- | :- | | Data Source (OCF and Native) | Database Service | | Data Source (OCF and Native) | Database | | Schema | Schema | | Table | Table | | Columns | Columns | | Custom Fields | Custom Properties | | Tags | Tags | | BI Servers | Dashboard Services | | Dashboard DataSource | Dashboard DataModel | | Folder | Dashboard | | Report | Chart | | Users/Groups | Users/Teams | | Domains/Subdomains | Domains/Subdomains | | Knowledge Articles | Knowledge Center Articles | * Because Alation does not have a concept of a Service entity, the Data Sources (OCF and Native) will be mapped to Database Service and Database in Collate. Hence, for each Data Source in Alation, there will be one Database Service and one Database in Collate. * Custom fields will have a 1:1 mapping for all the entities except for Columns. * Alation has two fields for descriptions: `descriptions` and `comments`. These fields will be combined under one field `description` in Collate for all the entities. * Use the databaseFilterPattern (datasource in Alation), schemaFilterPattern, and tableFilterPattern to apply filters to Alation entities. Provide the `ids` of the datasource, schemas, and tables for the Alation entities in the respective fields. ## Metadata Ingestion To ingest metadata from Alation, you need to create a service connection. The service connects Alation with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Alation** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/alation.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=6292cd0e005e137d3cdbc3bf9dfd9509) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Alation services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/alation.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=ba91ca3e0ce314985a63c3a406901a84) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Alation. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/alation.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8d065d78bc40e950c8b4b4cd7574924c) * **hostPort**: Host and port of the Alation instance. ```bash theme={null} host and port (https://xxxx.alationcloud.com:443) ``` * **authType**: The following authentication types are supported: 1. **Basic Authentication**: Collate uses the user credentials to generate the access token required to authenticate Alation APIs. * **username**: Username of the user. * **password**: Password of the user. 2. **Access Token Authentication**: The access token created using the [steps to create an API access token](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-an-api-access-token) can directly be entered. Collate uses that token directly to authenticate the Alation APIs * **accessToken**: Generated access token #### For Alation Backend Database Connection Alation APIs do not provide some of the metadata. Collate extracts this metadata directly from Alation's backend database by querying the tables. Note that this is an optional configuration, and if it is not provided, primary metadata will still be ingested. Below is the metadata fetched from the Alation database: `1. User and Group Relationships` Choose either postgres or mysql connection depending on the db: 1. Postgres Connection * **username**: Specify the user to connect to Postgres. Make sure the user has select privileges on the tables of the Alation schema. * **password**: Password to connect to Postgres. * **hostPort**: Enter the fully qualified hostname and port number for your Postgres deployment in the Host and Port field. * **database**: Initial Postgres database to connect to. Specify the name of the database associated with the Alation instance. 2. MySQL Connection * **username**: Specify the user to connect to MySQL. Make sure the user has select privileges on the tables of the Alation schema. * **password**: Password to connect to MySQL. * **hostPort**: Enter the fully qualified hostname and port number for your MySQL deployment in the Host and Port field. * **databaseSchema**: Initial MySQL database to connect to. Specify the name of the database schema associated with the Alation instance. * **projectName**: Project name can be anything, for example `Prod` or `Demo`. It will be used while creating the tokens. * **paginationLimit**: Pagination limit used for Alation APIs pagination. By default, it is set to 10. * **includeUndeployedDatasources**: Specifies if undeployed datasources should be included while ingesting. By default, it is set to `false`. * **includeHiddenDatasources**: Specifies if hidden datasources should be included while ingesting. By default, it is set to `false`. * **ingestUsersAndGroups**: Specifies if users and groups should be included while ingesting. By default, it is set to `true`. * **ingestKnowledgeArticles**: Specifies if knowledge articles should be included while ingesting. By default, it is set to `true`. * **ingestDatasources**: Specifies if databases, schemas and tables should be included while ingesting. By default, it is set to `true`. * **ingestDomains**: Specifies if domains and subdomains should be included while ingesting. By default, it is set to `true`. * **ingestDashboards**: Specifies if BI sources and dashboards should be included while ingesting. By default, it is set to `true`. * **alationTagClassificationName**: Specify the classification name under which the tags from Alation will be created in Collate. By default, it is set to `alationTags`. * **connectionArguments**: These are additional parameters for Alation. If not specified the ingestion will use the predefined pagination logic. The following arguments are intended to be used in conjunction and are specifically for Alation DataSource APIs: * skip: This parameter determines the count of records to bypass at the start of the dataset. When set to 0, as in this case, it means that no records will be bypassed. If set to 10, it will bypass the first 10 records. * limit: This argument specifies the maximum number of records to return. Here, it's set to 10, meaning only the first 10 records will be returned. To perform incremental ingestion, these arguments should be used together. For instance, if there are a total of 30 datasources in Alation, the ingestion can be configured to execute three times, with each execution ingesting 10 datasources. * 1st execution: `{"skip": 0, "limit": 10}` * 2nd execution: `{"skip": 10, "limit": 10}` * 3rd execution: `{"skip": 20, "limit": 10}` #### Advanced Configuration Database Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Alation Troubleshooting](/ai-2-0/connectors/metadata/alation/troubleshooting) > > Learn more about how to troubleshoot common Alation connector issues and resolve configuration or ingestion errors. # Alation Connector Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/alation/index Connect Alation to Collate with our comprehensive connector guide. Learn setup, configuration, and metadata synchronization steps. ![Alation](/public/images/connectors/alation.webp) # Alation PROD This section provides guides and references to use the Alation connector. Configure and schedule Alation metadata workflow from the Collate UI: * [Requirements](#requirements) * [Data Mapping and Assumptions](#data-mapping-and-assumptions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/alation/troubleshooting) ## Requirements Follow the [Alation API authentication documentation](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-an-api-access-token) to generate an API Access Token. ## Data Mapping and Assumptions The following entities are supported and map to the Collate entities as shown in the table. | Alation Entity | Collate Entity | | :- | :- | | Data Source (OCF and Native) | Database Service | | Data Source (OCF and Native) | Database | | Schema | Schema | | Table | Table | | Columns | Columns | | Custom Fields | Custom Properties | | Tags | Tags | | BI Servers | Dashboard Services | | Dashboard DataSource | Dashboard DataModel | | Folder | Dashboard | | Report | Chart | | Users/Groups | Users/Teams | | Domains/Subdomains | Domains/Subdomains | | Knowledge Articles | Knowledge Center Articles | * Because Alation does not have a concept of a Service entity, the Data Sources (OCF and Native) will be mapped to Database Service and Database in Collate. Hence, for each Data Source in Alation, there will be one Database Service and one Database in Collate. * Custom fields will have a 1:1 mapping for all the entities except for Columns. * Alation has two fields for descriptions i.e. `descriptions` and `comments`. These fields will be combined under one field `description` in Collate for all the entities. * Utilize the databaseFilterPattern (datasource in Alation), schemaFilterPattern, and tableFilterPattern to apply filters to Alation entities. Provide the `ids` of the datasource, schemas, and tables for the Alation entities in the respective fields. ## Metadata Ingestion To ingest metadata from Alation, you need to create a service connection. The service connects Alation with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Alation** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/alation.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=6292cd0e005e137d3cdbc3bf9dfd9509) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Alation services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/alation.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=ba91ca3e0ce314985a63c3a406901a84) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Alation. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/alation.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8d065d78bc40e950c8b4b4cd7574924c) * **hostPort**: Host and port of the Alation instance. ```bash theme={null} host and port (https://xxxx.alationcloud.com:443) ``` * **authType**: The following authentication types are supported: 1. **Basic Authentication**: Collate uses the credentials to generate the access token required to authenticate Alation APIs * **username**: Username of the user. * **password**: Password of the user. 2. **Access Token Authentication**: The access token created using the steps in the [Alation API authentication documentation](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-an-api-access-token) can be entered directly. Collate uses it directly to authenticate the Alation APIs * **accessToken**: Generated access token #### For Alation Backend Database Connection Alation APIs do not provide some of the metadata. Collate extracts this metadata directly from Alation's backend database by querying the tables. Note that this is an optional configuration, and if it is not provided, primary metadata will still be ingested. Below is the metadata fetched from the Alation database: `1. User and Group Relationships` Choose either postgres or mysql connection depending on the db: 1. Postgres Connection * **username**: Specify the user to connect to Postgres. Make sure the user has select privileges on the tables of the Alation schema. * **password**: Password to connect to Postgres. * **hostPort**: Enter the fully qualified hostname and port number for your Postgres deployment in the Host and Port field. * **database**: Initial Postgres database to connect to. Specify the name of the database associated with the Alation instance. 2. MySQL Connection * **username**: Specify the user to connect to MySQL. Make sure the user has select privileges on the tables of the Alation schema. * **password**: Password to connect to MySQL. * **hostPort**: Enter the fully qualified hostname and port number for your MySQL deployment in the Host and Port field. * **databaseSchema**: Initial MySQL database to connect to. Specify the name of the database schema associated with the Alation instance. * **projectName**: Project name can be anything, for example `Prod` or `Demo`. It will be used while creating the tokens. * **paginationLimit**: Pagination limit used for Alation APIs pagination. By default, it is set to 10. * **includeUndeployedDatasources**: Specifies if undeployed datasources should be included while ingesting. By default, it is set to `false`. * **includeHiddenDatasources**: Specifies if hidden datasources should be included while ingesting. By default, it is set to `false`. * **ingestUsersAndGroups**: Specifies if users and groups should be included while ingesting. By default, it is set to `true`. * **ingestKnowledgeArticles**: Specifies if knowledge articles should be included while ingesting. By default, it is set to `true`. * **ingestDatasources**: Specifies if databases, schemas and tables should be included while ingesting. By default, it is set to `true`. * **ingestDomains**: Specifies if domains and subdomains should be included while ingesting. By default, it is set to `true`. * **ingestDashboards**: Specifies if BI sources and dashboards should be included while ingesting. By default, it is set to `true`. * **alationTagClassificationName**: Specify the classification name under which the tags from Alation will be created in Collate. By default, it is set to `alationTags`. * **connectionArguments**: These are additional parameters for Alation. If not specified the ingestion will use the predefined pagination logic. The following arguments are intended to be used in conjunction and are specifically for Alation DataSource APIs: * skip: This parameter determines the count of records to bypass at the start of the dataset. When set to 0, as in this case, it means that no records will be bypassed. If set to 10, it will bypass the first 10 records. * limit: This argument specifies the maximum number of records to return. Here, it's set to 10, meaning only the first 10 records will be returned. To perform incremental ingestion, these arguments should be used together. For instance, if there are a total of 30 datasources in Alation, the ingestion can be configured to execute three times, with each execution ingesting 10 datasources. * 1st execution: `{"skip": 0, "limit": 10}` * 2nd execution: `{"skip": 10, "limit": 10}` * 3rd execution: `{"skip": 20, "limit": 10}` #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintlify.s3.us-west-1.amazonaws.com/collatedocs/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Alation Troubleshooting](/ai-2-0/connectors/metadata/alation/troubleshooting) > > Learn more about how to troubleshoot common Alation connector issues and resolve configuration or ingestion errors. # Alation Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/alation/troubleshooting Resolve metadata sync issues in Alation connector, including authentication errors, sync gaps, and asset duplication. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Alation Sink Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/alationsink/hybrid-runner Connect Alation to Collate seamlessly with our AlationSink connector. Complete setup guide, configuration steps, and metadata sync instructions. ![AlationSink](/public/images/connectors/alation.webp) # AlationSink PROD > [!TIP] > > **Tip**: The connector will ingest data from Collate into Alation. Configure and schedule Alation Sink metadata workflow from the Collate UI: * [Requirements](#requirements) * [Data Mapping and Assumptions](#data-mapping-and-assumptions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/alationsink/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). The connector uses `POST` requests to write the data into Alation. Hence, user credentials or an access token with `Source Admin`, `Catalog Admin`, or `Server Admin` permissions will be required. Follow the [steps to create an access token](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-via-ui). ## Data Mapping and Assumptions The following entities are supported and map from Collate to the entities in Alation. | Alation Entity | Collate Entity | | :- | :- | | Data Source (OCF) | Database | | Schema | Schema | | Table | Table | | Columns | Columns | ## Metadata Ingestion To push metadata from Collate to Alation, create a service connection. The service connects Collate with AlationSink. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **AlationSink** connector tile. ![Select Service](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/alationsink/select-service.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=e2e1f68e909a52bab4158d7bd292d2c1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other AlationSink services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/alationsink/add-new-service.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=4574f6fcadafeafd10930a25427c5b57) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for AlationSink. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/alationsink/service-connection.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=6ed57a745355f231b37407b5e3f56f6a) * **Host and Port**: Host and port of the Alation service. * **Authentication Types**: * Basic Authentication * Username: The name of the user whose credentials will be used to sign in. * Password: The password of the user. 2. Access Token Authentication The access token created using the [steps to create an access token](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-via-ui) can directly be entered. Collate uses that token directly to authenticate the Alation APIs * accessToken: Generated access token * **Project Name**: Project name used to create the refresh token. It can be anything. * **Pagination Limit**: Pagination limit used for Alation APIs pagination * **DataSource Links**: Add a custom mapping between Collate databases and Alation DataSources. If this mapping is present, the connector will only look for the data source in Alation to create other entities inside it. It will not create the data source in Alation, so it needs to be created beforehand. The mapping needs to be of the format `alation_datasource_id: openmetadata_database_fqn` Here `alation_datasource_id` corresponds to the numerical ID of the data source in Alation. And `openmetadata_database_fqn` corresponds to the fullyQualifiedName of the database in Collate. Below is an example of the mapping: ```yaml theme={null} datasourceLinks: { "23": "sample_data.ecommerce_db", "15": "mysql_prod.customers_db", } ``` > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [AlationSink Troubleshooting](/ai-2-0/connectors/metadata/alationsink/troubleshooting) > > Learn more about how to troubleshoot common AlationSink connector issues and resolve configuration or ingestion errors. # Alation Sink Connector Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/alationsink/index Connect Alation to Collate with our AlationSink connector. Complete setup guide, configuration steps, and metadata sync instructions. ![AlationSink](/public/images/connectors/alation.webp) # AlationSink PROD > [!TIP] > > **Tip**: The connector will ingest data from Collate into Alation. Configure and schedule Alation Sink metadata workflow from the Collate UI: * [Requirements](#requirements) * [Data Mapping and Assumptions](#data-mapping-and-assumptions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/alationsink/troubleshooting) ## Requirements The connector uses `POST` requests to write the data into Alation. Hence, user credentials or an access token with `Source Admin`, `Catalog Admin`, or `Server Admin` permissions will be required. Follow the [Alation API authentication guide](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-via-ui) to create the access token. ## Data Mapping and Assumptions The following entities are supported and map from Collate to the entities in Alation. | Alation Entity | Collate Entity | | :- | :- | | Data Source (OCF) | Database | | Schema | Schema | | Table | Table | | Columns | Columns | ## Metadata Ingestion To push metadata from Collate to Alation, create a service connection. The service connects Collate with AlationSink. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **AlationSink** connector tile. ![Select Service](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/alationsink/select-service.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=e2e1f68e909a52bab4158d7bd292d2c1) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other AlationSink services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/alationsink/add-new-service.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=4574f6fcadafeafd10930a25427c5b57) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for AlationSink. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/alationsink/service-connection.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=6ed57a745355f231b37407b5e3f56f6a) * **Host and Port**: Host and port of the Alation service. * **Authentication Types**: * Basic Authentication * Username: The name of the user whose credentials will be used to sign in. * Password: The password of the user. 2. Access Token Authentication The access token created using the steps in the [Alation API authentication guide](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-via-ui) can directly be entered. Collate uses that token directly to authenticate the Alation APIs * accessToken: Generated access token * **Project Name**: Project name used to create the refresh token. It can be anything. * **Pagination Limit**: Pagination limit used for Alation APIs pagination * **DataSource Links**: Add a custom mapping between Collate databases and Alation DataSources. If this mapping is present, the connector will only look for the data source in Alation to create other entities inside it. It will not create the data source in Alation, so it needs to be created beforehand. The mapping needs to be of the format `alation_datasource_id: openmetadata_database_fqn` Here `alation_datasource_id` corresponds to the numerical ID of the data source in Alation. And `openmetadata_database_fqn` corresponds to the fullyQualifiedName of the database in Collate. Below is an example of the mapping: ```yaml theme={null} datasourceLinks: { "23": "sample_data.ecommerce_db", "15": "mysql_prod.customers_db", } ``` #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [AlationSink Troubleshooting](/ai-2-0/connectors/metadata/alationsink/troubleshooting) > > Learn more about how to troubleshoot common AlationSink connector issues and resolve configuration or ingestion errors. # Alation Sink Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/alationsink/troubleshooting Troubleshoot AlationSink connector for pushback failures, API errors, or term mismatch. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Amundsen Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/amundsen/hybrid-runner Connect Amundsen to Collate effortlessly with our comprehensive connector guide. Step-by-step setup, configuration tips, and metadata integration instructions. ![Amundsen](/public/images/connectors/amundsen.webp) # Amundsen PROD This section provides guides and references to use the Amundsen connector. Configure and schedule Amundsen metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/amundsen/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To connect to Amundsen, you will need: * **Username**: A user account with privileges to read metadata from Amundsen * **Password**: The password for the user account * **Host and Port**: The URI of your Amundsen Neo4j Connection (for example, bolt://localhost:7687) ## Metadata Ingestion To ingest metadata from Amundsen, you need to create a service connection. The service connects Amundsen with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Amundsen** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/amundsen.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=bc90f64b4a7f43636b77bf9fc9b4e34b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Amundsen services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/amundsen.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c0701eeffa295ea5f11cdc33abd5ae78) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Amundsen. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/amundsen.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=74829d40460b25cf3edf32150c9455d2) * **username**: Enter the username of your Amundsen user in the Username field. The specified user should be authorized to read all databases you want to include in the metadata ingestion workflow. * **password**: Enter the password for your Amundsen user in the Password field. * **hostPort**: Host and port of the Amundsen Neo4j Connection. This expects a URI format like: bolt://localhost:7687. * **maxConnectionLifeTime (optional)**: Maximum connection lifetime for the Amundsen Neo4j Connection * **validateSSL (optional)**: Enable SSL validation for the Amundsen Neo4j Connection. * **encrypted (Optional)**: Enable encryption for the Amundsen Neo4j Connection. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Amundsen Troubleshooting](/ai-2-0/connectors/metadata/amundsen/troubleshooting) > > Learn more about how to troubleshoot common Amundsen connector issues and resolve configuration or ingestion errors. # Amundsen Connector Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/amundsen/index Connect Amundsen to Collate effortlessly with our comprehensive connector guide. Step-by-step setup, configuration tips, and metadata integration instructions. ![Amundsen](/public/images/connectors/amundsen.webp) # Amundsen PROD This section provides guides and references to use the Amundsen connector. Configure and schedule Amundsen metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/amundsen/troubleshooting) ## Requirements To connect to Amundsen, you will need: * **Username**: A user account with privileges to read metadata from Amundsen * **Password**: The password for the user account * **Host and Port**: The URI of your Amundsen Neo4j Connection (e.g., bolt://localhost:7687) ## Metadata Ingestion To ingest metadata from Amundsen, you need to create a service connection. The service connects Amundsen with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Amundsen** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/amundsen.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=bc90f64b4a7f43636b77bf9fc9b4e34b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Amundsen services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/amundsen.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c0701eeffa295ea5f11cdc33abd5ae78) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Amundsen. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/amundsen.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=74829d40460b25cf3edf32150c9455d2) * **username**: Enter the username of your Amundsen user in the Username field. The specified user should be authorized to read all databases you want to include in the metadata ingestion workflow. * **password**: Enter the password for your Amundsen user in the Password field. * **hostPort**: Host and port of the Amundsen Neo4j Connection. This expects a URI format like: bolt://localhost:7687. * **maxConnectionLifeTime (optional)**: Maximum connection lifetime for the Amundsen Neo4j Connection * **validateSSL (optional)**: Enable SSL validation for the Amundsen Neo4j Connection. * **encrypted (Optional)**: Enable encryption for the Amundsen Neo4j Connection. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Amundsen Troubleshooting](/ai-2-0/connectors/metadata/amundsen/troubleshooting) > > Learn more about how to troubleshoot common Amundsen connector issues and resolve configuration or ingestion errors. # Amundsen Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/amundsen/troubleshooting ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Atlas Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/atlas/hybrid-runner Connect Apache Atlas to Collate seamlessly. Complete setup guide, configuration steps, and best practices for Atlas metadata connector integration. ![Atlas](/public/images/connectors/atlas.webp) # Atlas PROD This section provides guides and references to use the Atlas connector. Configure and schedule Atlas metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/atlas/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: Every table ingested will have a tag name `AtlasMetadata.atlas_table`. You can find all tags under > Governance > Classification. ## Create Database and Messaging Services You need to create at least a Database Service before ingesting the metadata from Atlas. Make sure to note down the name, because Collate uses it to create the Atlas Service. For example, to create a Hive service, follow the steps in the Metadata Ingestion section below. ## Metadata Ingestion To ingest metadata from Atlas, you need to create a service connection. The service connects Atlas with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Atlas** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=10be1e7ac328dab0f7871275513600e5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Atlas services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=967a41df1886a6da43b0ed917ff6d5d5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Atlas. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1c3895c4e63534d39023fd437812a5d4) * **Host and Port**: Host and port of the Atlas service. * **Username**: username to connect to Atlas. This user should have privileges to read all the metadata in Atlas. * **Password**: password to connect to Atlas. * **databaseServiceName**: source database of the data source. This is the service created earlier: for example, `local_hive`. * **messagingServiceName**: messaging service source of the data source. * **Entity Type**: Name of the entity type in Atlas. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Atlas Troubleshooting](/ai-2-0/connectors/metadata/atlas/troubleshooting) > > Learn more about how to troubleshoot common Atlas connector issues and resolve configuration or ingestion errors. # Atlas Connector Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/atlas/index Connect Apache Atlas to Collate. Complete setup guide, configuration steps, and best practices for Atlas metadata connector integration. ![Atlas](/public/images/connectors/atlas.webp) # Atlas PROD This section provides guides and references to use the Atlas connector. Configure and schedule Atlas metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/atlas/troubleshooting) ## Requirements > [!TIP] > > **Tip**: Every table ingested will have a tag name `AtlasMetadata.atlas_table`. You can find all tags under > Governance > Classification. ## Create Database and Messaging Services You need to create at least a Database Service before ingesting the metadata from Atlas. Make sure to note down the name, because Collate uses it to create the Atlas service. For example, to create a Hive service, follow the steps in the Metadata Ingestion section below. ## Metadata Ingestion To ingest metadata from Atlas, you need to create a service connection. The service connects Atlas with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Atlas** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=10be1e7ac328dab0f7871275513600e5) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Atlas services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=967a41df1886a6da43b0ed917ff6d5d5) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Atlas. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/atlas.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1c3895c4e63534d39023fd437812a5d4) * **Host and Port**: Host and port of the Atlas service. * **Username**: Username to connect to Atlas. This user should have privileges to read all the metadata in Atlas. * **Password**: password to connect to Atlas. * **databaseServiceName**: source database of the data source. This is the service we created before: e.g., `local_hive`. * **messagingServiceName**: messaging service source of the data source. * **Entity Type**: Name of the entity type in Atlas. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Atlas Troubleshooting](/ai-2-0/connectors/metadata/atlas/troubleshooting) > > Learn more about how to troubleshoot common Atlas connector issues and resolve configuration or ingestion errors. # Atlas Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/atlas/troubleshooting ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Collibra Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/collibra/hybrid-runner Connect Collibra to Collate with our comprehensive connector guide. Learn setup, configuration, and metadata synchronization steps. ![Collibra](/public/images/connectors/collibra.webp) # Collibra BETA This section provides guides and references to use the Collibra connector. Configure and schedule Collibra metadata workflow from the Collate UI: * [Requirements](#requirements) * [Data Mapping and Assumptions](#data-mapping-and-assumptions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/collibra/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To connect to Collibra, you will need: * **Username**: A user account with privileges to read all metadata in Collibra * **Password**: The password for the user account * **Host and Port**: The URL of your Collibra instance (for example, `https://.collibra.com`) ## Data Mapping and Assumptions The following entities are supported and map to the Collate entities as shown in the table. | Collibra Entity | Collate Entity | | :- | :- | | Glossary | Glossary | | Glossary Terms | Glossary Terms | | Domains | Domains | | Communities | Domains | * Collibra glossaries will be mapped to Collate glossaries with their terms and relationships preserved. * When **Enable Asset Enrichment** is enabled, the connector will match Collibra assets to existing Collate entities and enrich them with descriptions, tags, and ownership information from Collibra without creating new assets. * Use the glossaryFilterPattern to include or exclude specific glossaries based on their names. * Use the domainFilterPattern to include or exclude specific domains and communities based on their names. ## Metadata Ingestion To ingest metadata from Collibra, you need to create a service connection. The service connects Collibra with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Collibra** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/collibra.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=47c8a861c145f732a71a1bd09b7febdf) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Collibra services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/collibra.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=dff4069f08d40fb65e0bd774ad29d612) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Collibra. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/collibra.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=184aa52a8b45850c10c9e6434f9c4797) * **hostPort**: Host and port of the Collibra instance. ```bash theme={null} https://.collibra.com ``` * **username**: Username to connect to Collibra. This user should have privileges to read all the metadata in Collibra. * **password**: Password for the Collibra user account. * **glossaryFilterPattern**: Regex pattern to include or exclude glossaries based on their names. Use this to control which glossaries are ingested. Examples: * Include specific glossaries: `^(BusinessGlossary|DataGlossary)$` * Exclude test glossaries: `^(?!.*test).*$` * **domainFilterPattern**: Regex pattern to include or exclude domains and communities based on their names. Examples: * Include specific domains: `^(Finance|Sales)$` * Exclude archived domains: `^(?!.*archived).*$` * **enableEnrichment**: When enabled, the connector will enrich existing Collate assets with metadata from Collibra (descriptions, tags, owners) by matching Collibra assets to Collate entities. This will not create new assets, only update existing ones. By default, this is set to `false`. #### Advanced Configuration Metadata Services include an Advanced Configuration section for passing extra arguments to the connector and, if needed, changing the connection scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Collibra Troubleshooting](/ai-2-0/connectors/metadata/collibra/troubleshooting) > > Learn more about how to troubleshoot common Collibra connector issues and resolve configuration or ingestion errors. # Collibra Connector Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/collibra/index Connect Collibra to Collate with our comprehensive connector guide. Learn setup, configuration, and metadata synchronization steps. ![Collibra](/public/images/connectors/collibra.webp) # Collibra BETA This section provides guides and references to use the Collibra connector. Configure and schedule Collibra metadata workflow from the Collate UI: * [Requirements](#requirements) * [Data Mapping and Assumptions](#data-mapping-and-assumptions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/metadata/collibra/troubleshooting) ## Requirements To connect to Collibra, you will need: * **Username**: A user account with privileges to read all metadata in Collibra * **Password**: The password for the user account * **Host and Port**: The URL of your Collibra instance (e.g., `https://.collibra.com`) ## Data Mapping and Assumptions The following entities are supported and map to the Collate entities as shown in the table. | Collibra Entity | Collate Entity | | :- | :- | | Glossary | Glossary | | Glossary Terms | Glossary Terms | | Domains | Domains | | Communities | Domains | * Collibra glossaries will be mapped to Collate glossaries with their terms and relationships preserved. * When **Enable Asset Enrichment** is enabled, the connector will match Collibra assets to existing Collate entities and enrich them with descriptions, tags, and ownership information from Collibra without creating new assets. * Use the glossaryFilterPattern to include or exclude specific glossaries based on their names. * Use the domainFilterPattern to include or exclude specific domains and communities based on their names. ## Metadata Ingestion To ingest metadata from Collibra, you need to create a service connection. The service connects Collibra with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Metadata Services**, then click the **Collibra** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/select-service/collibra.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=47c8a861c145f732a71a1bd09b7febdf) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Collibra services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/service-name/collibra.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=dff4069f08d40fb65e0bd774ad29d612) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Collibra. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/connection-details/collibra.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=184aa52a8b45850c10c9e6434f9c4797) * **hostPort**: Host and port of the Collibra instance. ```bash theme={null} https://.collibra.com ``` * **username**: Username to connect to Collibra. This user should have privileges to read all the metadata in Collibra. * **password**: Password for the Collibra user account. * **glossaryFilterPattern**: Regex pattern to include or exclude glossaries based on their names. Use this to control which glossaries are ingested. Examples: * Include specific glossaries: `^(BusinessGlossary|DataGlossary)$` * Exclude test glossaries: `^(?!.*test).*$` * **domainFilterPattern**: Regex pattern to include or exclude domains and communities based on their names. Examples: * Include specific domains: `^(Finance|Sales)$` * Exclude archived domains: `^(?!.*archived).*$` * **enableEnrichment**: When enabled, the connector will enrich existing Collate assets with metadata from Collibra (descriptions, tags, owners) by matching Collibra assets to Collate entities. This will not create new assets, only update existing ones. By default, this is set to `false`. #### Advanced Configuration Database Services have an Advanced Configuration section, where you can pass extra arguments to the connector and, if needed, change the connection Scheme. You need this only for advanced connectivity scenarios or customizations. * **Connection Options (Optional)**: Enter the details for any additional connection options that can be sent to the database during the connection. These details must be added as key-value pairs. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent during the connection. These details must be added as key-value pairs. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, configure the metadata ingestion pipeline settings, then click **Create & Deploy**. Collate creates the service connection and automatically triggers the first metadata ingestion run. To schedule recurring runs, see the next section. After deployment, you can monitor the ingestion status by navigating to **Connections**, selecting your service, and viewing the ingestion pipeline. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Collibra Troubleshooting](/ai-2-0/connectors/metadata/collibra/troubleshooting) > > Learn more about how to troubleshoot common Collibra connector issues and resolve configuration or ingestion errors. # Collibra Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/collibra/troubleshooting Troubleshoot Collibra connector for pushback failures, API errors, or term mismatch. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Metadata Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/metadata/index Browse all metadata connectors supported for ingestion, governance, and classification workflows. # Metadata Services This is the supported list of connectors for Metadata Services: > [card] [Alation](/ai-2-0/connectors/metadata/alation) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [AlationSink](/ai-2-0/connectors/metadata/alationsink) > > PROD > [card] [Amundsen](/ai-2-0/connectors/metadata/amundsen) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Atlas](/ai-2-0/connectors/metadata/atlas) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Collibra](/ai-2-0/connectors/metadata/collibra) > > BETA If you have a request for a new connector, reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts databases, schemas, tables, stored procedures, and other structural metadata from your connected data source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Default Owner | — | Default owner applied to all entities when no specific owner is configured. Accepts a user or team name/email. | | Service Owner | — | Not applied during ingestion. This field doesn't affect the owners of databases, schemas, or tables. | | Database Owner | — | Owner assigned to all ingested databases. Accepts a single owner (user or team) for all databases. | | Database Schema Owner | — | Owner assigned to all ingested schemas. Accepts a single owner (user or team) for all schemas. | | Table Owner | — | Owner assigned to all ingested tables. Accepts a single owner (user or team) for all tables. | | Enable Inheritance | On | Enable child entities to inherit owner from parent entities when they don't have a specific owner configured. | | Query Log Duration | 1 | Number of days to look back in query logs when processing stored procedure results. | | Query Parsing Timeout Limit | 300 | Timeout in seconds for parsing a single query. | | Number of Threads | 1 | Number of threads to use for parallel table ingestion. | | JSON Schema Sample Size | 10 | Number of rows to sample for inferring JSON schema. A larger sample size provides more accurate schema inference but increases query time. | | Extract JSON Schema | Off | Extract JSON schema from JSON columns by sampling data. Requires SELECT permission on the tables. If disabled or SELECT fails, JSON columns are ingested without schema information. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0c8fa85c1f1155c3a2c15448f2d9e648) * **Filter Patterns**: Apply include or exclude rules to scope which databases, schemas, tables, and stored procedures this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2e57a6ba046b6bf43f413fa2e64523b4) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Mark Deleted Tables | On | Soft-delete tables in Collate when they are removed from the source. Applies only within the currently ingested schema. | | Mark Deleted Stored Procedures | On | Soft-delete stored procedures in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Mark Deleted Schemas | Off | Soft-delete schemas and all their child assets when removed from the source. | | Mark Deleted Databases | Off | Soft-delete databases and all their child assets when removed from the source. | | Include Tables | On | Ingest table metadata from the source. Turn off to skip tables entirely. | | Include Tags | On | Ingest tags from the source. | | Include Custom Properties | Off | Ingest connector-specific custom properties onto entities. | | Include Owners | Off | Assign owners to ingested entities when the source owner's email matches a user in Collate. Does not overwrite an existing owner. | | Include Stored Procedures | On | Ingest stored procedure metadata. | | Include DDL Statements | Off | Ingest DDL statements alongside table metadata. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Metadata/metadata-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=087b91c3769208f9b4403b347433c48d) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # ML Model Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/index Explore supported ML model metadata connectors including MLflow, SageMaker, and VertexAI. # ML Model Services This is the supported list of connectors for ML Model Services: > [card] [MLflow](/ai-2-0/connectors/ml-model/mlflow) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Sagemaker](/ai-2-0/connectors/ml-model/sagemaker) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [VertexAI](/ai-2-0/connectors/ml-model/vertexai) > > PROD If you have a request for a new connector, don't hesitate to reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # MLflow Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/mlflow/hybrid-runner Connect MLflow to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![MLflow](/public/images/connectors/mlflow.webp) # MLflow PROD This section provides guides and references to use the MLflow connector. Configure and schedule MLflow metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To extract metadata, Collate needs two elements: * **Tracking URI**: Address of local or remote tracking server. For more information, see [MLflow Tracking](https://www.mlflow.org/docs/latest/tracking.html#where-runs-are-recorded). * **Registry URI**: Address of local or remote model registry server. ### ML Features Collate builds ML Features from the input columns of each model's signature. Columns of type `string` become categorical features, and every other type becomes numerical. Inputs without a name, such as unnamed tensors, produce no ML Features. MLflow 2.x records the signature on the run that logged the model. MLflow 3.x doesn't, so for MLflow 3.x models, Collate reads the signature from the model's `MLmodel` file in the artifact store. Collate downloads only that file, never the model weights. The ingestion therefore needs read access to the model artifacts. If your tracking server doesn't proxy artifacts, for example because it runs with `--no-serve-artifacts`, give the Hybrid Runner its own credentials for the artifact store. If Collate can't read the file, it still ingests the model without ML Features and logs a warning. ### Databricks Unity Catalog Ingesting models from Databricks Unity Catalog requires the Hybrid Runner, because the connector reads the Databricks credentials from environment variables rather than from the connection form. Use these connection values: * **trackingUri**: `databricks` * **registryUri**: `databricks-uc` Set these environment variables on the runner's ingestion pods: * `DATABRICKS_HOST`: Your Databricks workspace URL, for example `https://.cloud.databricks.com` * `DATABRICKS_TOKEN`: A personal access token for a user or service principal that can access the registered models Store the token in a Kubernetes Secret rather than in your Helm values. Don't put it in `config.ingestionPods.extraEnvs`. Helm saves those values in the release and writes them in plain text into the runner's Deployment. The runner then copies them into every ingestion pod it creates. These steps update a Hybrid Runner that's already installed. If you haven't installed one yet, follow [Set Up Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner) first, then return to these steps. 1. Create the Secret in the namespace where the ingestion pods run, which is the chart's namespace by default: ```bash theme={null} kubectl create secret generic databricks-mlflow \ --namespace argo-workflows \ --from-literal=token='' ``` 2. In the runner's `values.yaml`, add both variables to the ingestion pods' container config. The token entry references the Secret, so the token itself never appears in your values: ```yaml theme={null} config: ingestionPods: customConfig: enabled: true containerParams: env: - name: DATABRICKS_HOST value: "https://.cloud.databricks.com" - name: DATABRICKS_TOKEN valueFrom: secretKeyRef: name: databricks-mlflow key: token ``` 3. If the runner uses the Simple Kubernetes executor, which is the default when Argo Workflows isn't installed, also add the following to `values.yaml`. The chart applies the container config automatically only for the Argo Workflows executor: ```yaml theme={null} extraEnvs: - name: SIMPLEK8S_CONTAINER_SPEC_FILE_PATH value: /custom-config/container-params.yaml ``` 4. Apply the updated values to the runner with the Helm CLI, using your own release name and namespace: ```bash theme={null} helm upgrade collate-prod collate-hybrid/hybrid-ingestion-runner \ --namespace argo-workflows \ --values values.yaml ``` Unity Catalog lists only the models that the token's user or service principal can access. If the principal can't access any models, the listing comes back empty instead of failing. To ingest ML Features from MLflow 3.x models, the same principal also needs read access to the model artifacts. Unity Catalog model names have three parts, `..`, and filter patterns match against the full name. Databricks also lists its built-in foundation models under `system.ai`. These models aren't backed by runs in your workspace, so Collate can't ingest them and reports each one as failed. To skip them, add an **Always exclude** rule to the **ML Model** section that **matches regex** `^system\.ai\..*`. ## Metadata Ingestion To ingest metadata from MLflow, you need to create a service connection. The service connects MLflow with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Mlmodel Services**, then click the **MLflow** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/select-service/mlflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2f0293bb6696510eef492cf55170e5e2) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MLflow services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/service-name/mlflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=e4d976e19f4c11234ffd69c5bfb2461d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MLflow. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/connection-details/mlflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c0bdfd915bdd27923e4c13478a536900) * **trackingUri**: MLflow experiment tracking URI. For example, `http://localhost:5000` * **registryUri**: MLflow model registry backend. For example, `mysql+pymysql://mlflow:password@localhost:3307/experiments` For Databricks Unity Catalog, enter `databricks` as the **trackingUri** and `databricks-uc` as the **registryUri**. For the credentials this needs, see [Databricks Unity Catalog](#databricks-unity-catalog). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your ML model service. Filter rules match model names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all ML models available in the source. #### Filter Options The ML Model section includes the following filter options: * **ML Model**: Controls which ML models Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MLflow Troubleshooting](/ai-2-0/connectors/ml-model/mlflow/troubleshooting) > > Learn more about how to troubleshoot common MLflow connector issues and resolve configuration or ingestion errors. # MLflow Connector Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/mlflow/index Connect MLflow to Collate seamlessly with our comprehensive connector guide. Learn setup, configuration, and ML model metadata integration in minutes. ![MLflow](/public/images/connectors/mlflow.webp) # MLflow PROD This section provides guides and references to use the MLflow connector. Configure and schedule MLflow metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/ml-model/mlflow/troubleshooting) ## Requirements To extract metadata, Collate needs two elements: * **Tracking URI**: Address of local or remote tracking server. For more information, see [MLflow Tracking](https://www.mlflow.org/docs/latest/tracking.html#where-runs-are-recorded). * **Registry URI**: Address of local or remote model registry server. ## Metadata Ingestion To ingest metadata from MLflow, you need to create a service connection. The service connects MLflow with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Mlmodel Services**, then click the **MLflow** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/select-service/mlflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2f0293bb6696510eef492cf55170e5e2) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other MLflow services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/service-name/mlflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=e4d976e19f4c11234ffd69c5bfb2461d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for MLflow. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/connection-details/mlflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=c0bdfd915bdd27923e4c13478a536900) * **trackingUri**: MLflow experiment tracking URI. For example, `http://localhost:5000` * **registryUri**: MLflow model registry backend. For example, `mysql+pymysql://mlflow:password@localhost:3307/experiments` #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your ML model service. Filter rules match model names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all ML models available in the source. #### Filter Options The ML Model section includes the following filter options: * **ML Model**: Controls which ML models Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [MLflow Troubleshooting](/ai-2-0/connectors/ml-model/mlflow/troubleshooting) > > Learn more about how to troubleshoot common MLflow connector issues and resolve configuration or ingestion errors. # MLflow Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/mlflow/troubleshooting Troubleshoot MLflow connector issues like empty registries, missing ML Features, and models that fail to ingest. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. ## MLflow Ingestion Issues These issues are specific to the MLflow connector. The messages quoted in each section appear in the ingestion logs. ### No ML Models Are Ingested The ingestion run succeeds, but no ML models appear in Collate. The logs contain `The MLflow registry returned no registered models`, which means the registry listing came back empty. Check the following: * **Registry URI**: Make sure `registryUri` points at the registry that holds your models. For Databricks, `databricks-uc` lists the models in Unity Catalog, while `databricks` lists the legacy Workspace Model Registry. For the Unity Catalog setup, see [Databricks Unity Catalog](/ai-2-0/connectors/ml-model/mlflow/hybrid-runner#databricks-unity-catalog). * **Permissions**: Make sure the credentials can see the models. Access-controlled registries list only the models the caller can read and return an empty list rather than an error. While the listing is empty, Collate doesn't mark any existing ML models as deleted. ### Some ML Models Are Missing from a Large Registry The logs contain `Stopped listing registered models after 100 pages`. Collate pages through the registry automatically but stops after 100 pages. It ingests the models it listed and doesn't mark any ML models as deleted in that run. To ingest a registry this large, contact [Collate support](mailto:support@getcollate.io). ### ML Models Are Ingested Without ML Features An ML model appears in Collate with its hyperparameters and ML Store, but without ML Features. Collate builds ML Features from the input columns of the model's signature, so check the following: * **No signature**: The model was logged without a signature. Log it with one, for example by passing `signature` to `log_model`. * **Unnamed inputs**: The signature's inputs have no names, as with unnamed tensors. Collate can't map these to ML Features. * **Unreadable artifacts**: The logs contain `Cannot read the model signature of from its artifacts`. MLflow 3.x doesn't record the signature on the run, so Collate reads it from the model's `MLmodel` file in the artifact store. Make sure the ingestion can read the model artifacts. If your tracking server doesn't proxy artifacts, the ingestion needs its own credentials for the artifact store. ### ML Models Fail with Version Not Found or Run ID Not Found The ingestion run reports an ML model as failed with one of these errors: * **`Version not found`**: Collate couldn't resolve a numeric version for the model. Either the model has no versions, or the version search failed. Look for `Error searching for versions of model` or `Gave up paginating versions` in the logs. * **`Run ID not found`**: The model's latest version isn't linked to an MLflow run, for example because it was registered from files outside a run. Collate needs the run to ingest the model. Databricks' built-in `system.ai` foundation models fail this way because they aren't backed by runs in your workspace. To skip them, add an **Always exclude** rule to the **ML Model** section that **matches regex** `^system\.ai\..*`. ### Removed ML Models Aren't Marked as Deleted With **Mark Deleted ML Models** turned on, Collate soft-deletes ML models that are no longer in the registry. It skips this step when the registry listing didn't complete or came back empty, so a configuration or permissions problem can't delete your ML models in Collate. When this happens, the logs contain `Skipping deleted-model reconciliation`. Deletion resumes on the next run that lists the whole registry. If you remove every model from the registry, delete the corresponding ML models in Collate manually. # SageMaker Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/sagemaker/hybrid-runner Connect your AWS SageMaker ML models to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![SageMaker](/public/images/connectors/sagemaker.webp) # SageMaker PROD This section provides guides and references to use the SageMaker connector. Configure and schedule SageMaker metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). Collate retrieves information about models and tags associated with the models in the AWS account. The user must have the following policy set to ingest the metadata from SageMaker. SageMaker also supports metadata ingestion of SageMaker Unified Studio models. This requires the additional permission `sagemaker:ListModelPackageGroups`. For more information, visit the [SageMaker Unified Studio documentation](https://aws.amazon.com/sagemaker/unified-studio). ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "SageMakerPolicy", "Effect": "Allow", "Action": [ "sagemaker:ListModels", "sagemaker:DescribeModel", "sagemaker:ListTags", "sagemaker:ListModelPackageGroups" ], "Resource": "*" } ] } ``` For more information on SageMaker permissions visit the [AWS SageMaker official documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html). ## Metadata Ingestion To ingest metadata from SageMaker, you need to create a service connection. The service connects SageMaker with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Mlmodel Services**, then click the **SageMaker** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/select-service/sagemaker.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=989308deeec80c2beeb567e302f64f10) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SageMaker services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/service-name/sagemaker.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=20fc1fe3c2184bb47667e0be691d3d6d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SageMaker. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/connection-details/sagemaker.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0f82b9027e7b8ce824f90572cda61f4c) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your ML model service. Filter rules match model names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all ML models available in the source. #### Filter Options The ML Model section includes the following filter options: * **ML Model**: Controls which ML models Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SageMaker Troubleshooting](/ai-2-0/connectors/ml-model/sagemaker/troubleshooting) > > Learn more about how to troubleshoot common SageMaker connector issues and resolve configuration or ingestion errors. # SageMaker Connector Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/sagemaker/index Connect your AWS SageMaker ML models to Collate for complete model lineage, metadata management, and data governance. Easy setup guide included. ![SageMaker](/public/images/connectors/sagemaker.webp) # SageMaker PROD This section provides guides and references to use the SageMaker connector. Configure and schedule SageMaker metadata and profiler workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/ml-model/sagemaker/troubleshooting) ## Requirements Collate retrieves information about models and tags associated with the models in the AWS account. The user must have the following policy set to ingest the metadata from SageMaker. SageMaker also supports metadata ingestion of SageMaker Unified Studio models. This requires the additional permission `sagemaker:ListModelPackageGroups`. For more information, visit the [SageMaker Unified Studio documentation](https://aws.amazon.com/sagemaker/unified-studio). ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Sid": "SageMakerPolicy", "Effect": "Allow", "Action": [ "sagemaker:ListModels", "sagemaker:DescribeModel", "sagemaker:ListTags", "sagemaker:ListModelPackageGroups" ], "Resource": "*" } ] } ``` For more information on SageMaker permissions visit the [AWS SageMaker official documentation](https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html). ## Metadata Ingestion To ingest metadata from SageMaker, you need to create a service connection. The service connects SageMaker with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Mlmodel Services**, then click the **SageMaker** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/select-service/sagemaker.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=989308deeec80c2beeb567e302f64f10) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other SageMaker services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/service-name/sagemaker.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=20fc1fe3c2184bb47667e0be691d3d6d) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for SageMaker. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/connection-details/sagemaker.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0f82b9027e7b8ce824f90572cda61f4c) * **AWS Access Key ID and AWS Secret Access Key**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). You must use both the access key ID and secret access key together to authenticate your requests. You can find further information on [how to manage your access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). * **AWS Region**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). As AWS can have instances in multiple regions, you must specify the region where the service you want to reach is located. Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, you can extract and use the rest of the AWS configurations in different ways. You can find further information about [configuring your credentials](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). * **AWS Session Token (optional)**: If you are using temporary credentials to access your services, you will need to provide the AWS Access Key ID and AWS Secret Access Key. Also, these will include an AWS Session Token. You can find more information on [Using temporary credentials with AWS resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html). * **Endpoint URL (optional)**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). * **Profile Name**: A named profile is a collection of settings and credentials that you can apply to an AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. You can inform this field if you'd like to use a profile other than `default`. Find more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). * **Assume Role Arn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. This is a required field if you'd like to `AssumeRole`. Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). > [!TIP] > > **Tip**: When using Assume Role authentication, ensure you provide the following details: > > * **AWS Region**: Specify the AWS region for your deployment. > * **Assume Role ARN**: Provide the ARN of the role in your AWS account that Collate will assume. * **Assume Role Session Name**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. By default, Collate uses the name `OpenMetadataSession`. Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). * **Assume Role Source Identity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your ML model service. Filter rules match model names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all ML models available in the source. #### Filter Options The ML Model section includes the following filter options: * **ML Model**: Controls which ML models Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [SageMaker Troubleshooting](/ai-2-0/connectors/ml-model/sagemaker/troubleshooting) > > Learn more about how to troubleshoot common SageMaker connector issues and resolve configuration or ingestion errors. # SageMaker Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/sagemaker/troubleshooting Troubleshoot SageMaker integration issues such as API failures, metadata gaps, or IAM permission conflicts. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Vertexai Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/vertexai/hybrid-runner Connect VertexAI to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![VertexAI](/public/images/connectors/vertexai.png) # VertexAI BETA This section provides guides and references to use the VertexAI connector. Configure and schedule VertexAI metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### VertexAI API Permissions 1. Go to [Cloud VertexAI Library enable API](https://cloud.google.com/vertex-ai/docs/featurestore/setup). 2. Select the `GCP Project ID`. 3. Click on `Enable API` which enables the Data Catalog API on the respective project. ### GCP Permissions To execute metadata extraction workflow successfully the user or the service account should have enough access to fetch required data. Following table describes the minimum required permissions | # | GCP Permission | Required For | | :- | :- | :- | | 1 | aiplatform.models.get | Metadata Ingestion | | 2 | aiplatform.models.list | Metadata Ingestion | ## Metadata Ingestion To ingest metadata from Vertex AI, you need to create a service connection. The service connects Vertex AI with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Mlmodel Services**, then click the **Vertex AI** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/select-service/vertexai.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=bff8929212a61e5cabf677bb5e572e6b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Vertex AI services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/service-name/vertexai.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46ef6ee0e36c822fdeb3a84e165089e9) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Vertex AI. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/connection-details/vertexai.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=d5a59568982b64cb82168fc44c8b02a6) * **GCP Credentials**: You can authenticate with your VertexAI instance using either `GCP Credentials Path` where you can specify the file path of the service account key or you can pass the values directly by choosing the `GCP Credentials Values` from the service account key file. You can check out the [service account keys documentation](https://cloud.google.com/iam/docs/keys-create-delete#iam-service-account-keys-create-console) to learn how to create and download service account keys. * **GCP Credentials Values**: Passing the raw credential values provided by VertexAI. This requires the following information, all provided by VertexAI: * **Credentials type**: Credentials Type is the type of the account, for a service account the value of this field is `service_account`. To fetch this key, look for the value associated with the `type` key in the service account key file. * **Project ID**: A project ID is a unique string used to differentiate your project from all others in Google Cloud. To fetch this key, look for the value associated with the `project_id` key in the service account key file. You can also pass multiple project id to ingest metadata from different VertexAI projects into one service. * **Private Key ID**: This is a unique identifier for the private key associated with the service account. To fetch this key, look for the value associated with the `private_key_id` key in the service account file. * **Private Key**: This is the private key associated with the service account that is used to authenticate and authorize access to VertexAI. To fetch this key, look for the value associated with the `private_key` key in the service account file. * **Client Email**: This is the email address associated with the service account. To fetch this key, look for the value associated with the `client_email` key in the service account key file. * **Client ID**: This is a unique identifier for the service account. To fetch this key, look for the value associated with the `client_id` key in the service account key file. * **Auth URI**: This is the URI for the authorization server. To fetch this key, look for the value associated with the `auth_uri` key in the service account key file. The default value for Auth URI is `https://accounts.google.com/o/oauth2/auth`. * **Token URI**: The Google Cloud Token URI is a specific endpoint used to obtain an OAuth 2.0 access token from the Google Cloud IAM service. This token lets you authenticate and access various Google Cloud resources and APIs that require authorization. To fetch this key, look for the value associated with the `token_uri` key in the service account credentials file. Default Value to Token URI is `https://oauth2.googleapis.com/token`. * **Authentication Provider X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the authorization server. To fetch this key, look for the value associated with the `auth_provider_x509_cert_url` key in the service account key file. The default value for Auth Provider X509Cert URL is `https://www.googleapis.com/oauth2/v1/certs`. * **Client X509Cert URL**: This is the URL of the certificate that verifies the authenticity of the service account. To fetch this key, look for the value associated with the `client_x509_cert_url` key in the service account key file. * **GCP Credentials Path**: Passing a local file path that contains the credentials. * **Location**: Location refers to the geographical region where your resources, such as datasets, models, and endpoints, are physically hosted (for example, `us-central1`, `europe-west4`). > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your ML model service. Filter rules match model names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all ML models available in the source. #### Filter Options The ML Model section includes the following filter options: * **ML Model**: Controls which ML models Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [VertexAI Troubleshooting](/ai-2-0/connectors/ml-model/vertexai/troubleshooting) > > Learn more about how to troubleshoot common VertexAI connector issues and resolve configuration or ingestion errors. # Vertexai Connector Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/vertexai/index Get started with vertexai. Setup instructions, features, and configuration details inside. ![VertexAI](/public/images/connectors/vertexai.png) # VertexAI BETA This section provides guides and references to use the VertexAI connector. Configure and schedule VertexAI metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/ml-model/vertexai/troubleshooting) ## Requirements ### VertexAI API Permissions * Go to [Cloud VertexAI Library enable API](https://cloud.google.com/vertex-ai/docs/featurestore/setup) * Select the `GCP Project ID`. * Click on `Enable API` which enables the Data Catalog API on the respective project. ### GCP Permissions To execute metadata extraction workflow successfully the user or the service account should have enough access to fetch required data. Following table describes the minimum required permissions | # | GCP Permission | Required For | | :- | :- | :- | | 1 | aiplatform.models.get | Metadata Ingestion | | 2 | aiplatform.models.list | Metadata Ingestion | ## Metadata Ingestion To ingest metadata from Vertex AI, you need to create a service connection. The service connects Vertex AI with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Mlmodel Services**, then click the **Vertex AI** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/select-service/vertexai.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=bff8929212a61e5cabf677bb5e572e6b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Vertex AI services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/service-name/vertexai.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46ef6ee0e36c822fdeb3a84e165089e9) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Vertex AI. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/connection-details/vertexai.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=d5a59568982b64cb82168fc44c8b02a6) * **GCP Credentials**: You can authenticate with your VertexAI instance using either `GCP Credentials Path` where you can specify the file path of the service account key or you can pass the values directly by choosing the `GCP Credentials Values` from the service account key file. For more information, see [Create and Delete Service Account Keys](https://cloud.google.com/iam/docs/keys-create-delete#iam-service-account-keys-create-console). * **GCP Credentials Values**: Passing the raw credential values provided by VertexAI. This requires the following information, all provided by VertexAI: * **Credentials type**: Credentials Type is the type of the account, for a service account the value of this field is `service_account`. To fetch this key, look for the value associated with the `type` key in the service account key file. * **Project ID**: A project ID is a unique string used to differentiate your project from all others in Google Cloud. To fetch this key, look for the value associated with the `project_id` key in the service account key file. You can also pass multiple project id to ingest metadata from different VertexAI projects into one service. * **Private Key ID**: This is a unique identifier for the private key associated with the service account. To fetch this key, look for the value associated with the `private_key_id` key in the service account file. * **Private Key**: This is the private key associated with the service account that is used to authenticate and authorize access to VertexAI. To fetch this key, look for the value associated with the `private_key` key in the service account file. * **Client Email**: This is the email address associated with the service account. To fetch this key, look for the value associated with the `client_email` key in the service account key file. * **Client ID**: This is a unique identifier for the service account. To fetch this key, look for the value associated with the `client_id` key in the service account key file. * **Auth URI**: This is the URI for the authorization server. To fetch this key, look for the value associated with the `auth_uri` key in the service account key file. The default value for Auth URI is `https://accounts.google.com/o/oauth2/auth`. * **Token URI**: The Google Cloud Token URI is a specific endpoint used to obtain an OAuth 2.0 access token from the Google Cloud IAM service. This token allows you to authenticate and access various Google Cloud resources and APIs that require authorization. To fetch this key, look for the value associated with the `token_uri` key in the service account credentials file. Default Value to Token URI is `https://oauth2.googleapis.com/token`. * **Authentication Provider X509 Certificate URL**: This is the URL of the certificate that verifies the authenticity of the authorization server. To fetch this key, look for the value associated with the `auth_provider_x509_cert_url` key in the service account key file. The default value for Auth Provider X509Cert URL is `https://www.googleapis.com/oauth2/v1/certs`. * **Client X509Cert URL**: This is the URL of the certificate that verifies the authenticity of the service account. To fetch this key, look for the value associated with the `client_x509_cert_url` key in the service account key file. * **GCP Credentials Path**: Passing a local file path that contains the credentials. * **Location**: Location refers to the geographical region where your resources, such as datasets, models, and endpoints, are physically hosted. (e.g. `us-central1`, `europe-west4`) #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your ML model service. Filter rules match model names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all ML models available in the source. #### Filter Options The ML Model section includes the following filter options: * **ML Model**: Controls which ML models Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, usage tracking, data lineage, and other downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts ML models, features, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Db Service Prefixes | — | List of database service name prefixes used to resolve lineage between ML models and database assets. Accepted formats: `DBService`, `DBService.Database`, `DBService.Database.Schema`, `DBService.Database.Schema.Table`. | | Mark Deleted ML Models | On | Soft-delete ML models in Collate when they are removed from the source. Associated entities like lineage are also deleted. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=95b56f4303e9aa439a48d5c2bcdc989e) * **Filter Patterns**: Apply include or exclude rules to scope which ML models this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=7c6be8ce7a3798a010f75847d55515e6) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/MLModel/mlmodel-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=50a25a80a47b765f2b1c9c56b09a4d82) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [VertexAI Troubleshooting](/ai-2-0/connectors/ml-model/vertexai/troubleshooting) > > Learn more about how to troubleshoot common VertexAI connector issues and resolve configuration or ingestion errors. # Vertexai Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/ml-model/vertexai/troubleshooting Troubleshoot VertexAI ingestion for ML models, deployments, or lineage gaps in pipeline tracking. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Airbyte Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airbyte/hybrid-runner Connect Airbyte to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Airbyte](/public/images/connectors/airbyte.webp) # Airbyte PROD This section provides guides and references to use the Airbyte connector. Configure and schedule Airbyte metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To extract metadata, you will need access to the Airbyte instance with valid credentials (username and password). ## Metadata Ingestion To ingest metadata from Airbyte, you need to create a service connection. The service connects Airbyte with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Airbyte** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/airbyte.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=5a76c1aa23ca04c41bb5f87e3f4eee8e) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Airbyte services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/airbyte.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=acd74801463259819cad6567a5c1c873) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Airbyte. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/airbyte.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0568436991a720d27f00930fd42f0a98) * **Host and Port**: Pipeline Service Management UI URL. * **Username**: Username to connect to Airbyte. * **Password**: Password to connect to Airbyte. * **API Version**: Version of the Airbyte REST API by default `api/v1`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Airbyte Troubleshooting](/ai-2-0/connectors/pipeline/airbyte/troubleshooting) > > Learn more about how to troubleshoot common Airbyte connector issues and resolve configuration or ingestion errors. # Airbyte Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airbyte/index Connect Airbyte data pipelines to Collate for comprehensive data lineage tracking, metadata discovery, and pipeline monitoring. Setup guide included. ![Airbyte](/public/images/connectors/airbyte.webp) # Airbyte PROD This section provides guides and references to use the Airbyte connector. Configure and schedule Airbyte metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) ## Requirements To extract metadata, you will need access to the Airbyte instance with valid credentials (username and password). ## Metadata Ingestion To ingest metadata from Airbyte, you need to create a service connection. The service connects Airbyte with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Airbyte** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/airbyte.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=5a76c1aa23ca04c41bb5f87e3f4eee8e) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Airbyte services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/airbyte.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=acd74801463259819cad6567a5c1c873) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Airbyte. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/airbyte.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=0568436991a720d27f00930fd42f0a98) * **Host and Port**: Pipeline Service Management UI URL. * **Username**: Username to connect to Airbyte. * **Password**: Password to connect to Airbyte. * **API Version**: Version of the Airbyte REST API by default `api/v1`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Airbyte Troubleshooting](/ai-2-0/connectors/pipeline/airbyte/troubleshooting) > > Learn more about how to troubleshoot common Airbyte connector issues and resolve configuration or ingestion errors. # Airbyte Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airbyte/troubleshooting Troubleshoot Airbyte connector ingestion issues like config errors, job failures, or schema mismatch. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Airflow Configuring Lineage Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/configuring-lineage Learn how to configure DAG lineage in Airflow using inlets and outlets. Supports tables, dashboards, pipelines, and more with or without ingestion packages. # Configuring DAG Lineage Regardless of the Airflow ingestion process you follow ([Workflow](/ai-2-0/connectors/pipeline/airflow), [Lineage Backend](/ai-2-0/connectors/pipeline/airflow/lineage-backend) or [Lineage Operator](/ai-2-0/connectors/pipeline/airflow/lineage-operator)), Collate will try to extract the lineage information based on the tasks `inlets` and `outlets`. What's important to consider here is that when Collate ingests Airflow lineage, it is actually building a graph: ``` Table A (node) -> DAG (edge) -> Table B (node) ``` Where tables are nodes and DAGs (Pipelines) are considered edges. This means that the correct way of setting these parameters is by making sure that both `inlets` and `outlets` are informed, so that Collate has the nodes to build the relationship. ## Configuring Lineage > [!TIP] > > **Tip**: Collate supports lineage for the following entities: `Table`, `Container`, `Dashboard`, `DashboardDataModel`, `Pipeline`, `Topic`, `SearchIndex`, `REST API`, and `MlModel`. > > Moreover, note that this example requires the `openmetadata-ingestion` package to be installed. If you plan to > ingest the Airflow metadata (and lineage) externally and don't want to install it, see the next section. Take a look at the following example: ```python theme={null} from datetime import timedelta from airflow import DAG from airflow.operators.dummy import DummyOperator from airflow.utils.dates import days_ago from metadata.generated.schema.entity.data.container import Container from metadata.generated.schema.entity.data.table import Table from metadata.ingestion.source.pipeline.airflow.lineage_parser import OMEntity default_args = { 'owner': 'airflow', 'depends_on_past': False, 'email': ['airflow@example.com'], 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'retry_delay': timedelta(seconds=1), } with DAG( "test-lineage", default_args=default_args, description="An example DAG which runs a lineage test", start_date=days_ago(1), is_paused_upon_creation=False, catchup=False, ) as dag: t0 = DummyOperator( task_id='task0', inlets=[ OMEntity(entity=Container, fqn="Container A", key="group_A"), OMEntity(entity=Table, fqn="Table X", key="group_B"), ] ) t1 = DummyOperator( task_id='task10', outlets=[ OMEntity(entity=Table, fqn="Table B", key="group_A"), OMEntity(entity=Table, fqn="Table Y", key="group_B"), ] ) t0 >> t1 ``` This example passes inlets and outlets as a list of the `OMEntity` class, which lets you specify: 1. The type of the asset being used, such as Table or Container, following the Collate SDK. 2. The FQN of the asset, which is the unique name of each asset in Collate, for example, `serviceName.databaseName.schemaName.tableName`. 3. The key to group the lineage if needed. This `OMEntity` class is defined following the example of Airflow's internal lineage [models](https://github.com/apache/airflow/blob/2.9.0/airflow/lineage/entities.py). ## Keys Specify the lineage dependencies among different groups of tables. In the example above, the lineage is not built from all inlets to all outlets, but rather grouped by key (`group_A` and `group_B`). This means that after this lineage is processed, the relationship will be: ``` Container A (node) -> DAG (edge) -> Table B (node) ``` and ``` Table X (node) -> DAG (edge) -> Table Y (node) ``` It does not matter in which task of the DAG these inlet/outlet information is specified. During the ingestion process, Collate groups all these details at the DAG level. ## Configuring Lineage Without the `openmetadata-ingestion` Package Apply the same example as above, but describe the lineage in dictionaries instead, to avoid requiring the `openmetadata-ingestion` package to be installed in the environment. ```python theme={null} from datetime import timedelta from airflow import DAG from airflow.operators.dummy import DummyOperator from airflow.utils.dates import days_ago default_args = { 'owner': 'airflow', 'depends_on_past': False, 'email': ['airflow@example.com'], 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'retry_delay': timedelta(seconds=1), } with DAG( "test-lineage", default_args=default_args, description="An example DAG which runs a lineage test", start_date=days_ago(1), is_paused_upon_creation=False, catchup=False, ) as dag: t0 = DummyOperator( task_id='task0', inlets=[ {"entity": "container", "fqn": "Container A", "key": "group_A"}, {"entity": "table", "fqn": "Table X", "key": "group_B"}, ] ) t1 = DummyOperator( task_id='task10', outlets=[ {"entity": "table", "fqn": "Table B", "key": "group_A"}, {"entity": "table", "fqn": "Table Y", "key": "group_B"}, ] ) t0 >> t1 ``` This example passes inlets and outlets as a list of dictionaries, which lets you specify: 1. The type of the asset being used, following the list below. 2. The FQN of the asset, which is the unique name of each asset in Collate, for example, `serviceName.databaseName.schemaName.tableName`. 3. The key to group the lineage if needed. The `entity` key needs to be informed as follows for each of the entity types: * Table: `table` * Container: `container` * Dashboard: `dashboard` * Dashboard Data Model: `dashboardDataModel` * Pipeline: `pipeline` * Topic: `topic` * SearchIndex: `searchIndex` * MlModel: `mlmodel` > [!TIP] > > **Tip**: When configuring Airflow lineage without the `openmetadata-ingestion` package, **only table entities** are supported using the simplified format: > > ```python theme={null} > inlets = [{"tables": ["service.db.schema.table"]}] > ``` > > * Dashboards, topics, and other non-table entities are not supported in this format. > * To use those, you must use the full `OMEntity` format, which requires the `openmetadata-ingestion` package. ## Configuring Lineage Between Tables > [!TIP] > > **Tip**: Note that this method only allows lineage between tables. > > This method will be deprecated in Collate 1.4. Take a look at the following example: ```python theme={null} from datetime import timedelta from airflow import DAG from airflow.operators.dummy import DummyOperator from airflow.utils.dates import days_ago default_args = { 'owner': 'airflow', 'depends_on_past': False, 'email': ['airflow@example.com'], 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'retry_delay': timedelta(seconds=1), } with DAG( "test-multiple-inlet-keys", default_args=default_args, description="An example DAG which runs a lineage test", start_date=days_ago(1), is_paused_upon_creation=False, catchup=False, ) as dag: t0 = DummyOperator( task_id='task0', inlets={ "group_A": ["Table A"], "group_B": ["Table X"] } ) t1 = DummyOperator( task_id='task10', outlets={ "group_A": ["Table B"], "group_B": ["Table Y"] } ) t0 >> t1 ``` > [!TIP] > > **Tip**: Make sure to add the table Fully Qualified Name (FQN), which is the unique name of the table in Collate. > > This name is composed as `serviceName.databaseName.schemaName.tableName`. # Airflow GCP Composer Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/gcp-composer # Extract Metadata from GCP Composer ## Requirements Use a Cloud Composer environment that supports the Airflow version required by your Collate release. For Collate 2.0.5, the bundled ingestion image uses Airflow 3.3.2. It also requires the ingestion package to match your Collate server version. For Collate 2.0.5, install `openmetadata-ingestion~=2.0.5.0`. There are two main approaches to extract metadata from GCS. Both of them involve creating a DAG directly in your Composer instance, but the requirements and the steps to follow are going to be slightly different. Feel free to choose whatever approach adapts best to your current architecture and constraints. ## Using the Python Operator The most comfortable way to extract metadata out of GCP Composer is by directly creating a DAG in there that will handle the connection to the metadata database automatically and push the contents to your Collate server. The drawback here? You need to install `openmetadata-ingestion` directly on the host. This might have some incompatibilities with your current Python environment and/or the internal (and changing) Composer requirements. In any case, once the requirements are there, preparing the DAG is straightforward. ### Install the Requirements In your environment you will need to install the following packages: * `openmetadata-ingestion~=x.y.z.0` (for example, `openmetadata-ingestion~=2.0.5.0`). * `sqlalchemy>=2.0,<3`: This aligns with the SQLAlchemy version used by Collate 2.0 and Airflow 3.x. Follow your Composer environment constraints if they are stricter. **Note**: Make sure to use the `openmetadata-ingestion` version that matches the server version you currently have! ### Prepare the DAG Note that this DAG is a usual connector DAG, just using the Airflow service with the `Backend` connection. As an example, a DAG pushing data to Collate under Google SSO could look like this: ```python theme={null} """ This DAG can be used directly in your Airflow instance after installing the `openmetadata-ingestion` package. Its purpose is to connect to the underlying database, retrieve the information and push it to Collate. """ from datetime import timedelta import yaml from airflow import DAG try: from airflow.operators.python import PythonOperator except ModuleNotFoundError: from airflow.operators.python_operator import PythonOperator from airflow.utils.dates import days_ago from metadata.workflow.metadata import MetadataWorkflow default_args = { "owner": "user_name", "email": ["username@org.com"], "email_on_failure": False, "retries": 3, "retry_delay": timedelta(minutes=5), "execution_timeout": timedelta(minutes=60), } config = """ source: type: airflow serviceName: airflow_gcp_composer serviceConnection: config: type: Airflow hostPort: http://localhost:8080 numberOfStatus: 10 connection: type: Backend sourceConfig: config: type: PipelineMetadata sink: type: metadata-rest config: {} workflowConfig: loggerLevel: INFO openMetadataServerConfig: hostPort: https://sandbox.open-metadata.org/api authProvider: google securityConfig: secretKey: /home/airflow/gcp/data/gcp_creds_beta.json """ def metadata_ingestion_workflow(): workflow_config = yaml.safe_load(config) workflow = MetadataWorkflow.create(workflow_config) workflow.execute() workflow.raise_from_status() workflow.print_status() workflow.stop() with DAG( "airflow_metadata_extraction", default_args=default_args, description="An example DAG which pushes Airflow data to OM", start_date=days_ago(1), is_paused_upon_creation=True, schedule_interval="*/5 * * * *", catchup=False, ) as dag: ingest_task = PythonOperator( task_id="ingest_using_recipe", python_callable=metadata_ingestion_workflow, ) ``` ## Using the Kubernetes Pod Operator This second approach does not require installing anything in the GCP Composer environment. Instead, it relies on the `KubernetesPodOperator` to use the underlying k8s cluster of Composer. Then, the code won't directly run using the hosts' environment, but rather inside a container built with only the `openmetadata-ingestion` package. ### Requirements The only requirement here is getting the URL of the underlying Composer's database. You can follow the official GCS [docs](https://cloud.google.com/composer/docs/composer-2/access-airflow-database) for the steps to obtain the credentials. In a nutshell, from the Airflow UI you can to Admin > Configurations, and search for `sql_alchemy_conn`. For example, the URL might look like this: ``` postgresql+psycopg2://root:@airflow-sqlproxy-service.composer-system.svc.cluster.local:3306/composer-2-0-28-airflow-2-2-5-5ab01d14 ``` As Cloud Composer uses Postgres for the backend database, the Airflow connection configuration will be shaped as: ```yaml theme={null} connection: type: Postgres username: root password: ... hostPort: airflow-sqlproxy-service.composer-system.svc.cluster.local:3306 database: composer-2-0-28-airflow-2-2-5-5ab01d14 ``` For more information on how to shape the YAML describing the Airflow metadata extraction, see [Airflow Connector](/ai-2-0/connectors/pipeline/airflow). ### Prepare the DAG ```python theme={null} from datetime import datetime from airflow import models from airflow.providers.cncf.kubernetes.operators.kubernetes_pod import KubernetesPodOperator config = """ source: type: airflow serviceName: airflow_gcp_composer_k8s_op serviceConnection: config: type: Airflow hostPort: http://localhost:8080 numberOfStatus: 10 connection: type: Postgres username: root password: ... hostPort: airflow-sqlproxy-service.composer-system.svc.cluster.local:3306 database: composer-2-0-28-airflow-2-2-5-5ab01d14 sourceConfig: config: type: PipelineMetadata sink: type: metadata-rest config: {} workflowConfig: openMetadataServerConfig: hostPort: https://sandbox.open-metadata.org/api enableVersionValidation: false authProvider: openmetadata securityConfig: jwtToken: """ with models.DAG( "ingestion-k8s-operator", schedule_interval="@once", start_date=datetime(2021, 1, 1), catchup=False, tags=["OpenMetadata"], ) as dag: KubernetesPodOperator( task_id="ingest", name="ingest", cmds=["python", "main.py"], image="openmetadata/ingestion-base:2.0.5", namespace='default', env_vars={"config": config, "pipelineType": "metadata"}, dag=dag, ) ``` Some remarks on this example code: #### Kubernetes Pod Operator You can name the task as you want (`task_id` and `name`). The important points here are the `cmds`, this should not be changed, and the `env_vars`. The `main.py` script that gets shipped within the image will load the env vars as they are shown, so only modify the content of the config YAML, but not this dictionary. Note that the example uses the image `openmetadata/ingestion-base:2.0.5`. Update that accordingly for higher versions once they are released. The image version should be aligned with your Collate server version to avoid incompatibilities. ```python theme={null} KubernetesPodOperator( task_id="ingest", name="ingest", cmds=["python", "main.py"], image="openmetadata/ingestion-base:2.0.5", namespace='default', env_vars={"config": config, "pipelineType": "metadata"}, dag=dag, ) ``` For more information about the `KubernetesPodOperator` and how to tune its configurations, see [Use the KubernetesPodOperator](https://cloud.google.com/composer/docs/how-to/using/using-kubernetes-pod-operator). ## Collate Server Config The easiest approach here is to generate a bot with a **JWT** token directly from the Collate UI. You can then use the following workflow config: ```yaml theme={null} workflowConfig: openMetadataServerConfig: hostPort: http://localhost:8585/api authProvider: openmetadata securityConfig: jwtToken: ``` # Airflow Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/hybrid-runner Connect Apache Airflow to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Airflow](/public/images/connectors/airflow.webp) # Airflow PROD This section provides guides and references to use the Airflow connector. Configure and schedule Airflow metadata workflow from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/airflow/troubleshooting) > [card] [MWAA](/ai-2-0/connectors/pipeline/airflow/mwaa) > > Extract metadata from Airflow in AWS MWAA environments. > [card] [GCP Composer](/ai-2-0/connectors/pipeline/airflow/gcp-composer) > > Extract metadata from Airflow in Google Cloud Composer. ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). > [!TIP] > > **Tip**: Collate supports only the officially supported Airflow versions. > For more information, see [Supported Airflow Versions](https://airflow.apache.org/docs/apache-airflow/stable/installation/supported-versions.html). ## Metadata Ingestion To ingest metadata from Airflow, you need to create a service connection. The service connects Airflow with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Airflow** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/airflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=a17ca9cf0f3a1668b61236e633b98bf8) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Airflow services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/airflow.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d2b5816135c367b9940f161793e1c5a1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Airflow. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/airflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=51d0704ec29063ee8fba226be814e659) * **Host and Port**: URL to the Airflow instance. * **Number of Status**: Number of statuses to look back to in every ingestion (for example, past executions from a DAG). * **Connection**: Airflow metadata database connection. See these [docs](https://airflow.apache.org/docs/apache-airflow/stable/howto/set-up-database.html) for supported backends. The connector supports the following `connection` selections: * `backend`: Should not be used from the UI. This is only applicable when ingesting Airflow metadata locally by running the ingestion from a DAG. It will use the current Airflow SQLAlchemy connection to extract the data. * `MySQL`, `Postgres`, and `SQLite`: Pass the required credentials to reach out each of these services. Collate creates a connection to the specified database and reads Airflow data from there. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Airflow Troubleshooting](/ai-2-0/connectors/pipeline/airflow/troubleshooting) > > Learn more about how to troubleshoot common Airflow connector issues and resolve configuration or ingestion errors. # Airflow Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/index Connect Apache Airflow to Collate effortlessly. Complete setup guide, configuration steps, and pipeline metadata extraction for seamless data lineage tracking. ![Airflow](/public/images/connectors/airflow.webp) # Airflow PROD This section provides guides and references to use the Airflow connector. Configure and schedule Airflow metadata workflow from the Collate UI: * [REST API Connection](/ai-2-0/connectors/pipeline/airflow/rest-api-connection) * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/airflow/troubleshooting) > [card] [MWAA](/ai-2-0/connectors/pipeline/airflow/mwaa) > > Extract metadata from Airflow in AWS MWAA environments. > [card] [GCP Composer](/ai-2-0/connectors/pipeline/airflow/gcp-composer) > > Extract metadata from Airflow in Google Cloud Composer. ## Requirements > [!TIP] > > **Tip**: Collate supports only the officially supported Airflow versions. > For more information, see [Supported Airflow Versions](https://airflow.apache.org/docs/apache-airflow/stable/installation/supported-versions.html). ## Metadata Ingestion To ingest metadata from Airflow, you need to create a service connection. The service connects Airflow with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Airflow** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/airflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=a17ca9cf0f3a1668b61236e633b98bf8) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Airflow services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/airflow.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d2b5816135c367b9940f161793e1c5a1) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Airflow. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/airflow.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=51d0704ec29063ee8fba226be814e659) * **Host and Port**: URL to the Airflow instance. * **Number of Status**: Number of status we want to look back to in every ingestion (e.g., Past executions from a DAG). * **Connection**: Airflow metadata database connection. See these [docs](https://airflow.apache.org/docs/apache-airflow/stable/howto/set-up-database.html) for supported backends. The connector supports the following `connection` selections: * `RestAPI`: Connects to Airflow via the web server REST API. No direct database access required — ideal for managed deployments (Astronomer, Cloud Composer, MWAA) or any setup where database access is unavailable. Supports Basic Auth, Access Token, GCP Service Account, and MWAA authentication methods. See the [REST API Connection guide](/ai-2-0/connectors/pipeline/airflow/rest-api-connection) for full setup instructions. * `Backend`: Should not be used from the UI. This is only applicable when ingesting Airflow metadata locally by running the ingestion from a DAG. It will use the current Airflow SQLAlchemy connection to extract the data. * `MySQL`, `Postgres`, and `SQLite`: Pass the required credentials to reach out each of these services. Collate creates a connection to the specified database and reads Airflow data from there. #### Choosing a Connection Type Pick the connection based on where your Airflow runs and what the ingestion process can reach: | Scenario | Connection type | | - | - | | Managed Airflow: [MWAA](/ai-2-0/connectors/pipeline/airflow/mwaa), Cloud Composer, or Astronomer | `RestAPI` | | Self-hosted Airflow, with the ingestion scheduled from the Collate UI | `RestAPI` | | The ingestion runs as a DAG inside the same Airflow you want to ingest | `Backend` | | Webserver API disabled or unreachable, but the metadata database is network-reachable | `MySQL`, `Postgres`, or `SQLite` | At a glance: | | `RestAPI` | `Backend` | `MySQL` / `Postgres` / `SQLite` | | - | - | - | - | | Runs from the Collate UI or agent | ✅ | ❌ Ingests the agent's own Airflow, not the `hostPort` target | ✅ When the database is network-reachable | | Works with managed Airflow | ✅ | Only as a DAG deployed inside it | Depends on the provider and network path, not a flat no. MWAA's database is reachable from a network-connected runtime inside its VPC; see the [MWAA connector guide](/ai-2-0/connectors/pipeline/airflow/mwaa). | | Credentials needed | Airflow user, token, or cloud credentials | None | Database read credentials | | Airflow versions | 2.x and 3.x, API version auto-detected (MWAA needs 2.4.3 or newer) | Matches the Airflow it runs in | Database schema varies across Airflow versions | | Table-level lineage | Requires the [OpenLineage provider](/ai-2-0/connectors/pipeline/airflow/rest-api-connection#openlineage-setup-summary) | From DAG inlets and outlets | From DAG inlets and outlets | > [!WARNING] > > `Backend` reads the metadata database of the Airflow environment the ingestion workflow is *running inside*, and uses `hostPort` only to build DAG links. Selecting it in the UI for an external Airflow, such as MWAA, silently ingests the ingestion agent's own Airflow instead. For an external instance, use `RestAPI`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Airflow Troubleshooting](/ai-2-0/connectors/pipeline/airflow/troubleshooting) > > Learn more about how to troubleshoot common Airflow connector issues and resolve configuration or ingestion errors. # Airflow Lineage Backend Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/lineage-backend Integrate Airflow lineage backend to capture runtime metadata and execution traces for DAGs and tasks. # Airflow Lineage Backend Learn how to capture lineage information directly from Airflow DAGs using the Collate Lineage Backend. ## Introduction Obtaining metadata should be as simple as possible. Not only that, we want developers to be able to keep using their tools without any major changes. We can directly use [Airflow code](https://airflow.apache.org/docs/apache-airflow/stable/lineage.html#lineage-backend) to help us track data lineage. What we want to achieve through this backend is the ability to link Collate Table Entities and the pipelines that have those instances as inputs or outputs. Being able to control and monitor these relationships can play a major role in helping discover and communicate issues to your company data practitioners and stakeholders. This document will guide you through the installation, configuration and internals of the process to help you unlock as much value as possible from within your Airflow pipelines. ## Quickstart ### Installation The Lineage Backend can be directly installed to the Airflow instances as part of the usual Collate Python distribution: ```commandline theme={null} pip3 install "openmetadata-ingestion==x.y.z" ``` Where `x.y.z` is the version of your Collate server, e.g., 1.2.2. **It is important that server and client versions match**. ### Adding Lineage Config After the installation, we need to update the Airflow configuration. This can be done following this example on `airflow.cfg`: ```ini theme={null} [lineage] backend = airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend airflow_service_name = local_airflow openmetadata_api_endpoint = http://localhost:8585/api jwt_token = ``` Or we can directly provide environment variables: ```env theme={null} AIRFLOW__LINEAGE__BACKEND="airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend" AIRFLOW__LINEAGE__AIRFLOW_SERVICE_NAME="local_airflow" AIRFLOW__LINEAGE__OPENMETADATA_API_ENDPOINT="http://localhost:8585/api" AIRFLOW__LINEAGE__JWT_TOKEN="" ``` We can choose the option that best adapts to our current architecture. Find more information on Airflow configurations [here](https://airflow.apache.org/docs/apache-airflow/stable/howto/set-config.html). Moreover, when using the lineage backend to bring in Pipeline metadata, we will add the URL of DAG. We build this URL by using the `webserver` base URL. If you want to make sure this value is informed correctly, double-check what you have defined in the `webserver` configuration [here](https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#base-url). ```env theme={null} AIRFLOW__WEBSERVER__BASE_URL="http://localhost:8080" ``` Make sure this is a valid URI by not forgetting to add the scheme, otherwise we won't be able to properly parse it. #### Optional Parameters You can also set the following parameters: ```ini theme={null} [lineage] ... only_keep_dag_lineage = true max_status = 10 timeout = 30 retry = 3 retry_wait = 60 retry_codes = 500,502,503,504 ``` * `only_keep_dag_lineage` will remove any table lineage not present in the inlets or outlets. This will ensure that any lineage in Collate comes only from your code. * `max_status` controls the number of status to ingest in each run. By default, we'll pick the last 10. * `timeout` sets the timeout for the airflow lineage backend's connection to Collate. * `retry` limits the number of retries for the airflow lineage backend's connection to Collate. * `retry_wait` the base wait time (in seconds) between retry attempts. On each retry, the wait time increases linearly based on the number of attempts already made: `retry_wait * (total_retries - retry + 1)` This mechanism helps avoid overwhelming the service by spacing out retries. * `retry_codes` is a comma-separated list of HTTP status codes that will trigger a retry. By default, it includes Gateway Timeout (HTTP 504). In the following sections, we'll show how to adapt our pipelines to help us build the lineage information. ## Lineage Backend You can find the source code [here](https://github.com/open-metadata/OpenMetadata/tree/main/ingestion/src/airflow_provider_openmetadata). ### Pipeline Service The backend will look for a Pipeline Service Entity with the name specified in the configuration under `airflow_service_name`. If it cannot find the instance, it will create one based on the following information: * `airflow_service_name` as name. If not informed, the default value will be `airflow`. * It will use the `webserver` base URL as the URL of the service. ### Pipeline Entity Each DAG processed by the backend will be created or updated as a Pipeline Entity linked to the above Pipeline Service. We are going to extract the task information and add it to the Pipeline task property list. Then, a DAG created with some tasks as the following random example: ```commandline theme={null} t1 >> [t2, t3] ``` We will capture this information as well, therefore showing how the DAG contains three tasks t1, t2, and t3, with t1 having t2 and t3 as downstream tasks. ### Adding Lineage Airflow [Operators](https://airflow.apache.org/docs/apache-airflow/1.10.4/_api/airflow/models/baseoperator/index.html) contain the attributes `inlets` and `outlets`. When creating our tasks, we can pass any of these two parameters as follows: ```python theme={null} BashOperator( task_id='print_date', bash_command='date', outlets={ "tables": ["service.database.schema.table"] } ) ``` Note how in this example we are defining a Python `dict` with the key tables and value a `list`. This list should contain the FQN of tables ingested through any of our connectors or APIs. When each task is processed, we will use the Collate client to add the lineage information (upstream for inlets and downstream for outlets) between the Pipeline and Table Entities. It is important to get the naming right, as we will fetch the Table Entity by its FQN. If no information is specified in terms of lineage, we will just ingest the Pipeline Entity without adding further information. > [!TIP] > > **Tip**: While we are showing here how to parse the lineage using the Lineage Backend, the setup of `inlets` and `outlets` > is supported as well through external metadata ingestion from Airflow, be it via the UI, CLI or directly running > an extraction DAG from Airflow itself. ## Example This is a full example of a working DAG. Note how we are passing the inlets and outlets for the `fullyQualifiedName`s * `mysql.default.openmetadata_db.bot_entity` * `snow.TEST.PUBLIC.COUNTRIES` We are pointing at already ingested assets, so there is no limitation of them being part of the same service. For this example to work on your end, update the FQNs to tables you already have in Collate. ```python theme={null} from datetime import datetime, timedelta from textwrap import dedent # The DAG object; we'll need this to instantiate a DAG from airflow import DAG # Operators; we need this to operate! from airflow.operators.bash import BashOperator from airflow.operators.python import PythonOperator # These args will get passed on to each operator # You can override them on a per-task basis during operator initialization from airflow_provider_openmetadata.lineage.callback import success_callback, failure_callback default_args = { 'retries': 1, 'retry_delay': timedelta(minutes=5), 'on_failure_callback': failure_callback, 'on_success_callback': success_callback, } def explode(): raise Exception("I am an angry exception!") with DAG( 'lineage_tutorial', default_args=default_args, description='A simple tutorial DAG', schedule_interval=timedelta(days=1), start_date=datetime(2021, 1, 1), catchup=False, tags=['example'], ) as dag: # t1, t2 and t3 are examples of tasks created by instantiating operators t1 = BashOperator( task_id='print_date', bash_command='date', outlets={ "tables": ["mysql.default.openmetadata_db.bot_entity"] } ) t2 = BashOperator( task_id='sleep', depends_on_past=False, bash_command='sleep 5', retries=3, inlets={ "tables": ["snow.TEST.PUBLIC.COUNTRIES"] } ) risen = PythonOperator( task_id='explode', provide_context=True, python_callable=explode, retries=0, ) dag.doc_md = __doc__ # providing that you have a docstring at the beginning of the DAG dag.doc_md = """ This is a documentation placed anywhere """ # otherwise, type it like this templated_command = dedent("") t3 = BashOperator( task_id='templated', depends_on_past=False, bash_command=templated_command, params={'my_param': 'Parameter I passed in'}, ) t1 >> [t2, t3] ``` Running the lineage backend will not only ingest the lineage data, but will also send the DAG as a pipeline with its tasks and status to Collate. If you are running this example using the quickstart deployment of OpenMetadata, then your `airflow.cfg` could look like this: ``` backend = airflow_provider_openmetadata.lineage.backend.OpenMetadataLineageBackend airflow_service_name = local_airflow openmetadata_api_endpoint = http://localhost:8585/api auth_provider_type = openmetadata jwt_token = ... ``` After running the DAG, you should be able to see the following information in the ingested Pipeline: ![DAG](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/airflow/lineage-backend-dag.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=303cdfe505885b20c6646ce97f5aa6d5) ![Lineage](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/airflow/lineage-backend-lineage.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=162bafc712d26d53a0b4a71b7e6f8b45) A fast way to try and play with Airflow locally is to install `apache-airflow` in a virtual environment and, when using versions greater than 2.2.x, using `airflow standalone`. # Airflow Lineage Operator Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/lineage-operator # Airflow Lineage Operator Another approach to extract Airflow metadata only for the DAGs you want is to use the `OpenMetadataLineageOperator`. When the task executes, it will ingest: * The Pipeline Service if it does not exist * The DAG as a Pipeline if it does not exist. * The status of the tasks. We recommend running this Operator as the last step if you want up-to-date statuses. * The lineage from inlets and outlets. ## Installation The Lineage Operator can be directly installed to the Airflow instances as part of the usual Collate Python distribution: ```commandline theme={null} pip3 install "openmetadata-ingestion==x.y.z" ``` Where `x.y.z` is the version of your Collate server, e.g., 0.13.0. It is important that server and client versions match. **It requires the version `0.13.1` or higher**. ## Example DAG An example DAG looks like follows: ```python theme={null} # Copyright 2025 Collate # Licensed under the Collate Community License, Version 1.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # https://github.com/open-metadata/OpenMetadata/blob/main/ingestion/LICENSE # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ You can run this DAG from the default OM installation """ from datetime import datetime, timedelta from textwrap import dedent # The DAG object; we'll need this to instantiate a DAG from airflow import DAG # Operators; we need this to operate! from airflow.operators.bash import BashOperator from airflow.operators.python import PythonOperator # These args will get passed on to each operator # You can override them on a per-task basis during operator initialization from airflow_provider_openmetadata.lineage.operator import OpenMetadataLineageOperator from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import ( OpenMetadataConnection, ) from metadata.generated.schema.security.client.openMetadataJWTClientConfig import ( OpenMetadataJWTClientConfig, ) default_args = { 'retries': 1, 'retry_delay': timedelta(minutes=5), } def explode(): raise Exception("Oh no!") with DAG( 'lineage_tutorial_operator', default_args=default_args, description='A simple tutorial DAG', schedule_interval=timedelta(days=1), start_date=datetime(2021, 1, 1), catchup=False, tags=['example'], ) as dag: # t1, t2 and t3 are examples of tasks created by instantiating operators t1 = BashOperator( task_id='print_date', bash_command='date', outlets={ "tables": ["sample_data.ecommerce_db.shopify.dim_address"] } ) t2 = BashOperator( task_id='sleep', depends_on_past=False, bash_command='sleep 1', retries=3, inlets={ "tables": ["sample_data.ecommerce_db.shopify.dim_customer"] } ) risen = PythonOperator( task_id='explode', provide_context=True, python_callable=explode, retries=0, ) dag.doc_md = __doc__ # providing that you have a docstring at the beginning of the DAG dag.doc_md = """ This is a documentation placed anywhere """ # otherwise, type it like this templated_command = dedent("") t3 = BashOperator( task_id='templated', depends_on_past=False, bash_command=templated_command, params={'my_param': 'Parameter I passed in'}, ) t1 >> [t2, t3] server_config = OpenMetadataConnection( hostPort="http://localhost:8585/api", authProvider="openmetadata", securityConfig=OpenMetadataJWTClientConfig( jwtToken="eyJraWQiOiJHYjM4OWEtOWY3Ni1nZGpzLWE5MmotMDI0MmJrOTQzNTYiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlzQm90IjpmYWxzZSwiaXNzIjoib3Blbi1tZXRhZGF0YS5vcmciLCJpYXQiOjE2NjM5Mzg0NjIsImVtYWlsIjoiYWRtaW5Ab3Blbm1ldGFkYXRhLm9yZyJ9.tS8um_5DKu7HgzGBzS1VTA5uUjKWOCU0B_j08WXBiEC0mr0zNREkqVfwFDD-d24HlNEbrqioLsBuFRiwIWKc1m_ZlVQbG7P36RUxhuv2vbSp80FKyNM-Tj93FDzq91jsyNmsQhyNv_fNr3TXfzzSPjHt8Go0FMMP66weoKMgW2PbXlhVKwEuXUHyakLLzewm9UMeQaEiRzhiTMU3UkLXcKbYEJJvfNFcLwSl9W8JCO_l0Yj3ud-qt_nQYEZwqW6u5nfdQllN133iikV4fM5QZsMCnm8Rq1mvLR0y9bmJiD7fwM1tmJ791TUWqmKaTnP49U493VanKpUAfzIiOiIbhg" ), ) t4 = OpenMetadataLineageOperator( task_id='lineage_op', depends_on_past=False, server_config=server_config, service_name="airflow_lineage_op_service", only_keep_dag_lineage=True, ) t1 >> t4 ``` ## Retrieving the OpenMetadataConnection from Airflow In 0.13.1 we have also added an `OpenMetadataHook`, which can be configured from the UI to safely store the parameters to connect to Collate. Go to the **Airflow UI** > **Admin** > **Connection** and create a new `OpenMetadata` connection as follows: ![Airflow Connection](https://mintcdn.com/collatedocs/lyQrThlmh8cYozqe/public/images/connectors/airflow/airflow-connection.png?fit=max\&auto=format\&n=lyQrThlmh8cYozqe\&q=85\&s=deda218f9c06d453531f0ac43beb68d9) Testing the connection will validate that the server is reachable and the installed client can be instantiated properly. Once the connection is configured, you can use it in your DAGs without creating the `OpenMetadataConnection` manually ```python theme={null} from airflow_provider_openmetadata.hooks.openmetadata import OpenMetadataHook openmetadata_hook = OpenMetadataHook(openmetadata_conn_id="om_id") server_config = openmetadata_hook.get_conn() OpenMetadataLineageOperator( task_id='lineage_op', depends_on_past=False, server_config=server_config, service_name="airflow_lineage_op_service", only_keep_dag_lineage=True, ) ``` ### OpenMetadataHook with HTTPS and SSL If the Collate server connection needs to happen through HTTPS, update the `Schema` accordingly to `https`. For SSL parameters we have two options: #### 1. Ignore the SSL Certificates You can add the `Extra` value as the following JSON to create the connection that will ignore SSL. ```json theme={null} { "verifySSL": "ignore" } ``` #### 2. Validate SSL Certificates Otherwise, you can use the `validate` value and add the path to the certificate. **It should be reachable locally in your Airflow instance**. ```json theme={null} { "verifySSL": "validate", "sslConfig": "path-to-cert" } ``` # Airflow MWAA Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/mwaa # Extract MWAA Metadata There are two ways to extract metadata from an Amazon MWAA environment, depending on where the ingestion process runs: * **[REST API connection](/ai-2-0/connectors/pipeline/airflow/rest-api-connection#4-mwaa-configuration-amazon-managed-workflows-for-apache-airflow) (recommended).** The ingestion runs from Collate and reads DAGs through the MWAA web server, using AWS credentials. No access to the underlying database is needed, and nothing has to be installed inside MWAA for metadata extraction (see below for the additional OpenLineage setup required for table-level lineage). * **Running the ingestion inside MWAA.** A DAG deployed in MWAA extracts metadata from the local Airflow backend and pushes it to Collate. Use this when your MWAA environment runs an Airflow version older than 2.4.3, or when the ingestion cannot be given AWS credentials. > [!WARNING] > > **Do not use the `Backend` connection type from outside MWAA.** `Backend` reads the metadata database of the Airflow environment the ingestion workflow is *running inside*. Collate uses the `hostPort` field only to build clickable DAG links, never to fetch metadata. If you create an Airflow service pointing at your MWAA URL with a `Backend` connection and run it from a Collate ingestion pipeline, you will silently ingest the DAGs of the ingestion agent's own Airflow instead of MWAA's. `Backend` is only valid when the workflow executes inside MWAA itself (option 2 below). > > A direct `Postgres`/`MySQL` connection isn't reachable from outside MWAA's AWS-managed VPC. It does work from a network-connected runtime inside that VPC (see the ECS approach in option 2 below), but not as a substitute for the `RestAPI` or `Backend` types described above. ## 1. REST API Connection (Recommended) Collate calls the MWAA `InvokeRestApi` action directly, using your AWS credentials for IAM authentication, and reads DAGs, runs, and task states through the MWAA REST API. No separate token exchange happens. Collate always uses the Airflow v1 REST API for MWAA connections. MWAA handles the Airflow 2/3 version difference internally, so no client-side version detection happens. ### Requirements Before configuring the connection, make sure your environment meets these requirements: * The MWAA environment must run **Airflow 2.4.3 or newer** (the minimum version supported by the MWAA `InvokeRestApi` API). * The IAM identity used in the connection needs `airflow:InvokeRestApi`, scoped to the environment's Airflow role, not the environment itself: ```json theme={null} { "Effect": "Allow", "Action": "airflow:InvokeRestApi", "Resource": "arn:aws:airflow:::role//" } ``` Replace `` with the Apache Airflow role to grant: `Admin`, `Op`, `User`, `Viewer`, or `Public`. * If the MWAA environment uses a **private** web server, `InvokeRestApi` can't be called from outside its VPC. The ingestion runtime must run inside, or have network connectivity to, that VPC. ### Configuration In the UI, create an **Airflow** pipeline service, select the **REST API Connection** type, and choose **MWAA** authentication. The equivalent YAML: ```yaml theme={null} source: type: airflow serviceName: airflow_mwaa serviceConnection: config: type: Airflow hostPort: https://.c2.airflow..on.aws numberOfStatus: 10 connection: type: RestAPI authConfig: mwaaConfig: mwaaEnvironmentName: awsConfig: awsRegion: awsAccessKeyId: awsSecretAccessKey: awsSessionToken: # only for temporary (STS) credentials apiVersion: auto verifySSL: true sourceConfig: config: type: PipelineMetadata sink: type: metadata-rest config: {} workflowConfig: loggerLevel: INFO openMetadataServerConfig: hostPort: authProvider: ``` When the ingestion runs on AWS infrastructure with an attached IAM role (EC2, ECS, Lambda), omit the access key, secret, and session token. Collate picks up the role's credentials automatically. Cross-account access is supported via `assumeRoleArn`. For the full parameter reference, see the [REST API Connection documentation](/ai-2-0/connectors/pipeline/airflow/rest-api-connection). > [!NOTE] > > The REST API alone doesn't capture table-level lineage. It requires the OpenLineage provider configured in MWAA. For the required setup, see the [OpenLineage Setup Summary](/ai-2-0/connectors/pipeline/airflow/rest-api-connection#openlineage-setup-summary). ## 2. Running the Ingestion Inside MWAA If the REST API connection isn't an option, run the ingestion as a DAG inside MWAA using the `Backend` connection, which reads MWAA's own metadata database directly. The Collate server must be reachable **from** MWAA. For more information about running connectors from MWAA, see [Run the ingestion from AWS MWAA](/deployment/ingestion/external/mwaa). There are three supported approaches: 1. Install the `openmetadata-ingestion` package as a requirement in the Airflow environment, then run the process using a `PythonOperator`. 2. Configure an ECS cluster and run the ingestion as an ECS Operator. 3. Install a plugin and run the ingestion with the `PythonVirtualenvOperator`. ### 2.1 Extracting MWAA Metadata with the PythonOperator As the ingestion process will be happening locally in MWAA, we can prepare a DAG with the following YAML configuration: ```yaml theme={null} source: type: airflow serviceName: airflow_mwaa serviceConnection: config: type: Airflow hostPort: http://localhost:8080 numberOfStatus: 10 connection: type: Backend sourceConfig: config: type: PipelineMetadata sink: type: metadata-rest config: {} workflowConfig: loggerLevel: INFO openMetadataServerConfig: hostPort: authProvider: ``` ### 2.2 Extracting MWAA Metadata with the ECS Operator After setting up the ECS Cluster, you'll need first to check the MWAA database connection #### Getting MWAA Database Connection To extract MWAA information we will need to take a couple of points in consideration: 1. How to get the underlying database connection info, and 2. How to make sure we can reach such database. The happy path would be going to the `Airflow UI > Admin > Configurations` and finding the `sql_alchemy_conn` parameter. However, MWAA is not providing this information. Instead, we need to create a DAG to get the connection details once. The DAG can be deleted afterwards. We want to use a Python Operator that will retrieve the Airflow's Session data: ```python theme={null} import logging import os from datetime import timedelta import yaml from airflow import DAG try: from airflow.operators.python import PythonOperator except ModuleNotFoundError: from airflow.operators.python_operator import PythonOperator from airflow.utils.dates import days_ago from airflow.configuration import conf default_args = { "owner": "user_name", "email": ["username@org.com"], "email_on_failure": False, "retries": 3, "retry_delay": timedelta(minutes=5), "execution_timeout": timedelta(minutes=60), } def get_data(): from airflow.settings import Session logging.info("SQL ALCHEMY CONN") sqlalchemy_conn = conf.get("core", "sql_alchemy_conn", fallback=None) logging.info(sqlalchemy_conn) with DAG( "airflow_database_connection", default_args=default_args, description="An example DAG which pushes Airflow data to OM", start_date=days_ago(1), is_paused_upon_creation=True, schedule_interval="@once", catchup=False, ) as dag: ingest_task = PythonOperator( task_id="db_connection", python_callable=get_data, ) ``` After running the DAG, we can store the connection details and remove the dag file from S3. Note that trying to log the `conf.get("core", "sql_alchemy_conn", fallback=None)` details might either result in: 1. An empty string, depending on the Airflow version: If that's the case, you can use update the line to be `conf.get("database", "sql_alchemy_conn", fallback=None)`. 2. The password masked in `****`. If that's the case, you can use `sqlalchemy_conn = list(conf.get("core", "sql_alchemy_conn", fallback=None))`, which will return the results separated by commas. #### Preparing the metadata extraction Then, prepare the YAML config with the information you retrieved above. For example: ```yaml theme={null} source: type: airflow serviceName: airflow_mwaa_ecs_op serviceConnection: config: type: Airflow hostPort: http://localhost:8080 numberOfStatus: 10 connection: type: Postgres username: adminuser password: ... hostPort: vpce-075b93a08ef7a8ffc-c88g16we.vpce-svc-0dfc8a341f816c134.us-east-2.vpce.amazonaws.com:5432 database: AirflowMetadata sourceConfig: config: type: PipelineMetadata sink: type: metadata-rest config: {} workflowConfig: openMetadataServerConfig: enableVersionValidation: false hostPort: https://sandbox.open-metadata.org/api authProvider: openmetadata securityConfig: jwtToken: ... ``` ### 2.3 Extracting MWAA Metadata with the Python Virtualenv Operator This will be similar as the first step, where you just need the simple `Backend` connection YAML: ```yaml theme={null} source: type: airflow serviceName: airflow_mwaa serviceConnection: config: type: Airflow hostPort: http://localhost:8080 numberOfStatus: 10 connection: type: Backend sourceConfig: config: type: PipelineMetadata sink: type: metadata-rest config: {} workflowConfig: loggerLevel: INFO openMetadataServerConfig: hostPort: authProvider: ``` # Airflow REST API Connection Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/rest-api-connection Complete guide to connecting Collate to Airflow via the REST API — covers Basic Auth, Astronomer Access Token, GCP Service Account, and Amazon MWAA, plus OpenLineage configuration for each deployment type. # Airflow REST API Connection The REST API connection communicates with the Airflow web server over HTTP/HTTPS. It does not require direct access to Airflow's underlying metadata database, making it the right choice for managed Airflow deployments (Astronomer, Cloud Composer, MWAA) or any setup where direct database access is unavailable or undesirable. > [!NOTE] > > **What the REST API connection captures** > > * DAG topology and task structure > * Pipeline schedules and run statuses > * DAG owners and tags > * Pipeline status history (configurable look-back window) > [!WARNING] > > **Important**: > **Lineage is not captured through the REST API alone.** Table-level lineage (table → DAG → table edges) requires the **Apache Airflow OpenLineage provider** (`apache-airflow-providers-openlineage`) to push OpenLineage events to Collate's endpoint: > > ``` > POST /api/v1/openlineage/lineage > ``` > > The provider requires **Airflow 2.7 or newer**, a separate, higher floor than the REST API connection's own Airflow 2.4.3 minimum: an environment can support metadata extraction without supporting lineage. Installing with the Airflow constraints file, shown in each deployment section below, pins a provider version compatible with your specific Airflow release automatically, so this only matters for confirming lineage is available at all on an older environment. > > Two configuration values are required: > > * **Namespace** (`AIRFLOW__OPENLINEAGE__NAMESPACE`) — identifies this Airflow instance in Collate. Should match the pipeline service name. > * **Transport** (`AIRFLOW__OPENLINEAGE__TRANSPORT`) — JSON pointing the provider at your Collate server using the HTTP transport type, along with a bot JWT for authentication. > > Deployment-specific configuration is shown in each auth section below and summarized in the [OpenLineage Setup Summary](#openlineage-setup-summary). ## Supported Deployments | Deployment | Auth Method | | - | - | | Self-hosted Airflow | Basic Auth | | Astronomer | Access Token | | Google Cloud Composer | GCP Service Account | | Amazon MWAA | MWAA Configuration | *** ## Common Parameters These parameters apply regardless of which authentication method you select. | Parameter | Required | Default | Description | | - | - | - | - | | `hostPort` | ✅ Yes | — | Base URL of the Airflow web UI. Format: `scheme://hostname:port`. Do not include a trailing slash. | | `connection.type` | ✅ Yes | `RestAPI` | Fixed value — auto-set when you select the REST API option in the UI. | | `connection.authConfig` | ✅ Yes | — | Authentication method. See sections below. | | `connection.apiVersion` | No | `auto` | API version. Leave as `auto` to detect at runtime, or set explicitly to `v2`. | | `connection.verifySSL` | No | `true` | Verify the Airflow server's SSL certificate. Set to `false` only in dev environments with self-signed certs. | | `numberOfStatus` | No | `10` | Number of past pipeline run statuses to read per ingestion run. | | `pipelineFilterPattern` | No | — | Include / exclude DAGs by name using regular expressions. | ### Host and Port — Format by Deployment | Deployment | Example `hostPort` | | - | - | | Self-hosted / Docker (ingestion on host) | `http://localhost:8080` | | Self-hosted / Docker (ingestion inside Docker) | `http://host.docker.internal:8080` | | Google Cloud Composer | `https://-dot-.composer.googleusercontent.com` | | Astronomer | `https://.ay.astronomer.run//` | | Amazon MWAA | `https://.c2.airflow..on.aws` | *** ## Authentication Methods ### 1. Basic Auth **Best for**: Self-hosted Airflow. Basic Auth uses a username and password to authenticate against the Airflow web server. Collate automatically exchanges the credentials for a short-lived JWT via `POST /auth/token`, which is then sent as `Authorization: Bearer ` on all subsequent requests. #### Required Parameters | Parameter | Required | Description | | - | - | - | | `username` | ✅ Yes | Username for an Airflow user with REST API access. | | `password` | ✅ Yes | Password for the above user. Stored encrypted. | #### Required Airflow Permissions Create a dedicated Airflow user with the **Viewer** role. The user needs read access to DAGs, DAG runs, task instances, task logs, event logs, and configuration. No write permissions are required. #### UI Setup ![Collate UI — Airflow REST API connection with Basic Auth selected, showing Username, Password, and API Version fields](https://mintcdn.com/collatedocs/21TI0pCR_fHz8_Ld/public/images/connectors/airflow/airflow-rest-api-connection-basic-auth.png?fit=max\&auto=format\&n=21TI0pCR_fHz8_Ld\&q=85\&s=dfe87559e57f151cbeafd98794a548ab) #### OpenLineage Setup — Basic Auth Configure the namespace and HTTP transport in `airflow.cfg`: ```ini theme={null} [openlineage] namespace = my-airflow-instance transport = {"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}} ``` Or via environment variables: ```bash theme={null} AIRFLOW__OPENLINEAGE__NAMESPACE=my-airflow-instance AIRFLOW__OPENLINEAGE__TRANSPORT='{"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}}' ``` Restart the Airflow web server and scheduler after making changes. OpenLineage events are emitted automatically on task completion for SQL-native operators (PostgreSQL, MySQL, Snowflake, BigQuery, and so on). For Python operators, emit events explicitly using `OpenLineageClient` in the task body. > [!TIP] > > **Tip**: Set `namespace` to the Airflow pipeline service name registered in Collate. Collate uses this value to associate lineage events with the correct pipeline service. *** ### 2. Access Token **Best for**: Astronomer, or any Airflow deployment with a pre-generated bearer token. Access Token auth sends a static bearer token on every request as `Authorization: Bearer `. Use this when you have generated a long-lived deployment API token in Astronomer, or when your Airflow instance exposes token-based authentication. #### Required Parameters | Parameter | Required | Description | | - | - | - | | `token` | ✅ Yes | The bearer token value. Stored encrypted. Sent as `Authorization: Bearer ` on every API call. | #### UI Setup ![Collate UI — Airflow REST API connection with Access Token selected, showing Token, API Version, and Verify SSL fields](https://mintcdn.com/collatedocs/21TI0pCR_fHz8_Ld/public/images/connectors/airflow/airflow-rest-api-connection-token-auth.png?fit=max\&auto=format\&n=21TI0pCR_fHz8_Ld\&q=85\&s=29d3094535d61c9108bb95d84b49044a) #### Required Permissions **Astronomer**: The Deployment API token must have at least **Viewer** access to the deployment. In the Astronomer UI, when creating a token, assign it the `Viewer` deployment role. This grants read access to DAGs, runs, and task instances via the Airflow REST API. #### Generating an Astronomer Deployment API Token **1. Navigate to Deployments** Open the **Astronomer UI** and navigate to **Deployments**. **2. Select your deployment** Select your target deployment. **3. Open API Keys / Tokens** Go to **API Keys** or **Tokens** (label varies by Astronomer version). **4. Generate Token** Click **Add API Key** / **Generate Token**, give it a name such as `collate-ingestion`, assign it the `Viewer` role, and copy the value. **5. Paste into Collate** Paste it into the **Token** field in Collate. > [!NOTE] > > Astronomer deployment API tokens are scoped to a single deployment. If you ingest from multiple Astronomer deployments, create one token per deployment and one Collate Airflow service per deployment. #### Generating a Token for Self-Hosted Airflow Exchange credentials for a JWT via the Airflow REST API: ```bash theme={null} curl -X POST http://localhost:8080/auth/token \ -H "Content-Type: application/json" \ -d '{"username": "collate", "password": ""}' # Returns: {"access_token": ""} ``` #### OpenLineage Setup — Astronomer (Access Token) `apache-airflow-providers-openlineage` is included in Astronomer's base Airflow image — no extra package installation is needed. Set the namespace and transport via Astronomer environment variables (**Deployments** > **Environment Variables**). Mark the transport variable as **Secret** since it contains your Collate JWT: ``` AIRFLOW__OPENLINEAGE__NAMESPACE = my-astronomer-deployment AIRFLOW__OPENLINEAGE__TRANSPORT = {"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}} ``` > [!WARNING] > > **Important**: The `api_key` here is a Collate server bot token — not the same Astronomer Deployment API token used for metadata extraction. The ingestion token controls what Collate reads from Airflow; the lineage JWT controls what Airflow pushes to Collate. ![Astronomer environment variables UI showing OpenLineage namespace and transport configuration](https://mintcdn.com/collatedocs/21TI0pCR_fHz8_Ld/public/images/connectors/airflow/openlineage-setup-astronomer.png?fit=max\&auto=format\&n=21TI0pCR_fHz8_Ld\&q=85\&s=4708bca11cccfe68655a5834de4099df) *** ### 3. GCP Service Account (Google Cloud Composer) **Best for**: Google Cloud Composer environments. This method uses a GCP service account to obtain short-lived OAuth2 tokens for authenticating with the Cloud Composer Airflow web server. Tokens are automatically refreshed at runtime via `google-auth`, so ingestion runs are never interrupted by token expiry. #### Required Parameters | Parameter | Required | Description | | - | - | - | | `credentials` | ✅ Yes | GCP credentials object. Choose one of four sub-types below. | #### Credential Sub-Types | Type | When to Use | | - | - | | **GCP Credentials Values** | Ingestion runs outside GCP (on-prem, local machine). Paste service account JSON fields directly. | | **GCP Credentials Path** | Ingestion host already has the service account JSON key file at a known local path. | | **GCP ADC (Application Default Credentials)** | Ingestion runs on a GCE VM or GKE pod with an attached service account, or `gcloud auth application-default login` has been run. | | **GCP External Account (Workload Identity)** | Ingestion runs on GKE with Workload Identity, or on a non-GCP system using federated identity. | #### UI Setup The screenshot below shows **GCP Credentials Values** selected. The same form is used for all four credential sub-types — switching the **GCP Credentials Configuration** dropdown reveals the relevant fields for each type. ![Collate UI — Airflow REST API connection with GCP Service Account selected, showing GCP Credentials Configuration dropdown set to GCP Credentials Values](https://mintcdn.com/collatedocs/21TI0pCR_fHz8_Ld/public/images/connectors/airflow/airflow-rest-api-connection-gcp-auth.png?fit=max\&auto=format\&n=21TI0pCR_fHz8_Ld\&q=85\&s=e3c0af43694e0ca4797b26b9f0cb7976) #### Finding Your Cloud Composer Airflow URL In GCP Console: **Composer** > **Environments** > select your environment > click **Open Airflow UI**. Copy the base URL: ``` https://ko82752sdo9f7zjf811c682mw1e5uuc9-dot-us-east1.composer.googleusercontent.com ``` Do not include any trailing path segment. #### Required Permissions The service account must have read access to DAGs, DAG runs, task instances, and task logs in the Composer environment. #### OpenLineage Setup — GCP / Cloud Composer `apache-airflow-providers-openlineage` ships with Cloud Composer — no additional PyPI packages are needed. In GCP Console, go to **Composer** > **Environments** > **Edit** > **Airflow configuration overrides** and add the following entries: | Section | Key | Value | | - | - | - | | `openlineage` | `transport` | `{"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}}` | | `openlineage` | `namespace` | `` | | `lineage` | `backend` | `dataplex` | > [!NOTE] > > The `lineage.backend = dataplex` entry routes Airflow's native lineage through GCP Data Lineage (Dataplex), while the `openlineage.*` entries send OpenLineage events to Collate. Both can be active simultaneously. Cloud Composer environment updates take several minutes to complete. Once applied, DAG task completions automatically push OpenLineage events to Collate. ![GCP Console — Composer Airflow configuration overrides panel showing openlineage namespace and transport settings](https://mintcdn.com/collatedocs/21TI0pCR_fHz8_Ld/public/images/connectors/airflow/openlineage-setup-gcp-composer.png?fit=max\&auto=format\&n=21TI0pCR_fHz8_Ld\&q=85\&s=ca07bb9a1b08680e24ed3c1732eff25a) *** ### 4. MWAA Configuration (Amazon Managed Workflows for Apache Airflow) **Best for**: Amazon MWAA environments. MWAA does not expose the Airflow web server with simple username/password authentication. Instead, Collate uses your AWS credentials to call the MWAA control plane's `InvokeRestApi` action directly, which forwards the request to the Airflow REST API. No separate token exchange happens. #### Required Parameters | Parameter | Required | Description | | - | - | - | | `mwaaConfig.mwaaEnvironmentName` | ✅ Yes | The exact name of your MWAA environment as shown in the AWS Console. | | `mwaaConfig.awsConfig.awsRegion` | ✅ Yes | AWS region where the MWAA environment is deployed (for example, `us-east-1`). | | `mwaaConfig.awsConfig.awsAccessKeyId` | Conditional | AWS Access Key ID. Not required when using IAM roles or instance profiles. | | `mwaaConfig.awsConfig.awsSecretAccessKey` | Conditional | AWS Secret Access Key. Not required when using IAM roles or instance profiles. | | `mwaaConfig.awsConfig.awsSessionToken` | No | Required when using temporary (STS) credentials. | | `mwaaConfig.awsConfig.assumeRoleArn` | No | ARN of an IAM role to assume before calling the MWAA API. Useful for cross-account access. | | `mwaaConfig.awsConfig.assumeRoleSessionName` | No | Session name for the assumed role. Defaults to `CollateSession`. | | `mwaaConfig.awsConfig.endPointURL` | No | Custom endpoint URL for AWS-compatible services (PrivateLink, LocalStack). | #### UI Setup ![Collate UI — Airflow REST API connection with MWAA Authentication selected, showing MWAA Environment Name and AWS Configuration fields](https://mintcdn.com/collatedocs/21TI0pCR_fHz8_Ld/public/images/connectors/airflow/airflow-rest-api-connection-aws-auth.png?fit=max\&auto=format\&n=21TI0pCR_fHz8_Ld\&q=85\&s=4a4736f8e4c0c20227974dbaa188072e) #### Finding Your MWAA Airflow URL In AWS Console: **Amazon MWAA** > **Environments** > select your environment > copy the **Airflow UI** URL shown in the environment details panel. Use only the base URL — do not include any trailing path. #### Required Permissions The IAM user or role must have access to DAGs, DAG runs, task instances, and task logs in the MWAA environment. #### OpenLineage Setup — Amazon MWAA Unlike Cloud Composer and Astronomer, MWAA doesn't preinstall `apache-airflow-providers-openlineage` on either its Airflow 2 or Airflow 3 environments (the community `apache/airflow` Docker image bundles it, but MWAA images don't). Install it through the environment's `requirements.txt`. The MWAA workers must also be able to reach the Collate server over HTTPS (public network egress or equivalent VPC connectivity). **1. Add the provider to requirements.txt** Add the OpenLineage provider to the `requirements.txt` file in your environment's S3 bucket, together with the constraint line MWAA requires: ``` --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-/constraints-.txt" apache-airflow-providers-openlineage ``` Replace `` and `` with your environment's versions, for example `constraints-2.10.1/constraints-3.11.txt`. If the environment has no `requirements.txt` yet, upload one to the S3 bucket and register it under **Requirements file** in the environment settings. > [!NOTE] > > This assumes the environment can reach PyPI and GitHub during the requirements install. A MWAA environment with **private network access mode** (no internet egress) can't resolve `apache-airflow-providers-openlineage` this way. Instead, [download the provider and its dependencies as wheel files and package them in a `plugins.zip`](https://docs.aws.amazon.com/mwaa/latest/userguide/best-practices-dependencies.html#best-practices-dependencies-python-wheels-s3) on your environment's S3 bucket, then point `requirements.txt` at that local path with `--find-links /usr/local/airflow/plugins` and `--no-index` instead of the constraint line above. **2. Add the OpenLineage configuration options** In the MWAA console, edit the environment and add two custom entries under **Airflow configuration options**: | Option | Value | | - | - | | `openlineage.namespace` | `` | | `openlineage.transport` | `{"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}}` | MWAA translates these to the `AIRFLOW__OPENLINEAGE__NAMESPACE` and `AIRFLOW__OPENLINEAGE__TRANSPORT` environment variables on the workers. **3. Save and wait for the environment update** Saving applies the changes through an environment update, which typically takes 20–30 minutes. Once complete, DAG task completions push OpenLineage events to Collate. > [!WARNING] > > The transport value contains a Collate bot JWT, and configuration options are visible to anyone who can view the environment in the AWS console. Scope the bot's permissions accordingly, and rotate the token if the environment configuration is widely readable. *** ## API Version The `apiVersion` field controls which Airflow REST API version Collate targets: | Value | Behaviour | | - | - | | `auto` (default) | Collate auto-detects the API version at runtime. Recommended for all new connections. | | `v2` | Always use the Airflow API path (`/api/v2/...`). | Use `auto` for new connections. Pin to `v2` only if the auto-detection probe causes issues in your environment (for example, strict WAF rules that reject the probe request). *** ## SSL Verification The `verifySSL` flag (default `true`) controls whether Collate validates the Airflow server's TLS certificate chain. * Set to `true` for all production environments. * Set to `false` only in local development when using self-signed certificates. Never disable SSL verification in production. *** ## Pipeline Filter Pattern Patterns are evaluated as Python regular expressions against DAG IDs. If both `includes` and `excludes` match a DAG ID, the DAG is included. *** ## OpenLineage Setup Summary Lineage configuration is independent of the REST API auth method. The OpenLineage provider sends events to Collate using a separate HTTP transport — the configuration is the same regardless of how Collate authenticates to Airflow for metadata extraction. **Collate OpenLineage endpoint**: `POST /api/v1/openlineage/lineage` ```ini theme={null} # airflow.cfg [openlineage] namespace = transport = {"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}} ``` Or as environment variables: ```bash theme={null} AIRFLOW__OPENLINEAGE__NAMESPACE= AIRFLOW__OPENLINEAGE__TRANSPORT='{"type": "http", "url": "https://your-collate-host/api/v1/openlineage/", "endpoint": "lineage", "auth": {"type": "api_key", "api_key": ""}}' ``` | Step | Action | | - | - | | 1. Confirm provider | `apache-airflow-providers-openlineage` ships with Cloud Composer and Astronomer. For self-hosted, install via `pip install apache-airflow-providers-openlineage`. For MWAA, add it to the environment's `requirements.txt`. | | 2. Set namespace | `AIRFLOW__OPENLINEAGE__NAMESPACE` — identifies this Airflow instance in Collate. Should match the pipeline service name. | | 3. Set transport | `AIRFLOW__OPENLINEAGE__TRANSPORT` — JSON with HTTP type, Collate base URL including `/api/v1/openlineage/`, endpoint `lineage`, and bot JWT as `api_key`. | | 4. Restart Airflow | Web server and scheduler must restart to pick up the new configuration. | Once configured, every DAG task completion automatically emits an OpenLineage event to Collate, populating lineage edges between pipeline tasks and the data assets they read from and write to. > [!NOTE] > > OpenLineage auto-instruments SQL-native operators (PostgreSQL, MySQL, Snowflake, BigQuery, and so on). For Python `@task` operators, emit events explicitly using `OpenLineageClient.from_environment()` in the task body with the input and output datasets. # Airflow Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/airflow/troubleshooting Resolve Airflow pipeline connector issues with Collate's comprehensive troubleshooting guide. Fix common errors, debug connections & optimize workflows. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Dagster Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/dagster/hybrid-runner Connect Dagster to Collate using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Dagster](/public/images/connectors/dagster.webp) # Dagster PROD This section provides guides and references to use the Dagster connector. Configure and schedule Dagster metadata workflows from the Collate UI: * [Requirements](#requirements) * [Dagster Versions](#dagster-versions) * [Metadata Ingestion](#metadata-ingestion) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Dagster Versions Collate is integrated with Dagster up to version [1.0.13](https://docs.dagster.io/getting-started) and will continue to work for future Dagster versions. The ingestion framework uses the [Dagster GraphQL Python client](https://docs.dagster.io/_apidocs/libraries/dagster-graphql#dagster_graphql.DagsterGraphQLClient) to connect to the Dagster instance and perform the API calls. ## Metadata Ingestion To ingest metadata from Dagster, you need to create a service connection. The service connects Dagster with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Dagster** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/dagster.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=12c2dcee4c01d9fac8d67174515f0898) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Dagster services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/dagster.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=8cd6ce1b32c6d1c01dc2722c89cb5735) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Dagster. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/dagster.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=33b7ba669194555258774ccca45acaf2) * **Host**: Host of the Dagster instance, for example `https://localhost:3000` or `https://127.0.0.1:3000` or `https://.dagster.cloud/prod` * **Token**: Pass a token if connecting to a `dagster cloud` instance 1. Log in to your Dagster account. 2. Click **Settings** in the top navigation bar. 3. Click the **API Keys** tab. 4. Click **Create a New API Key**. 5. Give your API key a name and click **Create API Key**. 6. Copy the generated API key to your clipboard and paste it in the field. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Dagster Troubleshooting](/ai-2-0/connectors/pipeline/dagster/troubleshooting) > > Learn more about how to troubleshoot common Dagster connector issues and resolve configuration or ingestion errors. # Dagster Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/dagster/index Connect Dagster pipelines to Collate with our comprehensive integration guide. Learn setup, configuration, and metadata extraction in minutes. ![Dagster](/public/images/connectors/dagster.webp) # Dagster PROD This section provides guides and references to use the Dagster connector. Configure and schedule Dagster metadata workflows from the Collate UI: * [Requirements](#requirements) * [Dagster Versions](#dagster-versions) * [Metadata Ingestion](#metadata-ingestion) ## Requirements ### Dagster Versions Collate is integrated with Dagster up to version [1.0.13](https://docs.dagster.io/getting-started) and will continue to work for future Dagster versions. The ingestion framework uses the [Dagster GraphQL Python client](https://docs.dagster.io/_apidocs/libraries/dagster-graphql#dagster_graphql.DagsterGraphQLClient) to connect to the Dagster instance and perform the API calls. ## Metadata Ingestion To ingest metadata from Dagster, you need to create a service connection. The service connects Dagster with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Dagster** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/dagster.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=12c2dcee4c01d9fac8d67174515f0898) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Dagster services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/dagster.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=8cd6ce1b32c6d1c01dc2722c89cb5735) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Dagster. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/dagster.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=33b7ba669194555258774ccca45acaf2) * **Host**: Host of the Dagster instance, for example `https://localhost:3000` or `https://127.0.0.1:3000` or `https://.dagster.cloud/prod` * **Token**: Pass a token if connecting to a `dagster cloud` instance 1. Log in to your Dagster account. 2. Click **Settings** in the top navigation bar. 3. Click the **API Keys** tab. 4. Click **Create a New API Key**. 5. Give your API key a name and click **Create API Key**. 6. Copy the generated API key to your clipboard and paste it in the field. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Dagster Troubleshooting](/ai-2-0/connectors/pipeline/dagster/troubleshooting) > > Learn more about how to troubleshoot common Dagster connector issues and resolve configuration or ingestion errors. # Dagster Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/dagster/troubleshooting Resolve Dagster pipeline ingestion issues such as metadata gaps, API rate-limits, or project config errors. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Databricks Pipeline Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/databricks-pipeline/hybrid-runner Configure metadata ingestion from Databricks pipelines for job flows, dependencies, and structured datasets using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Databricks](/public/images/connectors/databrick.webp) # Databricks PROD This section provides guides and references to use the Databricks Pipeline connector. Configure and schedule Databricks Pipeline metadata workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/databricks-pipeline/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). To extract metadata, you will need access to the Databricks Pipeline instance with valid credentials. ## Metadata Ingestion To ingest metadata from Databricks Pipeline, you need to create a service connection. The service connects Databricks Pipeline with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Databricks Pipeline** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/databrickspipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2a7e8e45b85ad08b03c9690e9423ef2b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Databricks Pipeline services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/databrickspipeline.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=afcdb6d4b290f4e4626f81aebb408812) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Databricks Pipeline. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/databrickspipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1bcda7fc27d735ff7deef18401d56a33) * **Host and Port**: Enter the fully qualified hostname and port number for your Databricks Pipeline deployment in the Host and Port field. * **Authentication Type**: Choose how to authenticate with Databricks. * **Personal Access Token**: * **Token**: A Personal Access Token generated from **User Settings** > **Developer** > **Access Tokens** in your Databricks workspace. * **Databricks OAuth**: * **Client ID**: The Service Principal Application ID created in your Databricks Account Console. * **Client Secret**: The OAuth secret generated for that Service Principal. * **Azure AD Setup**: * **Azure Client ID**: The Azure Service Principal Application (client) ID registered in Azure Active Directory. * **Azure Client Secret**: The client secret created in Azure AD for that Service Principal. * **Azure Tenant ID**: The Azure Active Directory tenant ID where the Service Principal is registered. * **HTTP Path**: Databricks Pipeline compute resources URL. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent to Databricks during the connection. These details must be added as key-value pairs. * In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a key-value pair as follows: `"authenticator" : "sso_login_url"` > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Databricks Pipeline Troubleshooting](/ai-2-0/connectors/pipeline/databricks-pipeline/troubleshooting) > > Learn more about how to troubleshoot common Databricks Pipeline connector issues and resolve configuration or ingestion errors. # Databricks Pipeline Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/databricks-pipeline/index Configure metadata ingestion from Databricks pipelines for job flows, dependencies, and structured datasets. ![Databricks](/public/images/connectors/databrick.webp) # Databricks PROD This section provides guides and references to use the Databricks Pipeline connector. Configure and schedule Databricks Pipeline metadata workflows from the Collate UI: * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/databricks-pipeline/troubleshooting) ## Requirements To extract metadata, you will need access to the Databricks Pipeline instance with valid credentials. ## Metadata Ingestion To ingest metadata from Databricks Pipeline, you need to create a service connection. The service connects Databricks Pipeline with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Databricks Pipeline** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/databrickspipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=2a7e8e45b85ad08b03c9690e9423ef2b) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Databricks Pipeline services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/databrickspipeline.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=afcdb6d4b290f4e4626f81aebb408812) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Databricks Pipeline. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/databrickspipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1bcda7fc27d735ff7deef18401d56a33) * **Host and Port**: Enter the fully qualified hostname and port number for your Databricks Pipeline deployment in the Host and Port field. * **Authentication Type**: Choose how to authenticate with Databricks. * **Personal Access Token**: * **Token**: A Personal Access Token generated from **User Settings** > **Developer** > **Access Tokens** in your Databricks workspace. * **Databricks OAuth**: * **Client ID**: The Service Principal Application ID created in your Databricks Account Console. * **Client Secret**: The OAuth secret generated for that Service Principal. * **Azure AD Setup**: * **Azure Client ID**: The Azure Service Principal Application (client) ID registered in Azure Active Directory. * **Azure Client Secret**: The client secret created in Azure AD for that Service Principal. * **Azure Tenant ID**: The Azure Active Directory tenant ID where the Service Principal is registered. * **HTTP Path**: Databricks Pipeline compute resources URL. * **Connection Arguments (Optional)**: Enter the details for any additional connection arguments such as security or protocol configs that can be sent to Databricks during the connection. These details must be added as key-value pairs. * In case you are using Single-Sign-On (SSO) for authentication, add the `authenticator` details in the Connection Arguments as a key-value pair as follows: `"authenticator" : "sso_login_url"` #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, downstream workflows start automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Databricks Pipeline Troubleshooting](/ai-2-0/connectors/pipeline/databricks-pipeline/troubleshooting) > > Learn more about how to troubleshoot common Databricks Pipeline connector issues and resolve configuration or ingestion errors. # Databricks Pipeline Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/databricks-pipeline/troubleshooting Resolve Databricks pipeline ingestion issues with steps for connection validation, credential checks, and YAML config review. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Datafactory Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/datafactory/hybrid-runner Get started with datafactory using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. Setup instructions, features, and configuration details inside. ![Azure Data Factory](/public/images/connectors/datafactory.png) # Azure Data Factory PROD This section provides guides and references to use the Azure Data Factory connector. Configure and schedule Azure Data Factory metadata workflows from the Collate UI: * [Requirements](#requirements) * [Data Factory Versions](#data-factory-versions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/datafactory/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### Data Factory Versions The Ingestion framework uses [Azure Data Factory APIs](https://learn.microsoft.com/en-us/rest/api/datafactory/v2) to connect to the Data Factory and fetch metadata. You can find further information on the Azure Data Factory connector in the [docs](/ai-2-0/connectors/pipeline/datafactory). ## Permissions Ensure that the service principal or managed identity you’re using has the necessary permissions in the Data Factory resource (Reader, Contributor, or Data Factory Contributor role at minimum). ## Metadata Ingestion To ingest metadata from Data Factory, you need to create a service connection. The service connects Data Factory with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Data Factory** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/datafactory.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1b22063acbea6c09ee3a5376403733ea) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Data Factory services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/datafactory.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3a55676c7624654ad5f7a089e15c9e16) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Data Factory. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/datafactory.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1b24a5495e35b2ff2998eaa7cc28bb5b) * **Subscription ID**: Your Azure subscription’s unique identifier. In the Azure portal, navigate to Subscriptions > Your Subscription > Overview. You’ll see the subscription ID listed there. * **Resource Group Name**: This is the name of the resource group that contains your Data Factory instance. In the Azure portal, navigate to Resource Groups. Find your resource group, and note the name. * **Azure Data Factory Name**: The name of your Data Factory instance. In the Azure portal, navigate to Data Factories and find your Data Factory. The Data Factory name will be listed there. * **Azure Data Factory pipeline runs day filter**: The days range when filtering pipeline runs. It specifies how many days back from the current date to look for pipeline runs, and filter runs within the given period of days. Default is `7` days. `Optional` #### Azure Data Factory Configuration * **Client ID**: To get the Client ID (also known as application ID), follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for this connection. 4. From the Overview section, copy the `Application (client) ID`. * **Client Secret**: To get the client secret, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for this connection. 4. Under `Manage`, select `Certificates & secrets`. 5. Under `Client secrets`, select `New client secret`. 6. In the `Add a client secret` pop-up window, provide a description for your application secret. Choose when the application should expire, and select `Add`. 7. From the `Client secrets` section, copy the string in the `Value` column of the newly created application secret. * **Tenant ID**: To get the tenant ID, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for this connection. 4. From the `Overview` section, copy the `Directory (tenant) ID`. * **Account Name**: Here are the step-by-step instructions for finding the account name for an Azure Data Lake Storage account: 1. Sign in to the Azure portal and navigate to the `Storage accounts` page. 2. Find the Data Lake Storage account you want to access and click on its name. 3. In the account overview page, locate the `Account name` field. This is the unique identifier for the Data Lake Storage account. 4. You can use this account name to access and manage the resources associated with the account, such as creating and managing containers and directories. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Displaying Lineage Information Steps to retrieve and display the lineage information for a Data Factory service. 1. Ingest Source and Sink Database Metadata: Identify both the source and sink database used by the Azure Data Factory service for example Redshift. Ingest metadata for these databases. 2. Ingest Data Factory Service Metadata: Finally, Ingest your Data Factory service. By successfully completing these steps, the lineage information for the service will be displayed. ### Missing Lineage If lineage information is not displayed for a Data Factory service, follow these steps to diagnose the issue. 1. **Permissions**: Ensure that the service principal or managed identity you’re using has the necessary permissions in the Data Factory resource. (Reader, Contributor, or Data Factory Contributor role at minimum). 2. **Metadata Ingestion**: Ensure that metadata for both the source and sink database is ingested and passed to the lineage system. This typically involves configuring the relevant connectors to capture and transmit this information. 3. **Run Successful**: Ensure that the Pipeline Run is successful. ## Troubleshooting > [card] [Data Factory Troubleshooting](/ai-2-0/connectors/pipeline/datafactory/troubleshooting) > > Learn more about how to troubleshoot common Data Factory connector issues and resolve configuration or ingestion errors. # Datafactory Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/datafactory/index Get started with datafactory. Setup instructions, features, and configuration details inside. ![Azure Data Factory](/public/images/connectors/datafactory.png) # Azure Data Factory PROD This section provides guides and references to use the Azure Data Factory connector. Configure and schedule Azure Data Factory metadata workflows from the Collate UI: * [Requirements](#requirements) * [Data Factory Versions](#data-factory-versions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/datafactory/troubleshooting) ## Requirements ### Data Factory Versions The Ingestion framework uses [Azure Data Factory APIs](https://learn.microsoft.com/en-us/rest/api/datafactory/v2) to connect to the Data Factory and fetch metadata. You can find further information on the Azure Data Factory connector in the [docs](/ai-2-0/connectors/pipeline/datafactory). ## Permissions Ensure that the service principal or managed identity you’re using has the necessary permissions in the Data Factory resource (Reader, Contributor, or Data Factory Contributor role at minimum). ## Metadata Ingestion To ingest metadata from Data Factory, you need to create a service connection. The service connects Data Factory with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Data Factory** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/datafactory.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1b22063acbea6c09ee3a5376403733ea) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Data Factory services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/datafactory.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3a55676c7624654ad5f7a089e15c9e16) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Data Factory. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/datafactory.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=1b24a5495e35b2ff2998eaa7cc28bb5b) * **Subscription ID**: Your Azure subscription’s unique identifier. In the Azure portal, navigate to Subscriptions > Your Subscription > Overview. You’ll see the subscription ID listed there. * **Resource Group Name**: This is the name of the resource group that contains your Data Factory instance. In the Azure portal, navigate to Resource Groups. Find your resource group, and note the name. * **Azure Data Factory Name**: The name of your Data Factory instance. In the Azure portal, navigate to Data Factories and find your Data Factory. The Data Factory name will be listed there. * **Azure Data Factory pipeline runs day filter**: The days range when filtering pipeline runs. It specifies how many days back from the current date to look for pipeline runs, and filter runs within the given period of days. Default is `7` days. `Optional` #### Azure Data Factory Configuration * **Client ID**: To get the Client ID (also known as application ID), follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for this connection. 4. From the Overview section, copy the `Application (client) ID`. * **Client Secret**: To get the client secret, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for this connection. 4. Under `Manage`, select `Certificates & secrets`. 5. Under `Client secrets`, select `New client secret`. 6. In the `Add a client secret` pop-up window, provide a description for your application secret. Choose when the application should expire, and select `Add`. 7. From the `Client secrets` section, copy the string in the `Value` column of the newly created application secret. * **Tenant ID**: To get the tenant ID, follow these steps: 1. Log into [Microsoft Azure](https://ms.portal.azure.com/#allservices). 2. Search for `App registrations` and select the `App registrations link`. 3. Select the `Azure AD` app you're using for this connection. 4. From the `Overview` section, copy the `Directory (tenant) ID`. * **Account Name**: Here are the step-by-step instructions for finding the account name for an Azure Data Lake Storage account: 1. Sign in to the Azure portal and navigate to the `Storage accounts` page. 2. Find the Data Lake Storage account you want to access and click on its name. 3. In the account overview page, locate the `Account name` field. This is the unique identifier for the Data Lake Storage account. 4. You can use this account name to access and manage the resources associated with the account, such as creating and managing containers and directories. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Displaying Lineage Information Steps to retrieve and display the lineage information for a Data Factory service. 1. Ingest Source and Sink Database Metadata: Identify both the source and sink database used by the Azure Data Factory service for example Redshift. Ingest metadata for these databases. 2. Ingest Data Factory Service Metadata: Finally, Ingest your Data Factory service. By successfully completing these steps, the lineage information for the service will be displayed. ### Missing Lineage If lineage information is not displayed for a Data Factory service, follow these steps to diagnose the issue. 1. **Permissions**: Ensure that the service principal or managed identity you’re using has the necessary permissions in the Data Factory resource. (Reader, Contributor, or Data Factory Contributor role at minimum). 2. **Metadata Ingestion**: Ensure that metadata for both the source and sink database is ingested and passed to the lineage system. This typically involves configuring the relevant connectors to capture and transmit this information. 3. **Run Successful**: Ensure that the Pipeline Run is successful. ## Troubleshooting > [card] [Data Factory Troubleshooting](/ai-2-0/connectors/pipeline/datafactory/troubleshooting) > > Learn more about how to troubleshoot common Data Factory connector issues and resolve configuration or ingestion errors. # Datafactory Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/datafactory/troubleshooting Fix Azure Data Factory ingestion problems like connection errors, metadata loss, or unsupported activity types. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # dbt Cloud Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/dbtcloud/hybrid-runner Connect dbt Cloud to Collate with our comprehensive pipeline connector guide using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. Setup instructions, configuration examples, and troubleshooting tips. ![dbt Cloud](/public/images/connectors/dbtcloud.webp) # dbt Cloud PROD This section provides guides and references to use the dbt Cloud connector. Configure and schedule dbt Cloud metadata workflows from the Collate UI: * [Requirements](#requirements) * [dbt Cloud Versions](#dbt-cloud-versions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/dbtcloud/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). ### dbt Cloud Versions Collate is integrated with dbt Cloud up to version [1.8](https://docs.getdbt.com/docs/get-started-dbt) and will continue to work for future dbt Cloud versions. The Ingestion framework uses [dbt Cloud APIs](https://docs.getdbt.com/dbt-cloud/api-v2#/) to connect to dbt Cloud and fetch metadata. ### dbt Cloud Permissions The dbt Cloud API User token or Service account token must have the permission to fetch metadata. For more information, see [dbt Cloud Service Tokens](https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens#permissions-for-service-account-tokens). ### dbt Cloud Account * dbt Cloud [multi-tenant](https://docs.getdbt.com/docs/cloud/about-cloud/tenancy#multi-tenant) or [single tenant](https://docs.getdbt.com/docs/cloud/about-cloud/tenancy#single-tenant) account is required. * You must be on a [Team or Enterprise plan](https://www.getdbt.com/pricing/). * Your projects must be on dbt version 1.0 or later. Refer to [Upgrade dbt version in Cloud](https://docs.getdbt.com/docs/dbt-versions/upgrade-dbt-version-in-cloud) to upgrade. ## Metadata Ingestion To ingest metadata from dbt Cloud, you need to create a service connection. The service connects dbt Cloud with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **dbt Cloud** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/dbtcloud.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=d8fbbb047c22bad482f2e1648d558c9c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other dbt Cloud services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/dbtcloud.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=97d8ada0e4a081fa324a9c5cb3e72be4) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for dbt Cloud. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/dbtcloud.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8324e8bff288e32b47a33d001e871be8) * **Host**: dbt Cloud Access URL, for example `https://abc12.us1.dbt.com`. Go to your dbt Cloud account settings to know your Access URL. * **Discovery API URL**: dbt Cloud Access URL, for example `https://metadata.cloud.getdbt.com/graphql`. Go to your dbt Cloud account settings to know your Discovery API URL. Make sure you have `/graphql` at the end of your URL. * **Account Id**: The Account ID of your dbt Cloud Project. Go to your dbt Cloud account settings to know your Account Id. This will be a numeric value but in Collate this is parsed as a string. * **Job Ids**: Optional. Job IDs of your dbt Cloud Jobs in your Project to fetch metadata for. Look for the segment after "jobs" in the URL. For instance, in a URL like `https://cloud.getdbt.com/accounts/123/projects/87477/jobs/73659994`, the job ID is `73659994`. This will be a numeric value but in Collate this is parsed as a string. If not passed all Jobs under the Account id will be ingested. * **Project Ids**: Optional. Project IDs of your dbt Cloud Account to fetch metadata for. Look for the segment after "projects" in the URL. For instance, in a URL like `https://cloud.getdbt.com/accounts/123/projects/87477/jobs/73659994`, the project ID is `87477`. This will be a numeric value but in Collate this is parsed as a string. If not passed all Projects under the Account id will be ingested. Note that if both `Job Ids` and `Project Ids` are passed then it will filter out the jobs from the passed projects. Any `Job Ids` not belonging to the `Project Ids` will also be filtered out. * **Token**: The Authentication Token of your dbt Cloud API Account. For more information, see [dbt Cloud API Authentication](https://docs.getdbt.com/docs/dbt-cloud-apis/authentication). Make sure you have the necessary permissions on the token to run graphql queries and get job and run details. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Displaying Lineage Information Steps to retrieve and display the lineage information for a dbt Cloud service. Note that only the metadata from the last run will be used for lineage. 1. Ingest Source and Sink Database Metadata: Identify both the source and sink database used by the dbt Cloud service for example Redshift. Ingest metadata for these database. 2. Ingest dbt Cloud Service Metadata: Finally, Ingest your dbt Cloud service. By successfully completing these steps, the lineage information for the service will be displayed. ![dbt Cloud Lineage](https://mintcdn.com/collatedocs/sQLcFBJkf-K-wqlw/public/images/connectors/dbtcloud/lineage.png?fit=max\&auto=format\&n=sQLcFBJkf-K-wqlw\&q=85\&s=bca46af6484bfeece1a3d67e6e74a745) ### Missing Lineage If lineage information is not displayed for a dbt Cloud service, follow these steps to diagnose the issue. 1. *dbt Cloud Account*: Make sure that the dbt Cloud instance you are ingesting has the necessary permissions to fetch jobs and run graphql queries over the API. 2. *Metadata Ingestion*: Ensure that metadata for both the source and sink database is ingested and passed to the lineage system. This typically involves configuring the relevant connectors to capture and transmit this information. 3. *Last Run Successful*: Ensure that the Last Run for a Job is successful as Collate gets the metadata required to build the lineage using the last Run under a Job. ## Troubleshooting > [card] [dbt Cloud Troubleshooting](/ai-2-0/connectors/pipeline/dbtcloud/troubleshooting) > > Learn more about how to troubleshoot common dbt Cloud connector issues and resolve configuration or ingestion errors. # dbt Cloud Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/dbtcloud/index Connect dbt Cloud to Collate with our comprehensive pipeline connector guide. Setup instructions, configuration examples, and troubleshooting tips. ![dbt Cloud](/public/images/connectors/dbtcloud.webp) # dbt Cloud PROD This section provides guides and references to use the dbt Cloud connector. Configure and schedule dbt Cloud metadata workflows from the Collate UI: * [Requirements](#requirements) * [dbt Cloud Versions](#dbt-cloud-versions) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/dbtcloud/troubleshooting) ## Requirements ### dbt Cloud Versions Collate is integrated with dbt Cloud up to version [1.8](https://docs.getdbt.com/docs/get-started-dbt) and will continue to work for future dbt Cloud versions. The Ingestion framework uses [dbt Cloud APIs](https://docs.getdbt.com/dbt-cloud/api-v2#/) to connect to dbt Cloud and fetch metadata. ### dbt Cloud Permissions The dbt Cloud API User token or Service account token must have the permission to fetch metadata. For more information, see [dbt Cloud Service Tokens](https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens#permissions-for-service-account-tokens). ### dbt Cloud Account * dbt Cloud [multi-tenant](https://docs.getdbt.com/docs/cloud/about-cloud/tenancy#multi-tenant) or [single tenant](https://docs.getdbt.com/docs/cloud/about-cloud/tenancy#single-tenant) account is required. * You must be on a [Team or Enterprise plan](https://www.getdbt.com/pricing/). * Your projects must be on dbt version 1.0 or later. Refer to [Upgrade dbt version in Cloud](https://docs.getdbt.com/docs/dbt-versions/upgrade-dbt-version-in-cloud) to upgrade. ## Metadata Ingestion To ingest metadata from dbt Cloud, you need to create a service connection. The service connects dbt Cloud with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **dbt Cloud** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/dbtcloud.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=d8fbbb047c22bad482f2e1648d558c9c) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other dbt Cloud services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/dbtcloud.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=97d8ada0e4a081fa324a9c5cb3e72be4) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for dbt Cloud. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/dbtcloud.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=8324e8bff288e32b47a33d001e871be8) * **Host**: dbt Cloud Access URL, for example `https://abc12.us1.dbt.com`. Go to your dbt Cloud account settings to know your Access URL. * **Discovery API URL**: dbt Cloud Access URL, for example `https://metadata.cloud.getdbt.com/graphql`. Go to your dbt Cloud account settings to know your Discovery API URL. Make sure you have `/graphql` at the end of your URL. * **Account Id**: The Account ID of your dbt Cloud Project. Go to your dbt Cloud account settings to know your Account Id. This will be a numeric value but in Collate this is parsed as a string. * **Job Ids**: Optional. Job IDs of your dbt Cloud Jobs in your Project to fetch metadata for. Look for the segment after "jobs" in the URL. For instance, in a URL like `https://cloud.getdbt.com/accounts/123/projects/87477/jobs/73659994`, the job ID is `73659994`. This will be a numeric value but in Collate this is parsed as a string. If not passed all Jobs under the Account id will be ingested. * **Project Ids**: Optional. Project IDs of your dbt Cloud Account to fetch metadata for. Look for the segment after "projects" in the URL. For instance, in a URL like `https://cloud.getdbt.com/accounts/123/projects/87477/jobs/73659994`, the project ID is `87477`. This will be a numeric value but in Collate this is parsed as a string. If not passed all Projects under the Account id will be ingested. Note that if both `Job Ids` and `Project Ids` are passed then it will filter out the jobs from the passed projects. Any `Job Ids` not belonging to the `Project Ids` will also be filtered out. * **Token**: The Authentication Token of your dbt Cloud API Account. For more information, see [dbt Cloud API Authentication](https://docs.getdbt.com/docs/dbt-cloud-apis/authentication). Make sure you have the necessary permissions on the token to run graphql queries and get job and run details. Note that **Job Ids** here controls which jobs Collate ingests as pipelines. It doesn't control dbt test results. Test results come from the dbt workflow, which reads one job per workflow. For more information, see [Run the dbt Workflow Externally](/ai-2-0/connectors/database/dbt/run-dbt-workflow-externally#6-dbt-cloud-api-based-ingestion). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Displaying Lineage Information Steps to retrieve and display the lineage information for a dbt Cloud service. Note that only the metadata from the last run will be used for lineage. 1. Ingest Source and Sink Database Metadata: Identify both the source and sink database used by the dbt Cloud service for example Redshift. Ingest metadata for these database. 2. Ingest dbt Cloud Service Metadata: Finally, Ingest your dbt Cloud service. By successfully completing these steps, the lineage information for the service will be displayed. ![dbt Cloud Lineage](https://mintcdn.com/collatedocs/sQLcFBJkf-K-wqlw/public/images/connectors/dbtcloud/lineage.png?fit=max\&auto=format\&n=sQLcFBJkf-K-wqlw\&q=85\&s=bca46af6484bfeece1a3d67e6e74a745) ### Missing Lineage If lineage information is not displayed for a dbt Cloud service, follow these steps to diagnose the issue. 1. *dbt Cloud Account*: Make sure that the dbt Cloud instance you are ingesting has the necessary permissions to fetch jobs and run graphql queries over the API. 2. *Metadata Ingestion*: Ensure that metadata for both the source and sink database is ingested and passed to the lineage system. This typically involves configuring the relevant connectors to capture and transmit this information. 3. *Last Run Successful*: Ensure that the Last Run for a Job is successful as Collate gets the metadata required to build the lineage using the last Run under a Job. ## Troubleshooting > [card] [dbt Cloud Troubleshooting](/ai-2-0/connectors/pipeline/dbtcloud/troubleshooting) > > Learn more about how to troubleshoot common dbt Cloud connector issues and resolve configuration or ingestion errors. # dbt Cloud Troubleshooting Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/dbtcloud/troubleshooting Troubleshoot dbt Cloud ingestion for API errors, job sync issues, or metadata gaps. ## Troubleshooting ### Workflow Deployment Error If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container. * You can then Edit the Ingestion Pipeline and **Deploy** it again. * From the Connection tab, you can also Edit the Service if needed. ## Connector Debug Troubleshooting This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios. ## How to Enable Debug Logging for Any Ingestion To enable debug logging for any ingestion workflow in Collate: 1. **Navigate to Connections** Go to **Connections** > **Service Type** (e.g., Database) in the Collate UI. 2. **Select a Service** Choose the specific service for which you want to enable debug logging. 3. **Access Agents Tab** Go to the **Agents tab** and click the three-dot menu on the right-hand side of the ingestion type, and select Edit. 4. **Enable Debug Logging** In the configuration dialog, enable the **Debug Log** option and click **Next**. 5. **Schedule and Submit** Configure the schedule if needed and click **Submit** to apply the changes. ## Permission Issues If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions. # Domo Pipeline Hybrid Runner Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/domo-pipeline/hybrid-runner Ingest metadata from Domo pipelines to capture ETL flows and integrate with governance and reporting tools using the Hybrid Runner. Deploy the ingestion agent in your environment for secure, private network metadata extraction. ![Domo](/public/images/connectors/domo.webp) # Domo PROD This section provides guides and references to use the Domo Pipeline connector. Configure and schedule Domo Pipeline metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/domo-pipeline/troubleshooting) ## Requirements > [!NOTE] > > **Prerequisite**: These steps assume the Hybrid Runner is already deployed in your environment. If it isn't, deploy the Hybrid Runner first. For more information about the prerequisites, authentication token, Helm deployment, validation, and setting up the Hybrid Runner, see [Hybrid Ingestion Runner](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#set-up-hybrid-ingestion-runner). For metadata ingestion, make sure to add at least `data` scopes to the clientId provided. For more information, see [Domo API Authentication](https://developer.domo.com/portal/1845fc11bbe5d-api-authentication). ## Metadata Ingestion To ingest metadata from Domo Pipeline, you need to create a service connection. The service connects Domo Pipeline with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Domo Pipeline** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/domopipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=319c32e0d5cf30c5f15b99da68171eff) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Domo Pipeline services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/domopipeline.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=073c3f44ed8d6075970110e27065eccf) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Domo Pipeline. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/domopipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=5e385bd52a642dfde6a987de8c627038) * **Client ID**: Client ID for Domo Pipeline. * **Secret Token**: Secret Token to Connect to Domo Pipeline. * **Access Token**: Access to Connect to Domo Pipeline. * **API Host**: API Host to Connect to Domo Pipeline. * **Instance Domain**: URL to connect to your Domo instance UI. For example `https://.domo.com`. > [!TIP] > > **Tip**: When using a **Hybrid Ingestion Runner**, any sensitive credential fields—such as passwords, API keys, or private keys—must reference secrets using the following format: > > ``` > password: secret:/my/database/password > ``` > > This applies **only to fields marked as secrets** in the connection form (these typically mask input and show a visibility toggle icon). > For more information about managing secrets in hybrid setups, see the [Hybrid Ingestion Runner Secret Management Guide](/ai-2-0/getting-started/lets-get-started/ingest-your-data/hybrid-ingestion-runner#manage-secrets). #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Domo Pipeline Troubleshooting](/ai-2-0/connectors/pipeline/domo-pipeline/troubleshooting) > > Learn more about how to troubleshoot common Domo Pipeline connector issues and resolve configuration or ingestion errors. # Domo Pipeline Connector Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/domo-pipeline/index Ingest metadata from Domo pipelines to capture ETL flows and integrate with governance and reporting tools. ![Domo](/public/images/connectors/domo.webp) # Domo PROD This section provides guides and references to use the Domo Pipeline connector. Configure and schedule Domo Pipeline metadata workflows from the Collate UI: * [Requirements](#requirements) * [Metadata Ingestion](#metadata-ingestion) * [Troubleshooting](/ai-2-0/connectors/pipeline/domo-pipeline/troubleshooting) ## Requirements For metadata ingestion, make sure to add at least `data` scopes to the clientId provided. For more information, see [Domo API Authentication](https://developer.domo.com/portal/1845fc11bbe5d-api-authentication). ## Metadata Ingestion To ingest metadata from Domo Pipeline, you need to create a service connection. The service connects Domo Pipeline with Collate. Once you create a service, Collate automatically starts ingesting metadata. ### Step 1: Add New Service Create the service as follows: 1. In the left navigation, click **Connections**. 2. On the **Connections** page, click **Add New Service**. ![Add New Service](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-new-service.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=733cef1141ef13d318634aa9f407eb2b) ### Step 2: Select a Service and Connector From the service type dropdown, select **Pipeline Services**, then click the **Domo Pipeline** connector tile. ![Select Service](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/select-service/domopipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=319c32e0d5cf30c5f15b99da68171eff) ### Step 3: Add Service Name and Description * Enter a unique, descriptive **Service Name**. Collate identifies services by their service name. Enter a name that distinguishes this deployment from other Domo Pipeline services you are ingesting metadata from. * Optional: Enter a **Description** for the service. ![Add New Service Name](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/service-name/domopipeline.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=073c3f44ed8d6075970110e27065eccf) > [!NOTE] > > **Note**: The service name can't be changed after you set it. ### Step 4: Configure Connection Options Specify where ingestion runs, provide your source credentials, and verify the connection. #### Select Ingestion Runner Select an **Ingestion Runner**: the runner where the ingestion pipeline will execute. ![Add Name and Select Ingestion Runner](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/select-ingestion-runner.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=1249f828648614445e8a976ea1933487) #### Enter Connection Details Enter the connection details for Domo Pipeline. The right-hand panel in the UI displays inline help for each field. ![Configure Service Connection](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/connection-details/domopipeline.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=5e385bd52a642dfde6a987de8c627038) * **Client ID**: Client ID for Domo Pipeline. * **Secret Token**: Secret Token to Connect to Domo Pipeline. * **Access Token**: Access to Connect to Domo Pipeline. * **API Host**: API Host to Connect to Domo Pipeline. * **Instance Domain**: URL to connect to your Domo instance UI. For example `https://.domo.com`. #### Test Connection 1. Click **Test Connection** to verify the credentials. 2. After the test succeeds, click **Save**. ![Test Connection](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/test-connection.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=3365cff7bb9d82c85a2ff9ab559d6f11) ### Step 5: Configure Ingestion Options In the **What to Ingest** step, use filter patterns to control which assets Collate ingests from your pipeline service. Filter rules match pipeline names using the following match types. #### How Filter Patterns Work * **Include**: Add one or more comma-separated values. Each value uses one of the following match types. Collate ingests only assets whose names match at least one rule. Leave blank to include all assets. * **Exclude**: Add one or more comma-separated values. Each value uses one of the following match types. Collate skips any asset whose name matches a rule. Leave blank to exclude nothing. Rules match asset names using one of five match types: * **contains**: matches any name containing the value. For example, `sales` matches `my_sales_data` and `sales_2024`. * **starts with**: matches names beginning with the value. For example, `prod_` matches `prod_db` and `prod_schema`. * **ends with**: matches names ending with the value. For example, `_raw` matches `events_raw` and `logs_raw`. * **is exactly**: matches the exact name only. For example, `analytics` matches only `analytics`. * **matches regex**: matches names using a regular expression. For example, `^prod_.*_v\d+$` matches `prod_events_v1`. When both Include and Exclude are set, Exclude takes priority. > [!TIP] > > **Tip**: Leave the filter pattern empty to ingest all pipelines available in the source. #### Filter Options The Pipeline section includes the following filter options: * **Pipeline**: Controls which pipelines (DAGs, jobs, or workflows) Collate ingests from the source. This section provides the following controls: * **Scan Mode**: Choose between the following scan modes: * **Scan all**: Ingests every asset of that type the connector can access. This is the default. * **Only specific**: Enables include rules so only assets matching at least one rule are ingested. * **Exclude system toggle**: Use this toggle to filter out system-reserved names defined by the connector for that asset type. * **Always exclude**: Add permanent exclusion rules (shown in red). Assets matching these rules are never ingested, regardless of include rules. * **Preview**: Shows a real-time summary of what will be in scope based on your current rules. * **Include rules**: In **Only specific** mode, click **+ Add** to define a rule. Added rules appear as chips. An asset is included if it matches any rule. > [!TIP] > > **Tip**: If [AutoPilot](/ai-2-0/admin-guide/applications/autopilot) is enabled, lineage between pipeline tasks and data assets is tracked automatically after the first metadata ingestion completes. ### Step 6: Create & Deploy Click **Create & Deploy** to deploy the agent and start the first metadata ingestion run. Collate saves the service configuration and immediately begins pulling metadata from the source. To monitor ingestion progress or view the service you just added, go to **Connections** in the left navigation and select your service. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. ## Troubleshooting > [card] [Domo Pipeline Troubleshooting](/ai-2-0/connectors/pipeline/domo-pipeline/troubleshooting) > > Learn more about how to troubleshoot common Domo Pipeline connector issues and resolve configuration or ingestion errors. # Pipeline Connectors Source: https://docs.getcollate.io/ai-2-0/connectors/pipeline/index Browse pipeline connectors including Airflow, Flink, NiFi, and more to ingest lineage metadata. # Pipeline Services This is the supported list of connectors for Pipeline Services: > [card] [Airbyte](/ai-2-0/connectors/pipeline/airbyte) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Airflow](/ai-2-0/connectors/pipeline/airflow) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Azure Data Factory](/ai-2-0/connectors/pipeline/datafactory) > > PROD > [card] [Dagster](/ai-2-0/connectors/pipeline/dagster) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Databricks](/ai-2-0/connectors/pipeline/databricks-pipeline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [dbt Cloud](/ai-2-0/connectors/pipeline/dbtcloud) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Domo](/ai-2-0/connectors/pipeline/domo-pipeline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Fivetran](/ai-2-0/connectors/pipeline/fivetran) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Flink](/ai-2-0/connectors/pipeline/flink) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Glue](/ai-2-0/connectors/pipeline/glue-pipeline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [KafkaConnect](/ai-2-0/connectors/pipeline/kafkaconnect) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [KinesisFirehose](/ai-2-0/connectors/pipeline/kinesis-firehose) > > PROD > [card] [Matillion](/ai-2-0/connectors/pipeline/matillion) > > PROD > [card] [Microsoft Fabric Pipeline](/ai-2-0/connectors/pipeline/microsoftfabricpipeline) > > PROD > [card] [Mulesoft](/ai-2-0/connectors/pipeline/mulesoft) > > BETA > [card] [NiFi](/ai-2-0/connectors/pipeline/nifi) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [OpenLineage](/ai-2-0/connectors/pipeline/openlineage) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > PROD > [card] [Prefect](/ai-2-0/connectors/pipeline/prefect) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Salesforce Data 360 Pipeline](/ai-2-0/connectors/pipeline/data360) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [SAP BW/4HANA Pipeline](/ai-2-0/connectors/pipeline/sapbw4hana-pipeline) > > BETA > [card] [Spline](/ai-2-0/connectors/pipeline/spline) > > ![OpenMetadata](https://mintcdn.com/collatedocs/qTqd1tlB8cqEVgXb/public/images/connectors/openmetadata-logo.png?fit=max\&auto=format\&n=qTqd1tlB8cqEVgXb\&q=85\&s=ad28bd1f2fd6ae2dd39f0703121c1653) > > BETA > [card] [Stitch](/ai-2-0/connectors/pipeline/stitch) > > BETA > [card] [Wherescape](/ai-2-0/connectors/pipeline/wherescape) > > PROD > [card] [Snowplow](/ai-2-0/connectors/pipeline/snowplow) > > PROD > [card] [SSIS](/ai-2-0/connectors/pipeline/ssis) > > PROD If you have a request for a new connector, don't hesitate to reach out in [Slack](https://slack.open-metadata.org/) or open a [feature request](https://github.com/open-metadata/OpenMetadata/issues/new/choose) in our GitHub repo. ## Configure Metadata Agent and Schedule Ingestion The **Metadata Agent** extracts pipelines, tasks, and other structural metadata from your source and keeps your Collate catalog in sync. It powers discovery, lineage, and governance across your data assets. When you click **Create & Deploy**, Collate automatically deploys a Metadata Agent for this service and triggers the first ingestion run. View its status and run history from the **Agents** tab on the service detail page. To configure the additional Metadata Agent and schedule ingestion, follow these steps: 1. In the left navigation, click **Connections** and select your service. 2. Click the **Agents** tab. 3. Click **Add Agent** and select **Metadata** from the dropdown. ![Add Metadata Agent](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/add-metadata-agent.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=accad7d1c4ddf209781bff851d51d464) For some services, the dropdown is not available and clicking **Add Agent** takes you directly to the agent configuration page. 4. On the **Configure Ingestion** page, do the following and click **Next**. * **Name this Ingestion**: Enter a unique, recognizable name for this ingestion pipeline. ![Name this Ingestion](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/metadata-agent-name.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=d5ec1f0f3742cadab8cd54c602c97239) * **Agent Setup**: Configure the core parameters for this agent. The following fields are available: | Field | Default | Description | | - | - | - | | Ownership Update Mode | replace | Set how owners from source metadata update Pipeline owners. In replace mode, resolved owners from the current source replace existing owners. In append mode, resolved owners are appended to active existing Pipeline owners. | | Db Service Names | — | List of database service names used for lineage resolution. | | Storage Service Names | — | List of storage service names used for lineage resolution. | | Messaging Service Names | — | List of messaging service names used for lineage resolution. | | Status Lookback Days | 1 | Number of days of pipeline run status history to ingest. Only runs within the last N days will be fetched. | | Include Lineage | On | Turn off to stop fetching lineage from pipelines. | | Mark Deleted Pipeline | On | Soft-delete pipelines in Collate when they are removed from the source. Associated entities like lineage are also deleted. | | Include UnDeployed Pipelines | On | When off, Collate ingests only deployed pipelines. | ![Agent Setup](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-agent-setup.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=471bc2416115b020f9ff6909bb9e3d89) * **Filter Patterns**: Apply include or exclude rules to scope which pipelines this agent ingests. These follow the same filter options described in **Step 5**. ![Filter Patterns](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-filter-pattern.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=46f6f78c05d40a88a3fe9471f0f31505) * **Scope & Behaviour**: Control what metadata to include and how to handle deletions. Toggle each option on or off based on your needs: | Toggle | Default | Description | | - | - | - | | Enable Debug Log | Off | Sets the ingestion log level to DEBUG. Useful for troubleshooting. | | Override Metadata | Off | When on, source values overwrite existing descriptions, tags, owners, and display names in Collate. A description or display name that the source doesn't send never replaces an existing value. If the connector supplies custom properties, the values it sends are merged over the existing ones: properties the source sends overwrite, and properties it doesn't send are kept. When off, Collate only updates fields that have no existing value. | | Override Lineage | Off | When on, existing lineage is replaced with newly extracted lineage on each run. | ![Scope & Behaviour](https://mintcdn.com/collatedocs/tVR0kaoXvgs3p2Wx/public/images/ai-2.0/connectors/metadata-ingestion/Pipeline/pipeline-scope-behaviour.png?fit=max\&auto=format\&n=tVR0kaoXvgs3p2Wx\&q=85\&s=38c7ce4ce152231ee67e2d0519d2fa47) 5. On the **Schedule Interval** page, set when the agent runs: * **Schedule**: Choose a preset interval (Hourly, Daily, Weekly, Monthly) or enter a custom cron expression. * **On-Demand**: No automatic schedule; trigger the agent manually when needed. ![Schedule Interval](https://mintcdn.com/collatedocs/bv5oe4uRjuorTJO1/public/images/ai-2.0/connectors/metadata-ingestion/schedule.png?fit=max\&auto=format\&n=bv5oe4uRjuorTJO1\&q=85\&s=25cc1d78f6f2a8bd115830d034d1d8d1) 6. Click **Add** to deploy the agent. # Dashboards | AI Analytics Source: https://docs.getcollate.io/ai-2-0/collate-ai/ai-analytics/dashboards Create AI Analytics dashboards, pin charts from Collate AI conversations, and manage layout, build history, and chart types. # Dashboards An AI Analytics dashboard is a named collection of charts pinned from Collate AI conversations. Charts from any conversation can go into the same dashboard, and you can build it up over time. Once a dashboard has charts, you can schedule it to refresh automatically, control who can open it, and deliver snapshots to your team. This page covers creating and managing dashboards and working with charts. ## Create a Dashboard 1. In the left navigation menu, select **AI Analytics** and then click **Create Dashboard**. ![Create New Dashboard](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/create-dashboard.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=d567eb7b26aa28a3f17ec26d8feb7f5d) 2. On the **Create New Dashboard** dialog, enter the following details: * **Dashboard Name** (required) * **Owners**: defaults to you. Search to add other users or teams, or remove yourself. * **Domain**: optionally assign a business domain at creation time. ![Create New Dashboard dialog](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/dashboard-details.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=4e2d886b87b2a6facc7a9969c5731d04) 3. Click **Save**. The dashboard is created with **Private** visibility and you are taken to the detail page. The dashboard starts as **Draft** and shows a **Let's build your dashboard** screen instead of a chart grid. See [Adding Your First Chart](#adding-your-first-chart). ## Chart Provenance Every chart in an AI Analytics dashboard carries a **Built with AI · N prompts** badge. Clicking it opens the Collate AI conversation that produced the chart — including the questions asked, the SQL that ran, and the AI's reasoning steps. You are never left with a number you can't trace. Dashboard owners can toggle the visibility of each conversation independently: * **Shared with dashboard viewers** (toggle on) — anyone with access to the dashboard can open that conversation and see the questions, SQL, and reasoning behind the chart. The badge on the chart shows the eye icon. * **Private to owners** (toggle off) — the conversation is hidden from viewers. On the chart badge, viewers see **"Conversation private"** instead of the prompt count. Owners always see the full detail. The panel also shows a summary — for example, "1 of 3 conversations shared with viewers" — giving you an at-a-glance view of how much provenance is visible to the audience. ## Adding Your First Chart A **Draft** dashboard shows a **Let's build your dashboard** screen with a single conversational input: "Describe the chart you want and Collate builds it from your data—or bring in a chart that's already published." ![Let's build your dashboard empty state](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/collate-ai/ai-studio/dashboard-first-chart.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=9b2060c710f6002319c4721dd6407299) 1. Type what you want to see in plain language (for example, "revenue by month"), or click one of the suggested starters: **Top customers by revenue**, **Monthly revenue trend**, **Revenue by segment**, or **Sales by region**. 2. Press Enter, or click the send button, to submit. 3. Collate AI builds the chart, reusing an existing published chart if one already answers your request, or generating a new one, and adds it to the dashboard, which then becomes **Active**. Reusing a chart from elsewhere pins an independent copy to this dashboard. Editing it doesn't affect the original. Once a dashboard has at least one chart, this screen is replaced by the chart grid, and you extend it with **Add another chart** instead. See [Add Another Chart](#add-another-chart). ## Dashboard Detail Page Opening a dashboard takes you to its detail page, where you manage its charts, schedule, and access. ### Header The dashboard detail header contains: ![Dashboard Headers](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/dashboard-headers.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=537f0dc33d2d0f26640779bee1e199d4) | Control | What it does | | - | - | | **Favorite** (star icon) | Mark this dashboard as a favorite | | **Build History** | Only shown once at least one chart has been built. Opens the [Build History](#build-history) panel | | **Refresh** | Manually trigger a refresh of all charts in the dashboard | | **⋮ (More actions)** | Open the [Manage Dashboard](#manage-dashboard) menu | | **Share** | Only shown once the dashboard has at least one chart. Opens notification settings — see [Notifications](/ai-2-0/collate-ai/ai-analytics/schedule-share#share-dashboard) | Who can see the dashboard at all is controlled separately, next to its Domain and Owners — see [Visibility](/ai-2-0/collate-ai/ai-analytics/schedule-share#visibility). ### Access Control Dashboards have three visibility levels — **Private**, **Shared**, and **Public** — that control who can open the dashboard. The default when you create a dashboard is **Private** (owners only). Click the current visibility label in the dashboard header to change it. Viewer access to the underlying data still respects each person's existing Collate permissions, regardless of visibility level. For full details on setting visibility, adding specific users or teams, and configuring notifications, see [Schedule & Share](/ai-2-0/collate-ai/ai-analytics/schedule-share#visibility). ### Manage Dashboard Click the **⋮** icon to open the following options: ![Manage Dashboard menu](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/manage-dashboard.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=756f3f1d9f00bd40ebb6fb77b0ad99f2) | Action | What it does | | - | - | | **Copy** | Copy a link to this dashboard to your clipboard | | **Download as PNG** | Export a PNG image of the full dashboard layout | | **Download as CSV** | Export a CSV of the cached data from every chart in the dashboard | | **Edit** | Rearrange the chart grid — drag and resize charts, then **Save** the new layout or **Cancel** to discard it | | **Schedule** | Only shown once the dashboard has at least one chart. Opens the refresh schedule — see [Create a Schedule](/ai-2-0/collate-ai/ai-analytics/schedule-share#create-a-schedule) | | **Delete Dashboard** | Permanently delete this dashboard | ### Dashboard Information Below the title, view and update the dashboard's key details: * **Domain**: the business domain this dashboard belongs to * **Owners**: users or teams responsible for this dashboard * **Tier**: click **Add Tier** to select a governance tier from the list. Once selected, the button updates to show the chosen tier name. Click the edit icon next to the **Domain** and **Owners** fields to update them. ### Charts Charts render as a card grid. Each chart card shows: * The chart title and a brief AI-generated summary (description). * A **Built with AI · N prompts** badge indicating how many Collate AI conversation turns produced this chart — click the badge to view the conversation. * Per-chart actions: refresh, edit, expand to full screen, delete. ### Add Another Chart At the bottom of the chart grid, a dashed **Add another chart** placeholder lets you extend the dashboard at any time. Clicking it opens the **Add a chart** dialog, where you describe the chart in plain language (for example, "revenue by month") or pick from suggested starters: * Top customers by revenue * Monthly revenue trend * Revenue by segment * Sales by region ## Build History The Build History panel shows every Collate AI conversation that contributed a chart to this dashboard. ![Choose Preview Chart modal](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/build-history.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=5a1f16de1fec13fac00393f7d50b6ca4) * **Who can see it**: by default, only owners can view build history. Owners can choose to share individual conversations with dashboard viewers. * **Per-conversation sharing toggle**: each conversation has a toggle: * **Shared with dashboard viewers**: anyone with access to the dashboard can read this conversation * **Private to owners**: only owners can see this conversation * **Continue the conversation**: a text input at the bottom of the panel lets owners resume any conversation and refine or extend a chart without leaving the dashboard. ![Choose Preview Chart modal](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/view-build-history.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=8baa5d38f4d0155910ec227c17574c03) ## AI Charts AI Charts are the individual visualizations generated from Collate AI chat conversations and pinned to dashboards. Each chart belongs to exactly one dashboard. If you pin the same chart to a second dashboard, Collate creates an independent copy there: the copy keeps the original's title, owners, and query, but starts its own version history from that point forward. Every chart requires a **query type**, which tells Collate how to execute the underlying data retrieval: * `sql` — the chart runs a SQL query against a connected data warehouse. * `dataInsight` — the chart queries Collate's internal Data Insights layer (metadata-driven KPIs and activity metrics). ## Chart Types AI Analytics supports the following visualization types: | Type | Notes | | - | - | | **Bar** | SideBySide, Stacked, or PercentStacked arrangement | | **Line** | Straight, Smooth, or Step line style | | **Area** | Filled area under the line | | **Pie** | Standard pie chart | | **Donut** | Pie with configurable ring width (0 = full pie, 1 = full ring) | | **Number** | Single KPI value — aggregation options: Sum, Average, Median, Max, Min, Count, First, Last | | **Scatter** | Scatter plot | | **Heatmap** | Grid heatmap | | **Composed** | Dual-axis chart: combine Bar, Line, or Area on the left Y axis with Bar, Line, or Area on the right Y axis | | **Table** | Sortable, filterable data grid with column visibility and pagination | ### Display Options All chart types support: * **Color scheme**: one or more hex colors; one color per series or per group value * **Axis titles**: custom labels for the X and Y axes * **Axis scale**: Linear or Logarithmic * **Number format**: Plain, Currency (with ISO 4217 code, for example USD), Percent, or Compact ### Table Charts Table charts additionally support: * **Sort**: sort by any column, ascending or descending * **Filters**: per-column filters with operators: equals, not equals, contains, greater than, greater than or equal, less than, less than or equal * **Column visibility**: show or hide individual columns * **Pagination**: configurable page size The table's view state (sort, active filters, hidden columns, page size) is saved with the chart, so it reopens in the same configuration when you return to the dashboard. ## Best Practices * Pin charts as you go from Collate AI conversations rather than rebuilding from scratch — each pinned chart carries the AI's reasoning and the conversation that produced it, so you always know where a number came from. * Use the Build History panel to share key conversations with dashboard viewers when you want them to understand the methodology, or keep them private when the working notes are not ready to share. * Use a dedicated service account as the refresh identity for scheduled dashboards so refreshes do not break when individual users leave or rotate credentials. # AI Analytics Source: https://docs.getcollate.io/ai-2-0/collate-ai/ai-analytics/index Generate charts from natural language questions in Collate AI Chat, pin them to dashboards, and schedule automatic delivery to your team. # AI Analytics AI Analytics is the dashboard layer of Collate's AI experience. Ask a question in [Collate AI Chat](/ai-2-0/collate-ai/collate-ai-chat) and Collate AI generates a chart automatically. Refine it with follow-up prompts (chart type, groupings, filters) until it shows what you need, then pin it to a dashboard. Pinned charts collect into dashboards that refresh automatically and deliver results to your team on a schedule. ![AI Analytics](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/collate-modules/ai-analytics.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=986c3549dbd81a83f0000b58d38dbebf) For more information about how to create, customize, and pin charts using Collate AI chat, see [Working with Charts](/ai-2-0/collate-ai/collate-ai-chat#working-with-charts). ## What You Can Do * Collect pinned charts from any Collate AI Chat conversation into named dashboards. * Schedule dashboards to re-run their queries automatically — every few minutes, hours, days, or weeks. * Deliver a PDF snapshot to your team by email or Slack each time a scheduled refresh completes. * Control access with Private, Shared, or Public visibility. * Export any dashboard as a CSV or PNG. * View chart build history — trace any chart back to the conversation, SQL, and reasoning that produced it. ## Before You Start * Collate AI must be enabled in your workspace. Contact your admin if you're unsure. * Data sources need to be connected in Collate so Collate AI can generate charts against them. * Charts are created in Collate AI Chat conversations. See [Working with Charts](/ai-2-0/collate-ai/collate-ai-chat#working-with-charts) to generate and pin your first chart. ## AI Analytics Dashboards Once you've pinned charts, they live on an AI Analytics dashboard — a named collection you can share, schedule, and revisit. To access the **AI Analytics** page, select **AI Analytics** from the left navigation menu. ![AI Analytics listing page](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/explore-analytics.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=90e2a1b5aaa172d497e5fc86d0a67585) ### Tabs | Tab | What it shows | | - | - | | **All Dashboards** | Every dashboard in your workspace you have access to | | **My Dashboards** | Dashboards where you are listed as an owner | | **Favorites** | Dashboards you have starred | ### Views and Filters Toggle between **Card** and **Row** view. Filter by **Domain** or **Status** (Draft, Active), and sort by Last Updated or Name. **Card view** — each dashboard as a visual card with a chart preview thumbnail, status badge, owner avatar, and last-updated timestamp. ![Card view](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/card-view.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=80e94b8b5583d16dd18f8b0ec828d242) **Row view** — a compact table showing dashboard name, chart count, domain, preview thumbnail, owner, and status. ![Row view](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/table-view.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=d7a6b38034cc1f9d82f1ad1fa8e0fb6f) ### Dashboard Status | Status | Meaning | | - | - | | **Draft** | The dashboard has no charts yet | | **Active** | The dashboard has at least one chart | ### Chart Build History Every chart on a dashboard links back to the Collate AI conversation that produced it — the questions asked, the SQL that ran, and the AI reasoning. Click **Build History** on a chart to open its provenance. Control whether this is visible to dashboard viewers or private to owners from the dashboard's sharing settings. See [Dashboards](/ai-2-0/collate-ai/ai-analytics/dashboards) for the full dashboard detail page reference. ## Schedule and Deliver Dashboards Once a dashboard has charts, you can schedule it to refresh automatically and deliver results to your team. ![Scheduling a dashboard and setting up delivery](https://mintcdn.com/collatedocs/m7XCAsV5cy24KBV0/public/images/collate-ai/ai-insights/scheduling-automation.gif?s=4a93735864d968eb9f255db9630b1766) ### Schedule a Refresh 1. Open a dashboard and click **⋮** > **Schedule**. 2. Set the cadence — every N minutes, hours, days, or weeks — and the time and timezone for daily or weekly runs. 3. Click **Save Changes**. On each refresh, Collate re-runs every chart's SQL query and updates the cached results. ### Deliver to Your Team After setting a schedule, configure delivery destinations so your team gets a snapshot automatically after each refresh. Click **Share** on a dashboard, then add one or more destinations: | Channel | What gets sent | | - | - | | **Email** | A PDF attachment — each chart rendered as a PNG, one per page in dashboard order | | **Slack** | A PDF attachment posted to a Slack channel — requires an OAuth bot token (not a webhook) | | **Microsoft Teams** | A text notification with a link back to the dashboard | | **Webhook** | A standard notification payload with a dashboard link | > [!NOTE] > > **Note**: Sending PDF attachments to Slack requires an OAuth bot token. A standard incoming webhook cannot deliver file attachments. Contact your Slack admin to configure the OAuth bot for Collate. You can add multiple destinations — for example, send a PDF to email and also post to a Slack channel. See [Schedule & Share](/ai-2-0/collate-ai/ai-analytics/schedule-share) for full configuration details. ## Why AI Analytics? | | The old way | AI Analytics | | - | - | - | | **Getting started** | Find the right data, learn its structure, write a query | Just type your question | | **Using the right numbers** | Look up or remember the formula | Collate AI uses your organization's agreed-upon definitions automatically | | **Building a chart** | Open a BI tool, configure chart types, set up axes | Charts appear in the conversation automatically | | **Trusting the result** | Ask the data team to verify | Every chart links to the SQL and reasoning behind it | | **Keeping results current** | Rebuild or refresh dashboards manually | Schedule a refresh — Collate AI keeps it fresh automatically | | **Delivering to the team** | Export a static image or share a dashboard link | Scheduled PDF delivery to email or Slack | | **Access control** | Set up separately in each tool | Uses your existing Collate permissions — nothing extra to configure | ## Best Practices * Be specific about time ranges, groups, or breakdowns — the more specific your question, the better the first chart. * Pin charts as you go so useful results are easier to find than scrolling back through conversation history. * Use a dedicated service account as the refresh identity for scheduled dashboards so refreshes do not break when individual users rotate credentials. * Schedule refreshes during off-peak hours for your data warehouse to avoid competing with production workloads. * Turn on notifications for dashboards your team checks regularly — the PDF lands in email or Slack so stakeholders get the update without logging in. ## Troubleshooting * **Can't access a dataset?** Check that your access request was approved on the Marketplace page. * **Numbers look wrong?** Every chart includes the query, raw results, and reasoning steps — check those first. * **Answers seem incomplete?** Verify that recent metadata and lineage ingestion runs succeeded. * **Getting inconsistent results?** Try being more specific — mention the exact dataset, metric name, or time range. Enriching column descriptions, glossary terms, and business metrics gives Collate AI the context it needs for accurate, consistent answers. # Schedule & Share | AI Analytics Source: https://docs.getcollate.io/ai-2-0/collate-ai/ai-analytics/schedule-share Schedule automatic refreshes for AI Analytics dashboards, set up notifications, control visibility, and send weekly digests. # Schedule & Share Once you've built a dashboard, you can keep its numbers current with scheduled refreshes and deliver snapshots to your team automatically. This page covers scheduled refresh, notifications, visibility settings, and the Weekly Insight Digest. ## Create a Schedule A refresh schedule tells Collate to re-run a dashboard's charts automatically so the numbers stay current without manual effort. **To create a schedule:** 1. Open a dashboard. 2. Click the **⋮** menu and select **Schedule**. ![Schedule Dashboard](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/schedule-dashboard.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=7030f484d7505004b282f5138a1d4e58) 3. Configure the following details: | Field | Options | | - | - | | **Every** | A positive integer number of minutes, hours, days, or weeks | | **At time** | HH:MM in 24-hour format — required for daily and weekly cadences | | **Timezone** | IANA timezone identifier (for example `America/Los_Angeles`) — required for daily and weekly cadences | | **Day of week** | Sunday through Saturday — used for weekly cadences only; defaults to Sunday if omitted | ![Schedule options](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/schedule-options.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=ce70b311c19aaefaf2204e139118d07e) Sub-daily cadences (minutes or hours) fire at fixed offsets within their cycle and ignore the time-of-day and timezone fields. 4. Click **Save Changes**. A newly created dashboard has no schedule. The schedule option is not available until the dashboard contains at least one chart. ### How Refresh Works When a scheduled refresh runs, Collate re-executes each chart's SQL query using the credentials of that chart's **refresh identity**: the user whose query runner credentials are used to connect to the warehouse. This defaults to the chart creator and can be changed by an admin. Results are written back to each chart's cached data. After the run, each chart's status is one of: | Status | Meaning | | - | - | | **Success** | The query completed and returned data | | **Failed** | The query failed — check the error message on the chart card | | **Running** | The query is in progress | | **Pending** | The query is queued but not yet started | The overall dashboard refresh outcome reflects the aggregate across all charts: | Outcome | Meaning | | - | - | | **Success** | All charts refreshed successfully | | **PartialSuccess** | At least one chart succeeded and at least one failed | | **Failed** | No charts succeeded | | **Interrupted** | One or more charts did not reach a terminal state before the refresh deadline | Setting a schedule registers a recurring job for that dashboard. Removing the schedule unregisters it, so no further refreshes run until you schedule the dashboard again. ## Share Dashboard Deliver a snapshot of the dashboard to your team each time a scheduled refresh completes. **To share a dashboard:** 1. Open a dashboard and click **Share**. ![Share Dashboard](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/share-dashboard.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=e97f24c09f3b77dcc97028c84e01bd59) 2. In the **Share Dashboard** pop-up, do the following: * Set the **Notification** toggle to on, if you want to notify recipients each time the dashboard refresh completes. * Set **Destination**: * **Internal**: To share dashboard internally within the organization. * **External**: To share with people outside your organization. * **Add Destiantion**: To share with multiple users or teams. ![Sharing Details](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-analytics/sharing-details.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=cd037c1aa5e016c31de5d58698f91d93) 3. Click **Save Changes** to share the dashboard. ### What Gets Sent What a destination receives depends on its channel: * **Email and Slack**: Collate renders each chart as a PNG image and composes them into a PDF (one chart per page, in dashboard order). The PDF is attached to the email or Slack message. Charts that fail to render are skipped; a partial PDF is still delivered rather than no notification at all. * **Other channels** (Teams, Webhook, etc.) — a standard text notification with a link back to the dashboard in Collate. > [!NOTE] > > **Note**: Sending the PDF to Slack requires the [Slack Application](/ai-2-0/admin-guide/applications/slack) with a bot token that has the `files:write` scope. A standard incoming webhook cannot deliver file attachments. Without `files:write`, the message still arrives, but without its PDF. ### Controls Two settings determine what gets sent and to whom: * **Enable / disable**: a single toggle that pauses all dispatching without removing your destination configuration. Re-enable to resume without re-entering destination details. * **Destinations**: configure one or more delivery targets: Email, Slack, Teams, or Webhook. Notifications fire once per refresh completion — on the same cadence as the refresh schedule. There is no separate notification schedule. ## Visibility Visibility controls who can open a dashboard at all — separate from [Notifications](#share-dashboard), which controls who gets emailed or messaged about it. Click the eye icon next to the dashboard's Domain and Owners to open **Who can access this dashboard?**, then choose: | Visibility | Who can access | | - | - | | **Private** | Dashboard owners only | | **Shared** | Owners plus any people or teams you explicitly add | | **Public** | Anyone in the Collate workspace | Choosing **Shared** reveals a picker to add the specific users or teams who should have access. A viewer's access to the underlying data still respects their existing Collate permissions — visibility does not bypass row-level or column-level data policies on the connected warehouse. ## Weekly Insight Digest The Weekly Insight Digest is a scheduled application that compiles a curated summary of AI-generated insights from your dashboards and delivers it to your team each week. It is separate from per-dashboard scheduled refresh notifications — the Digest aggregates across multiple dashboards and formats the results as a narrative summary rather than a raw chart snapshot. See [Weekly Insight Digest](/ai-2-0/admin-guide/data-insights) for setup and configuration. ## Data Insights Data Insights are metadata-driven KPIs and activity charts built directly from Collate's internal data layer — not from your connected warehouses. They cover metrics such as asset coverage, ownership completeness, tagging rates, lineage health, and data quality pass rates across your catalog. Data Insights use the `dataInsight` query type and run without warehouse credentials. They are available to any Collate user regardless of which external data sources are connected. Data Insights charts can be pinned to AI Analytics dashboards alongside SQL-backed charts, allowing you to combine warehouse data with catalog health metrics in a single view. ## Best Practices * Schedule refreshes during off-peak hours for your data warehouse to avoid competing with production workloads. * Use a dedicated service account as the refresh identity for scheduled dashboards so refreshes do not break when individual users leave or rotate credentials. * Turn on notifications for dashboards your team checks regularly — the PDF lands in email or Slack so stakeholders get the update without logging in to Collate. # AI Automations Source: https://docs.getcollate.io/ai-2-0/collate-ai/ai-automations Build and schedule AI agents that document, test, classify, and report on your data assets in Collate. # AI Automations > [!NOTE] > > **Note**: AI Automations is significantly expanded in Collate 2.0: a guided creation wizard, six ready-made templates, scheduled or on-demand runs, and configurable destinations for every run. See the sections below for details. Collate 2.0 also introduces the [Weekly Insight Digest](/ai-2-0/admin-guide/data-insights) app. AI Automations put your data on autopilot: agents document, test, classify, and generate business insight reports for your data assets on a schedule you define. Open **AI Automations** from the left sidebar to view, create, and manage automations. Dynamic Agent Apps (Documentation, Tier, and Data Quality), previously installed from the marketplace, are now handled here as Automations instead. If you had a Dynamic Agent App configured, Collate created a disabled, unscheduled automation mirroring it, carrying over its existing filter. Review these automations, then enable and set a schedule for the ones you want to keep running. `CollateAIApplicationBot`, previously used by the documentation agent, has been removed. If you were relying on the API or SDK with `CollateAIApplicationBot`, update your tokens: the more generic `CollateAIAutomationBot` now handles this. ![AI Automations](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/collate-modules/ai-automation.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=90dd8f1e84fb97d9f34a6949055c64e8) Autopilot is a separate, related capability that automatically triggers agents when a new data service is added, without requiring you to create an automation manually. See [Autopilot](/ai-2-0/collate-ai/autopilot). ## Create an Automation 1. In the left side bar, select **AI Automations** and click **Create**. ![Access AI Automations](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-dashboard.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=e9eb073e814bf23e5ae61a0eb5f8f785) 2. Choose a template, or click **Start from Blank**. Filter templates by category: **All**, **Documentation**, **Quality**, or **Governance**. ![Choose a template when creating an automation](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-create-template.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=1908f237d496f4e653cae1f7cbe3197a) 3. Configure the automation: * **Display Name**: Enter a name for the automation, for example **Auto-document warehouse**. * (Optional) **Description**: Enter what the automation should accomplish. * **Prompt**: Enter the task instructions for the agent. Insert `{{entityFqn}}`, `{{entityName}}`, `{{entityDescription}}`, or `{{jsonPath}}` to reference details about each asset the automation processes. * **Agent**: Select the agent that runs the automation. See [Automation Templates](#automation-templates) for ready-made template agents, or [Agents](#agents) for the full list of available agents. * (Optional) **Scope**: The assets the automation runs on. See [Setting the Scope](#setting-the-scope). * (Optional) **Destinations**: Who is notified when a run completes. See [Choosing Destinations](#choosing-destinations). ![Configure the automation](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-configure.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=fab1eca3e8c4376dda971034d62e8639) If you selected a template, the **Display Name**, **Description**, **Prompt**, **Agent**, **Scope**, and **Asset Type** fields are pre-filled based on the template. You can modify any of these before continuing. ![Configure step with pre-filled fields from a selected template](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-configure-prefilled.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=5093dead83566e406125920df8ff602c) 4. Click **Continue** and set the schedule: * **Schedule**: The automation runs repeatedly based on the frequency you set—**Hourly**, **Daily**, **Weekly**, **Monthly**, or **Custom**—plus the day and time. * **On Demand**: The automation runs once, only when you trigger it manually. ![Set the automation's schedule](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-schedule.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=87cf8571e41b4a2afd8edce11aff70e9) 5. Review the summary—schedule, asset type, and filters—and click **Create Automation**. ### Creating an Automation via Collate AI Chat Ask Collate AI in chat to create an automation instead of going through the wizard. If your request matches exactly one of the [automation templates](#automation-templates), Collate AI clones that template as a starting point, inheriting its agent, prompt, and asset type. It can't clone an automation you've already created yourself. When no single template fully covers your request, Collate AI writes a new prompt and builds the automation from scratch instead. ## Prompt Templates The **Prompt** field is how you tell the agent what to do with each asset it processes. Use template variables to reference the specific asset being processed — Collate substitutes the real value for each asset at runtime. | Variable | Replaced with | | - | - | | `{{entityFqn}}` | The asset's fully qualified name (e.g. `mysql_prod.ecommerce.public.orders`) | | `{{entityName}}` | The asset's short name (e.g. `orders`) | | `{{entityDescription}}` | The asset's current description, if one exists | | `{{jsonPath}}` | The full JSON path to the asset in the catalog | ### Example Prompts **Description Automation — write a description from scratch:** ``` You are a technical writer for a data team. Write a clear, concise description for the table {{entityFqn}}. The description should explain what this table contains, what business process it supports, and who typically uses it. Use plain language — avoid jargon. Two to four sentences. ``` **Description Automation — improve an existing description:** ``` The table {{entityName}} currently has this description: {{entityDescription}} Rewrite it to be clearer and more specific. Keep the same meaning but improve readability. Remove vague phrases like "contains data about" or "stores information on". Two to three sentences. ``` **PII Discovery Automation — classify and justify:** ``` Review the columns of {{entityFqn}} for personally identifiable information. For each column that contains PII, apply the appropriate PII tag and add a one-sentence justification explaining why that column is sensitive. ``` **Tier Management Automation — assign tier based on usage:** ``` Analyze the usage patterns, lineage, and business context of {{entityFqn}}. Assign a governance tier (Tier 1, Tier 2, or Tier 3) based on how critical this asset is to the business. Tier 1 = mission-critical, used daily by many teams. Tier 2 = important, used regularly. Tier 3 = low usage or experimental. Explain your reasoning in one sentence. ``` **Glossary Term Linking Automation — link terms and explain matches:** ``` Review the columns and existing metadata of {{entityFqn}}. Link any columns that match business glossary terms defined in the catalog. For each link, add a short note explaining why the column matches that term. ``` > [!NOTE] > > **Note**: Prompts run once per matched asset. The agent sees the asset's schema, column names, sample values, and existing metadata alongside your prompt — you don't need to describe the table structure yourself. ## Automation Templates Collate ships with six ready-made automation templates to help you get started quickly. Each template is pre-configured with a default prompt and the appropriate agent. Select a template when creating an automation, then customize the prompt and scope as needed. For the full list of available agents, see [Agents](#agents). ![Select an agent for the automation](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-configure-select-agent.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=251e4af6492f952bb35c5791f0c15db0) ### Description Automation Generates and updates human-readable descriptions for tables and columns across your data catalog. It reads each asset's schema, column names, sample values, and existing metadata to produce context-aware descriptions — not generic boilerplate. **Key capabilities:** * Writes descriptions for tables and columns that currently have none. * Refreshes outdated or low-quality descriptions based on current schema and sample data. * Keeps a human in the loop: when a description already exists, the automation opens a suggestion for review instead of overwriting it directly. **When to use:** Onboarding a new data service with undocumented assets, filling coverage gaps after ingestion, or running a scheduled refresh to keep documentation current as schemas evolve. **Default behavior:** * **Empty description**: The automation writes one directly, with no review step. * **Existing description**: The automation opens a suggestion instead of overwriting it, so a person reviews and approves the change before it's applied. * **Existing description that a previous automation run wrote**: The automation skips the field. Because the automation already generated that description once, generating and suggesting it again wouldn't add value. It would only spend tokens redoing work that's already there. * **Table with an open suggestion**: The automation skips the entire table until that suggestion is resolved or dismissed. Otherwise, every run would pile another suggestion on top of the one still waiting for review, so skipping avoids duplicate suggestions and the tokens spent generating them. Skipped tables show up as filtered in the run logs, so you can see why a table was passed over on a given run. > [!TIP] > > **Tip**: This is something you can customize. Change the **Prompt** field to override the default, for example to always overwrite existing descriptions instead of opening a suggestion. ### Data Quality Planner Automation Designs and deploys data quality test suites for your assets using AI. It analyzes each table's structure, constraints, and similarities with other tables to recommend the most relevant checks — then creates them in Collate automatically. **Key capabilities:** * Proposes completeness, accuracy, integrity, consistency, uniqueness, validity, and timeliness tests based on column types and constraints. * Creates test suites and applies them to selected assets on a schedule. * Scales quality coverage without requiring manual test configuration per table. **When to use:** Newly ingested tables that have no quality coverage, periodic audits to expand test coverage across a service, or setting a quality baseline after a schema change. ### Tier Management Automation Analyzes usage patterns, lineage depth, and business value signals to assign the appropriate governance tier (Tier 1, 2, or 3) to your assets. It considers query frequency, the number of downstream dependents, and how the asset is referenced across the organization. **Key capabilities:** * Assigns tiers to untiered assets based on actual usage and lineage, not manual judgement. * Re-evaluates tier assignments as usage changes over time. * Keeps a human in the loop: tier suggestions can be reviewed before being applied. **When to use:** Classifying a batch of newly onboarded tables, auditing tier assignments for a service after significant usage changes, or automating tier governance across a large catalog. > [!NOTE] > > **Note**: The agent analyzes every matched asset, including those that would fall into Tier 4 or Tier 5, but never patches those. Tier 4 and 5 assignments are skipped entirely. Only Tier 1, 2, and 3 are written back to the catalog. ### Domain Assignment Automation Assigns a business domain to tables that have none, by matching each asset's metadata — name, column names, and description — against the domain definitions in your Collate catalog. No SQL is executed; the agent works entirely from metadata. **Key capabilities:** * Reads table and column names, descriptions, and existing tags to infer the right domain. * Matches against the domain descriptions you have set up in Collate. * Processes large numbers of undomained tables in a single scheduled run. **When to use:** After ingesting a new service where assets have no domain, cleaning up domain gaps across an existing catalog, or enforcing domain coverage as a governance requirement. > [!NOTE] > > **Note**: The agent only fills gaps — it never overwrites a domain that is already set. If a table already carries a domain, whether assigned directly or inherited from its schema, the agent leaves it unchanged. ### PII Discovery Automation Classifies columns for personally identifiable information and applies PII tags automatically. It combines column names, sample data values, and profiling results to detect sensitive data — covering names, email addresses, phone numbers, national IDs, financial data, and more. The agent applies two tag levels: | Tag | Applied when | | - | - | | **PII.Sensitive** | Column directly identifies an individual — name, email, SSN, passport number, bank account, credit card number | | **PII.NonSensitive** | Column indirectly identifies an individual — phone number, physical address, city, postal code, URL | Surrogate keys, foreign keys, and opaque internal identifiers that merely reference a person are not tagged — they are join references, not personal data. **Key capabilities:** * Scans columns and applies PII classification tags based on content and naming patterns. * Uses profiler output (sample values and distributions) to catch PII that column names alone don't reveal. * Supports compliance requirements including GDPR, CCPA, and India's DPDP Act. **When to use:** Running a privacy audit before a compliance review, tagging a newly connected data source, or maintaining ongoing PII coverage as new columns are added. ### Glossary Term Linking Automation Links your organization's business glossary terms to the tables and columns they describe. It uses column names, sample data, and profiling to find the best matches — keeping your semantic layer connected to your physical data as schemas evolve. **Key capabilities:** * Maps glossary terms to relevant tables and columns automatically. * Detects new matching opportunities as new assets are ingested. * Keeps term associations current without manual re-linking after schema changes. * Additive only — always appends the matched term to the column's existing term list, never replaces it. No previously linked term is dropped. **When to use:** After adding new glossary terms, after ingesting a new service, or running periodic maintenance to ensure glossary coverage stays high across the catalog. > [!NOTE] > > **Note**: > **Glossary Term Linking Automation consumes significantly more credits than other automations.** Linking requires the agent to explore and compare each column against your full glossary, which involves substantially more reasoning per asset than writing a description or assigning a tier. Confirm your scope's live count before running this automation at scale. ## Agents The **Agent** dropdown lists every agent available in your organization. Select the agent that best fits your automation goal. You can also select any custom agent you have created in [AI Studio](/ai-2-0/collate-ai/ai-studio/agents). ### General **Collate AI (general chat)** The general-purpose agent. Instead of a task-specific worker, it routes your automation through Collate AI's chat intelligence — the same model that powers [Collate AI Chat](/ai-2-0/collate-ai/collate-ai-chat). Use it when no dedicated agent fits your prompt, or when you want to combine multiple types of work in a single automation. **Key capabilities:** * Handles any metadata task you can describe in natural language. * Combines documentation, classification, and quality work in one prompt. * Falls back gracefully when a specialized agent is unavailable. **When to use:** Custom or multi-step workflows that don't map cleanly to a single dedicated agent. ### Automation Agents These agents are designed for use in AI Automations and are available as ready-made templates. See [Automation Templates](#automation-templates) for full configuration details. | Agent | Description | | - | - | | **Description Automation** | Generates and updates descriptions for tables and columns | | **Data Quality Planner Automation** | Designs and deploys data quality test suites | | **Tier Management Automation** | Assigns governance tiers based on usage and business value | | **Domain Assignment Automation** | Assigns business domains to tables with no domain set | | **PII Discovery Automation** | Classifies columns for PII and applies tags | | **Glossary Term Linking Automation** | Links glossary terms to tables and columns | ### Additional Agents **SQL Query Agent** Generates optimized SQL queries based on user requirements. Use in automations that need to produce SQL — for example, generating diagnostic queries for assets in a specific service. **Data Advisor Agent** Advises on the operational state of data assets — ingestion pipelines, dbt jobs, profiler results, and lineage. Diagnoses issues and produces prioritized remediation actions. ### System Agents These agents primarily power Collate UI widgets but are selectable in the dropdown. | Agent | Powers | | - | - | | **Action Required Agent** | "Action Required" landing page widget — surfaces failed ingestion runs and data quality failures with downstream lineage impact | | **Recommended Improvements Agent** | "Recommended Improvements" landing page widget — surfaces missing descriptions, tags, and glossary coverage gaps | | **Summary Agent** | AI summaries for platform health, service connections, and agent and pipeline runs | ## Setting the Scope Scope controls which assets the automation processes and how it executes. > [!WARNING] > > **Important**: > **Automations run on every matched asset.** If your scope matches thousands of tables, the automation runs on all of them. Credit costs vary significantly by automation type — see the cost reference below. Always confirm the live asset count before creating or triggering an automation at scale. ### Automation Cost Reference Different automations consume very different amounts of AI credits per asset. | Automation | Cost level | What drives it | | - | - | - | | **Domain Assignment** | Lowest | Reads table metadata, lists existing domains once, patches one value. No column loop, no sample data. | | **Tier Management** | Low | Analyzes usage, lineage, and ownership for the asset, patches one value. No column loop. | | **Data Quality Planner** | Low–Medium | Reads schema and sample data, then calls one test-generation step per asset. | | **Description Automation** | Medium | Processes columns in batches of 20; the agent reasons on each batch and patches. Scales with column count. | | **PII Discovery** | Medium | Same batch structure as Description — 20 columns per round, classify and patch each batch. | | **Glossary Term Linking** | Highest | Same column batches as Description and PII, plus a glossary search for every individual column and one more for the table. Costs scale with both column count and glossary size. | ### To Run on Specific Entities or a Specific Service Configure any scope — an asset type, a condition, or a scope chip. The automation runs **once per matched asset**, sequentially. Each asset gets its own isolated agent invocation with its own rendered prompt. * **Select Asset Type** — choose the kind of asset to process: Table, Topic, Dashboard, Pipeline, ML Model, Container, Search Index, Stored Procedure, or Data Product. * **Conditions** — filter which assets within that type are included. For example, add **Service** **is** `mysql_prod` to limit the automation to assets in that specific service. Add multiple conditions to narrow further — all conditions must match. * **Scope Chips** — one-click shortcuts to further narrow the matched set: * **Tier 1 / 2 / 3** — limits to assets at that governance tier. Select multiple tiers to match any of them. See [Tiering](/ai-2-0/how-to-guides/data-insights/tiering). * **No description** — limits to assets with no description set. Combine with a tier chip to target, for example, Tier 1 assets that still lack descriptions. ### To Apply Globally Across a Selected Asset Type Leave the condition builder empty — select an asset type but add no conditions. The automation runs against **every asset of that type across all services**. For example, selecting **Table** with no conditions runs the automation on every table in every database service in your catalog. Leave the scope completely empty — no asset type, no conditions, no chips — to run the automation **once with no entity context**, useful for catalog-wide reports or actions not tied to a specific asset. > [!NOTE] > > **Note**: A single run processes up to **500 matched assets**. If your scope matches more, the run stops at 500 and logs a warning. Split large scopes across multiple automations — for example, one per service — to stay within the limit. ### Live Count As you adjust the scope, Collate shows a live count of matching assets with a link to view them on the Explore page. Confirm the count before creating the automation. ## Choosing Destinations Destinations decide who is notified when an automation runs. Choose **Internal** to notify people in Collate, or **External** to notify people outside Collate. * **Internal**: * **Recipient type**: Choose **Users**, **Teams**, **Admins**, **Owners**, **Followers**, **Mentions**, or **Assignees**. * **Users, Teams, Mentions, or Assignees**: Search for and select specific people or teams. * **Admins, Owners, or Followers**: No picker needed—Collate automatically notifies everyone in that group for the relevant assets. * **Channel**: Choose **Email** or **Slack**. Slack isn't available when the recipient type is **Users**, **Admins**, or **Followers**. * **External**: * **Channel**: Choose **Email** or **Slack**. * **Email**: Enter one or more email addresses, pressing **Enter** after each. * **Slack**: Enter a Slack channel name, for example `#channel-name`. ![Choose destinations for the automation](https://mintcdn.com/collatedocs/upR0ShcKvEojE0Rd/public/images/ai-2.0/collate-ai/ai-automation/ai-automations-configure-destinations.png?fit=max\&auto=format\&n=upR0ShcKvEojE0Rd\&q=85\&s=7313862ea9fb9c1e78a07a739a77461d) Click **Add Destination** to notify more people or teams, or to add another channel. > [!NOTE] > > **Note**: Slack destinations are delivered through the [Slack Application](/ai-2-0/admin-guide/applications/slack). Install it first and invite it to the channel. For the PDF report to be attached, its bot token needs the `files:write` scope. ## Viewing and Managing Automations After a AI Automation is created, it appears in the **AI Automations** landing page. The Automation tables shows the following details: * **Summary cards**: total automations and how many are active, how many are running now, and how many need attention after a failed run. * **Automations table**, filterable by **All**, **Active**, or **Attention**, with columns for the automation name, schedule, recent runs, last run time, an on/off status toggle, and actions. * **Run**: trigger the automation once immediately, without waiting for its schedule. * **Manage automations**: Click the **⋮** menu on a row for further actions: * **Edit**: Reopen the wizard to change the automation's configuration or schedule. * **Deploy**: Push the automation's schedule to the pipeline runner. Automations deploy automatically after you create or save them, so this step usually isn't necessary. Use it to manually redeploy if an automatic deployment fails. * **Kill**: Stop a run that's currently in progress. * **Delete**: Permanently remove the automation. ![Manage an automation from the row actions menu](https://mintcdn.com/collatedocs/iES0mLmZlv3DDI8N/public/images/ai-2.0/collate-ai/ai-automation/manage-automation.png?fit=max\&auto=format\&n=iES0mLmZlv3DDI8N\&q=85\&s=2e2f43d8f81ff889977892e9daaa8ef4) ## Reading What a Run Found Ask Collate AI in chat what an automation's run produced. For example, ask "What did the Description Automation find in its last run?" Collate AI resolves the automation, reads the messages from that run's conversation, and reports them back. This comes from the run's conversation rather than its logs, so it can also explain the reasoning behind decisions such as tier assignments. Name a specific run, or leave it out to get the most recent one. Anyone who can view the automation can read what its runs produced, the same permission as viewing it. There's no separate permission for this. ![Collate AI chat reporting a Description Automation run's findings](https://mintcdn.com/collatedocs/YtZPzCzrOXv8SO5r/public/images/ai-2.0/collate-ai/ai-automation/collate-ai-automation-chat.png?fit=max\&auto=format\&n=YtZPzCzrOXv8SO5r\&q=85\&s=077fd7c30871c4f04a8e8b0814b4eede) > [!NOTE] > > **Note**: Findings are only available for runs that happened after this capability shipped. A run from before then returns nothing, not an error, because it never recorded a conversation to read from. ## Permissions Only users with the right permissions on the AI Automation resource can manage automations: | Action | Permission required | | - | - | | Create an automation | Create | | View automations | ViewBasic | | Edit an automation | EditAll | | Run an automation | Trigger | | Deploy an automation | Deploy | | Delete an automation | Delete | Administrators have full access by default. Built-in templates are read-only for everyone, including administrators—start from a template to create your own editable copy instead of modifying the template directly. # Approvals Source: https://docs.getcollate.io/ai-2-0/collate-ai/ai-governance/approvals Review AI assets pending registration, check their intake status, and approve or reject them. # Approvals The **Approvals** page lists every AI Application, LLM Model, and MCP Server waiting on a decision after being submitted through the [registration wizard](/ai-2-0/collate-ai/ai-governance/asset-registry). Anyone with edit access to that asset type can approve or reject it from here. ## Why It Matters Registration only gets an asset into the inventory. Approval is what decides whether it's actually cleared for use: * **One queue for every pending asset** awaiting a decision. * **Intake checks up front**, so a reviewer can see at a glance what's missing (an owner, a risk classification, fairness evidence) before deciding. * **A decision, not just a review.** Approve or reject directly from the queue, with a required reason when rejecting. ## Access Approvals 1. In the left navigation bar, select **Governance**. 2. Under the **AI Assets** section, select **Approvals**. ![Approvals page](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/access-approvals.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=368d8659dc6a8432b70dc7a1514bdfe1) ## Reviewing a Submission Each pending asset appears as a card: * The asset's **name**, with a risk badge (for example, **High risk**) if it was classified High or Unacceptable during registration. * **Submitted by** the user who registered it, and when. * A **Summary** of what the asset does and why it needs approval. * **Intake Checks**, with a passing count (for example, "1/5 passing") and five individual checks: | Check | What it confirms | | - | - | | **Owner assigned** | The asset has an owner. | | **Risk classification complete** | A risk tier was set during registration. | | **Fairness evidence attached** | Evidence of a fairness or bias evaluation is on file. | | **DPIA referenced** | A Data Protection Impact Assessment is linked. | | **Transparency disclosure** | The asset discloses to users that they're interacting with AI. | ![Approval card detail, showing Summary and Intake Checks](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/approval-card-details.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=e335fd517180175c35c3645883c03756) A missing check doesn't block you from approving. It's a signal for the reviewer to weigh, not a hard gate. ## Approving or Rejecting * To approve an AI asset, click **Approve** on its card. * To reject an AI asset: 1. Click **Reject** on its card. ![Approve and Reject](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/approve-reject.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=4c92f89c25b0101c3da9d0e437b2cff5) 2. In the reject dialog, add a comment explaining why, so the submitter knows what to fix before registering again. ![Reason for rejection](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/reject-reason.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=54fd1e4c1837c391c14ed3a03c3f01ae) 3. Click **Reject**. # AI Asset Registry Source: https://docs.getcollate.io/ai-2-0/collate-ai/ai-governance/asset-registry Register an AI Application through the intake wizard, and review any AI asset's compliance, lineage, policies, and activity from its detail page. # AI Asset Registry The **AI Asset Registry** is the single inventory of every AI system your organization uses: AI Applications, LLM Models, and MCP Servers. Instead of AI usage being scattered across teams, cloud accounts, and personal experiments with no central record, every asset lives in one list with its owner, risk classification, compliance status, and data exposure visible at a glance. ## Why It Matters Most organizations can't answer basic questions about their own AI usage: which systems touch sensitive data, who's responsible for them, or whether they were ever reviewed. The registry exists to make those questions answerable without a manual audit: * **One inventory, not a spreadsheet someone forgets to update.** Assets stay current because registration is tied into how Collate already tracks data, lineage, and ownership. * **Compliance becomes a byproduct of registration, not a separate fire drill.** Registering an asset captures the information (data access, deployment region, risk factors) that frameworks like the EU AI Act need, so you're not scrambling to reconstruct it when an audit comes up. * **Risk is visible before it's a problem.** High-risk and unowned assets are surfaced on the registry and the [Overview](/ai-2-0/collate-ai/ai-governance) dashboard, not discovered after something goes wrong. * **Review doesn't stop at a name and description.** Because Collate already models your data estate, an asset's registry entry connects to real lineage: what tables and tools it actually touches. This lets reviewers assess actual exposure, not just a self-reported summary. ## Access AI Asset Registry 1. In the left navigation bar, select **Governance**. 2. Under the **AI Assets** section, select **AI Asset Registry**. ![AI Asset Registry list](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/registry-list.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=202fca7ca54c1f3722ac9a5ef956bc02) ## Register an AI Asset Registering an asset brings it under governance: * It becomes visible in the inventory. * It gets classified against your compliance frameworks. * It routes into the approval process. For more information, see [Approvals](/ai-2-0/collate-ai/ai-governance/approvals). Registering doesn't block your work. Creating the asset is deliberately separate from its compliance review, so you register early and the review happens in parallel. To register an AI asset, click **Register** and follow the steps below: ![Select register](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/select-register.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=021a7e6f5dabd4e1eaef4e9a9b037ed9) > [!NOTE] > > **Note**: This wizard registers an **AI Application** specifically. LLM Models and MCP Servers appear in the registry through other parts of the product rather than through this wizard. ### Step 1: Identify Start by naming and describing the asset: * Enter a unique **Asset Name**. * Select a **Type**: | Type | Description | | - | - | | **Chatbot** | Conversational interface for answering questions in natural language. | | **Agent** | Autonomous system that takes multi-step actions to complete a task. | | **Copilot** | AI that assists a user within an existing workflow or tool, rather than acting on its own. | | **Assistant** | General-purpose AI helper for a range of tasks, not tied to one specific workflow. | | **RAG** | Retrieval-augmented generation: answers grounded in results retrieved from a knowledge base or document store. | | **Code Generator** | Generates or completes code. | | **Data Analyst** | Analyzes data and produces insights, summaries, or reports. | | **Automation Bot** | Runs a predefined task or workflow without ongoing human input. | | **Multi-Agent** | Multiple AI agents coordinating together to complete a task. | | **Custom** | Any AI application that doesn't fit the categories above. | * Enter a **Description** of what the asset does. * Optional: Enter a **Domain** to link the asset to the same domain your data already uses, so you're not maintaining a second, parallel structure just for AI. ![Register AI Asset, Step 1: Identify](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/identify.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=f0b6d976096363b5f3452dae0c57dfed) ### Step 2: Data & Deployment Next, describe where the asset runs and what data it touches: * Select a **Deployment Stage**: | Stage | Description | | - | - | | **Proposal** | Not yet built, still being scoped or evaluated. | | **Development** | Being actively built and not yet accessible to end users. | | **Testing** | Functionally complete and undergoing QA or validation before wider release. | | **Staging** | Deployed to a pre-production environment for final checks before going live. | | **Production** | Live and in active use. | | **Deprecated** | No longer maintained or being phased out, but might still be running. | | **Unauthorized** | Found in use outside the normal registration flow and being brought under governance. | * Select the **Affected user count (estimate)**: `<1k`, `1k-10k`, `10k-100k`, or `>100k`. * Select one or more **Deployment regions** (required). Each region has its own AI regulations, so this determines which compliance frameworks apply to the asset later. | Region | Covers | | - | - | | **EU** | European Union. | | **US** | United States. | | **UK** | United Kingdom. | | **APAC** | Asia-Pacific. | | **CA** | Canada. | | **LATAM** | Latin America. | | **MENA** | Middle East and North Africa. | * Turn on **Accesses Personal Data (PII)** if the asset processes names, emails, identifiers, or any other data that can identify an individual. * Turn on **Accesses Sensitive data** if the asset processes health, financial, biometric, location, or special-category data. * Select any applicable **Data Categories**: | Category | Description | | - | - | | **Customer profile** | Names, contact details, or account information tied to individual customers. | | **Support transcripts** | Records of customer support conversations. | | **Payment history** | Transaction or billing records. | | **Resume content** | Candidate resumes or job application materials. | | **Performance ratings** | Employee or vendor performance evaluations. | | **Telemetry** | Usage or behavioral data collected automatically from a product or service. | | **Slack messages** | Content from internal Slack conversations. | | **Marketing leads** | Contact and engagement information for sales or marketing prospects. | ![Register AI Asset, Step 2: Data & Deployment](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/data-deployment.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=784273d9d55a195ca1e4a7f96316ad23) ### Step 3: Risk Classification This step walks through the EU AI Act's risk criteria and suggests a risk tier. Override it with your own rationale if needed. 1. Turn on any applicable **Article 6 (High-risk Categories)** (EU AI Act Annex III high-risk use categories). Turning any of these on suggests a **High** risk classification. | Category | Description | | - | - | | **Critical infrastructure** | Manages or supports critical infrastructure such as energy, water, or transport networks. | | **Education & vocational training** | Determines access to education or evaluates students. | | **Employment & worker management** | Used in hiring, performance evaluation, or workforce management decisions. | | **Essential private services** | Determines access to essential private services, such as credit scoring or insurance pricing. | | **Essential public services** | Determines eligibility for public benefits or essential public services. | | **Law enforcement purposes** | Supports law enforcement activities, such as risk assessment or evidence evaluation. | | **Migration, asylum, borders** | Used in migration, asylum, or border control decisions. | | **Justice & democratic processes** | Assists judicial decision-making or influences democratic processes such as elections. | 2. Turn on any applicable **Article 5 (Prohibited Practices)**. The wizard warns, "None of these may be true. If any are, the system is prohibited." Turning any of these on suggests an **Unacceptable** classification. | Practice | Description | | - | - | | **Subliminal manipulative techniques** | Manipulates behavior beyond a person's awareness in a way that causes harm. | | **Exploitation of vulnerabilities** | Exploits a person's age, disability, or social or economic situation to distort their behavior. | | **Social scoring by public authorities** | Evaluates or classifies people based on behavior or characteristics to determine broad social treatment. | | **Risk assessment solely from profiling** | Predicts the likelihood of someone committing a crime based only on profiling, with no other factors. | | **Untargeted facial-image scraping** | Builds facial recognition databases by scraping images from the internet or CCTV without targeted collection. | | **Emotion recognition (workplace/education)** | Infers emotions in workplace or educational settings. | | **Biometric inference of sensitive attributes** | Infers sensitive attributes, such as race, political views, or sexual orientation, from biometric data. | | **Real-time biometric ID in public spaces** | Real-time remote biometric identification in publicly accessible spaces for law enforcement purposes. | 3. Select a **Final classification**. The wizard pre-selects a suggestion based on your answers above (including whether the asset accesses PII or sensitive data categories from Step 2). Override it if needed. | Classification | Meaning | | - | - | | **Minimal** | Little to no risk under the EU AI Act. Most everyday AI applications fall here. | | **Limited** | Some risk, typically requiring transparency measures such as disclosing that a user is interacting with AI. | | **High** | Falls into an Annex III high-risk category, subject to the strictest requirements: registration, risk management, and human oversight. | | **Unacceptable** | Matches a prohibited practice under Article 5. The system cannot be deployed. | ![Register AI Asset, Step 3: Risk Classification, Article 6 high-risk categories](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/risk-classification.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=9e7729aa05f691cb474b41ec124f6429) ### Step 4: Submit for Review Finish by reviewing the summary and submitting: * Review the summary of everything entered: Deployment Stage, Regions, Affected user count, PII/Sensitive data, and Data Categories. * Review the **Frameworks that will apply** to this asset, computed from the regions you selected in Step 2. ISO/IEC 42001 always applies, and region-specific frameworks like the EU AI Act are added based on your selection. * Optional: Enter **Notes for the Reviewer**: context like known limitations or scope decisions. * Click **Submit for Review**. ![Register AI Asset, Step 4: Submit for Review](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/submit.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=61e5b1b1740128a6b6c13be9c0c890e9) Submitting sets the asset's registration status to **Pending Approval** and adds it to the Approvals queue. ## Explore the AI Asset Registry The AI Asset Registry home page shows the list of all registered assets in a table, with the following columns: * **Asset**: Shows the asset's name, with its deployment stage or connection type displayed underneath. * **Type**: Indicates which kind of asset it is: an AI Application, LLM Model, or MCP Server. * **Owner**: Shows the name of the asset's owner. * **Risk**: Shows the asset's current risk classification. * **Status**: Shows the asset's compliance status for the currently selected framework. * **PII**: Indicates whether the asset accesses personal data. * **Region**: Shows where the asset is deployed. * **Last Assessed**: Shows the date the asset was last evaluated against the selected framework. ![AI Asset Registry table](https://mintcdn.com/collatedocs/w2C-PZRVxOrBSkyU/public/images/ai-2.0/collate-ai/ai-governance/assets-table.png?fit=max\&auto=format\&n=w2C-PZRVxOrBSkyU\&q=85\&s=0aaba4751d6510c0da6cefc0c4fa9ea7) Three dropdowns above the table let you narrow down the list: | Filter | What it does | | - | - | | **Type** (defaults to "All") | Show only assets of one kind: AI Application, LLM Model, or MCP Server. | | **Risk** (defaults to "Any risk") | Show only assets at a specific risk tier: Mi