Admin panels

An admin for every app you ship without building the screens

Your agent adds five endpoints to your app. Pagebee draws its users, orders and subscriptions in an Admin tab next to the app's numbers, inbox and errors, and your team acts at the level their role allows. Your data stays in your app.

How it works

Five endpoints in your app, one tab in Pagebee

  1. 1

    Connect the site

    Your agent calls connect_admin_panel with your app's admin address. Pagebee makes a signing key for that one panel and hands back where your app can read it.

  2. 2

    Your agent builds the API

    A manifest saying what the app manages, then lists, records, actions and metrics as JSON. Every request carries a 60-second token your app checks against the panel's key.

  3. 3

    Your team uses it

    Find the person who just wrote in, extend their trial, send a sign-in link. Viewers browse, members run everyday actions, and only owners and admins run the dangerous ones.

What it replaces

Replaces the admin you'd otherwise build for every app

Every app needs a place to find a user and fix their account. That usually means an admin route with its own login, an internal tool builder with its own bill, or SQL against production. Here the pages, the sign-in and the log come from Pagebee, and your app only answers in JSON.

A hand-built /adminRetoolForest AdminSQL in production

What a panel does

  • Lists with search, filters and sorting
  • A page per record, with related lists
  • Money, dates, statuses, links and references
  • Actions with forms and confirmations
  • Tiles and charts from your own metrics
  • Levels from workspace roles
  • Danger actions for owners and admins only
  • Every action logged with the app's answer
  • A signing key per panel, checked by your app
  • None of your app's data stored in Pagebee
  • Set up and checked by your agent over MCP
  • Any language that can answer in JSON

The code

A manifest your app serves, a token your app checks

The manifest says what the app manages and what can be done to it. The token says who is asking and how far they may go.

GET /pagebee-admin/v1/manifest
{
  "protocol": "pagebee-admin/1",
  "app": { "key": "tally", "name": "Tally" },
  "tabs": [{ "key": "users", "label": "Users",
             "metrics": ["signups"], "resource": "users" }],
  "resources": {
    "users": {
      "label": "Users",
      "title_field": "email",
      "fields": {
        "email": { "type": "email" },
        "plan": { "type": "enum", "options": ["free", "pro"] }
      },
      "list": { "columns": ["email", "plan"], "search": true },
      "actions": ["extend_trial"]
    }
  },
  "actions": {
    "extend_trial": { "label": "Extend trial", "level": "operate" }
  },
  "metrics": {
    "signups": { "label": "Sign-ups", "kind": "series", "interval": "day" }
  }
}
The token, decoded
{
  "iss": "https://api.pagebee.ai",
  "aud": "tally",
  "sub": "8b1f0c52-6f0e-4a8e-9d55-2f4c1e7a9b10",
  "email": "mei@northwind.studio",
  "name": "Mei Kato",
  "level": "operate",
  "iat": 1795526520,
  "exp": 1795526580
}

Signed EdDSA with this panel's own key.
Check it against the panel's JWKS URL:
https://api.pagebee.ai/admin-panels/<panel id>/jwks.json

Questions

Asked often

Does Pagebee store my app's data?

No. Each list, record and metric is read from your app when someone opens it. Pagebee keeps the manifest and the activity log: who ran which action on which record, what they entered and what your app answered.

How does my app know a request came from Pagebee?

Every request carries a token signed with a key made for that one panel, valid for 60 seconds. Your app checks it against the panel's public key. Because the key is per panel, nobody else can point their own Pagebee site at your admin address and get in.

Who can do what?

It follows workspace roles. Viewers browse. Members also run everyday actions, like extending a trial. Owners and admins also run danger actions, like deleting an account, after a confirmation that says exactly what will happen. Your app checks the level again before it acts.

Can my agent run actions in the panel?

No. Agents connect a panel and check it answers. Browsing records and running actions is for people, at the level their role gives them.

What happens when my app is down?

The panel says it can't reach the app and why, and keeps its tabs from the last answer it had. Lists and actions work again as soon as your app answers.

Does it cost extra?

No. Admin panels are on every plan, including Free, and reading a panel or running an action never counts as an event.

Fix the account of the person who just wrote in, without leaving Pagebee

Free to 100,000 events a month, on every site you ship. No card.