- dbt model and field descriptions are brought into the corresponding Omni view files. Descriptions also become viewable in the workbook field picker
- dbt SQL code is brought into the corresponding Omni view files, making it easier to trace logic between the tools
- dbt dependencies are also brought into the corresponding Omni view files

Common questions
Does Omni automatically infer primary keys from dbt tests?
Does Omni automatically infer primary keys from dbt tests?
No. While a combination of
unique and not_null tests is logically equivalent to a primary key, Omni does not infer primary key status from these tests. Instead, Omni identifies a primary key through:- dbt constraints: Defined
primary_keytypes within theconstraintsblock of your dbt YAML. This also requires enabling the auto-generate primary keys and relationships from dbt constraint setting in the connection’s dbt tab to be enabled. - Database objects: Primary keys defined directly on the object within your database.
- Manual configuration: Selecting the primary key manually within the Omni IDE.
Does Omni use Foreign Key constraints for automatic joins?
Does Omni use Foreign Key constraints for automatic joins?
Omni does not currently pull join logic or relationship constraints directly from
relationships tests or schema.yml files. Joins are managed within the Omni modeling layer to give you full control over join types and cardinality.Does Omni support custom schema-naming macros?
Does Omni support custom schema-naming macros?
Yes. Omni runs the dbt compiler directly. It detects and handles custom
generate_schema_name() macros, applying them based on your dbt environment parameters in Omni.- Production: Maps to standard schemas (e.g.,
marts,reports). - Development: Maps to prefixed schemas (e.g.,
dbt_blobby_marts)
Requirements
Before you begin, ensure you have the following:- A dbt project (Cloud or Core) connected to Omni
- Connection Admin permissions in Omni
Syncing metadata
To pull your dbt metadata into Omni, follow these steps:- Navigate to the Model IDE
- Click the Model dropdown in upper right hand corner.
- Click Sync dbt metadata to pull the latest descriptions and tags from your
manifest.json.

Next steps
After setting up your dbt metadata, you can further refine how your data is represented and used in Omni:- Configure Virtual Schemas: If you haven’t already, set up virtual schemas to organize your dbt-transformed tables into logical groupings within the Omni model.
- Manage dbt environments: Ensure your dbt environments are correctly mapped so that Omni pulls metadata from the appropriate production or development branches.
- Refine your model: While Omni pulls in descriptions, you can further enrich your model by adding field-level metadata or custom formatting directly in the Omni IDE.
- Create a workbook: Start exploring your data by creating a new workbook to visualize the fields enriched by your dbt metadata.