> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Supabase

> Check the health of your Supabase projects and databases from an investigation.

Connect Supabase's [Management API](https://supabase.com/docs/reference/api/introduction) as an HTTP API [connector](https://docs.incident.io/nexus/extensions/connectors.md) to let incident.io's agents check your projects, their databases and their logs.

**What you'll need:**

* A Supabase account with access to the organizations and projects you want agents to reach.
* The **Manage Nexus sources** permission in incident.io.

## Create an access token

1. In Supabase, go to [Access tokens](https://supabase.com/dashboard/account/tokens) in your account settings and create a token.
2. Choose the organizations and projects agents should reach, and give each permission **Read only** access.
3. Copy the token.

Tokens scoped this way only reach what you chose. A classic token, marked **Legacy**, reaches every organization and project you belong to, including ones you join later.

## Connect it in incident.io

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **HTTP API**.
2. Paste Supabase's [OpenAPI document](https://api.supabase.com/api/v1-json). You may want to trim it to the operations agents need.
3. Enter `https://api.supabase.com` as the base URL.
4. Under authentication, choose **Bearer token** and enter your access token.
5. Test the connection, review which operations are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

See [Connectors](https://docs.incident.io/nexus/extensions/connectors.md#permissions) for how to control which tools agents can call, and from where.

## Pair it with a skill

Agents work best with a connector when it's paired with a [skill](https://docs.incident.io/nexus/extensions/plugins.md). For Supabase, say which projects back which services and environments, using their project refs, and which ones are production.
