AI dimensional modeling & star schema generator
Describe your business processes and offdataai builds the Kimball star schema — fact tables at the right grain, conformed dimensions with surrogate keys, and SCD2 history — then ships native DDL and a dbt project with marts and tests.
- From $1/month
- 8 SQL targets
- 174 templates
See it in action
A narrated walkthrough, recorded in the real app.
Three steps, minutes not months
Describe or import
Answer a short interview, open a template, draw on the canvas or connect a live database.
Review a validated model
Keys, grain, history and PII are checked before any code is written. Refine it in plain English.
Ship and keep it current
Native DDL, dbt, seeds, docs and an ontology. Push to Git, diff versions, generate migrations.
Why teams choose offdataai

A validated ERD: keys, SCD2 history and PII flags on every table
- 01
Good dimensional models start with grain, and grain is exactly what gets skipped when you model by hand. offdataai's interview agent confirms what one row of each fact represents before it generates anything, then produces a clean Kimball star (or snowflake) schema: fact tables with measures and foreign keys, conformed dimensions with surrogate keys, and SCD Type 2 history where you need point-in-time accuracy.
- 02
The same model compiles to native DDL and a complete dbt project — staging, marts, schema tests, and seed data — for Snowflake, BigQuery, Databricks, Redshift, Postgres, Synapse, and Fabric.
The code it writes, not a sketch
This is the shape of what offdataai generates here, straight from the validated model. Copy it, download it, or push it to Git.
- Facts and conformed dimensions
- Grain confirmed up front
- SCD2 history done right
1-- Conformed dimension (SCD2)2CREATE TABLE marts.dim_product (3 product_sk BIGINT NOT NULL, -- surrogate key4 product_id VARCHAR NOT NULL, -- natural key5 name VARCHAR,6 category VARCHAR,7 effective_date TIMESTAMP NOT NULL,8 expiry_date TIMESTAMP NOT NULL,9 is_current BOOLEAN NOT NULL,10 CONSTRAINT pk_dim_product PRIMARY KEY (product_sk)11);1213-- Fact at transaction grain14CREATE TABLE marts.fct_sales (15 sale_id VARCHAR NOT NULL,16 date_sk INT NOT NULL, -- FK -> dim_date17 product_sk BIGINT NOT NULL, -- FK -> dim_product18 customer_sk BIGINT NOT NULL, -- FK -> dim_customer19 quantity INT NOT NULL,20 amount NUMERIC(18,2) NOT NULL,21 CONSTRAINT pk_fct_sales PRIMARY KEY (sale_id)22);
What offdataai generates
Facts and conformed dimensions
Fact tables with measures and foreign keys, and conformed dimensions shared across marts — the backbone of a Kimball model, generated for you.
Grain confirmed up front
The interview agent pins down the grain of every fact before generating, so measures, keys, and dimensions all line up correctly.
SCD2 history done right
Surrogate keys, effective and expiry dates, and a current-row flag, with a dbt snapshot to maintain history over time.
Star or snowflake schema
Keep dimensions denormalized for a star, or normalize them for a snowflake schema. You choose; the generator shapes the model accordingly.
0
Validated templates
0
SQL targets
0
Modeling paradigms
0+
Industries covered
Generates native SQL and dbt for 8 platforms · connects live to Snowflake, Databricks, BigQuery, Redshift and Postgres
FabricDuckDB
FabricDuckDBFrequently asked questions
Can offdataai generate a Kimball star schema?
Does it handle slowly changing dimensions (SCD2)?
What's the difference between a star and a snowflake schema here?
How does offdataai decide the grain of a fact table?
Can I generate the marts as a dbt project?
Explore modeling paradigms and platforms
- Star schema vs snowflake schemaWhen to normalize dimensions, and when not to.
- Data modeling best practicesNaming, keys, nullability, PII and documentation.
- Data Vault 2.0Hubs, links, and satellites generated automatically.
- AI data modeling toolThe full pipeline — model, DDL, dbt, and seed data.
- ERD generatorVisualize your star schema as an ERD.
- dbt project generatorBuild your marts with a generated dbt project.
- Snowflake schema generatorShip a star schema on Snowflake with CLUSTER BY.
- BigQuery schema generatorStar schemas with partitioning and clustering.
Part of the offdataai platform
The business context behind accurate AI answers, built from the data model up.
- 01DesignLogical, physical and dimensional models.
- 02GenerateSQL, dbt, documentation and migrations.
- 03DefineBusiness metrics, semantic models and ontology.
- 04ConnectReal warehouse schemas and metadata.
- 05GovernDrift, impact analysis, tests and approvals.
- 06ActivateMake trusted context available to AI agents.
This page covers Design. Every stage works on the same model, so what you design here carries through to the rest.
Give your AI agents context they can trust.
Design the model, define what your metrics mean, and serve that context to every agent and BI tool, on the warehouse you already run.
