> For the complete documentation index, see [llms.txt](https://docs.telm.ai/telmai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.telm.ai/telmai/integrations/atlan-integration.md).

# Data Quality in Atlan

Show Telmai data quality results on your Atlan assets with the Telmai workflow in Atlan.

The Telmai workflow in Atlan brings Telmai's data quality results onto your Atlan assets: DQ dimensions, monitor results, and a link back to Telmai. Data consumers can judge whether data is trustworthy where they find it, without leaving the catalog. You set it up in Atlan.

This page covers writing to Atlan. To bring Atlan's tables and metadata into Telmai, so you can discover datasets and choose what to monitor, connect Atlan in Telmai; see [Atlan Catalog](https://docs.telm.ai/telmai/integrations/catalog-integration/atlan.md). You can use either one, or both.

## Before you start

* **In Atlan**, have a connection for the data source, for example `snowflake_enterprise`.
* **In Telmai**, have a connection to the same data source, for example `snowflake_sales`, with at least one scanned asset. The workflow reads results from the latest scans, so an asset that has never been scanned shows no data quality in Atlan.
* A Telmai API key. See [API Keys](https://docs.telm.ai/telmai/api-reference/authentication-api/api-keys.md).

## Set up the workflow

1. In Atlan, go to **Workflows** > **Marketplace**, search for **Telmai**, select the Telmai connector and click **Setup Workflow**.

<figure><img src="https://604868671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkO3-a8YVu1iq1jP__S%2Fuploads%2FmU7ZcbHvls5G2i3zEJCK%2Fimage.png?alt=media&amp;token=596558db-ec74-44fa-a339-1f218acad594" alt="The Atlan Workflow Marketplace with the Telmai connector"><figcaption><p>The Telmai connector in the Atlan Marketplace.</p></figcaption></figure>

2. On the **Credentials** step, enter your Telmai details, then click **Test Authentication**:

| Field            | Description                                         |
| ---------------- | --------------------------------------------------- |
| Telmai API URL   | Your Telmai URL, for example `https://app.telm.ai`. |
| Telmai Tenant ID | Your Telmai tenant ID.                              |
| Telmai API Key   | A Telmai API key.                                   |

<figure><img src="https://604868671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkO3-a8YVu1iq1jP__S%2Fuploads%2F4Fcco875CfpzSsGpFu1z%2Fimage.png?alt=media&amp;token=52eb78dd-e03d-427b-9080-159b448bcf4b" alt="The Credentials step with the Telmai API URL, Tenant ID and API Key"><figcaption><p>The Credentials step.</p></figcaption></figure>

3. Click **Next**. On the **Connection Mapping** step, pair each Atlan connection with the Telmai connection to the same data source:
   * Under **Atlan Connection**, select `snowflake_enterprise`.
   * Under **Telmai Connection**, select `snowflake_sales`.
   * Click **Add to Connection Mapping**.
4. Click **Run Preflight Checks** to check permissions, then **Run** to sync once, or **Schedule & Run** to sync on a schedule.

<figure><img src="https://604868671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkO3-a8YVu1iq1jP__S%2Fuploads%2FJRiNAKlmSISrpik03coy%2Fimage.png?alt=media&amp;token=268cad15-57fb-4a27-b869-0f1f12b13859" alt="The Connection Mapping step pairing an Atlan connection with a Telmai connection"><figcaption><p>The Connection Mapping step.</p></figcaption></figure>

## See data quality in Atlan

When the workflow run completes, open a mapped asset in Atlan and select the **Telmai** tab in the panel on the right.

<figure><img src="https://604868671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkO3-a8YVu1iq1jP__S%2Fuploads%2F8y9bqIi9YG3y0eKvR1h2%2Fimage.png?alt=media&amp;token=47eecab4-d484-4a04-be49-0d78543e682c" alt="The Telmai tab on an Atlan asset with DQ dimensions, policies and Open in Telmai"><figcaption><p>The Telmai tab on an Atlan asset.</p></figcaption></figure>

The tab has three sections:

* **DQ dimensions** — the asset's scores:

| Dimension    | Measures                                            |
| ------------ | --------------------------------------------------- |
| Completeness | The percentage of complete records.                 |
| Uniqueness   | The percentage of unique records.                   |
| Correctness  | The percentage of records that pass all row checks. |
| Freshness    | How recent the data is.                             |
| Consistency  | How consistent the data is across sources.          |

* **Policies** — how many monitors passed and how many failed and raised alerts, so data stewards can spot problems without opening Telmai.
* **Open in Telmai** — a link to the asset in Telmai, to investigate failures, review trends or add monitors.
