Workspace
System & integrations
Central map of operational settings. Table-backed pages stay the source of truth for their domain; global tunables and integration secrets use the runtime-config database below (with env fallback). Marketplace bid amounts are per-lead data (growth_engine_bids), not global config.
Ads → revenue flow
Follow in order. Credentials live in System & integrations; connections in Growth control.
- 1CredentialsAdmin → System & integrations — Meta / Google app ID & secret
- 2ConnectGrowth → Control Panel — OAuth
- 3AssetsGoogle: customer ID · Meta: page + lead forms → Save
- 4SyncRun sync — wait for leads
- 5QualifyCRM — qualify & score
- 6ListList to marketplace
- 7PurchaseBroker buys — wallet & revenue
Where to edit what
Each card shows storage type, market scope, and whether tests exist. Encrypted integration secrets can only be written by Super Admin.
Runtime key-value (this page)
Runtime DBGlobal URLs, ads app credentials, growth heuristics, UI defaults, commission fallbacks.
- Source:
- PostgreSQL system_runtime_config (+ env fallback)
- Scope:
- global
- Secrets:
- encrypted-at-rest
- Testable:
- Yes — Meta / Google Ads credential checks on this page.
Marketplace listing defaults
Table / JSONDefault list price, tier, exclusivity, allowed tiers, live-lead popup (per market).
- Source:
- Market.config JSON → marketplace.*
- Scope:
- per-market
- Secrets:
- none
- Testable:
- No
Marketplace tiers
Table / JSONTier codes, labels, colors for listing badges.
- Source:
- marketplace_tier_definitions
- Scope:
- per-market
- Secrets:
- none
- Testable:
- No
Commission (BAAS / CRM splits)
MixedPlatform cut and CRM agent/owner split per market.
- Source:
- commission_settings (+ runtime defaults if row missing)
- Scope:
- per-market
- Secrets:
- none
- Testable:
- No
Email & SMTP
Table / JSONOutbound SMTP per active market.
- Source:
- Market.config outbound email block
- Scope:
- per-market
- Secrets:
- smtp-password-per-market
- Testable:
- Yes — Send test email from that page.
Lead intelligence
MixedRouting mode, weights, auto-matching (per market).
- Source:
- Market.config JSON → leadIntelligence.* (+ runtime default weights)
- Scope:
- per-market
- Secrets:
- none
- Testable:
- No
Growth control & ads connections
MixedOAuth connections, selected ad accounts/forms, sync.
- Source:
- growth_oauth_connections (+ integration secrets in runtime-config / env)
- Scope:
- per-market
- Secrets:
- encrypted-at-rest
- Testable:
- Yes — App keys tested here; user tokens on Growth control after OAuth.
Growth market automation
Table / JSONAuto-pricing enablement, min/max delta, ad spend map, automation bindings (per market).
- Source:
- growth_market_settings + growth UI
- Scope:
- per-market
- Secrets:
- none
- Testable:
- No
Markets directory
Table / JSONCreate/enable markets, codes, currency.
- Source:
- markets
- Scope:
- global
- Secrets:
- none
- Testable:
- No
Finance (admin)
Table / JSONFinance operations dashboard.
- Source:
- Various financial tables
- Scope:
- mixed
- Secrets:
- none
- Testable:
- No
Global runtime key-value
Values below are stored in system_runtime_config. Secrets are encrypted; they are never returned after save. Use the setup guides above before pasting values. Your role can read and edit non-secret keys; only Super Admin can rotate or clear secrets.