Use FormBnB forms with Lovable - the AI full-stack app builder
Why FormBnB with Lovable
Lovable builds full-stack apps from prompts. When you need forms that actually work — collecting submissions, sending emails, triggering webhooks — FormBnB is the easiest backend to connect. No server setup, no database config. Just a URL.
How to Use
Lovable doesn’t use the npx skills CLI directly. Instead, include FormBnB instructions in your prompt:
In Your Prompt
Build a landing page for a SaaS product. Include a waitlist form thatsubmits to https://api.formbnb.com/f/MY_ORG/waitlist using POST.Add a honeypot field named _gotcha (hidden) for spam protection.Show a success message after submission without page reload.
AJAX submission: Use fetch with FormData for no-reload experience
Accept header:Accept: application/json for JSON responses
Example Prompts
Contact Form
Create a contact page with a form. The form should POST tohttps://api.formbnb.com/f/MY_ORG/contact using fetch with FormData.Include name, email, and message fields. Add a hidden _gotcha fieldfor spam protection. Show "Message sent!" on success.
Waitlist with Email Capture
Build a hero section with an email capture form. Submit tohttps://api.formbnb.com/f/MY_ORG/waitlist via AJAX POST.Include a hidden _gotcha field. Show a thank-you message on success.Track UTM parameters by adding hidden _utm_source and _utm_campaign fields.
Multi-Form App
Create a customer support app with:1. A contact form that POSTs to https://api.formbnb.com/f/MY_ORG/contact2. A bug report form that POSTs to https://api.formbnb.com/f/MY_ORG/bugs3. A feature request form that POSTs to https://api.formbnb.com/f/MY_ORG/featuresAll forms should use AJAX submission, show loading states, and displaysuccess messages. Include _gotcha honeypot fields on all forms.
FormBnB auto-creates forms when you submit to a new slug. You don’t need to create the form in the dashboard first — just start submitting.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FormBnB Documentation","description":"Documentation for FormBnB, the form backend for AI-built websites and apps.","colors":{"primary":"#0D0D0D","light":"#FAFAFA","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/formbnb/-3Ft10nWMeemwOYd/logo/light.svg?fit=max\u0026auto=format\u0026n=-3Ft10nWMeemwOYd\u0026q=85\u0026s=dfe47b046859bc765600d13a3e175b15","dark":"https://mintcdn.com/formbnb/-3Ft10nWMeemwOYd/logo/dark.svg?fit=max\u0026auto=format\u0026n=-3Ft10nWMeemwOYd\u0026q=85\u0026s=66d3bde573ce7361272dfa82b094da99"},"favicon":"https://mintcdn.com/formbnb/-3Ft10nWMeemwOYd/favicon.svg?fit=max\u0026auto=format\u0026n=-3Ft10nWMeemwOYd\u0026q=85\u0026s=d4a0f88162d5f8d1893f6f11c751fe28","api":{"openapi":"openapi.json"},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:support@mail.formbnb.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.formbnb.com"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/formbnb"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"formbnb","hasAudioNarration":false,"actualSubdomain":"formbnb","customDomains":["formbnb.com"],"gitSource":{"type":"github","owner":"formbnb","repo":"formbnb","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae95b82f034dd2525b32e39:success","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Frameworks","count":48},{"language":"default","tag":"API Reference","count":31},{"language":"default","tag":"AI Agents","count":22},{"language":"default","tag":"Comparisons","count":20},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Forms","count":10},{"language":"default","tag":"User","count":10},{"language":"default","tag":"Features","count":8},{"language":"default","tag":"Integrations","count":4},{"language":"default","tag":"Billing","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"agents/lovable","slug":"/agents/lovable","pageMetadata":{"title":"Lovable","description":"Use FormBnB forms with Lovable - the AI full-stack app builder","href":"/agents/lovable"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use FormBnB forms with Lovable - the AI full-stack app builder\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`why-formbnb-with-lovable`,children:`Why FormBnB with Lovable`}),`\n`,_jsx(_components.p,{children:`Lovable builds full-stack apps from prompts. When you need forms that actually work — collecting submissions, sending emails, triggering webhooks — FormBnB is the easiest backend to connect. No server setup, no database config. Just a URL.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-use`,children:`How to Use`}),`\n`,_jsxs(_components.p,{children:[`Lovable doesn’t use the `,_jsx(_components.code,{children:`npx skills`}),` CLI directly. Instead, include FormBnB instructions in your prompt:`]}),`\n`,_jsx(Heading,{level:`3`,id:`in-your-prompt`,children:`In Your Prompt`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Build a landing page for a SaaS product. Include a waitlist form that`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`submits to https://api.formbnb.com/f/MY_ORG/waitlist using POST.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add a honeypot field named _gotcha (hidden) for spam protection.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Show a success message after submission without page reload.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`key-details-to-include`,children:`Key Details to Include`}),`\n`,_jsx(_components.p,{children:`When prompting Lovable, mention these specifics:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Endpoint URL:`}),` `,_jsx(_components.code,{children:`https://api.formbnb.com/f/YOUR_ORG/YOUR_FORM`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Method:`}),` `,_jsx(_components.code,{children:`POST`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Spam protection:`}),` Hidden `,_jsx(_components.code,{children:`_gotcha`}),` field`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`AJAX submission:`}),` Use `,_jsx(_components.code,{children:`fetch`}),` with `,_jsx(_components.code,{children:`FormData`}),` for no-reload experience`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Accept header:`}),` `,_jsx(_components.code,{children:`Accept: application/json`}),` for JSON responses`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-prompts`,children:`Example Prompts`}),`\n`,_jsx(Heading,{level:`3`,id:`contact-form`,children:`Contact Form`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a contact page with a form. The form should POST to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.formbnb.com/f/MY_ORG/contact using fetch with FormData.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Include name, email, and message fields. Add a hidden _gotcha field`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`for spam protection. Show \"Message sent!\" on success.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`waitlist-with-email-capture`,children:`Waitlist with Email Capture`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Build a hero section with an email capture form. Submit to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.formbnb.com/f/MY_ORG/waitlist via AJAX POST.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Include a hidden _gotcha field. Show a thank-you message on success.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Track UTM parameters by adding hidden _utm_source and _utm_campaign fields.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`multi-form-app`,children:`Multi-Form App`}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a customer support app with:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. A contact form that POSTs to https://api.formbnb.com/f/MY_ORG/contact`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. A bug report form that POSTs to https://api.formbnb.com/f/MY_ORG/bugs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. A feature request form that POSTs to https://api.formbnb.com/f/MY_ORG/features`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`All forms should use AJAX submission, show loading states, and display`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`success messages. Include _gotcha honeypot fields on all forms.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`template-code`,children:`Template Code`}),`\n`,_jsx(_components.p,{children:`If Lovable needs a reference, share this pattern:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` handleSubmit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` React`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`FormEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`HTMLFormElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`preventDefault`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` formData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FormData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`currentTarget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.formbnb.com/f/YOUR_ORG/YOUR_FORM\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` formData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Accept:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`currentTarget`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`reset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`FormBnB auto-creates forms when you submit to a new slug. You don’t need to create the form in the dashboard first — just start submitting.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Lovable","description":"Use FormBnB forms with Lovable - the AI full-stack app builder","href":"/agents/lovable"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Why FormBnB with Lovable","slug":"why-formbnb-with-lovable","depth":2,"children":[]},{"title":"How to Use","slug":"how-to-use","depth":2,"children":[{"title":"In Your Prompt","slug":"in-your-prompt","depth":3,"children":[]},{"title":"Key Details to Include","slug":"key-details-to-include","depth":3,"children":[]}]},{"title":"Example Prompts","slug":"example-prompts","depth":2,"children":[{"title":"Contact Form","slug":"contact-form","depth":3,"children":[]},{"title":"Waitlist with Email Capture","slug":"waitlist-with-email-capture","depth":3,"children":[]},{"title":"Multi-Form App","slug":"multi-form-app","depth":3,"children":[]}]},{"title":"Template Code","slug":"template-code","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"formbnb","siteName":"FormBnB Documentation","title":"Lovable - FormBnB Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-02T18:46:10.965Z","originalFileLocation":"agents/lovable.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use FormBnB forms with Lovable - the AI full-stack app builder\">\u003cmeta data-mint-head name=\"application-name\" content=\"FormBnB Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lovable - FormBnB Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use FormBnB forms with Lovable - the AI full-stack app builder\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FormBnB Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://formbnb.com/docs/agents/lovable\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://formbnb.mintlify.site/docs/_mintlify/api/og/v2?division=AI+Agents\u0026amp;title=Lovable\u0026amp;description=Use+FormBnB+forms+with+Lovable+-+the+AI+full-stack+app+builder\u0026amp;theme=9b1df26f4b671e9e62093999\u0026amp;signature=dec982bf4fb8c972ca8fa811b32ac43499ad56cdea1426193eda383469e2aefa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Lovable - FormBnB Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use FormBnB forms with Lovable - the AI full-stack app builder\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://formbnb.mintlify.site/docs/_mintlify/api/og/v2?division=AI+Agents\u0026amp;title=Lovable\u0026amp;description=Use+FormBnB+forms+with+Lovable+-+the+AI+full-stack+app+builder\u0026amp;theme=9b1df26f4b671e9e62093999\u0026amp;signature=dec982bf4fb8c972ca8fa811b32ac43499ad56cdea1426193eda383469e2aefa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/formbnb/Gk3eJdfvdJRg1hrA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FormBnB Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D0D0D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://formbnb.com/docs/agents/lovable\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/agents/lovable.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://formbnb.com/#organization\",\"name\":\"FormBnB Documentation\",\"url\":\"https://formbnb.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/formbnb/-3Ft10nWMeemwOYd/logo/light.svg?fit=max\u0026auto=format\u0026n=-3Ft10nWMeemwOYd\u0026q=85\u0026s=dfe47b046859bc765600d13a3e175b15\"}},{\"@type\":\"WebSite\",\"@id\":\"https://formbnb.com/docs#website\",\"name\":\"FormBnB Documentation\",\"url\":\"https://formbnb.com/docs\",\"publisher\":{\"@id\":\"https://formbnb.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://formbnb.com/docs/agents/lovable#webpage\",\"url\":\"https://formbnb.com/docs/agents/lovable\",\"name\":\"Lovable\",\"description\":\"Use FormBnB forms with Lovable - the AI full-stack app builder\",\"dateModified\":\"2026-07-02T18:46:10.965Z\",\"isPartOf\":{\"@id\":\"https://formbnb.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://formbnb.com/docs/agents/lovable#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://formbnb.com/docs/agents/lovable#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Agents\",\"item\":\"https://formbnb.com/docs/agents/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lovable\",\"item\":\"https://formbnb.com/docs/agents/lovable\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://formbnb.com/docs/agents/lovable#article\",\"headline\":\"Lovable\",\"name\":\"Lovable\",\"description\":\"Use FormBnB forms with Lovable - the AI full-stack app builder\",\"url\":\"https://formbnb.com/docs/agents/lovable\",\"mainEntityOfPage\":{\"@id\":\"https://formbnb.com/docs/agents/lovable#webpage\"},\"dateModified\":\"2026-07-02T18:46:10.965Z\",\"publisher\":{\"@id\":\"https://formbnb.com/#organization\"},\"isPartOf\":{\"@id\":\"https://formbnb.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FormBnB Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FormBnB Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/agents/lovable.md","siteName":"FormBnB Documentation","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/formbnb"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"AI Agents","groups":[{"group":"AI Agents","pages":[{"title":"AI Agent Skills","href":"/agents/overview"},{"title":"Cursor","href":"/agents/cursor"},{"title":"Claude Code","href":"/agents/claude-code"},{"title":"GitHub Copilot","href":"/agents/github-copilot"},{"title":"Windsurf","href":"/agents/windsurf"},{"title":"Kiro","description":"Use FormBnB forms with Kiro - Amazon's AI IDE","href":"/agents/kiro"},{"title":"Lovable","href":"/agents/lovable"},{"title":"Bolt","description":"Use FormBnB forms with Bolt - StackBlitz AI app builder","href":"/agents/bolt"},{"title":"v0","href":"/agents/v0"},{"title":"Replit","href":"/agents/replit"},{"title":"All Supported Agents","href":"/agents/all-agents"}]}]},{"tab":"Frameworks","pages":[{"title":"Frameworks","href":"/frameworks/html"}]},{"tab":"Comparisons","pages":[{"title":"Comparisons","href":"/comparisons/formbnb-vs-formspree"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Lovable - FormBnB Documentation","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":[],"chunks":[]}