Skip to content

Cursor

Cursor builds the frontend fast. The slow part is the form backend — storage, validation, email, routes. AgentsForms turns that into one endpoint.

Paste this into Cursor’s chat (Composer or a new Ask):

Add a contact form to this site. Use AgentsForms as the form backend:
1. Run `agentsforms forms create contact --email [email protected]`
2. Run `agentsforms codegen contact --target react`
3. Wire the generated component so it POSTs to the AgentsForms endpoint.
No database or backend route — AgentsForms stores and emails submissions.
  1. A native ContactForm component in your app’s design system.
  2. A POST to https://api.agentsforms.com/v1/forms/contact/submissions.
  3. Email delivery to the owner — no inbox integration code needed.

Use a real email in the --email flag, submit the form, and check the inbox.

Quickstart · Submission API · All agent recipes