> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Ingest Metadata | Official Documentation

> Learn how to ingest metadata using connectors for databases, pipelines, dashboards, and storage systems.

# How to Ingest Metadata

*This guide covers how to integrate third-party sources with Collate and run ingestion workflows from the UI.*

Collate supports metadata ingestion from third-party sources through the CLI or the UI. Admin users can connect to multiple source types: Databases, Dashboards, Pipelines, ML Models, Messaging, Storage, and Metadata services. You can add a connector and schedule metadata fetches at your preferred frequency.

<Tip>
  **Note:** You must have **Admin** access in the source tool to add a connector and ingest metadata.
</Tip>

The following steps let you fetch metadata from a Snowflake database service. The steps are the same for other supported database services.

## Step 1: Create a Service Connection

1. Go to the **Settings** page and click **Services**.
   <img src="https://mintcdn.com/collatedocs/x9hR_QWXd39IXESB/public/images/how-to-guides/admin-guide/connector1.png?fit=max&auto=format&n=x9hR_QWXd39IXESB&q=85&s=d1d43414ea4f6ef7c4bfe966b930ab3c" alt="Create a Service Connection" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/connector1.png" />
2. On the next page, select **Databases** and click **Add New Service**.
   <img src="https://mintcdn.com/collatedocs/x9hR_QWXd39IXESB/public/images/how-to-guides/admin-guide/connector1.1.png?fit=max&auto=format&n=x9hR_QWXd39IXESB&q=85&s=b2775de6b27787f1439ddef05b7f4682" alt="Create a Service Connection" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/connector1.1.png" />
   <img src="https://mintcdn.com/collatedocs/x9hR_QWXd39IXESB/public/images/how-to-guides/admin-guide/connector1.2.png?fit=max&auto=format&n=x9hR_QWXd39IXESB&q=85&s=61e627b11428855bd0963a2045f61d8b" alt="Create a Service Connection" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/connector1.2.png" />

## Step 2: Select a Database Connector

Select the **Snowflake** database service and click **Next**. You can select your desired database from the various database service options available.

<img src="https://mintcdn.com/collatedocs/x9hR_QWXd39IXESB/public/images/how-to-guides/admin-guide/connector2.jpg?fit=max&auto=format&n=x9hR_QWXd39IXESB&q=85&s=57ae33be3d83041f577e6dde4dfee168" alt="Select the Database Connector" width="1197" height="1433" data-path="public/images/how-to-guides/admin-guide/connector2.jpg" />

## Step 3: Configure the Service

Enter a unique **Service Name** and **Description**, then click **Next**.

* **Service Name** (required): No spaces allowed. Apart from letters and numbers, you can use \_ - . & ( )
* **Description** (optional): Add a description to document the service and support data culture.

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake1.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=762bf43af0d5b86ada9edc995aac7eca" alt="Configure Snowflake" width="1422" height="665" data-path="public/images/how-to-guides/admin-guide/snowflake1.png" />

## Step 4: Enter Connection Details

Enter the **Connection Details** for your service.

The connector documentation is available in the right side panel within Collate. Required fields differ based on the service you selected. Enter your credentials to create the service and set up ingestion workflows.

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake2.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=91b617ecd94967835f4d4bc681c66c2a" alt="Connection Details" width="703" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake2.png" />

## Step 5: Test the Connection

1. Click **Test Connection** to verify access before saving.
   * The test checks connectivity and confirms which data assets can be ingested using the provided credentials.
     <img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake3.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=63634fd04364790904399a65a1aa9030" alt="Test the Connection" width="1602" height="430" data-path="public/images/how-to-guides/admin-guide/snowflake3.png" />
   * The **Connection Status** panel shows access results for the service and its data assets.
     <img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/testconnection1.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=b1eeacdea2f4be7a5cd60b4ef4e865ba" alt="Connection Successful" width="1509" height="1156" data-path="public/images/how-to-guides/admin-guide/testconnection1.png" />
2. After the connection test passes, click **Save**.

## Step 6: Save the Service and Add an Agent

1. Add the default schema, database, and table filter patterns, and then click **Save** to create and configure the database service.

   <img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake4.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=dd4eebc75fd8c71387f8e7d0b66a5c89" alt="Snowflake Service Created" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake4.png" />

   After saving, Collate navigates you to the Database service page. From here you can view the **Insights**, **Databases**, **Agents**, and **Connection Details** tabs.

