Run locally
After creating your app, switch on Local Server in Desktop. If a tool is missing, see the local runtime requirements.
Open Dashboard and request a sign-in email. In Mailpit, open the link in the same browser to sign in and open your workspace.

Try the generated Airtable → Slack engine or Example Slack bot with simulated accounts.
Commit the generated migration files with supabase/kambium-schema.json. Keep .local/ private and retain its keys with your local data. Schema and state
Reopen Desktop
Run npm run desktop from the app directory.
Run without Desktop
From the generated app directory, start both simulators with the app:
npm run dev:local -- --airtable-sim --slack-simThe simulators keep the starter's provider events local. Open the dashboard and Mailpit URLs printed in the terminal to sign in.
Use Docker or keep an existing Docker stack
With Docker running, use:
npm run dev:local -- --docker --airtable-sim --slack-simThis selects Docker for both Supabase and Redis; native Redis binaries are not required. Keep using it for an existing Docker stack after upgrading. The CLI keeps retained data tied to its runtime in place; use a separate app directory to try another runtime.
Prepare a reusable development scenario
Use the generated seed recipe to prepare a development user, workspace and Example Slack bot. Development seeding
Development with hosted services
Use the local stack for everyday changes. To check changes with hosted services, deploy to a separate Fly development app with npm run fly:deploy:dev after setting up the named dev environment. To keep hot reload while using the development database, Redis and real integrations, run the app from the terminal. Desktop's Local Server switch starts the local stack.
Fly injects secrets into its Machines. fly secrets list shows names and digests. Get values for local runs from the original providers or your secret manager. Fly secrets
Install the schema in the intended hosted Supabase project. Database commands select their own target. Use that environment's service settings, including keys that match its encrypted data. npm run dev reads the process environment and fills in missing values from the app root's .env. The Fly environment selector applies to deployment.
Set API_BASE_URL=http://127.0.0.1:3000 and SERVE_BASE_URL=http://127.0.0.1:5173 for the default local ports. Generate a separate local WEBHOOK_PATH_PREFIX with node -p 'require("node:crypto").randomBytes(12).toString("base64url")' and reuse it on later runs if a provider webhook points at this backend.
With the settings in a gitignored .env, run from the app directory.
npm run devIf Doppler manages your development secrets, sign in with doppler login in the terminal. Use your project and development config in the command below. The local overrides apply to this process. Keep the deployed URLs and webhook prefix in the synced configuration.
LOCAL_WEBHOOK_PATH_PREFIX=$(node -p 'require("node:crypto").randomBytes(12).toString("base64url")')
doppler run --no-read-env --project my-app --config dev -- env \
API_BASE_URL=http://127.0.0.1:3000 \
SERVE_BASE_URL=http://127.0.0.1:5173 \
WEBHOOK_PATH_PREFIX="$LOCAL_WEBHOOK_PATH_PREFIX" \
npm run devDesktop's Doppler sign-in is separate from the terminal session. Doppler injects the values into the process. Keep .env free of credentials from other environments because npm run dev uses it for keys missing in Doppler. Doppler CLI guide
Create dashboard/.env.local with the three public dashboard inputs. Use the local backend URL for VITE_API_BASE_URL, and the development project's Supabase URL and publishable key. In a second terminal, run:
npm run dev:dashboardConfigure Supabase's Auth site URL and allowed callback for the dashboard origin, and register matching provider OAuth callbacks. Hosted Supabase does not use Mailpit. Its email hook needs a reachable backend endpoint or HTTPS tunnel; Auth SMTP is an alternative for login email. Application emails still need their configured delivery service.
Set up the webhook tunnel for real provider events or the hosted Auth email hook.
For the hosted Auth hook, append /<WEBHOOK_PATH_PREFIX>/webhooks/supabase-auth-email to the logged webhookBaseUrl and configure the signing secret. Apps without a prefix use /webhooks/supabase-auth-email. Update the hook URL if the tunnel URL changes.
Sign in and verify an engine operation; /health alone does not check database or provider access. For the same workflow in a hosted agent environment, see Cloud coding agents.
Inspect production from your computer
For dashboard debugging, run only npm run dev:dashboard with the deployed backend URL and production Supabase public settings in dashboard/.env.local. Sign-in needs the local dashboard's /auth/callback on the project's allowed redirect list. Actions in the dashboard still affect live data. Supabase redirect URLs
A local backend with production credentials can write to live data and recover pending tasks at startup. Development mode disables scheduled jobs by default. If you need that access to debug the backend, use the same doppler run command with the production project and config. Keep the local overrides and leave production provider webhooks and OAuth callbacks pointed at the deployed app. Use hosted development to test changes that write data or trigger integrations.