Connecting to Supabase
Introduction
Section titled “Introduction”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.
Creating the data connection to Supabase
Connection data required
Section titled “Connection data required”When setting up your data connection, you’ll need:
- Host and Port (usually 5432)
- Username and Password
- SSL mode:
requireby 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.
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.11prod-astrato-io-prod-nat-ip-1 34.142.68.232With a Deployment Region selected, the form names that region’s addresses as “Allow traffic from … at your database.”
Creating the data connection to Supabase
Section titled “Creating the data connection to Supabase”-
Open Data & AI → Data Connections and select New connection.

-
Select Supabase. The panel title changes to New Supabase connection.
-
Under Authentication, enter the Username and Password.
-
Under Connection details, enter the Host, check the Port, and choose an SSL mode. If your workspace offers a Deployment Region, choose one.
-
Select Validate Connection. It stays unavailable while a required field is empty; the form lists those fields after “Still needed:”.
-
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. -
Under Name, the suggested Connection name is
Supabase. Change it if you like, for example to include the database name.
-
Select Save connection.
-
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.

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




