Models
Add an existing dbt project to Mage
If you have an existing dbt project, you can add it to your Mage project.
For example, if your Mage project is named demo_project
and your existing dbt
project is named demo
, add your dbt project in the Mage project under the
following path:
You can have multiple dbt projects in a single Mage project under the folder
named dbt/
at the root location of your Mage project.
For example:
Required structure
Connection profiles
For Mage to properly run dbt commands, you must have a profiles.yml
file at
the root of each of your dbt projects. For example:
For more information on how to configure dbt connection profiles, read this documentation.
Was this page helpful?