Pick an architecture
Browser or mobile → Bludia
The app calls Bludia directly with an
end_users key and the user’s Bearer token. Permissions and row policies protect the data.Best for SPAs (React, Vue, Svelte) and mobile apps.Your server → Bludia
Your server (Next.js, Express, Laravel, Django…) calls Bludia, often with a
platform key, and renders or proxies data to the browser.Best for SSR, admin tools, and logic you keep on your own server.Checklist for a browser app
1
Create an end_users key
2
Set up a guard and roles
So users can sign up and have permissions. See Authentication.
3
Store config in env vars
.env
4
Add a small client
Handles headers, token refresh, and errors. See JavaScript client.
5
Build screens
Login, sign-up, lists, and forms. See React.
Guides
JavaScript client
A drop-in
fetch wrapper with auto refresh.React
Auth context, protected routes, data hooks.
Server-side
Next.js route handlers, Node, Python.
Other platforms
Mobile apps don’t send an
Origin header, so allowed origins don’t apply to them.