How to Use Tags in dbt
Last updated July 25, 2026 · By the SaturnSQL team
Tags label models, seeds, snapshots, and tests so you can select them as a group: dbt run --select tag:nightly. Set tags in a model's config block or on whole folders in dbt_project.yml; tags accumulate rather than overwrite.
Tagging models
{{ config(tags=['nightly', 'finance']) }}Folder-level tags
# dbt_project.yml
models:
my_project:
marts:
finance:
+tags: ['finance']Selecting by tag
dbt run --select tag:nightly
dbt build --select tag:finance --exclude tag:deprecatedRun this in SaturnSQL
SaturnSQL is a browser-based SQL editor for teams: shared query library, schema-aware autocomplete, and scheduled exports to Google Sheets and Slack.
Try it free