Skip to main content
ClaudeChatGPT

Managed PostgreSQL (Supabase, Neon)

Use this guide to connect a managed PostgreSQL service — such as Supabase or Neon — to Wren AI. These services host standard PostgreSQL, so Wren AI connects to them with the regular PostgreSQL connector; only the way you find your connection details differs per provider.

Plan support

Included in all plans

To add a connection, click on the PostgreSQL option in the Connect a data source section. connect

Find your connection details​

Go to the Connect page from the top bar of the Supabase dashboard. connect_page

IPv4 compatible only

Currently, Wren AI supports only IPv4-compatible endpoints. If you're on Supabase's free plan, you can connect using the Transaction Pooler only.

Open the page to view the connection information. connect_info

Fill in the connection settings in Wren AI based on the connection information from Supabase: fill_connect

Connection fields​

Display name​

The display name for the database in the Wren AI interface.

Host​

Your database host name, from your provider's connection details.

Port​

Your database port (default: 5432).

Username​

The database username for the account that you want to use to connect to your database.

Password​

The password for the username that you use to connect to the database.

Database name​

The name of the database you want to connect to.

Next steps​

The remaining steps — required permissions, selecting tables, and defining relationships — are the same as for any PostgreSQL database. Continue with the PostgreSQL connector guide.