Skip to main content
These steps are the same for every integration. Each integration’s page has its own sign-in details, dimensions, metrics and limits.

Connect a live data source

Adding, editing and listing live data sources needs the Developer or Admin role in the project. In a custom role, that’s the manage:LiveSource scope. You also need access to the tool itself, and each integration page lists what it needs.
  1. On the nav bar, click Browse → Semantic Layer.
  2. Click Add → Live data source.
  3. In the Add a live data source dialog, select an integration, then follow the steps on its integration page.
  4. Under Details, check the Name. People see it in Explore, and agents use it to pick a source.
The Add a live data source dialog listing the integrations you can connect, and a card to request another
The dialog lists the integrations turned on for your organization. When the source is added, Lightdash reads its dimensions and metrics and opens the source’s page. Its explores appear in Explore with a Live badge, in a folder named after the source.
The Semantic Layer page with Live data sources selected, listing each source's integration, name, queries and explores
You can connect several sources from the same integration, such as one for each account. Give each a clear name, because people and agents use the name to choose a source.

Without the Developer or Admin role

Anyone who can open the Semantic Layer page can still click Add → Live data source. The dialog shows the integrations greyed out, with the notice You can’t add live data sources in this project and “Ask a project admin to add one for you”.

Request an integration

To ask for a tool that isn’t listed, click Request a live data source at the bottom of the Add a live data source dialog, enter the tool’s name and click Request. You don’t need the Developer or Admin role to request one.

Dimensions and metrics

Each source starts with the dimensions and metrics its integration offers, plus the ones Lightdash reads from your account, such as custom properties or events. Each integration page lists them. Blue icons mark dimensions and show their type, and orange icons mark metrics and show how they combine across rows, as in Explore. To see them, open the source’s page and select an explore on its Explores card. Only dimensions and metrics marked In use appear in Explore and to AI agents. The others show dimmed to people who manage the source.
The Deals explore of a HubSpot live data source, with an Edit button, a field search, and its dimensions listed with their descriptions
Click a dimension or metric to change its label, description, AI hint and Group, or turn In use off. Click Save to apply. If charts use a field you turn off, Lightdash lists them and asks first. To read the fields from the integration again after you add properties or events in the tool, click Refresh at the top of the source’s page. You can’t add dimensions or metrics of your own, or manage them as code.
The Country dimension dialog with its label, description, AI hint, Group and an In use switch

Switch explores on and off

An integration with several explores, such as GitHub’s Pull requests, Issues and Contributors, lets you choose which ones people and agents can use. On the source’s Explores card, click Edit, switch explores on or off, and click Save. To rename one, or change its description or AI hint, open the explore and click Edit. Switching off an explore that charts use lists those charts and their dashboards first. Until you switch it back on, those charts say the explore is switched off instead of showing results, and agents stop using it.

Explore a live data source

In Explore, open the source’s explore, which has a Live badge. Pick metrics and dimensions, and run the query. Each run is one call to the integration.
Explore on a live data source with a Live badge, showing a bar chart and results of a metric split by a dimension
Save the result as a chart to add it to a dashboard or a scheduled delivery.

Ask an AI agent about a live data source

Ask in plain language. The agent picks the dimensions and metrics, adds a date filter for the period you mention and builds a chart. Name the tool in your question when the project has more than one source that could answer it. An agent limited to tags uses a source only when they share a tag.
An AI agent thread answering a question from a live data source with a summary, a results table and a bar chart
If a question needs something a source can’t do, the agent says so instead of approximating it.

Manage a live data source

On the Semantic Layer page, select the source under Live data sources. Its page shows a summary, then one card per setting. Click Edit on a card to change it. Click Refresh at the top of the page to read the source’s dimensions and metrics again.
A live data source's page with its summary and the Explores, Details, Usage and Caching cards

Reattach a deleted source

When you add a source and a deleted source of the same integration had a name or saved charts, Lightdash offers to bring it back. In the Bring back a deleted source? dialog, pick the Deleted source and click Reattach. Its charts work again, and its field and explore edits come back. Its AI hint, access rule and tags come back where the new source has none. If the deleted source read a different account, its charts show the new source’s data. Reattach before you save charts on the new source. A source that already has charts can’t take a deleted one’s place.