Skip to content

Hosting and deploys

Keep test data out of your real database

Preview deploys and local testing talk to the same database and keys as the live site.

What you get
Separate settings for local, preview and production, and a check that proves which one you’re on.
Paste it into
Your AI tool, in your project
The prompt
I want local, preview and production properly separated so I can't damage real data while testing.

1. Show me which database, API keys, payment mode and email sender each environment uses today. Don't print secret values, only which environment each belongs to.
2. List everything that is shared and shouldn't be.
3. Propose the setup: a separate database for development, test-mode keys outside production, and emails that can't reach real customers from a preview.
4. Add one visible signal of which environment is running, for example a line in the server log at startup.

Give me the dashboard steps I have to do myself, in order.

Use it

Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.

More in Hosting and deploys