Active market
U

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.

Reference
  1. 1CredentialsAdmin → System & integrations — Meta / Google app ID & secret
  2. 2ConnectGrowth → Control Panel — OAuth
  3. 3AssetsGoogle: customer ID · Meta: page + lead forms → Save
  4. 4SyncRun sync — wait for leads
  5. 5QualifyCRM — qualify & score
  6. 6ListList to marketplace
  7. 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 DB

Global 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 / JSON

Default 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 / JSON

Tier codes, labels, colors for listing badges.

Source:
marketplace_tier_definitions
Scope:
per-market
Secrets:
none
Testable:
No

Commission (BAAS / CRM splits)

Mixed

Platform 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 / JSON

Outbound 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

Mixed

Routing 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

Mixed

OAuth 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 / JSON

Auto-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 / JSON

Create/enable markets, codes, currency.

Source:
markets
Scope:
global
Secrets:
none
Testable:
No

Finance (admin)

Table / JSON

Finance 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.

Show keys by group