Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lightdash.com/llms.txt

Use this file to discover all available pages before exploring further.

Cortex Code is Snowflake’s coding agent, with Snowflake-native tools and RBAC governance built in. Pair it with Lightdash and you can operate your BI layer agentically. For broader guidance on using AI coding agents with Lightdash, see Editing dashboards with agents.

Integration options

There are three ways to integrate Cortex with Lightdash:
MethodBest forAuth requiredWhere it works
SkillsOperating Lightdash as an expert: building your semantic layer, developing charts and dashboards, shipping dashboards as code, and vibe coding dashboardsNoneLocally (via the Lightdash CLI)
Lightdash MCPSearching your semantic layer and executing queriesLightdash loginLocally and in Snowsight Cortex
Docs MCPLooking up anything in the Lightdash docsNone (public)Anywhere
You can use any combination of these together.

Skills

Skills are the best way to get Cortex operating Lightdash as an expert. They teach the agent how to: Skills are powered by the Lightdash CLI. Install skills for Cortex in your project:
lightdash install-skills --agent cortex
Or install them globally so they’re available across all your projects:
lightdash install-skills --agent cortex --global
For more details, see the Agent skills guide.

Lightdash MCP

The Lightdash MCP is best for searching through your semantic layer and executing queries. Unlike skills, the MCP also works in Snowsight Cortex — not just locally. It requires you to log in to Lightdash. Add the Lightdash MCP to Cortex:
cortex mcp add lightdash https://<yourapp>.lightdash.cloud/api/v1/mcp
Replace <yourapp> with your Lightdash instance name.

Docs MCP

The Docs MCP is public and requires no login. It lets Cortex look up anything in the Lightdash documentation — generally very useful alongside the other integrations. Add the Docs MCP to Cortex:
cortex mcp add lightdash https://docs.lightdash.com