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

# Ingest Tags from dbt | OpenMetadata Metadata Tagging Guide

> Ingest dbt tags to enhance metadata with labels that support classification, governance, and searchability.

# Ingest Tags from dbt

Ingest the table-level tags and column-level tags from `manifest.json` file

Follow the link [here](https://docs.getdbt.com/reference/resource-configs/tags) to add the tags to your dbt project.

## Requirements

<Tip>
  For dbt tags, if the tag is not already present it will be created under tag category `DBTTags` in OpenMetadata
</Tip>

### 1. Table-Level Tags information in manifest.json file

Openmetadata fetches the table-level tags information from the `manifest.json` file. Below is a sample `manifest.json` file node containing tags information under `node_name->tags`.

```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"
    ]
  }
}
```

### 2. Column-Level Tags information in manifest.json file

Openmetadata fetches the column-level tags information from the `manifest.json` file. Below is a sample `manifest.json` file node containing tags information under `node_name->columns->column_name->tags`.

```json theme={null}
    "model.jaffle_shop.customers": {
      "database": "dev",
      "schema": "dbt_jaffle",
      "unique_id": "model.jaffle_shop.customers",
      "name": "customers",
      "alias": "customers",
      "columns": {
        "first_order": {
          "name": "first_order",
          "description": "Date (UTC) of a customer's first order",
          "meta": {},
          "data_type": null,
          "quote": null,
          "tags": [
            "tags_column_one"
          ]
        },
      },
    },
```

### 3. Viewing the tags on tables and columns

Table and Column level tags ingested from dbt can be viewed on the node in OpenMetadata

<img src="https://mintcdn.com/openmetadata/cpYhk0oyurO_-Qc1/public/images/features/ingestion/workflows/dbt/dbt-features/dbt-tags.png?fit=max&auto=format&n=cpYhk0oyurO_-Qc1&q=85&s=07406f9b41939c8087a4aa811bdff0d8" alt="dbt_tags" width="4044" height="1944" data-path="public/images/features/ingestion/workflows/dbt/dbt-features/dbt-tags.png" />
