Integrating dbt Core with SYNQ
Production dbt Core
)
Generate token: Click Create to generate your integration token. You’ll use this token with the synq-dbt
tool to send artifacts securely to SYNQ.
Git integration: Select your Git provider to link model changes to repository commits. This enables change tracking and lineage visualization.
Relative path to dbt: If your dbt project isn’t in the repository root, specify the directory path (e.g., analytics/dbt/
).
synq-dbt
is a command-line wrapper that runs your existing dbt Core commands and automatically uploads artifacts to SYNQ. It’s compatible with any dbt Core version and works seamlessly with orchestration tools like Airflow, GitHub Actions, and Dagster.
Collected artifacts:
manifest.json
— Project structure and dependenciesrun_results.json
— Execution status and performance metricscatalog.json
— Complete data warehouse schema informationsources.json
— Source freshness test resultsSYNQ_TOKEN
environment variableSYNQ_TOKEN
with your integration token.
SYNQ_TOKEN
in Airflow UI.
SYNQ_TOKEN=<your-token>
to your .env
file.
definitions.py
:
assets.py
:synq-dbt
:
SYNQ_TOKEN
doesn’t start with st-
, you’re using a legacy token that will be deprecated. Migrate to v2 tokens for improved security and performance.SYNQ_TOKEN
environment variable with the new token (starts with st-
)
SYNQ_TOKEN
— Your integration token (required)SYNQ_TARGET_DIR
— Artifact directory path (default: target/
)dbtapi.synq.io:443
when using legacy token or old uploader.developer.synq.io:443