Studio Help

Connecting the Mudbase backend

Studio apps store data in the browser by default. You can connect a Mudbase Backend to your project from the Settings panel when you are ready for a real data layer.

What the backend includes

  • Authentication: Users can sign in with email and password, magic link, or social login. Session management and password reset are built in.
  • Database: A document database for storing your app's data. You define the structure through your app or through the Mudbase console.
  • File storage: Upload and serve images, documents, and other files. The SDK handles permissions.
  • API: A REST API that your app calls through the Mudbase SDK. You can also call it from other tools or apps.

How Studio uses the backend

Once you have connected a Mudbase Backend, the Mudbase SDK is included in the generated code. The generated code calls the SDK for auth, database reads and writes, and file uploads. You do not need to write connection code. Generated apps default to browser storage until a backend is connected.

Viewing and managing your backend

Your backend is separate from Studio. You can see and manage it in the Mudbase console at console.mudbase.dev. From there you can:

  • Browse and edit your database collections.
  • Manage users and permissions.
  • View file uploads.
  • Generate and revoke API keys.

Using the backend from outside Studio

Because your backend is a standard Mudbase project, you can call its API from any other front end, mobile app, or script. Get your project's API key and base URL from the Mudbase console.

What happens to the backend if you delete a Studio project

Deleting a Studio project also deletes the associated Mudbase backend, including all the end-user accounts, data, and files your app created. If you want to keep the backend, transfer it to your own Mudbase account first (available from the project overflow menu) before deleting the Studio project.

Chat with us