Skip to main content
You can embed any published form directly into your website or application without sending visitors to a separate page. FormFlows.ai supports three embedding methods — choose the one that fits your tech stack.
An iframe is the simplest option and works on any website, CMS, or landing page builder (WordPress, Webflow, Framer, Squarespace, etc.).
1

Copy your form ID

Open your form in the dashboard. The form ID appears in the URL: app.formflows.ai/forms/FORM_ID. You can also click Share → Embed to go directly to the embed panel.
2

Paste the iframe snippet

Add the following snippet wherever you want the form to appear in your HTML:
<iframe
  src="https://forms.formflows.ai/f/FORM_ID"
  width="100%"
  height="600"
  frameborder="0"
  allow="camera; microphone"
  title="Contact form"
></iframe>
Replace FORM_ID with your actual form ID. Set height to match your form length, or use style="min-height: 600px;" and let the snippet auto-resize (see tip below).
3

Enable auto-resize (optional)

To have the iframe expand to fit the form’s full height automatically, add the resize script immediately after the iframe:
<script src="https://cdn.formflows.ai/embed/resize.js" defer></script>
This script listens for height change events from the embedded form and adjusts the iframe accordingly.
For better performance, add loading="lazy" to the iframe tag. This defers loading until the iframe scrolls into view, which reduces initial page load time.

Allowed domains

By default, FormFlows.ai allows embeds from any domain. To restrict your form to specific origins — which prevents others from embedding it on their own sites — add your domains to the allowlist.
Go to Form settings → Embed → Allowed domains and add each domain where the form will be embedded (for example, https://yourcompany.com). Requests from unlisted origins will be blocked with a CORS error. Leave the list empty to allow all origins.

Full-page embed

To display a form as a full-page experience — filling the entire browser viewport — apply these styles to both the iframe and its parent:
<style>
  html, body { margin: 0; height: 100%; }
  #form-wrapper { height: 100vh; }
</style>

<div id="form-wrapper">
  <iframe
    src="https://forms.formflows.ai/f/FORM_ID"
    width="100%"
    height="100%"
    frameborder="0"
    title="Application form"
  ></iframe>
</div>

What’s next

Share links

Share your form via a direct URL, QR code, or email — no embedding required.

Access control

Restrict who can view or submit your form.