PostgreSQL
UI Bakery allows you to easily connect to a PostgreSQL database with no need for additional layers like APIs and 3rd-party services.

Prerequisites

If your database is hosted behind a Firewall, add the following IP addresses to the Firewall whitelist:
1
23.99.134.30
2
40.122.170.142
3
104.43.136.75
4
104.43.140.0
5
23.99.128.183
Copied!

Configuration

Go to Data sources page –> Connect –> Choose PostgreSQL. Enter your credentials and click Test connection.
How to connect PostgreSQL
If the connection is successful, click Connect Data source. 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.

Usage

Once you have a connection between UI Bakery and PostgreSQL, you can access its data, load and send it back.
  1. 1.
    Create an Action using one of the following types to access your data:
    • Load Table;
    • Load Row;
    • Create Row;
    • Update Row;
    • Delete Row;
    • SQL Query.
  2. 2.
    Configure it. Select a proper Table, set filters, and other settings or write a SQL query.
  3. 3.
    Run it. Take a look at the Results tab to make sure the data is loaded.
Loading table data

Connecting Postgre via Bit.io

If you are connecting Postgre via bit.io, please take these details into consideration:
- check out the details that need to be specified when you are connecting via bit.io
Adding Postgres connection via bit.io
- please make sure to specify your repository's name in the field Schemas name. Make sure to click ADD to save it - otherwise, it will throw an error.
Last modified 23d ago