Setup Multiple dbt Projects
Collate supports ingesting metadata from multiple dbt projects in a single workflow — each project can have its ownmanifest.json, catalog.json, and run_results.json files.
Before you configure the workflow, organize your dbt files so Collate can find them:
- Place each project’s files in its own directory and name them
manifest.json,catalog.json, andrun_results.json. - If your dbt tests produce multiple
run_results.jsonfiles, keep them in the same directory as their correspondingmanifest.json. Add a unique suffix to each file name — for example:run_results_one.json,run_results_two.json,run_results_three.json.
Resolve Metadata From Overlapping Projects
More than one manifest can reference the same Collate table. Collate processes each manifest separately, and the result depends on the metadata field and the dbt agent configuration:
If overlapping projects define different descriptions, owners, or dbt model details for the same table, choose one project as the authority and prevent the other projects from matching that table. You can use the database, schema, and table filter patterns to keep project scopes distinct.
How to Configure Multiple dbt Projects (S3 Example)
Follow these steps to set up the dbt workflow for multiple projects using an S3 bucket.Step 1: Organize the dbt Files in Your S3 Bucket
Arrange each dbt project in a separate directory inside your bucket. For example, here’s a bucket nameddbt_bucket with three dbt projects:
Step 2: Configure the dbt Workflow in Collate
Set the bucket and prefix path so Collate knows where to look.- In the dbt Bucket Name field, enter your bucket name — in this example,
dbt_bucket. - In the dbt Object Prefix field, enter the path to the parent folder containing your projects — in this example,
bucket_home/dbt_files/.
