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

# Supabase

> Connect Supabase to Daymark using a connection string

## Overview

Daymark connects to Supabase through its PostgreSQL connection string.
This guide shows how to retrieve the Supabase connection string and use it in Daymark.

***

## Get the Supabase Connection String

**1. Open your Supabase project**

In Supabase, open the project you want to connect.

**2. Open the Connect panel**

Click **Connect** in the top bar to open the connection options.

**3. Select Transaction pooler**

In the **Connection string** tab, set **Method** to **Transaction pooler**.

![Supabase connection string with Transaction pooler selected](https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/supabase-connection.webp?fit=max\&auto=format\&n=Xpjx81zz23V45QQD\&q=85\&s=cee926617814c267a25696e626562dc0)

**4. Copy the connection string**

Copy the connection string shown in the panel.

> [!NOTE]
>
> The connection string includes the database password you set when you created the Supabase project.

***

## Connect Supabase in Daymark

### Open the Explore Page

After login, open the Explore page and click **Add Data Source**.

![Explore page with Add data source button](https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-explore.webp?fit=max\&auto=format\&n=Xpjx81zz23V45QQD\&q=85\&s=b03e0df90007d331965b6ae9a47ad235)

### Choose PostgreSQL

Choose **PostgreSQL** as the data source.

![Data connectors modal with PostgreSQL selected](https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-connector.webp?fit=max\&auto=format\&n=Xpjx81zz23V45QQD\&q=85\&s=a8f0bf5a937cd4c0a0e1409ee330a0c5)

### Enter Connection Details

Paste the Supabase connection string into the **Connection string** field.

![PostgreSQL connection form](https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-form.webp?fit=max\&auto=format\&n=Xpjx81zz23V45QQD\&q=85\&s=6ab1c3401c65a62040b4b8ac93f94cb9)

### Select Tables and Fields

Choose the tables and columns you want to include.

![Field selection during PostgreSQL import](https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-fields.webp?fit=max\&auto=format\&n=Xpjx81zz23V45QQD\&q=85\&s=6857c5bdf8145f198e0b5a8cd01d05f5)

### Connect and Import

Daymark shows the import progress as it pulls in your data. Once the import is complete successfully, you can start analyzing the data in Daymark.

![Importing data from PostgreSQL](https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-import.webp?fit=max\&auto=format\&n=Xpjx81zz23V45QQD\&q=85\&s=937d126047e08653110ab978624a9635)

***

## Connection Complete

Once the import completes successfully, ask your questions on the Explore page to see trends, patterns, and insights from your data in Daymark.


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