If you have a dbt Cloud account, Atlan can use the Cloud APIs and dbt Metadata APIs to enrich your metadata in Atlan.
π€ Who can do this? You will probably need your dbt Cloud administrator to run these commands β you may not have access yourself.
Create service token
To generate a service token, follow the steps in the dbt documentation and configure the following permissions:
- Team plans: add Read-Only access to all projects you want to integrate into Atlan.
- Enterprise plans: add Account Viewer access to all projects you want to integrate into Atlan.
Be sure to copy the generated token for crawling dbt.
Set up dbt Semantic Layer
π€ Who can do this? Only those with early access to our latest dbt integration can integrate the dbt Semantic Layer. (For all others, watch this space β it's coming soon!)
π¨ Careful! We currently only support the dbt Semantic Layer with Snowflake as a source.
To use the dbt Semantic Layer:
- Install the dbt_metrics package into each dbt project you want to expose through the semantic layer.
- Define the metrics you want to expose in dbt. See dbt's Defining a metric article for more details.