Connecting MongoDB and UI Bakery
UI Bakery allows you to easily connect to a MongoDB database with no need for additional layers (APIs or 3rd-party services).


If your database is hosted behind the Firewall, add the following IP address to the Firewall whitelist:


Go to the Data sources page – Connect – Choose MongoDB. Enter your connection string and click Test connection.
Adding MongoDB as a datasource
When 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 the 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 an action, you can enable the setting Allow override database name in action:
Once enabled, when configuring the action, you will be able to specify the custom database. In case a database is not specified, the default data source database will be used.


Once you have the connection between UI Bakery and MongoDB, you can interact with its data.
  1. 1.
    Create an action using one of the following types
    • Load Table
    • Load Row
    • Create Row
    • Update Row
    • Delete Row
  2. 2.
    Click Run Action, then the Results tab to verify the results.
  3. 3.
    To transform or map your data please see: Transforming any previous step result
  4. 4.
    To use your connection and new Action step please see: Connecting to data
Last modified 8d ago