Hello, Im new on datahub. Im looking config yaml f...
# all-things-deployment
c
Hello, Im new on datahub. Im looking config yaml file for example to connect to DBT,
b
c
Thanks. Can't find the credentials section. Since I'm using open source/quickstart, I don't have it?
b
Not sure if I understand your problem. If you're talking about open source Datahub and quickstart based deployment then you can ingest dbt with the above mentioned method. Can you share exact steps/code you are usint currently? Or trying to use for that matter
c
in the below I need the credentials section :
Copy code
source:
  type: "dbt"
  config:
    # Coordinates
    # To use this as-is, set the environment variable DBT_PROJECT_ROOT to the root folder of your dbt project
    manifest_path: "${DBT_PROJECT_ROOT}/target/manifest_file.json"
    catalog_path: "${DBT_PROJECT_ROOT}/target/catalog_file.json"
    sources_path: "${DBT_PROJECT_ROOT}/target/sources_file.json" # optional for freshness
    test_results_path: "${DBT_PROJECT_ROOT}/target/run_results.json" # optional for recording dbt test results after running dbt test

    # Options
    target_platform: "my_target_platform_id" # e.g. bigquery/postgres/etc.

# sink configs
token/key…. how its getting connect to my dbt
for example in BQ, you have the service key
b
I am not familiar with dbt as a source. However, here are the full config options https://datahubproject.io/docs/generated/ingestion/sources/dbt/#config-details
Maybe this can help you
h
Hey @clever-artist-51241, you need to first generate the dbt artifacts and store them. Datahub will not compile the models or generate the artifacts for you. (Though that’s an interesting proposition)