Skip to content

Connecting to Supabase

3 min read · Updated 4 Nov 2026

In this article, we show you how to connect your Astrato workspace to Supabase.

It’s designed to be a quick process and easy to follow.


Introduction

Connection data required

Creating the data connection to Supabase


When setting up your data connection, you’ll need:

  • Host and Port (usually 5432)
  • Username and Password
  • SSL mode: require by default; change it if your organization’s security policy needs another mode.

The form has no field for a connection URL. Supabase’s Connect page shows a URI with this structure, which holds every value above:

postgresql://user:[YOUR-PASSWORD]@host:5432/db

Copy the user, host and port from it into the matching fields.

Supabase “Connect to your project” dialog with the Direct Connection string tab and the URI connection string highlighted.

If your Supabase project restricts network access, allow Astrato’s addresses. Without a Deployment Region (Legacy / not selected), these are the Cloud NAT IP addresses:

prod-astrato-io-prod-nat-ip-0 34.142.11.11
prod-astrato-io-prod-nat-ip-1 34.142.68.232

With a Deployment Region selected, the form names that region’s addresses as “Allow traffic from … at your database.”

  1. Open Data & AI → Data Connections and select New connection.

    The New connection panel beside the Data Connections list, with a Source grid of Snowflake, Google BigQuery, ClickHouse, Databricks, Amazon Redshift, Supabase, DuckDB, Dremio and PostgreSQL tiles, and Google Sheets and Demo data greyed out

  2. Select Supabase. The panel title changes to New Supabase connection.

  3. Under Authentication, enter the Username and Password.

  4. Under Connection details, enter the Host, check the Port, and choose an SSL mode. If your workspace offers a Deployment Region, choose one.

  5. Select Validate Connection. It stays unavailable while a required field is empty; the form lists those fields after “Still needed:”.

  6. Under Data to use, choose the Database, usually postgres. Schema lists no schemas until the connection is saved; you can choose one in step 9.

  7. Under Name, the suggested Connection name is Supabase. Change it if you like, for example to include the database name.

    A New PostgreSQL connection panel after validating: a Validation result reading Connected to PostgreSQL in 140 ms, Data to use with Database sales and Schema left at (Default), and Connection name Revenue Analysis above the Save connection button

  8. Select Save connection.

  9. The panel shows Connection created with “Choose a schema now, or finish to use this connection.” Choose a schema or leave it as Choose later, then select Finish.

    A New PostgreSQL connection panel after saving: Connection created with “Choose a schema now, or finish to use this connection.”, a Schema list set to Choose later and a Finish button

After Finish, the connection appears in the Data Connections list and is selected. Who else can use it is set afterwards, on its Manage Access tab.

The screenshots below are from an earlier version of Astrato, which used a separate dialog, a member-selection step and a Connect button. Follow the steps above where the screens differ.

Astrato “Connect to Supabase” dialog with an empty URL field, SSL Mode set to Require, and a Test connection button.

Connect to Supabase step with “Select your database” set to postgres, a Data Connection Name field and a Next button.

Add Members screen listing Viewer, Designer, Creator and users to choose from, with a Selected list showing owner and administrators.

Saving the connection does not open a semantic layer. To use the data, create a semantic layer on this connection and select the tables you need; you can create several semantic layers on the same connection.

Semantic layer editor at the Select step, with a list of tables under Bike Sales such as Products, Sales and Territory.

Back to Top