https://dagster.io/ logo
#ask-community
Title
# ask-community
g

George Pearse

06/13/2022, 9:28 AM
Is there a simple way to use the DBT client from Dagster, without a DBT server running? I'm basically just looking for a package to support templated SQL executed from files in a neat way.
dagster bot responded by community 1
s

Stephen Bailey

06/13/2022, 10:06 AM
You can use the
dbt_cli
ops to run it. We have an job that downloads the repo, then runs the
dbt_cli_op
. You can passing all the normal args to dbt that way. My recommendation would be to use your dbt project as a code location so that you don't have to worry about downloading the latest repo within your op -- you just execute the CLI commands via dagster.
❤️ 1
1
2 Views