Skip to main content
DriftLess logoDriftLess
Docs - Business Cloud

Generated sites and the Business Cloud helper

Know how generated websites call the managed runtime by default.

Generated business websites include a typed DriftLess Business Cloud helper for forms, audience, orders, promos, auth, profile, and customer order methods. Published HTML receives runtime config so the site can call same-origin /api/site-runtime on subdomains or /site/[slug]/api/site-runtime on fallback paths.

How to use this

  1. 1Use the helper for business website features such as contact forms, account pages, order portals, promo fields, and signup blocks.
  2. 2Do not use localStorage for real customer accounts, orders, or opt-in audience data.
  3. 3Do not use Supabase unless the user explicitly connected or requested it.
  4. 4Keep API keys and tokens out of generated browser code.
  5. 5Use Business Hub to review what visitors submit after publication.

Keep in mind

  • The helper is not a reason to add login or dashboard links when the user did not ask for customer accounts.
  • The runtime applies same-origin checks, rate limits, cookies, and visitor-safe errors.
  • Advanced app databases can still use Supabase when the project context calls for it.
driftlessBusinessCloudgenerated website backendsite runtime configsame-origin backendSupabase advanced path

Last reviewed: 2026-06-01