Skip to content

App builder

Describe your app in plain language. The platform configurator (PA3) proposes an app.json document — dry run only until you click Apply. The preview uses the same DynamicRenderer as production apps.

Info
Describe the app you want — pages, tables, KPIs. The configurator proposes app.json (dry run); you review and apply.

Preview

How it works

  1. GeneratePOST /api/config/natural on your Render-hosted engine (via a Netlify BFF so your API key stays server-side).
  2. Review — diff summary + live preview from the proposed app.json.
  3. Apply — explicit PUT /api/app-json creates a new versioned snapshot.

See AI & the governed agent for the safety model (nothing is applied without your action).

Configure the doc site

Netlify (production)

Set these in your Netlify site environment variables (Site settings → Environment):

VariableExample
PLATFORM_API_URLhttps://odata-platform.onrender.com
PLATFORM_API_KEYk-demo-editor (must match PLATFORM_API_KEYS on Render)

Render (engine) — LLM for Generate

VariableNotes
CURSOR_API_KEYRecommendedCursor Dashboard → Integrations
GEMINI_API_KEYFree tier — Google AI Studio
DEEPSEEK_API_KEYNeeds paid balance on DeepSeek
LLM_PROVIDEROptional: cursor, gemini, deepseek, or anthropic when multiple keys are set

Set CURSOR_API_KEY on Render and remove GEMINI_API_KEY if you want Cursor instead of Gemini. Redeploy after changing env vars.

The BFF lives at /.netlify/functions/platform-api and never exposes the platform key to the browser.

Local dev

bash
# Terminal 1 — engine (PE1 dev or Fly-deployed PE2)
npm run engine   # or use your Fly URL

# Terminal 2 — platform docs with BFF
cd platform-site
cp .env.example .env   # edit PLATFORM_API_URL + PLATFORM_API_KEY
npm run dev

Open /guide/app-builder.

Released under the MIT License.