Skip to content

Commit 0fd96aa

Browse files
committed
A few small CI fixes and some minor formatting changes
1 parent ffd6dd1 commit 0fd96aa

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

docs/integrations/data-visualization/lightdash-and-clickhouse.md

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,26 @@ import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.md
2121
import Image from '@theme/IdealImage';
2222
import PartnerBadge from '@theme/badges/PartnerBadge';
2323

24-
# Goal
24+
# Lightdash
2525

26-
In this guide, you’ll see how **Lightdash** connects to **ClickHouse** to explore your dbt models and build interactive dashboards.
27-
The example below shows a finished dashboard powered by data from ClickHouse.
26+
<PartnerBadge/>
2827

29-
<Image size="lg" img={lightdash_02} alt="Lightdash dashboard example" border />
28+
Lightdash is the **AI-first BI platform** built for modern data teams, combining the openness of dbt with the performance of ClickHouse. By connecting ClickHouse to Lightdash, teams get an **AI-powered self-serve analytics experience** grounded in their dbt semantic layer, so every question is answered with governed, consistent metrics.
3029

31-
# Connecting Lightdash to ClickHouse
30+
Developers love Lightdash for its open architecture, version-controlled YAML models, and integrations that fit directly into their workflow - from GitHub to the IDE.
3231

33-
<PartnerBadge/>
32+
This partnership brings together **ClickHouse’s speed** and **Lightdash’s developer experience**, making it easier than ever to explore, visualize, and automate insights with AI.
3433

35-
Lightdash is the **AI-first BI platform** built for modern data teams, combining the openness of dbt with the performance of ClickHouse. By connecting ClickHouse to Lightdash, teams get an **AI-powered self-serve analytics experience** grounded in their dbt semantic layer, so every question is answered with governed, consistent metrics.
34+
## Build an interactive dashboard with Lightdash and ClickHouse
3635

37-
Developers love Lightdash for its open architecture, version-controlled YAML models, and integrations that fit directly into their workflow - from GitHub to the IDE.
38-
This partnership brings together **ClickHouse’s speed** and **Lightdash’s developer experience**, making it easier than ever to explore, visualize, and automate insights with AI.
36+
In this guide, you’ll see how **Lightdash** connects to **ClickHouse** to explore your dbt models and build interactive dashboards.
37+
The example below shows a finished dashboard powered by data from ClickHouse.
38+
39+
<Image size="md" img={lightdash_02} alt="Lightdash dashboard example" border />
3940

41+
<VerticalStepper headerLevel="h3">
4042

41-
## Connection data required {#connection-data-required}
43+
### Gather connection data {#connection-data-required}
4244

4345
When setting up your connection between Lightdash and ClickHouse, you’ll need the following details:
4446

@@ -56,7 +58,7 @@ When setting up your connection between Lightdash and ClickHouse, you’ll need
5658

5759
---
5860

59-
## Configuring your dbt profile for ClickHouse {#configuring-your-dbt-profile-for-clickhouse}
61+
### Configure your dbt profile for ClickHouse {#configuring-your-dbt-profile-for-clickhouse}
6062

6163
In Lightdash, connections are based on your existing **dbt project**.
6264
To connect ClickHouse, make sure your local `~/.dbt/profiles.yml` file contains a valid ClickHouse target configuration.
@@ -66,18 +68,19 @@ For example:
6668
<Image size="md" img={lightdash_01} alt="Example profiles.yml configuration for a lightdash-clickhouse project" border />
6769
<br/>
6870

69-
## Creating a Lightdash project connected to ClickHouse {#creating-a-lightdash-project-connected-to-clickhouse}
71+
### Create a Lightdash project connected to ClickHouse {#creating-a-lightdash-project-connected-to-clickhouse}
7072

7173
Once your dbt profile is configured for ClickHouse, you’ll also need to connect your **dbt project** to Lightdash.
7274

