Skip to content

Replit

Replit Agent ships full apps. Forms still need a backend — AgentsForms gives the agent one endpoint so it stays focused on the UI.

Paste this into the Replit Agent:

Add a contact form to this app. 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