> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/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 OpenMetadata and run ingestion workflows from the UI.*

OpenMetadata 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.

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

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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/connector1.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=b8d23a60f5ae32fce5c03460baae43e4" alt="Select Services" 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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/connector1.1.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=a0e2639634a4f1ef936d58ea9f35aef8" alt="Select a Service" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/connector1.1.png" />

   <img src="https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/connector1.2.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=3b85ad87a9b531edb8e30085f7f0ee81" 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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/connector2.jpg?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=54f113419867f90033a54a618d5ac75b" 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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/snowflake1.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=f508a5bae50042e0935acb5282f47de0" 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 the OpenMetadata product UI. 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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/snowflake2.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=adb22ec0603861e44b295bc325d405c8" 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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/snowflake3.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=54fe9c27745a547b7ead10632958774a" 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/openmetadata/W-h7zy_HSORZDwGK/public/images/how-to-guides/admin-guide/testconnection1.png?fit=max&auto=format&n=W-h7zy_HSORZDwGK&q=85&s=5c85597fabd29da865e2160631e3b525" 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/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/snowflake4.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=acf5ca461662f3e7fbd189eff854dd18" alt="Snowflake Service Created" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake4.png" />

   After saving, the **Database Service** page appears. You can view the **Insights**, **Databases**, **Agents**, and **Connection** tabs on this page.

   <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>

2. Go to the **Agents** tab and click **Add Agent** > **Add Metadata Agent**.

   <img src="https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/snowflake5.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=7223ce27ad91514b9611073aab877334" alt="View Snowflake Service" width="2943" height="1424" data-path="public/images/how-to-guides/admin-guide/snowflake5.png" />

   <Note>
     **Note**: The **Agents** tab is visible only to Admins, direct owners of the service, or members of an owner team.
   </Note>

## Step 7: Configure the Metadata Agent

To set up the metadata agent, enter and configure the following details and click **Next**:

* **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 settings:
  * **Use FQN For Filtering** – to apply the filters on fully qualified names.
  * **Include Views** – to control whether to include views as part of metadata ingestion.
  * **Include Tags** – to include tags as part of metadata ingestion.
  * **Enable Debug Log** – recommended for troubleshooting.
  * **Mark Deleted Tables** – enables soft deletion of tables during ingestion.
* **Query Parsing Timeout Limit**: Specify the timeout limit for parsing the view definition SQL queries to perform lineage analysis. Defaults to `300`.

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

## Step 8: Schedule and Deploy the Metadata Agent

Define when the metadata agent pipeline runs. You can select a preset schedule or create a **Custom** schedule.

1. Select **Schedule**.
2. From the **Every** drop-down, select a preset interval (**Hour**, **Day**, **Week**, or **Month**) or select **Custom** to define your own schedule.
3. Enter **Number of Retries**. This sets the number of times the ingestion workflow restarts in case of failure.
4. Click **Add & Deploy**.
   <img src="https://mintcdn.com/openmetadata/qho-E1y9MslmzIeO/public/images/how-to-guides/admin-guide/schedule.png?fit=max&auto=format&n=qho-E1y9MslmzIeO&q=85&s=e750d6fa2e32ca8328a40477edd43ef2" 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 view its scheduling frequency and the start and end times for recent runs.

On the **Agents** tab, click the three-dot menu next to an agent to perform the following actions:

* **Run**: Trigger the ingestion pipeline immediately.
* **Kill**: Stop all currently running instances of the pipeline.
* **Re Deploy**: Redeploy the pipeline definition after configuration, schedule, or credential changes. Use this if the source connection credentials change after the initial setup – redeploying applies the new access permissions and ingests any additionally accessible data.
* **Edit**: Edit or update an agent.
* **Delete**: Remove an agent from the list.

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

## Browsing Ingested Data

Connecting to a database service lets you ingest databases, schemas, tables, and columns. The **Databases** tab on the **Service** page lists all ingested databases. You can further drill down to view **Schemas** and **Tables** for each database.

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

<Note>
  **Note**: After running a metadata agent pipeline, you can create separate pipelines for [**Usage**](/v1.12.x/connectors/ingestion/workflows/usage), [**Lineage**](/v1.12.x/connectors/ingestion/workflows/lineage), [**dbt**](/v1.12.x/connectors/database/dbt), or [**Profiler**](/v1.12.x/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.
</Note>

<img src="https://mintcdn.com/openmetadata/W-h7zy_HSORZDwGK/public/images/how-to-guides/admin-guide/snowflake8.png?fit=max&auto=format&n=W-h7zy_HSORZDwGK&q=85&s=a8a2d72288b1a6a18bdcf36e8585c0f1" 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>
  **Tip**: For agent configuration and scheduling, see [Best Practices for Metadata Agent](/v1.12.x/connectors/ingestion/best-practices).
</Tip>

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