📘 Introduction

In this hands-on tutorial, we’ll walk you step-by-step through how to run Dagster with your dbt project, so you can orchestrate, monitor, and manage your data pipelines in the Dagster UI.

✅ Prerequisites

🐍☑️ Installed Python
📦☑️Installed Pip
🌐☑️ Created a virtual environment (venv)
🗂️☑️ A dbt project set up
🧪☑️ Existing dbt models defined in your models/ directory
🐙☑️ Created a Dagster project within your dbt project

🗂️ Existing dbt project with a Dagster project

In this tutorial, we’re working with a dbt project called dlnerds_university. Inside it, we’ve already created a Dagster project named dlnerds_university_dagster.

📥1️⃣ Install Dagster Webserver

To get started, activate your virtual environment and install the dagster-webserver package via pip. Open a terminal and run the following command:

pip install dagster-webserver

🚀2️⃣ Run server locally

Within the dbt project directory, navigate to your Dagster project. In our case:

You can view this post with the tier: Academy Membership

Join academy now to read the post and get access to the full library of premium posts for academy members only.

Join Academy Already have an account? Sign In