Supabase
Was this helpful?
Was this helpful?
Supabase is an open-source Firebase alternative. It’s built on top of PostgreSQL and packed with many features such as database, auth, storage, REST, and GraphQL APIs. In UI Bakery, you can connect your Supabase database as a PostgreSQL data source. Let's explore it in more details👇
Navigate to the Data Sources page and click Connect.
In the window that opens, select the PostgreSQL data source.
Enter a name to identify it within your app and specify all the required connection settings fields.
To obtain the connect details, go to your Supabase project > Project Settings, and click the Connect tab in the top bar.
In the window that appears, click View parameters under Session pooler.
We recommend connecting to your Supabase project via the Session pool mode.
Copy all the required data and paste it to the necessary Data source connection fields.
Click Test connection to check if the configuration is correct.
To finish, click Connect Datasource.
Once connected, UI Bakery will extract the database structure and store column types. This data will be used to suggest proper table columns and form field types.
If you need to be able to override the default data source database with a custom value in the action, you can enable the Allow override database name in action setting in the Data source connection window. Once enabled, you will be able to specify a custom database when configuring an action. In case a database is not specified, the default data source database will be used.
Once you have established a connection between UI Bakery and your Supabase database, you can access its data, load it and send it back. Listed below are all the supported action types:
Check out more about the Supabase integration and the apps you can build with it on our website.