Skip to main content
The admin panel is available at /admin for users with the admin role. It provides full oversight of the platform.

Accessing the admin panel

After being promoted to admin, an Admin link appears in the dashboard sidebar. Click it to enter the admin panel.

Promoting yourself to admin

After signing up for the first time:
DATABASE_URL="postgresql://..." npx tsx scripts/promote-admin.ts <your-clerk-user-id>
Find your Clerk user ID by querying the users table:
DATABASE_URL="postgresql://..." node -e "
const { Pool } = require('pg');
const pool = new Pool({ connectionString: process.env.DATABASE_URL });
pool.query('SELECT id, email FROM users').then(r => {
  console.log(r.rows); pool.end();
});
"

Overview dashboard

The admin overview (/admin) shows:
  • System health — VPS agent status, PostgreSQL connectivity, PgBouncer status, disk free space
  • Summary stats — Total databases and users
  • Recent activity — Last 10 audit log entries with user email, action, and resource
If the agent is unreachable (VPS down, network issue), the health section shows “Agent unreachable” but the rest of the page still loads from the local database.