Skip to main content

Administrator Role Overview

As a Master Administrator, you have complete control over the Cabina platform. Your dashboard provides oversight and management of:
  • ๐Ÿค Partners (resellers/agencies)
  • ๐Ÿ‘ค End Users (B2C customers)
  • โœจ AI Style Management
  • ๐Ÿ“Š Platform Analytics
  • ๐Ÿ”ง System Settings
  • ๐Ÿ“– Activity Logs
High-Level Access: Administrator actions affect the entire platform. Exercise caution, especially with deletion and deactivation functions.

Accessing the Admin Dashboard

1

Sign In with Admin Account

Use your master administrator email at app.metalabia.com.
2

Verify Admin Role

Your account must have is_master: true in the profiles table.
3

Navigate to Admin Panel

Click โ€œAdminโ€ or โ€œMaster Dashboardโ€ in the main navigation.
4

Dashboard Loads

Youโ€™ll see the Overview section with:
  • System Pulse indicator (green = operational)
  • Platform-wide statistics
  • Quick action buttons

Dashboard Navigation

Main View Tabs

Purpose: Platform health and key metricsKey Elements:
  • System Pulse: Real-time system status indicator (pulsing green circle)
  • Platform Stats: Total partners, users, generations, revenue
  • Recent Activity: Latest logs and events
  • Quick Actions: Create partner, add user, manage styles
Best For: Daily health check, high-level monitoring

Overview Section Breakdown

System Pulse Indicator

Located at the top of the overview:
  • Green Pulsing Circle: System operational
  • Yellow: Warning state (check logs)
  • Red: Critical issue (immediate action needed)
Click SystemPulse to see detailed system health:
  • API response times
  • Database connection status
  • Storage availability
  • AI service status

Platform Statistics

Four main stat cards display:
  • Number: Count of active partners
  • Icon: Handshake
  • Purpose: Track reseller network growth
  • Action: Click to go to Partners tab

B2C Statistics (if B2C is enabled)

  • Total B2C Users: End user count
  • Active Users (30d): Users with generations in last 30 days
  • Revenue This Month: Credit purchases from end users
  • Avg Credits Per User: Spending patterns

Recent Activity Logs

Scrollable list of recent platform events:
  • User Creation: New accounts
  • Credit Purchases: Payment transactions
  • Partner Approvals: New partner activations
  • Generation Milestones: High-volume events
  • System Errors: Failed operations
Log Item Format:
  • Timestamp (relative, e.g., โ€œ5 minutes agoโ€)
  • Action type (color-coded badge)
  • Actor (user/partner email)
  • Description

Quick Actions

From the Overview, you can:
  • โ€œNew Resellerโ€ Button: Open partner creation modal
  • โ€œAdd Userโ€ Button: Manually create B2C user
  • โ€œManage Stylesโ€ Button: Jump to Styles tab
  • โ€œView All Logsโ€ Button: Navigate to Logs tab

Common Administrator Tasks

Daily Operations

Morning Check:
  1. View Overview tab
  2. Check System Pulse (green?)
  3. Review overnight activity logs
  4. Respond to any errors or warnings
Throughout Day:
  • Approve pending partner applications (Partners tab)
  • Handle support tickets (credit adjustments, account issues)
  • Monitor generation volume (Analytics section)
End of Day:
  • Review daily stats
  • Check for failed payments or errors
  • Plan partner outreach based on usage patterns

Weekly Operations

  • Review Partner Performance: Identify high/low performers
  • Analyze Style Popularity: Adjust style availability
  • Credit Reconciliation: Ensure financial accuracy
  • User Growth Analysis: Track B2C adoption

Monthly Operations

  • Revenue Reporting: Export transaction logs
  • Partner Check-ins: Reach out to partners
  • Style Catalog Review: Add new styles, retire underperformers
  • System Maintenance: Updates, backups, security patches

Dashboard Customization

Future Feature: Dashboard widgets and custom views are planned. Currently, the layout is fixed.

Keyboard Shortcuts

No specific shortcuts configured, but standard browser shortcuts work:
  • Ctrl/Cmd + R: Refresh dashboard
  • Ctrl/Cmd + F: Search within tables
  • Esc: Close modals

Performance Monitoring

Key Metrics to Watch

Engagement:
  • Generations per day (trending up?)
  • Active partners/users ratio
  • Average generations per event
Financial:
  • Credits sold vs. consumed
  • Revenue growth month-over-month
  • Partner churn rate
Technical:
  • API response times (System Pulse)
  • Error rates in logs
  • Storage usage

Setting Up Alerts

Contact Support: To configure email/SMS alerts for critical events (system down, low storage, high error rates), contact platform support or development team.

Troubleshooting Common Issues

Immediate Actions:
  1. Click SystemPulse for details
  2. Check Logs tab for errors
  3. Verify database connectivity
  4. Check AI service status (Replicate API)
  5. If persistent, contact development team
Solutions:
  • Refresh browser (Ctrl+R)
  • Clear cache and reload
  • Check if background jobs are running (contact dev)
  • Verify database queries (check logs)
Verify:
  • Your account has is_master: true in profiles table
  • Database permissions are correct
  • Browser has no extensions blocking content
  • Try incognito mode to rule out cache issues
Investigate:
  • Filter logs by actor (user email)
  • Look for patterns (time, action type)
  • Check for automated bot activity
  • Review partner account for compromise
  • Change passwords if suspicious

Security Best Practices

Account Security

  • ๐Ÿ”’ Use strong, unique password
  • ๐Ÿ”’ Enable 2FA (if available)
  • ๐Ÿ”’ Donโ€™t share admin credentials
  • ๐Ÿ”’ Log out when not in use
  • ๐Ÿ”’ Use separate admin account (not personal)

Operational Security

  • โš ๏ธ Always verify before deleting partners/users
  • โš ๏ธ Document major changes in external log
  • โš ๏ธ Double-check credit adjustments
  • โš ๏ธ Test style changes in staging if possible
  • โš ๏ธ Backup critical data before bulk operations

Audit Compliance

  • ๐Ÿ“ Regularly review activity logs
  • ๐Ÿ“ Export logs monthly for archival
  • ๐Ÿ“ Investigate anomalies promptly
  • ๐Ÿ“ Maintain documentation of admin actions

Best Practices Summary

Do:

  • โœ… Check System Pulse daily
  • โœ… Respond to partner applications within 24 hours
  • โœ… Monitor logs for errors
  • โœ… Keep style catalog up-to-date
  • โœ… Communicate with partners proactively
  • โœ… Document configuration changes

Donโ€™t:

  • โŒ Delete data without confirmation
  • โŒ Ignore yellow/red system status
  • โŒ Make bulk changes without testing
  • โŒ Share admin credentials
  • โŒ Skip log reviews
  • โŒ Change settings without understanding impact

Next Steps

Manage Partners

Approve, edit, and oversee partner accounts

Platform Analytics

Deep-dive into usage metrics

Style Management

Create and manage AI identities

Build docs developers (and LLMs) love