73-
Because this process is the same for all data warehouses, we won’t go into detail here — you can follow the official Lightdash guide for importing a dbt project:
75+
Because this process is the same for all data warehouses, we won’t go into detail here — you can follow the official Lightdash guide for importing a dbt project:
76+
7477
[Import a dbt project → Lightdash Docs](https://docs.lightdash.com/get-started/setup-lightdash/connect-project#2-import-a-dbt-project?utm_source=clickhouse&utm_medium=partner&utm_campaign=integration_docs)
7578

7679
After connecting your dbt project, Lightdash will automatically detect your ClickHouse configuration from the `profiles.yml` file. Once the connection test succeeds, you’ll be able to start exploring your dbt models and building dashboards powered by ClickHouse.
7780

7881
---
7982

80-
## Exploring your ClickHouse data in Lightdash {#exploring-your-clickhouse-data-in-lightdash}
83+
### Explore your ClickHouse data in Lightdash {#exploring-your-clickhouse-data-in-lightdash}
8184

8285
Once connected, Lightdash automatically syncs your dbt models and exposes:
8386

@@ -89,7 +92,7 @@ You can now build dashboards, share insights, and even use **Ask AI** to generat
8992

9093
---
9194

92-
## Defining metrics and dimensions in Lightdash {#defining-metrics-and-dimensions-in-lightdash}
95+
### Define metrics and dimensions in Lightdash {#defining-metrics-and-dimensions-in-lightdash}
9396

9497
In Lightdash, all **metrics** and **dimensions** are defined directly in your dbt model `.yml` files. This makes your business logic version-controlled, consistent, and fully transparent.
9598

@@ -98,22 +101,17 @@ In Lightdash, all **metrics** and **dimensions** are defined directly in your db
98101

99102
Defining these in YAML ensures your team is using the same definitions across dashboards and analyses. For example, you can create reusable metrics like `total_order_count`, `total_revenue`, or `avg_order_value` right next to your dbt models — no duplication required in the UI.
100103

101-
To learn more about how to define these, see the Lightdash guides:
104+
To learn more about how to define these, see the following Lightdash guides:
102105
- [How to create metrics](https://docs.lightdash.com/guides/how-to-create-metrics?utm_source=clickhouse&utm_medium=partner&utm_campaign=integration_docs)
103106
- [How to create dimensions](https://docs.lightdash.com/guides/how-to-create-dimensions?utm_source=clickhouse&utm_medium=partner&utm_campaign=integration_docs)
104107

105108
---
106109

107-
## Querying your data from tables {#querying-your-data-from-tables}
110+
### Query your data from tables {#querying-your-data-from-tables}
108111

109112
Once your dbt project is connected and synced with Lightdash, you can start exploring data directly from your **tables** (or “explores”).
110113
Each table represents a dbt model and includes the metrics and dimensions you’ve defined in YAML.
111114

112-
## Querying your data from tables {#querying-your-data-from-tables}
113-
114-
Once your dbt project is connected and synced with Lightdash, you can start exploring data directly from your **tables** (also called “explores”).
115-
Each explore represents a dbt model and includes the metrics and dimensions you’ve defined in YAML.
116-
117115
The **Explore** page is made up of five main areas:
118116

119117
1. **Dimensions and Metrics** — all fields available on the selected table
@@ -131,7 +129,7 @@ For a deeper look at explores and how to query from your tables, see:
131129

132130
---
133131

134-
## Building dashboards {#building-dashboards}
132+
### Build dashboards {#building-dashboards}
135133

136134
Once you’ve explored your data and saved visualizations, you can combine them into **dashboards** to share with your team.
137135

@@ -152,7 +150,7 @@ Learn more about how to create and organize dashboards here:
152150

153151
---
154152

155-
## Ask AI: self-serve analytics powered by dbt {#ask-ai}
153+
### Ask AI: self-serve analytics powered by dbt {#ask-ai}
156154

157155
Lightdash’s **AI Agents** make data exploration truly self-serve.
158156
Instead of writing queries, users can simply ask questions in plain language — like *“What was our monthly revenue growth?”* — and the AI Agent automatically generates the right visualization, referencing your dbt-defined metrics and models to ensure accuracy and consistency.
@@ -161,10 +159,11 @@ It’s powered by the same semantic layer you use in dbt, meaning every answer s
161159

162160
<Image size="lg" img={lightdash_06} alt="Lightdash Ask AI interface showing natural language query powered by dbt metrics" border />
163161

164-
Learn more about AI Agents here:
165-
[AI Agents → Lightdash Docs](https://docs.lightdash.com/guides/ai-agents?utm_source=clickhouse&utm_medium=partner&utm_campaign=integration_docs)
166-
162+
:::tip
163+
Learn more about AI Agents here: [AI Agents → Lightdash Docs](https://docs.lightdash.com/guides/ai-agents?utm_source=clickhouse&utm_medium=partner&utm_campaign=integration_docs)
164+
:::
165+
</VerticalStepper>
167166

168-
## Learn more
167+
## Learn more {#learn-more}
169168

170169
To learn more about connecting dbt projects to Lightdash, visit the [Lightdash Docs → ClickHouse setup](https://docs.lightdash.com/get-started/setup-lightdash/connect-project#clickhouse?utm_source=clickhouse&utm_medium=partner&utm_campaign=integration_docs).

0 commit comments

Comments
 (0)