Dagster & dbt
In this course, you'll learn how to integrate and orchestrate dbt projects with Dagster. You'll load dbt models into Dagster as assets, build dependencies, and ready your project for production deployment.
This course is geared towards those who have some familiarity with dbt and Dagster. You don't need to be an expert, but you should know your way around a dbt or Dagster project.
You'll need to know the basics of Dagster to complete this course. We recommend completing check out the Dagster Essentials course if you've never used Dagster before or want a refresher before getting started.
An understanding of dbt basics is required to complete this course. We recommend that you first complete dbt's Fundamentals course if you're a new dbt user.
Note: Dagster's dbt course focuses on using dbt Core with Dagster. While dbt Fundamentals uses dbt Cloud in its lessons, the course will still teach you the basics of dbt.
While you don’t need to be a Python expert to get started, you do need some Python familiarity to complete this course and use Dagster. In Lesson 2, we’ll cover Dagster’s specific installation requirements. Here are some Pythonic skills that you’ll be using, along with resources to learn about them: Functions, Packages and Modules, Decorators, and Type Hints.
You won’t be writing complex SQL, but you will need to understand the concept of SELECT statements, what tables are, and how to make them. If you’d like a 5-minute crash course, here’s a short article and cheatsheet on using SQL.
About this course & getting help
What's dbt?
Why use dbt and Dagster together?
How do dbt models relate to Dagster assets?
Knowledge check
Project preview
Requirements
Set up the Dagster project
Set up the dbt project
dbt project files
Verify dbt installation
Knowledge check
Overview
Constructing the dbt project
Creating a dbt project representation in Dagster
Creating a dbt resource in Dagster
Loading dbt models into Dagster as assets
Updating the Definitions object
Knowledge check
Viewing dbt models in the Dagster UI
Knowledge check: Part 1
Knowledge check: Part 2
Overview
Speeding up the development cycle
Debugging failed runs
Knowledge check
Overview
Connecting dbt models to Dagster assets
Knowledge check
Creating assets that depend on dbt models
Automating dbt models in Dagster
Practice: Group dbt models by layer
Overview
Creating a simple incremental model
Creating a partitioned dbt asset
Recap