> ## 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.

# Supabase

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

The Supabase [live source](https://docs.lightdash.com/integrations/live-sources) reads the tables and views in the `public` schema of a Supabase project.

## Before you start

* **Project URL**, from the project's **Data API** settings.
* **Secret key**, starting with `sb_secret_`, from the project's **API Keys** settings.

## Connect Supabase

[Add a live source](https://docs.lightdash.com/integrations/live-sources/set-up-and-manage.md#connect-a-live-source), select **Supabase**, and enter the **Project URL** and **Secret key**.

![The Add Supabase source dialog with the Project URL and Secret key fields and a Test button, the Name field under Details, and the Add source button](https://mintcdn.com/lightdash/WuPlti30p6CHhcUC/images/integrations/live-sources/supabase-config.png?fit=max\&auto=format\&n=WuPlti30p6CHhcUC\&q=85\&s=bb35dddc20e905fe9a2c898f7224b2bb)

## Semantic layer

> [!NOTE]
>
> Each table and view in the `public` schema gets its own explore.

## Limits

| Limit | Value |
| - | - |
| Columns per table | 200 |
| Most rows per query | 4,999, read 1,000 at a time |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.