Skip to content

dbt integration

The dbt integration gives the agent tools to inspect, compile, query and build your dbt project. It runs dbt on your machine, so it needs a local project and Python environment.

Altimate turns the dbt integration on for each organization. If it isn't in your list of integrations, contact Altimate support.

If you use the Power User for dbt extension in VS Code or Cursor, there is a separate Power User for dbt integration that works through the extension instead.

Configuration

Setting What to enter
Project path The path to your dbt project folder
Python path The path to the Python executable that has dbt installed
Project type core (default), cloud or fusion

Tools

Tool Name Description Parameters
dbt_list_connections List the dbt connections available to this workspace. None
dbt_get_project_info Get comprehensive information about the dbt project including paths, targets, and configuration. - connection_id (string)
dbt_get_children_models Returns the list of models that depend on the specified model (downstream) - connection_id (string)
- table (string)
dbt_get_parent_models Returns the list of models that the specified model depends on (upstream) - connection_id (string)
- table (string)
dbt_get_columns_of_model Get the column names and data types of a dbt model. - connection_id (string)
- modelName (string)
dbt_get_columns_of_source Returns the column names and data types for a specified dbt source. - connection_id (string)
- sourceName (string)
- tableName (string)
dbt_get_column_values Returns the distinct values for a specified column in a dbt model. - connection_id (string)
- modelName (string)
- columnName (string)
dbt_compile_model Compile a model's Jinja into raw SQL. It doesn't validate the SQL or build anything. - connection_id (string)
- modelName (string)
dbt_compile_query Compile query, converting Jinja SQL to raw SQL. - connection_id (string)
- query (string)
- originalModelName (string, optional)
dbt_execute_sql Run a SQL query in the context of the dbt project. - connection_id (string)
- query (string)
- modelName (string)
- limit (number, optional)
dbt_build_model Build a dbt model and every model downstream of it. - connection_id (string)
- plusOperatorLeft (enum, optional)
- modelName (string)
- plusOperatorRight (enum, optional)
dbt_install_deps Install dbt package dependencies based on the project's packages.yml file. - connection_id (string)