Nikola Ninkovic
09/25/2023, 2:22 PMkapa.ai
09/25/2023, 2:23 PMsql {{ config(materialized='table') }} SELECT *, 'your_tenant_id' as tenant_id FROM {{ source('your_hubspot_source', 'your_table') }} This model would create a new table that includes all the data from your original table, plus a "tenant_id" column. 3. Once you've defined your dbt model, you can set up Airbyte to run it after each sync. You can do this by adding a new operation in the Airbyte UI and selecting dbt as the operator type. You'll need to provide the git URL of your dbt project and any additional dbt arguments you want to use. For more information on using dbt with Airbyte, you can check out this tutorial: [Build a single customer view with open-source tools](https://airbyte.com/tutorials/single-customer-view) Please note that this approach requires some familiarity with dbt. If you're new to dbt, you might find it helpful to go through their [getting started guide](https://docs.getdbt.com/tutorial/setting-up) first. I hope this helps! Let me know if you have any other questions.