dbt Core

Pre-reqs:

  1. Make sure you have python (version 3.8 or above) installed on your machine

Follow the steps below to set up the integration:

  1. You will need the Revefi Auth token, which you will get during Revefi Onboarding, or when connecting to dbt Core in the Connections tab in the left navigation.

In either of those steps, you can generate the token in below screen:


Copy and keep the generated auth token safely. Revefi displays the token only once and does not have the ability to display it later.


  1. Run pip install git+https://github.com/revefi/dbt_python_client.git to install the revefi-dbt-client package.
pip install git+https://github.com/revefi/dbt_python_client.git
  1. In a terminal, run the CLI revefi-dbt-client --token <auth-token> --project_folder <project-folder>, where
    1. auth-token is the token you received in Step 1 above
    2. project_folder is your dbt Core Project folder
revefi-dbt-client --token <auth-token> --project_folder <project-folder>

NOTE:

  • The uploader assumes that the dbt target path is set to "target" within the project folder. If you are using some other target path, you may override the default behavior with

revefi-dbt-client --token <auth-token> --project_folder <project-folder> --target_folder <target-folder>


  • After executing dbt build, dbt run, or dbt test in your production dbt workflow, run the above CLI directly to handle file overwriting in the target directory.