Skip to Content
Microapps

Microapps

Create and manage domain-focused microapps inside a single project.

What Are Microapps?

Microapps are independent app modules that each own a clear domain, such as users, billing, or reporting.

In Buildpad, a project usually has:

  • Main App for primary navigation and user experience.
  • Microapps for domain-specific features and services.
  • One shared data backend and one shared sign-in setup across all apps in the project.

This gives you clear boundaries without splitting your platform into disconnected data silos.

On a Buildpad Engine project, the Buildpad Engine serves both the data and the sign-in, at the Engine URL. You administer it in the Studio. See Projects.

On a Supabase project, the shared backend is Buildpad DaaS and sign-in uses Supabase Auth. DaaS is a separate product with its own documentation at docs.daas.buildpad.ai . Collections, roles, event hooks, and workflows all live there — this site covers how the platform provisions and organises it. See The Buildpad Ecosystem.

Use this diagram as a quick map: the Main App orchestrates the experience, domain microapps deliver features, and all apps share one backend and auth foundation.

Define microapps around business domains, not technical layers.

  • Users microapp: profiles, roles, preferences
  • Billing microapp: plans, invoices, payments
  • Analytics microapp: events, reports, dashboards

Each domain can evolve independently while still using the same project-level auth and backend.

Architecture Model

  • All microapps in a project share one data backend: the Engine on a Buildpad Engine project, DaaS on a Supabase project.
  • Domain ownership is a team convention, not a separate database per microapp.
  • Independent deployments: Each microapp can be deployed on its own lifecycle.
  • Shared authentication: Users sign in once at project level.
  • Client-side composition: Main App can embed microapps in iframe-based flows.
  • Centralized permissions: RBAC is managed in the shared backend.

On a Buildpad Engine project, the Engine serves sign-in at the Engine URL, and apps send the project’s tenant in the X-Tenant-Id header. See Sign-In, Sessions and the Tenant for what works today.

Keep boundaries clear by assigning collections by domain (for example, billing collections owned by the billing microapp).

On a Buildpad Engine project, the add-microfrontend (iframes) and add-microfrontend-zones (Multi-Zones) skills do not set up composition yet: the agent says so and stops, because the Main App and its frames cannot share one session on the Engine yet.

A Buildpad Engine project whose Main App already composes microapps with Multi-Zones (its config/zones.json lists them) works in Production: each Promotion connects the zones’ Production copies to each other. See Where your users reach Production.

On a Supabase project, you can compose microapps into the Main App with iframes or Multi-Zones, using the add-microfrontend and add-microfrontend-zones skills.

Creating a Microapp

  1. Open a project and click Microapps in the sidebar.
  2. Click Create Microapp (or Create First Microapp if the project has none yet).
  3. Enter a Microapp Name (for example, users-app for identity features).
  4. Optionally enter a Description of the domain the microapp covers.
  5. If the type selector shows, choose Website or Mobile app.
  6. Click Create App.
  7. Open the microapp details page to configure and manage it.

The Create New Microapp form, filled in

The Detail page of a new microapp, with its source control and hosting connected

You see Create Microapp and Create First Microapp only if you have the Developer role or above on the project. See Roles and Access. Your organization has a quota of microapps. The quota counts microapps across all projects of the organization. When the organization is at its quota, the create form shows Microapp quota exceeded and the platform does not create the microapp.

On a Buildpad Engine project, the Microapps list shows Setting up… under the name of a microapp while the platform creates it. If the creation fails, the list shows Setup failed, followed by the error name when there is one.

While the project moves to the Buildpad Engine, until the cutover ends, the create form shows A move to the Buildpad Engine is in progress and the platform does not create the microapp. During the retention period after the cutover, you can create microapps again. See Start the move.

The Mobile app type shows only when mobile microapps are turned on for the project. To turn them on, contact Buildpad support. This is the same on a Supabase project and on a Buildpad Engine project. See Mobile Apps.

On a Buildpad Engine project, the platform sets these variables on a microapp’s Amplify app, for a website and for a mobile app. There is no service-role key.

VariableValue
NEXT_PUBLIC_SUPABASE_URLThe Engine URL
NEXT_PUBLIC_SUPABASE_ANON_KEYbuildpad-engine-public-anon-key, a fixed value that is not a secret
NEXT_PUBLIC_BUILDPAD_TENANT_IDThe project’s tenant id
NEXT_PUBLIC_BUILDPAD_DAAS_URLThe Engine URL

The microapp starter’s .env.local holds the same four variables, plus NEXT_PUBLIC_MICROAPP_URL_MAIN with the main app’s URL. See The Starter Kit. The mobile starter’s .env.local holds the same four variables only, and its API routes sign users in to the Engine. See Mobile apps on a Buildpad Engine project.

Practical Workflow

  1. Create the microapp in Buildpad.
  2. Define domain boundaries and data collections.
  3. Download the AI IDE starter from AI IDE Setup. The starter holds the project’s tokens, so only the project’s Admins can download it. See Who Can See the Credentials.
  4. Implement features in your chosen IDE (VS Code, Kiro, Antigravity, or Claude Code).

The platform currently does not provide dedicated in-product “Plan” and “Build” sections per microapp. Planning and coding workflows are handled in your AI IDE after downloading the starter from AI IDE Setup.

What You Can Do Today

  • Create and list microapps inside a project.
  • Delete a microapp. In the Microapps list, click the menu in the microapp’s Actions column, click Delete Microapp, then click Delete. You need the Admin role on the project. You cannot undo a delete.
  • Open microapp details and environment configuration. A project Admin sees the microapp’s deployment on its Detail tab, redeploys it, and sets its hosting environment variables there. See Deployment and environment variables.
  • Review and merge changes to a microapp’s repository through pull requests on the project’s Code page. Merging deploys only that microapp. See Code and Pull Requests.
  • Give a microapp its own address under apps.buildpad.ai from the Custom domains card on its Builds tab. You need the Admin role on the project. See Custom domains.
  • Use AI IDE Setup to download a starter project for external development tools.
  • Manage domain data in the shared backend (the Engine on a Buildpad Engine project, DaaS on a Supabase project).

Building the Screens

Microapp UIs are built from the Buildpad UI component library — forms, tables, field interfaces, and file managers that already speak DaaS shapes. Components are installed into your project as source you own via npx @buildpad/cli@latest, and you can browse them live before you commit to one:

Context-Aware AI

Starter projects include MCP connections that pass organization, project, and microapp context to your assistant while you build in your IDE.

  • The daas server connects to the project’s data backend.
  • The buildpad-platform server uses a personal token that the platform creates for you at download time, labelled Starter download · <ide> · <microapp>. A new download for the same editor and microapp replaces it, and the earlier token stops working.

On a Buildpad Engine project, the daas server is <Engine URL>/api/mcp with the project’s service token.

The starter also contains .buildpad/project.json, which records the project’s backend. Commit it with your code.

Use Specs-Driven Development for planning and execution structure while in external AI IDE workflows.

Last updated on