Skip to content

Admin Overview

Administrators keep the experience cohesive for every tenant. Use this overview to understand which knobs you control before diving into detailed tasks.

Admins run everything through the multi-tab Settings surface implemented in frontend/src/pages/settings/useSettingsPage.js. Highlights:

  • Environment prep: Configure backend/.env (database + AI keys), run scripts/seed-default-canonical-banks.js, and ensure Postgres migrations succeed before inviting users.
  • AI providers: Add/update Bluemesh, OpenAI, DeepSeek, or Azure AI entries, store encrypted API keys, set per-provider usage (Statements vs. Merchant Bills), and run live connection tests. Priorities feed the backend fallback logic.
  • Merchant governance: Review low-confidence bills, purge stale uploads, and ensure merchant_bills plus linking tables stay healthy. Documented in docs/src/content/docs/admin/merchant-bill-governance.mdx.
  • Operational readiness: Watch Azure Pipeline runs, startup-azure.sh, and background worker logs so PDF ingestion + AI calls hit SLAs.
TabAudiencePurposeKey actions
AI ProvidersAdminConfigure and test Bluemesh/OpenAI/DeepSeek/Azure AI credentials.Add/edit provider metadata, rotate keys, toggle statement vs merchant flows, run connection tests, enforce case-sensitive provider names.
Bank DirectoryAllManage canonical banks per country plus user-specific bank preferences.Select countries, enable/disable banks, request aliases, create canonical entries, edit detection hints, view usage metrics.
Credit CardsAllTrack the cards/accounts associated with a tenant.Add card metadata, toggle active status, assign colors/icons, delete stale cards.
CreditsAdminMonitor AI usage/credit pools.Review allowances, investigate spikes with the Activity log.
Merchant EnrichmentAll (advanced)Override merchant names/categories and define heuristics for fuzzy matching.Search/filter overrides, paginate results, create/update rules, toggle expired entries, edit heuristics order and defaults.
Merchant BillsAdminFine-tune merchant bill parsing + matching.Adjust thresholds, provider routing, and auto-match rules; control retention windows for uploaded receipts.
CategoriesAdminCentralized category management.Create/update/delete categories, set colors/emojis, organize spending taxonomy.
ProfileAllPersonal preferences for the logged-in user.Update display name, locale, notification preferences, and security options.
User ManagementAdminManage tenant members and roles.Invite/deactivate users, assign admin/support roles, impersonate for troubleshooting.
System ConfigAdminTenant-wide toggles, rate limits, hybrid-processor defaults.Adjust background worker intervals, AI retry counts, PDF retention, and global feature flags.
Email TemplatesAdminTemplatize transactional emails (tickets, upload summaries).Edit Markdown/HTML snippets, preview with sample data, push updates without redeploying the app.

Keep the settings tabs aligned with the MDX docs under docs/src/content/docs/admin/*.mdx so administrators always have the deeper runbooks.