dbt - Documentation

Create a project

To create your first dbt project, run:

dbt init [project-name]

This will create a directory at ./[project-name] with almost everything you need to get started.


There's a file inside your project called dbt_project.yml. This file is responsible for configuring how dbt operates on your project.

You can find a sample dbt_project.yml file on Github.

Security & dbt_project.yml

dbt_project.yml is checked into your git repository, so be sure that it does not contain any database credentials! All private credentials belong in ~/.dbt/profiles.yml.

What's Next

Next, let's configure your dbt installation to connect to your warehouse.

Configure your profile