Home » Building a SaaS Product » Custom Database Pages

How to Build Custom Database Pages for SaaS Users

Custom database pages let your SaaS customers view, create, edit, and delete their data through a web interface without you writing any frontend code. You define the page structure in a JSON configuration file, and the platform renders the forms, tables, and data management controls automatically.

What a Database Page Looks Like

A database page has two views that the platform generates from your configuration:

For your SaaS customers, this looks like a professional data management interface. Behind the scenes, it is all driven by a single JSON configuration file.

Defining a Page With a Slug

Each database page is defined by a slug file that tells the admin engine where to find the data and how to display it. The key fields in a slug are:

When a user navigates to this page, the admin engine loads the slug, queries the database for the user's account data, and renders the list and edit views according to the configuration.

Field Types You Can Use

The platform supports a wide range of field types for different data entry needs:

Dynamic dropdowns are also supported. Set a dbfield property on a dropdown to populate its options from another field in the database. For example, a "select message" dropdown can pull its options from the user's list of saved messages.

Building a Complete Data Management Flow

For a helpdesk SaaS as an example, you might create these database pages:

Each of these is a separate slug file. The app configuration lists them in order for the sidebar navigation, and your SaaS customers see a clean, professional admin interface without you writing any HTML, CSS, or JavaScript.

Connecting Pages to Your API

Database pages handle CRUD operations through the admin panel. For actions that need to trigger business logic (like sending a notification when a ticket status changes), you can connect the page to your API endpoints through field-level functions. When a field is saved, the platform can call a PHP function that runs your custom logic.

This means the admin panel is not just a data viewer. It is a complete application interface where user actions in the UI trigger real backend operations.

Build professional data management pages for your SaaS with zero frontend code. JSON configuration drives the entire interface.

Get Started Free