> For the complete documentation index, see [llms.txt](https://docs.erathos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.erathos.com/destinations/what-is-a-destination/supabase.md).

# Supabase

You can connect the Erathos platform to any Supabase project, leveraging its built-in PostgreSQL database. To ensure a stable and scalable connection, Erathos requires the use of the Supabase Connection Pooler.

To connect to your Supabase instance, the following information is necessary: **Host, Port, Database Name, User,** and **Password**.

The tutorial below shows you how to obtain these credentials.

## Supabase Setup

### Connection Credentials

The easiest way to find your credentials is via the global connection dashboard.

1. Log into your Supabase Dashboard and select your project.
2. At the **top center** of the screen, click the **Connect** button. This will open a side panel containing all necessary integration details.

<figure><img src="/files/HhBEckDsnq8NghUavdsD" alt=""><figcaption></figcaption></figure>

3. In the "**Connect**" panel, ensure you are looking at the **Direct** (Connection String) tab.
4. Ensure the **Transaction pooler** is selected as the **Connection Method**.

<figure><img src="/files/2LvZHUtn0JIL2mJPTdLR" alt=""><figcaption></figcaption></figure>

5. Scroll down to locate your host, port, database, and user.

* **Host**: Copy the pooled hostname (e.g., `aws-0-us-east-1.pooler.supabase.com`).
* **Port**: For pooled connections, this is typically 6543.
* **User**: Identify the database user (default is `postgres.your-project-id`).
* **Database** **Name**: Identify the database name (default is `postgres`).

The database password is the one you established during the initial project creation.

{% hint style="warning" %}
For security reasons, Supabase does not store or exhibit your password again. If you do not have it saved, you must go to **Database > Settings** to reset it. Confirm you have copied and pasted the new password somewhere safe before proceeding.
{% endhint %}

## Connect to Erathos

To connect Erathos to your Supabase:

1. **Create a New Destination**
   * Go to **Settings** > **Destination**.
   * Select **Supabase**.
2. **Fill Out the Form**
   * **Host**: Paste the Connection Pooler Host copied from the Connect panel.
   * **Port**: Enter 6543 (ensure you are using the pooled port).
   * **Database**: Enter your database name.
   * **User**: Enter the database user.
   * **Password**: Enter your project's database password.
3. **Complete the Setup**

{% hint style="info" %}
If you need help connecting to your Supabase project, reach out to our team at <support@erathos.com>.
{% endhint %}