2. To start ingesting metadata, add a metadata agent using one of these two methods:

   * Go to the **Agents** tab and click **Add Metadata Agent**.
   * Click **Add Agent** directly from the service page.
     <img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake5.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=64797b7f6f39a6c5ce4c7060219f9d7b" alt="View Snowflake Service" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake5.png" />

<Tip>
  **Tip:** The **Connection** tab shows the connection details and a summary of what data can be ingested from the source using this connection.
</Tip>

## Step 7: Configure the Metadata Agent

Click **Add Agent** and enter the following details:

* **Name:** Pre-populated with the service name and a randomly generated suffix to ensure uniqueness.
* **Database Filter Pattern:** Include or exclude specific databases. A database service can contain multiple databases — use this filter to ingest only the ones you need.
* **Schema Filter Pattern:** Include or exclude specific schemas within a database.
* **Table Filter Pattern:** Include or exclude specific tables within a schema. Use the toggle options to configure the following:
  * **Use FQN For Filtering**
  * **Include Views** — generates lineage
  * **Include Tags**
  * **Enable Debug Log** — recommended for troubleshooting
  * **Mark Deleted Tables**
* **View Definition Parsing Timeout Limit:** Defaults to `300`.

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake6.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=342212e49e9da3c0c0974e6a5e19c346" alt="Configure Metadata Agent" width="1552" height="1420" data-path="public/images/how-to-guides/admin-guide/snowflake6.png" />

## Step 8: Schedule the Metadata Agent

Define when the metadata agent pipeline runs. Select a preset schedule or enter a **Custom Cron** expression.

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/schedule.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=c935b04c1964e3ccf51f1387ca22f449" alt="Schedule and Deploy Metadata Agent" width="2051" height="1433" data-path="public/images/how-to-guides/admin-guide/schedule.png" />

## Viewing Agent Run Status

After the pipeline deploys successfully, click **View Service**. The **Agents** tab shows the status and run history for each agent — including whether a pipeline is queued, running, failed, or successful.

Hover over an agent to see its scheduling frequency and the start and end times for recent runs.

From the **Agents** tab, you can perform the following actions:

* **Run:** Trigger the pipeline immediately.
* **Kill:** Stop all currently running instances of the pipeline.
* **Redeploy:** Re-fetch data using updated credentials. Use this if the source connection credentials change after the initial setup — redeploying applies the new access permissions and ingests any additionally accessible data.

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/view-service.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=97255403d730f22604897603be7048fa" alt="View Service Agent" width="2943" height="894" data-path="public/images/how-to-guides/admin-guide/view-service.png" />

## Browsing Ingested Data

After ingestion, the **Databases** tab on the service page lists all ingested databases. From there, drill down to view **Schemas** and **Tables**.

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake7.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=fc0fa515ce9d8bf51483f26a222d3fe4" alt="View Table Details" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake7.png" />

<Tip>
  **Note:** After running a metadata agent pipeline, you can create separate pipelines for [**Usage**](/how-to-guides/guide-for-data-users/ingestion/workflows/usage), [**Lineage**](/how-to-guides/guide-for-data-users/ingestion/workflows/lineage), [**dbt**](/connectors/database/dbt), and [**Profiler**](/how-to-guides/data-quality-observability/profiler/profiler-workflow). To add a pipeline, go to the **Agents** tab, select the required agent type, and enter the details.
</Tip>

<img src="https://mintcdn.com/collatedocs/sbIytYIi4ap5f8fM/public/images/how-to-guides/admin-guide/snowflake8.png?fit=max&auto=format&n=sbIytYIi4ap5f8fM&q=85&s=5deca44be07c8b64e4b3f04e5869c8f5" alt="Add Agent Pipelines for Usage, Lineage, Profiler, and dbt" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake8.png" />

## Managing Services

Admin users can create, edit, or delete services, and view connection details for existing services.

<Tip>
  **Pro Tip:** For agent configuration and scheduling, see [Best Practices for Metadata Agent](/how-to-guides/guide-for-data-users/ingestion/best-practices).
</Tip>

<Card title="Delete a Service Connection" href="/how-to-guides/admin-guide/delete-service-connection">
  Permanently delete a service connection.
</Card>
