https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
m

md wasim reza Mallick

06/27/2023, 7:12 PM
Hi all, Can we load multiple dbt projects in dagster ? If yes then any documentation or example for that ?
🤖 1
s

Sean Lopp

06/27/2023, 7:35 PM
You can just call
load_assets_from_dbt...
multiple times, with varying
dbt_project
argument, the results of each call should be added to the Definitions object:
Copy code
dbt_project1_assets = load_assets_from_dbt_project(dir1)
dbt_project2_assets = load_assets_from_dbt_project(dir2)

defs = Definitions(
  assets = [*dbt_project1_assets, *dbt_project2_assets]
)