--- title: Create a dbt Cloud metadata collector description: Create a collector to import metadata from dbt Cloud. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/create-dbt-cloud-metadata-collector.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 6 breadcrumb: [dbt Cloud metadata collector, Configuring metadata collectors, Data Catalog, Workflow Data Fabric] --- # Create a dbt Cloud metadata collector Create a collector to import metadata from dbt Cloud. ## Before you begin Before you begin, verify the following: - All per-requisite tasks are completed. For more information, see [Prepare to run the dbt Cloud collector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/prepare-to-run-dbt-cloud-collector.md). - If you plan to run the collector on-premise, a MID Server is setup for the collector. For more information, see [MID Server for metadata collectors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/mid-server-for-metadata-collectors-dc.md). - Role required: connection-admin ## Procedure 1. Navigate to **All** > **Workflow Data Fabric** > **Workflow Data Fabric Home**. 2. Select the Connect Hub \[Omitted image "wdf-connect-hub-icon.png"\] Alt text: Connect Hub icon icon in the left sidebar. 3. Select **Create** > **Metadata collector**. 4. From the System list, select **dbt Cloud**. 5. From the Connection type list, select one of the following: 1. Select **New connection** to configure a new connection. 2. Select **Existing connection** to reuse an existing connection and select an existing connection from the **Connections** list. The configuration form is filled with details from the existing connection. The name is appended with the word Copy and sensitive details like password aren't copied. 6. On the form, fill in the fields. |Field|Description| |-----|-----------| |Connection name|Unique identifier for the connection. This field can't be modified once the connection is established.| |Short description|Purpose and details of the connection.| 7. Configure the connection options.
Field Description
dbt Cloud host The host for your organization's account on dbt cloud. If left unspecified, the default host is assumed as cloud.getdbt.com.
Use MID server Option to connect to the source system through a MID Server. When selected, the **MID selection** options appear.
MID selection MID Server routing option for the collector job. This field appears only when **Use MID server** is selected. - **Auto-Select MID Server** — The system selects an available MID Server at job execution time. Default selection. - **Specific MID Server** — The collector job runs on the selected MID Server. If the MID Server is offline at job execution time, the job fails with an error identifying the MID Server by name. - **Specific MID Cluster** — The collector job runs on any available MID Server within the selected cluster.
MID Server MID Server to use for the collector job. This field appears only when **Specific MID Server** is selected. The selected MID Server is saved on the collector record and used for all subsequent collection runs until changed.
MID Cluster MID cluster to use for the collector job. This field appears only when **Specific MID Cluster** is selected. The selected cluster is saved on the collector record; any available MID Server within the cluster may serve the job.
Capabilities One or more capability labels that restrict auto-selection to MID Servers advertising those capabilities. This field appears only when **Auto-Select MID Server** is selected.
MID application MID Server application to use for the collector job. This field appears only when **Auto-Select MID Server** is selected.
8. Enter the dbt Cloud configuration details. |Field|Description| |-----|-----------| |dbt Cloud API key|A dbt cloud-issued API key with permissions to access the specified account.| |dbt cloud account|The dbt cloud account that owns the project from which to harvest dbt metadata artifacts.| |dbt Cloud project|The name or numeric identifier of the project from which to harvest dbt metadata artifacts.| |dbt cloud run ID|The numeric identifier of the run that produced the artifacts to be harvested. If not specified, the most recent successful run that produced artifacts within the project is harvested.| |dbt Cloud environment|The dbt Cloud environment \(ID or name\) used to filter the job runs from which to harvest dbt metadata artifacts.| |dbt Cloud job|The dbt Cloud job \(ID or name\) used to filter the job runs from which to harvest dbt metadata artifacts.| 9. Enter the target database details. **Note:** You must set the **Target database** to **Snowflake overrides** to harvest Snowflake lineage relationships between columns specified through views.
Field Description
Target database Option to override the database connection information configured on the Project in dbt cloud - **No Target database overrides**: Enables the collector to skip connecting to a data warehouse and only harvest dbt assets. No lineage is available for views - **Snowflake overrides**: Select to harvest Snowflake lineage relationships between columns specified through views
Authentication \(Snowflake overrides\)
Authentication Authentication method to use if **Snowflake overrides** is selected - **No Snowflake authentication overrides** - **Snowflake username and password overrides** - **Snowflake private key file overrides** **Note:** If you select Snowflake overrides and don't provide any authentication details, the collector obtains connection information \(Snowflake account, role, and warehouse\) from the identified dbt Cloud run.
Snowflake username and password overrides
Database username User credential to use in connecting to the target database
Database password Password credential to use in connecting to the target database
Snowflake private key file overrides
Database username Username to use in connecting to the target database
Snowflake key file path Private key file to use for authentication with Snowflake \(for example rsa\_key.p8\). Use this option to override the dbt profile
Snowflake key file password Password for the private key file if the key is encrypted and a password was set. Use this option to override the dbt profile or cloud configuration
Other optional settings
Snowflake application Application connection parameter to use in connecting to the target Snowflake database. Use this option to override the dbt profile or cloud configuration Default: datadotworld
Snowflake account Snowflake account or tenant
Snowflake role Role to use in connecting to the target Snowflake database. Use this option to override the dbt profile or cloud configuration. This field is case-insensitive
Snowflake warehouse Warehouse to use in connecting to the target Snowflake database. Use this option to override the dbt profile or cloud configuration. This field is case-insensitive
10. Enter the advanced options.
Field Description
Max retries The number of times the system retries a failed API call.Default: 5
Retry delay The number of seconds to wait between retry attempts for a failed API call.Default: 2 seconds
API HTTP headers Name-value pairs included as HTTP headers in API calls made by the collector. Add one value per line to specify multiple headers.
JDBC driver properties JDBC driver properties to pass through to driver connection. Specify multiple JDBC driver properties by adding one value per line.If you are using the NTLM authentication, you must set two JDBC properties as: - integratedSecurity=true - authenticationScheme=NTLM
11. Select **Save**. ## Result The metadata collector is created and appears on the Connectors page with a Configured status. It is now ready to connect to the source system and harvest metadata. ## What to do next After creating the collector, you can perform any of the following tasks: - Run the collector manually to harvest metadata immediately. See [Run metadata collectors manually](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/run_metadata-collectors-manually.md). - Automate metadata collection by scheduling regular collector runs. See [Schedule metadata collector runs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/schedule-metadata-collector-runs.md). - Monitor execution status and troubleshoot issues by viewing the runtime logs. See [View runtime logs for collector runs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/view-runtime-logs-for-collector-runs.md). - Discover and evaluate the harvested data assets in the Data Catalog. See [Governing the Data Catalog](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/manage-data-catalog.md). **Parent Topic:**[dbt Cloud metadata collector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/dbt-cloud-metadata-collector.md)