Creating Your First Package

Learn how to create a dbt package from scratch.

Structure of a package

Packages are exactly like normal projects. The only difference is that we don’t actually need a profile associated with that package because we’re not going to run the package alone.

Let’s imagine we want to pack a macro, product, into a math package. We need to create a folder math_package with a very simple project file:

Get hands-on with 1400+ tech skills courses.