AI website guide · Claude

Connect your Claude website form in under a minute.

Whether you are generating pages in Claude.ai chat or building a full site with Claude Code, FormRoost gives your form a real inbox, spam shield, and email alerts—via one prompt or our hosted MCP server.

Copy this prompt into Claude

Replace YOUR_FORM_ID with the sandbox link from your FormRoost dashboard. Your design stays untouched.

Why Claude forms get stuck
  • Websites built in Claude.ai Artifacts or chat default to mock form handlers with no persistent storage.
  • Asking Claude to add a backend often introduces database migrations, API keys, and email servers you do not want to maintain.
  • If you use Claude Code, you want your AI to test forms safely without touching live customer data.

Typical allowed origins for Claude

  • https://your-site.pages.dev
  • https://yourdomain.com
  • http://localhost:3000
Prompt · Claude
Ready to paste
Connect my Claude website form to FormRoost:
1. Keep my existing form design, layout, and fields exactly as they are.
2. Do not add Supabase, a database, Edge Functions, API routes, or an email service—send directly from the browser using fetch POST to:
   https://formroost.com/s/v1/sandbox/YOUR_FORM_ID
   with Content-Type: application/json and credentials: 'omit'.
3. Store the FormRoost URL in one clear variable near the top of the component or script.
4. Add a visually hidden _gotcha honeypot input so spam bots get caught automatically.
5. Show a clear thank-you message on 201 Created and friendly inline errors on 422 or failure.
Test in sandbox first (unlimited, auto-cleared every 7 days) before switching to production.

Four steps from Claude to live leads

Nothing goes live until you click Publish in FormRoost.

  1. 1

    Create your free FormRoost form

    Sign up free (no card needed), create a project and form, and copy your FormRoost sandbox link.

  2. 2

    Add your website address under Allowed browser origins

    In FormRoost → Acceptance rules → Allowed browser origins, add your live domain (and localhost port if testing on your computer).

  3. 3

    Paste the prompt into Claude (or connect MCP)

    In Claude.ai, paste the prompt above with your sandbox URL. Using Claude Code? You can also connect FormRoost’s hosted MCP server so Claude creates and tests the sandbox form automatically.

  4. 4

    Review in sandbox and publish to production

    Send a test message, verify it lands in your FormRoost inbox, then click Publish to production and change sandbox to production in the URL.

Helpful tips & what to know upfront

Claude tips

  • In Claude.ai chat, copy-pasting the prompt is the fastest path—no plugins or terminal commands required.
  • Using Claude Code? FormRoost’s Remote MCP server keeps production publishing locked behind your manual approval by default so AI can test freely in sandbox without changing live forms.
  • Ask Claude to add friendly inline loading and error messages so visitors immediately know their message went through.

Good to know upfront

  • Free plan includes 50 production leads/month, unlimited sandbox testing, spam protection, and email alerts.
  • Export leads to CSV or JSON anytime with zero lock-in.
  • File uploads are not supported yet—all standard text, email, choice, and message fields work directly.

Ready to connect your Claude form?

Start free with 50 real leads a month and unlimited sandbox testing. No payment card required.