dbt
The Alvin DBT integration allows Alvin to extract runtime metadata about DBT Models, Runs and Jobs connected to each run.
Last updated
The Alvin DBT integration allows Alvin to extract runtime metadata about DBT Models, Runs and Jobs connected to each run.
Last updated
To get hold of a valid API key, contact a member of our team who will share it with you securely.
The Alvin CLI allows users to extract runtime metadata about DBT Models, Runs and Jobs connected to each run, to install it in your environment all you need is to run the following command: pip install alvin-simple-cli
The latest version of the alvin-simple-cli package can be found here.
Run alvin setup
command to set your environment.
This will create a alvin.cfg
file in your user directory under .alvin
.
Edit the file and add the following:
alvin_api_token
(Generated from the UI at step number 1)
The value {REPLACE_WITH_GENERATED_API_KEY}
should be replaced with the API KEY created at step number 1.
After you run a DBT command such as:
run
test
seed
build
You may send the dbt artifacts to Alvin by running:
List of parameters:
dw-platform-id
value of your data warehouse platform set in Alvin that can be fetched from this Alvin UI.
platform-id
value used to store the dbt platform metadata, can be a string that matches the following regex pattern: ^[a-z][a-z0-9_]*
.
artifacts-path
relative or absolute directory where the dbt target is created.
project-name
any arbitrary string that you can use to group your dbt results.
user-email
email that you want to associate this dbt execution with.