Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 3.71 KB

using-the-dbt-ide.md

File metadata and controls

57 lines (33 loc) · 3.71 KB
title id
Using the dbt IDE
using-the-dbt-ide

The dbt Integrated Development Environment (IDE) is a single interface for building, testing, running, and version controlling dbt projects.

Requirements

Creating a development environment

New dbt Cloud accounts will automatically be created with a Development Environment for the project created during setup. If you have an existing dbt Cloud account, you may need to create a Development Environment manually to use the dbt IDE.

To create a development environment, choose Deploy > Environments from the top left. Then, click Create Environment.

Enter an environment Name that would help you identify it among your other environments (for example, Nate's Development Environment). Choose Development as the Environment Type. You can also select which dbt Version to use at this time. For compatibility reasons, we recommend that you select the same dbt version that you plan to use in your deployment environment. Finally, click Save to finish creating your development environment.

Setting up developer credentials

The IDE uses developer credentials to connect to your database. These developer credentials should be specific to your user. They should not be super user credentials, or the same credentials that you use for your production deployment of dbt.

New dbt Cloud accounts should have developer credentials created automatically as a part of Project creation in the initial application setup.

New users on existing accounts might not have their development credentials already configured. To manage your development credentials:

  1. Navigate to your Credentials under Your Profile settings, which you can access at https://YOUR_ACCESS_URL/settings/profile#credentials, replacing YOUR_ACCESS_URL with the appropriate Access URL for your region and plan.
  2. Select the relevant project in the list. After entering your developer credentials, you'll be able to access the dbt IDE.

Compiling and running SQL

This video explores entering the IDE and compiling and running SQL for a dbt project.

Running dbt projects

This video explores running dbt projects in the dbt IDE. For a full list of the commands that can be run in the IDE, consult the dbt Command reference.

Version control

This video explores version controlling changes to dbt projects with git in the dbt IDE.