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

# Supabase (MCP) - How do I link my account?

> Connect Supabase MCP with Nango using a project reference and Personal Access Token

# Overview

To connect **Supabase (MCP)** with Nango you need:

1. **Project reference** — The 20-character ID of your Supabase project.
2. **Personal Access Token** — A token from your Supabase account used to authenticate with the MCP server.

This guide walks you through finding your project reference and creating a **Personal Access Token** in Supabase.

### Prerequisites

* A Supabase account and at least one project

### Instructions:

#### Step 1: Finding your project reference

Your project reference is the 20-character ID that identifies your Supabase project:

1. Open the [Supabase Dashboard](https://supabase.com/dashboard) and select your project.
2. Obtain the ID from the project URL: `https://supabase.com/dashboard/project/<project-ref>/...` in your browser address bar.

#### Step 2: Obtaining your Personal Access Token

1. In the Supabase dashboard, open your **Account preferences**.
2. Go to [Access tokens](https://supabase.com/dashboard/account/tokens).
3. Click **Generate new token**.

<img src="https://mintcdn.com/nango/o5mt10NHsu0JlUSC/api-integrations/supabase-mcp/pat.png?fit=max&auto=format&n=o5mt10NHsu0JlUSC&q=85&s=79d61cae2a61766366ad0779088007d9" width="1910" height="465" data-path="api-integrations/supabase-mcp/pat.png" />

4. Give the token a name, and select the **Expires in** time and submit the form to create it.

#### Step 3: Enter credentials in the Connect UI

Once you have your **Project reference** and **Personal Access Token**:

1. Open the form where you need to authenticate with Supabase (MCP).
2. Enter both **Project reference** and **Personal Access Token** in their respective fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/o5mt10NHsu0JlUSC/api-integrations/supabase-mcp/form.png?fit=max&auto=format&n=o5mt10NHsu0JlUSC&q=85&s=66237240cf7c4c2b0d77071f936bd7e3" style={{maxWidth: "450px" }} width="499" height="699" data-path="api-integrations/supabase-mcp/form.png" />

You are now connected to Supabase (MCP).
