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

<Steps>
  <Step title="Open your Supabase project">
    In Supabase, open the project you want to connect.
  </Step>

  <Step title="Open the Connect panel">
    Click **Connect** in the top bar to open the connection options.
  </Step>

  <Step title="Select Transaction pooler">
    In the **Connection string** tab, set **Method** to **Transaction pooler**.

    <img src="https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/supabase-connection.webp?fit=max&auto=format&n=Xpjx81zz23V45QQD&q=85&s=cee926617814c267a25696e626562dc0" alt="Supabase connection string with Transaction pooler selected" width="2016" height="440" data-path="images/supabase-connection.webp" />
  </Step>

  <Step title="Copy the connection string">
    Copy the connection string shown in the panel.
  </Step>
</Steps>

<Note>
  The connection string includes the database password you set when you created the Supabase project.
</Note>

***

## Connect Supabase in Daymark

### Open the Explore Page

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

<img src="https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-explore.webp?fit=max&auto=format&n=Xpjx81zz23V45QQD&q=85&s=b03e0df90007d331965b6ae9a47ad235" alt="Explore page with Add data source button" width="2926" height="1660" data-path="images/connect-db-explore.webp" />

### Choose PostgreSQL

Choose **PostgreSQL** as the data source.

<img src="https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-connector.webp?fit=max&auto=format&n=Xpjx81zz23V45QQD&q=85&s=a8f0bf5a937cd4c0a0e1409ee330a0c5" alt="Data connectors modal with PostgreSQL selected" width="2926" height="1660" data-path="images/connect-db-connector.webp" />

### Enter Connection Details

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

<img src="https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-form.webp?fit=max&auto=format&n=Xpjx81zz23V45QQD&q=85&s=6ab1c3401c65a62040b4b8ac93f94cb9" alt="PostgreSQL connection form" width="2926" height="1660" data-path="images/connect-db-form.webp" />

### Select Tables and Fields

Choose the tables and columns you want to include.

<img src="https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-fields.webp?fit=max&auto=format&n=Xpjx81zz23V45QQD&q=85&s=6857c5bdf8145f198e0b5a8cd01d05f5" alt="Field selection during PostgreSQL import" width="2926" height="1660" data-path="images/connect-db-fields.webp" />

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

<img src="https://mintcdn.com/daymark-189ba31c/Xpjx81zz23V45QQD/images/connect-db-import.webp?fit=max&auto=format&n=Xpjx81zz23V45QQD&q=85&s=937d126047e08653110ab978624a9635" alt="Importing data from PostgreSQL" width="2926" height="1660" data-path="images/connect-db-import.webp" />

***

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