docs.lightdash.com can be fetched as plain markdown by appending .md to its URL. Do that whenever you need more detail than this walkthrough carries.
Step 1: Install the CLI and agent skills
Install the Lightdash CLI. On macOS, prefer Homebrew (no Node.js required):lightdash --version. For Windows (WSL or PowerShell) and direct binary downloads, follow https://docs.lightdash.com/workflow/cli/install.
Then install the Lightdash agent skills so you can work with semantic layer YAML fluently. Run the variant matching your own harness, from the project directory the user will work in:
--global if the user wants the skills available across all their projects. Details: https://docs.lightdash.com/workflow/install-agent-skills.
Step 2: Real project or sandbox?
Ask the user which they want:- A real project — they have data in a warehouse (or a dbt project) and want Lightdash on top of it. Continue to Step 3.
- A sandbox — they want to try Lightdash on sample data first. Skip to Step 4.
Step 3: Real project
Ask whether the user works with dbt.With dbt
Lightdash generates its semantic layer from dbt models (dbt v1.4 or later, available on the path asdbt).
-
Navigate to their dbt project. If they want a brand-new one, scaffold it with
dbt initand dbt’s own guide (https://docs.getdbt.com/tutorial/setting-up) before continuing. dbt Cloud users need the repo cloned locally. -
Create the Lightdash account — see Step 5 — then authenticate the CLI:
lightdash login <instance URL>opens a browser OAuth flow. -
Generate Lightdash Tables from their dbt models and deploy:
Without dbt
Define the semantic layer directly in Lightdash YAML — no dbt project needed:-
Create
lightdash.config.ymlat the project root declaring the warehouse type, and model files underlightdash/models/*.yml(type: model,name,sql_from, plusmetricsanddimensions). With the skills from Step 1 installed, use thedeveloping-in-lightdashskill to profile the user’s warehouse and generate sensible starter models. -
Validate with
lightdash lint. -
Create the Lightdash account — see Step 5 — then
lightdash login <instance URL>and deploy without credentials: - Have the user add warehouse credentials in the app (Settings → Current project → Connection settings).
Step 4: Sandbox project
The fastest sandbox today is Supabase — free tier, no dbt required:- Clone https://github.com/lightdash/lightdash-supabase-quickstart. It includes setup scripts (macOS/Linux and Windows), a preconfigured Supabase MCP so you can generate Lightdash models from the schema, and a
set-warehousescript that wires up credentials via the API. - Have the user create a free project at https://supabase.com if they don’t have one.
- Follow the repo’s README — it goes from zero to charts in about 15 minutes, including the account creation from Step 5.
developing-in-lightdash skill, and deploy. The MotherDuck connection settings are documented at https://docs.lightdash.com/get-started/quickstart/connect-project.
Step 5: Create the Lightdash account
Every path lands here. Send the user to sign up — this is their step, in the browser: https://www.lightdash.com/start Once they have an instance (Lightdash Cloud isapp.lightdash.cloud, or eu1.lightdash.cloud in the EU), return to wherever you left off: lightdash login <instance URL>, deploy, and confirm the project appears in the app.
After setup
Point the user at their next steps:- Explore their first Tables: https://docs.lightdash.com/get-started/explore-your-data
- Grow the semantic layer with metrics and dimensions: https://docs.lightdash.com/get-started/build-your-semantic-layer
- Connect you (the agent) to their Lightdash instance over MCP: https://docs.lightdash.com/agents/lightdash-mcp
- Preview changes safely before deploying: https://docs.lightdash.com/workflow/preview-projects
- Invite their team: https://docs.lightdash.com/get-started/quickstart/invite-new-users