Skip to content

Use the admin dashboard ​

Every default-feature server embeds a dashboard at /_/, such as http://127.0.0.1:8090/_/. It manages the running app using administrator credentials.

Create the first administrator ​

On first startup, open the setup link printed in the backend terminal. It contains a one-time token for creating the first administrator.

To create one while the server is stopped (the admin commands refuse a data directory a server is using), use the app's command:

sh
cargo run -- admin create you@example.com

Use --dir if the server's data directory is not the default fx_data. Dashboard administrators are separate from your app users. Enable two-factor authentication for an administrator on Account; if its authenticator and recovery codes are lost, use admin disable-2fa EMAIL for recovery.

Inspect and change app data ​

Data lists app and system tables. Select a table to browse its live documents, filter by indexed fields, inspect its schema, or open a document. Tables with text-search indexes also offer search.

The document panel can insert, edit, or delete app documents, as a form or as JSON. The form has a field per field of the table's Rust type, with its doc comment: text, numbers, checkboxes, a select for string enums, a null toggle for Option fields, nested fields for structs, and JSON for lists, maps and anything else. Both views edit the same document, so you can switch while editing. Writes are validated against the table's Rust type. Change the schema in Rust and deploy it; the dashboard does not define new schema fields or indexes.

System tables are generally read-only. Selected user profile fields are editable, while credentials and token hashes are hidden. Treat all administrator edits as privileged operations; they are recorded in the audit log.

Debug a function ​

Functions lists registered functions and signatures. Select one, supply JSON arguments, and run it. Use {} for a function with no arguments and camelCase argument keys.

You can run as a user through a short-lived, audited impersonation session. The admin runner is trusted server tooling and bypasses app-wide guards; use client calls or TestApp::as_user to test the guard itself.

Logs shows live executions, errors, arguments, and captured function logs. Expand an entry for details, or filter by function, kind, or outcome. Hide background jobs excludes scheduler/workflow activity across overview charts, function activity, and logs.

Find the right page ​

PageUse it to
OverviewInspect connections, commits, reruns, busy/failing functions, cache reuse, database sizes, and service state.
UsersInspect app accounts and sessions, revoke access sessions, reset a lost second factor, delete users, or open an audited session as a user.
FilesUpload, preview, download, or delete stored files, including with private storage.
SchedulerInspect crons, run a cron now, cancel jobs, retry failures, and browse finished-job history.
WorkflowsInspect workflow state and recorded steps, or cancel a run.
MigrationsCheck schema state, preview changes, run/cancel/restart migrations, and inspect failures.
BackupsCreate/download backups, configure schedules and destinations, and stage restores.
AnalyticsQuery the optional DuckDB copy and export results as CSV or Parquet.
EnvironmentAdd or update reactive app variables read through ctx.env.
SettingsConfigure auth providers, SMTP, redirects, sign-ups, email templates, CORS, trusted proxy headers, and request rate limits.
Audit logReview administrator edits, settings changes, impersonation, function runs, and recovery operations.
AccountManage the administrator's own second factor and recovery codes, and see and revoke the administrator's own sessions.

Settings fixed by code, flags, or process environment appear as read-only. Other settings apply without restarting. Secrets can be replaced without being shown again.

A dashboard restore is validated and staged for the next startup. It does not replace the database under the active server. See Backups and restores before using it.

Ctrl+K (⌘K) opens the command palette. Alt+1 through Alt+9 and Alt+0 open the first ten sidebar pages.

The dashboard uses administrator-only system functions over the same sync protocol as app clients, plus admin HTTP endpoints for operations. See the system API reference when building admin integrations.

The built assets ship with the Rust crate, so normal app builds do not need a JavaScript toolchain for the dashboard. Set default-features = false on the rxferrix dependency to omit it. Framework contributors should follow the dashboard build instructions.