The dbt-postgres transformer is a plugin for running SQL-based transformations on data stored in your warehouse.
Getting Started
Prerequisites
If you haven't already, follow the initial steps of the Getting Started guide:
Installation and configuration
- 
                Add the dbt-postgres transformer to your project
                using
                
:meltano add - 
                Configure the dbt-postgres settings using
                
:meltano config 
meltano add transformer dbt-postgresmeltano config dbt-postgres set --interactiveNext steps
Follow the remaining steps of the Getting Started guide:
If you run into any issues, learn how to get help.
Capabilities
This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!Settings
Settings for dbt itself can be configured through dbt_project.yml as usual, which can be found at transform/dbt_project.yml in your Meltano project. dbt also has adapter-specific documentation for PostgreSQL.
      The
      dbt-postgres settings that are known to Meltano are documented below. To quickly
      find the setting you're looking for, click on any setting name from the list:
    
      You can
      override these settings or specify additional ones
      in your meltano.yml by adding the settings key.
    
Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.
Projects Directory (project_dir)
- 
          Environment variable:
          
DBT_POSTGRES_PROJECT_DIR - 
          Default Value: 
$MELTANO_PROJECT_ROOT/transform 
Profiles Directory (profiles_dir)
- 
          Environment variable:
          
DBT_POSTGRES_PROFILES_DIR - 
          Default Value: 
$MELTANO_PROJECT_ROOT/transform/profiles/postgres 
Host (host)
- 
          Environment variable:
          
DBT_POSTGRES_HOST 
The postgres host to connect to.
User (user)
- 
          Environment variable:
          
DBT_POSTGRES_USER 
The user to connect as.
Password (password)
- 
          Environment variable:
          
DBT_POSTGRES_PASSWORD 
The password to connect with.
Port (port)
- 
          Environment variable:
          
DBT_POSTGRES_PORT 
The port to connect to.
Database (dbname)
- 
          Environment variable:
          
DBT_POSTGRES_DBNAME 
The db to connect to.
Schema (schema)
- 
          Environment variable:
          
DBT_POSTGRES_SCHEMA 
The schema to use.
Keep Alives Idle (keepalives_idle)
- 
          Environment variable:
          
DBT_POSTGRES_KEEPALIVES_IDLE 
Seconds between TCP keepalive packets.
Search Path (search_path)
- 
          Environment variable:
          
DBT_POSTGRES_SEARCH_PATH 
Overrides the default search path.
Role (role)
- 
          Environment variable:
          
DBT_POSTGRES_ROLE 
Role for dbt to assume when executing queries.
SSL Mode (sslmode)
- 
          Environment variable:
          
DBT_POSTGRES_SSLMODE 
SSL Mode used to connect to the database.
Something missing?
This page is generated from a YAML file that you can contribute changes to.
Edit it on GitHub!Looking for help?
#plugins-general
    channel.
  Install
meltano add transformer dbt-postgresHomepage
Maintenance Status
Meltano Stats
Keywords
