You can create a new data app from the Apps section of your Lightdash project. From there, the AI agent will guide you through building the app: you describe what you want, give it context, and iterate on the result.Documentation Index
Fetch the complete documentation index at: https://lightdash-mintlify-7725ae17.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Start a new app
- Open your Lightdash project and go to Apps.
- Click New app.
- Give your app a name and an initial prompt describing what you want it to do.
Choosing a template
When you create a new app, you can start from a template instead of a blank prompt. A template is a pre-built starting point—a small app skeleton with example layout, components, and queries—that the agent uses as a foundation when generating your app. Templates are useful when:- You want a familiar shape (e.g. a KPI dashboard, a calculator, a form-driven report) without describing the whole structure from scratch.
- You want to set a consistent look and feel across multiple apps.
- You’re not sure what’s possible and want to see a working example to iterate on.
Adding context
The more relevant context you give the agent, the better the resulting app. You can attach several types of context to your prompts.Queries and dashboards
You can attach existing saved queries and dashboards as context. When you do this, the agent uses them to understand:- Which fields, metrics, and filters are relevant to the app you’re building.
- How you typically slice and visualize this data.
- Which dashboards or charts the app should mirror, extend, or replace.
Images
You can also attach images—screenshots, mockups, sketches, or examples from other tools—as context for the agent. Images are especially helpful for:- Communicating the visual style and layout you want.
- Showing examples of charts or components from other products.
- Conveying brand or design conventions that are hard to put into words.
Inspecting the app’s queries
Every data app runs queries against your Lightdash project to fetch the data it displays. To see exactly what the app is doing, open the query inspector. The query inspector shows details about each query the app is running, including:- Which explore, dimensions, metrics, and filters were used.
- The parameters the app passed to the query.
- The results that were returned.
Iterating on your app
Building a great app is usually an iterative process:- Start with a prompt (and optionally a template, queries, or images).
- Preview the generated app and try it out.
- Use the query inspector to verify it’s pulling the right data.
- Send follow-up prompts to refine the layout, change calculations, or add new features.