# Runbook — Centro de Mando 4Ventures Operador: `marketing@4ventures.es` ## Health ```bash curl -sf https://app.4ventures.es/api/health ./scripts/smoke.sh https://app.4ventures.es ``` ## Deploy (Dokploy) 1. Push a `main` en Gitea `Marketing/4ventures-client-portal`. 2. Dokploy rebuild del servicio `app`. 3. Env: `NEXT_PUBLIC_SUPABASE_*`, `SUPABASE_SERVICE_ROLE_KEY`, `ANTHROPIC_API_KEY`. 4. Smoke: `/login` → KPIs → simulador → chat. ## Alta cliente UI `/dashboard/agencia` (roles admin/team) o RPC `provision_client`. ## Atribución ```html ``` `POST https://n8n-agencia.4ventures.es/webhook/lead-inbound` ## Incidentes Ver `SECURITY.md`.