Skip to main content
Self-hosted instances need an Enterprise license for live data sources. See live data sources setup.
Live data sources let you analyze the live data in your tools, with or without a warehouse. Sign in to a tool and you get a ready-made set of dimensions and metrics to explore, chart and ask AI agents about. Each query goes to the tool’s API when it runs, so results are as current as the tool and its data isn’t loaded into your warehouse. Speed, history and rate limits depend on each tool. A project can use live data sources on their own, with no warehouse connected.
Your warehouse and live data sources such as PostHog, HubSpot and Sentry feed the Lightdash semantic layer, which handles dimensions and metrics, access, caching and rate limits for Explore, dashboards, AI agents, and MCP and API

How it works

When someone runs a query on a live data source, Lightdash:
  1. Checks that they can query the source.
  2. Returns a cached result if the same query ran within the source’s freshness window.
  3. Otherwise turns the query into a call to the tool’s API, within the source’s rate limits, and returns the rows.

Connect your tools

People with the Developer or Admin role add a source by signing in to the tool or entering an API key. There’s no sync to schedule or dbt model to write. Each integration page lists its dimensions, metrics, supported features and limits. To ask for another tool, with or without the Developer or Admin role, click Request a live data source in the Add a live data source dialog and enter its name. See Request an integration.

Integration levels

An integration’s level describes how much its API can do when Lightdash queries it live. The higher the level, the more questions work. Each integration page states its level and the features it supports.

Access and security

A source uses one shared connection, so everyone who can query it sees the same data.

Limit who can query a source

To limit who can query a source, give it an access rule made of user attributes. On the Semantic Layer page, open the source, click Edit on its Access card, set Query access to Restricted, and choose how the conditions combine:
  • Must match all: each attribute must have one of the listed values.
  • Must match any: at least one attribute must have one of the listed values.
A rule like “team is marketing” also covers groups, because groups can hold attribute values. With Query access set to Everyone, everyone in the project can query the source. People who don’t match the rule don’t see the source’s explores, and can’t query them from the explorer, charts, dashboards, AI agents, MCP or the API. On a shared chart or dashboard, they see its title, and its tiles say they don’t have access. Scheduled deliveries run as the person who created them. Admins aren’t exempt, and a lock icon marks a source that has a rule. If you would lose access yourself, Lightdash asks before saving. You can still change the rule afterwards. The rule applies to the whole source. User attributes can’t limit single rows or columns of a live data source. To keep sensitive data, such as properties that hold email addresses, away from people and agents, turn off In use for that dimension or metric.

Limits

Rate limits

Each source caps concurrent requests and calls per time window, such as per second, minute, hour or day. The Rate limits card on the source’s page shows them and how much of each is used. Everyone who queries a source shares them, and cached results don’t count toward them. Scheduled deliveries send results to people without each of them querying the source. A query over a cap waits its turn, then fails with a message saying when to retry. How long it waits depends on where it runs: When the tool itself asks Lightdash to slow down, the source pauses its calls until the time the tool gives. Calls also count toward your API quota with the tool. To leave more of the tool’s API quota for other clients that use the same account, lower a source’s limits. On the source’s page, click Edit on the Rate limits card and enter lower numbers for Concurrent requests, each time window and Per day. You can’t raise a limit above the integration’s cap, shown as Max under each field. Per day has no limit until you set one, unless the integration has its own. The card also shows how much of each limit is in use and when it resets.

Date ranges and rows

A query with no filter on the source’s date dimension reads a default range, such as the last 28 days. Each integration also caps the rows a query returns and how long it waits for an answer.

Unavailable features

These aren’t available on any live data source:
  • View underlying data
  • SQL runner and compiled SQL
  • Embedded dashboards and charts
  • Funnels, retention and user paths, except the Funnel and Retention tables of Amplitude and Mixpanel
  • Pivot tables and charts grouped by a dimension
  • Date zoom
  • Data app connections
Other features, such as table calculations and custom metrics, vary by integration. A query that uses an unsupported feature fails with a message saying what to remove, even when the control for it still appears. Filters work differently. Filter menus only offer the fields, operators and filter groups the source supports, listed on each integration page. A saved filter the source can’t run shows a warning in the filters panel. Remove it to run the chart.

Caching

Live data sources reuse results only while results caching is on for the project. While it’s on, each source reuses results for its own freshness window, up to the project’s cache duration. While it’s off, every query calls the integration, and the source’s Caching card says caching is off for the project. Integrations have their own processing delays, listed on each integration page.
  • Repeat queries. When anyone runs the same query on a source within its freshness window, they get the earlier result. It doesn’t call the integration or count toward its rate limits, and it counts toward the hit rate on the source’s Caching card. The default window is 1 hour for every integration. On the Caching card, change it per source, from No caching up to 24 hours, or click Clear to drop the source’s cached results. Signing in again or changing the source’s token or key also clears them.
  • Scheduled deliveries. Deliveries fetch new results unless Use cached results when available is on.
  • Clearing the cache. Clearing cached results for a project, chart, dashboard or explore, on demand or on a schedule, also clears live data source results.

Choose a data source

You can’t join a live data source to other tables in Explore or combine it in a merge query. AI agents with composer queries turned on, and the MCP query tool, can join its results with a warehouse explore or another live data source. Each live data source’s row limit in the join must be within its integration’s most rows per query.
A composer query lineage where Meta Ads, Google Ads and LinkedIn Ads spend combine into paid spend, which joins GA4 conversions to give return on ad spend

Set up and manage live data sources

Connect, query and manage a live data source

Airtable

Query the tables of an Airtable base live from Explore and AI agents

Amplitude

Query Amplitude events, users, funnels, retention and sessions live from Explore and AI agents

Attio

Query Attio companies, people, deals, users and workspaces live from Explore and AI agents

GitHub

Query pull requests, issues and contributors of a GitHub repository live from Explore and AI agents

Google Ads

Query cost, clicks and conversions for a Google Ads account live from Explore and AI agents

Google Analytics 4

Query users, sessions, events and revenue for a GA4 property live from Explore and AI agents

Google Search Console

Query Google Search clicks, impressions, CTR and position for a site live from Explore and AI agents

HubSpot

Query HubSpot deals, contacts, companies, tickets and leads live from Explore and AI agents

LinkedIn Ads

Query spend, clicks, leads and conversions for a LinkedIn ad account live from Explore and AI agents

Meta Ads

Query Facebook and Instagram ad performance for a Meta ad account live from Explore and AI agents

Mixpanel

Query Mixpanel events, saved funnels and retention live from Explore and AI agents

PostHog

Query events and persons in a PostHog project live from Explore and AI agents

Pylon

Query support issues, accounts and contacts of a Pylon workspace live from Explore and AI agents

Salesforce

Query Salesforce opportunities, accounts, leads and contacts live from Explore and AI agents

Sentry

Query Sentry errors, issues and release health live from Explore and AI agents

Stripe

Query Stripe payments, customers, invoices and subscriptions live from Explore and AI agents

Supabase

Query the tables and views of a Supabase project live from Explore and AI agents

YouTube Analytics

Query views, watch time and subscribers for a YouTube channel live from Explore and AI agents