Skip to content

Quick Start Guide

Get started with Drizzle Cube by exploring our complete examples, or build your first semantic layer from scratch in under 10 minutes.

The fastest way to get started is with one of our ready-to-run examples. Each includes a full-stack application with database, API, and React dashboard:

Each example includes:

  • Complete database schema and seed data
  • Semantic layer with cubes, dimensions, and measures
  • Interactive dashboard with 4 working charts
  • Query builder for exploring your data
  • Multi-tenant security setup
  • Docker Compose for local development

If you want to integrate Drizzle Cube into your existing application, the recommended approach is to:

  1. Choose the example that matches your framework (Express, Fastify, Hono, or Next.js)
  2. Study the implementation - Look at how the semantic layer, cubes, and API routes are structured
  3. Copy the relevant parts into your own codebase:
    • Cube definitions and semantic layer setup
    • API route configuration and security context
    • Client components and dashboard setup

Rather than building from scratch, copying and adapting an existing example will save you time and ensure youโ€™re following proven patterns.

The examples serve as your starting template - take what you need and customize it for your specific use case.