# Supabase

Supabase is a hosted PostgreSQL service. Follow these steps to connect your Supabase database to Airbook:

{% hint style="info" %}
See also: [PostgreSQL (Postgres)](/connect/postgresql-postgres.md)
{% endhint %}

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

#### Steps to Connect:

1. **Log into Supabase** and open the project you want to connect.
2. At the top, click the **Connect** button.
3. Choose either:
   * **Direct Connection** (for direct access)
   * **Transaction Pooler** (for pooled connections)
4. **Ignore the URI**—instead, click **View Parameters** to reveal the necessary connection details.

#### Configuring Airbook:

1. Open **Airbook's Connections** page.
2. Select **Postgres** as the database type.
3. Copy the parameters from Supabase and paste them into Airbook.
4. **Enter your database password manually** (Supabase does not provide it in the connection details).
5. Click **Connect**.

#### What Happens Next:

* Your data will begin syncing automatically.
* You don’t need to wait—Airbook will notify you via email once the data is available for querying.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airbook.io/connect/supabase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
