Quickstart
Build a small, working Data Product on your own machine: seeds, a transform, quality gates, a semantic model, and a metric. No DataOS deployment needed.
This is the fastest way to see the whole build pattern. You take three raw CSV files, turn them into a tested Data Product with one published metric, and run the lot locally. Nothing touches DataOS or a cloud warehouse until you decide to deploy.
The example is small on purpose: a retail team selling in 4 regions wants one trusted answer to "daily revenue by region" instead of 4 spreadsheets that disagree. By the end you have that metric, served through auto-generated APIs.
Prerequisites
You need three things installed. Each takes a minute; LDK setup has the full detail if a step fails.
Python 3.10 to 3.13 (3.9 and earlier, and 3.14 and later, are not supported). Check yours with
python --version; if it's outside that range, install a supported version from python.org/downloads.Docker, to run a local Postgres in one command.
Vulcan. Download the wheel from LDK setup, place it in your working folder, then install it into a virtual environment:
python -m venv .venv && source .venv/bin/activate pip install "./vulcan-0.228.1.32-py3-none-any.whl[postgres]"
Vulcan runs entirely on your machine. You do not need real DataOS access or an API token for this Quickstart. Vulcan always requires a tenant, even locally: export a placeholder value before running commands (export DATAOS_TENANT_ID=local), or set both tenant and domain directly in config.yaml instead (see Configurations).
1. Start a local engine
Create a working folder. Copy the Postgres compose file from LDK setup (under "Set up your engine") to docker/docker-compose.warehouse.yml, then start it:
docker network create vulcan
docker compose -f docker/docker-compose.warehouse.yml up -dThis starts a warehouse Postgres on localhost:5433 that Vulcan writes to. State is kept locally in DuckDB, so you do not need a second database.
2. Initialize the project
This creates a project from the default template with postgres as the engine. Vulcan scaffolds the folders you will fill in: models/, seeds/, dq/, audits/, tests/, macros/, plugins/, policies/, config.yaml, usage.yml, and agreement.md.
Open config.yaml and point it at the local Postgres:
Confirm Vulcan can reach the engine:
A line reading Data warehouse connection succeeded means you are ready. Do not continue until you see it.
3. Add the source data
Place three CSV files under seeds/. They are the source of truth for this product. Keep dates in January 2025 so they align with model_defaults.start.
raw_customers.csv
Customer identity and region
customer_id, name, email, region
raw_orders.csv
Order headers
order_id, customer_id, order_date
raw_order_items.csv
Line-level detail
order_id, item_id, product_id, quantity, unit_price
Use this sample data to start. It spans 4 regions and satisfies the assertions you add next. Copy each block into the matching file under seeds/.
4. Load the seeds as models
A SEED model loads a CSV into the engine. Create one .sql file per table under models/. Each declares its columns, its grain, and assertions that block bad rows when the model materializes.
Assertions are your first line of defense: a null key or a negative price stops the model from materializing. See Assertions for how they work.
5. Transform
Join the three seeds into one analytics-ready view. Create models/order_lines_enriched.sql:
6. Define the semantic model and metric
The semantic model maps physical columns to business concepts: dimensions to group by and measures to aggregate. It powers REST, GraphQL, and MySQL wire-protocol APIs automatically. You write no API code.
Wrap the transform from step 5 in one semantic model under models/semantics/. It exposes region and order_date as dimensions and line_revenue as a summable measure named total_line_revenue:
Then define the metric on top of it. The metric references the semantic model's measure and dimensions, not raw columns:
One metric, one definition. Every dashboard, report, and AI agent now reads the same number. See Semantic model for the full shape, including ai_context that makes the metric safe for an agent to query.
7. Plan, run, and check
Vulcan validates the models and computes what to materialize. Review the plan: you should see the three seed models, the view, the semantic model, and the metric. When prompted Apply the plan? [y/n], type y.
Then run the quality checks:
All assertions and checks on all four models should pass. If one fails, Vulcan prints sample rows. Fix the seed data and run again.
What you just built
A complete Data Product on your machine: raw inputs, a tested transform, quality gates that block bad data, a semantic model, and one defined metric, ready to serve over REST, GraphQL, and MySQL wire-protocol APIs the moment you deploy. You never wrote API code and you never deployed to the cloud.
Next
Build the real thing with the full worked example in Productize.
Let an agent generate the files for you: Build journey with AI.
Set up a real engine and Git deployment in Prerequisites, then deploy.
Last updated
Was this helpful?