Our demo dbt repo currently offers two quickstarts: one that runs a simple dbt pipeline and one that runs a dbt pipeline from an external repo. At this time, running dbt in Mage requires Docker, so both of our demos are
docker compose based.
The following command will clone the demo repo, copy
.env and run
docker compose up to start Mage and a Postgres database.
git clone https://github.com/mage-ai/dbt-quickstart mage-dbt-quickstart \
&& cd mage-dbt-quickstart \
&& cp dev.env .env && rm dev.env \
&& docker compose up
After running the above command, you’ll see the Mage overview page. Click the pipelines icon on the left to enter the pipelines overview.