Multiple dbt projects in one Lightdash project (be...
# feature-requests
p
Multiple dbt projects in one Lightdash project (beta) You can now connect more than one dbt project to a single Lightdash project. If your models are spread across several dbt repos, you no longer have to choose one or maintain a workaround that stitches them together. Add each repo as a dbt source, and Lightdash merges them into a single set of explores on every deploy and preview. Your agents see the whole picture, and AI writeback opens its pull request against the repo that actually owns the model. To try it, go to Project Settings → Connection settings and find Additional dbt sources. Two things to know while this is in beta. Additional sources need to be GitHub repositories for now. And model and metric names have to be unique across your sources, so if the same name is defined in two projects the deploy will stop and tell you which ones clash. Self-hosted: upgrade to
0.3275.0
or later, then add
multi-dbt-sources
to your
LIGHTDASH_ENABLE_FEATURE_FLAGS
environment variable. This is a beta and we are actively looking for feedback. If you run dbt across multiple repos, we would love to hear how this holds up against your setup and what is missing. Reply here and we will take a look.