Integrate Rapidforms into your platform

published on 03 October 2024

Hey, if you have a product/tool and want your users/customers to be able to embed forms, you’re in the right place.

This integration built for platforms that care about their users and want to save them time, and effort when it comes to forms by making it very close, simple and easy to embed a form without the need of code.

Learn how to integrate Rapidforms

Step 1: Setup your integration 

This code will open a modal for the user to connect his accounts

<script defer src="https://app.rapidforms.co/integration.js"></script>

<button id="rapidforms-add-btn" onclick="getFormId()">Embed a form</button>

<script>
  function getFormId() {
    const id = window.RapidformsIntegration.getFormId();
    if (id) {
      console.log(id);
    }
  }
</script>

The modal:

Rapidforms
Rapidforms

After the user connect his account he will get access to his forms, and can pick a form

Rapidforms
Rapidforms

Step 2: Inject the form code into your website

<iframe loading="lazy" id="rapidforms-iframe" src="https://app.rapidforms.co/embed/{The Form ID Here}" width="100%" frameborder="0" marginheight="0" marginwidth="0"></iframe>
<script src="https://app.rapidforms.co/embed/index.js"></script>

That’s done, now you can add that code anywhere you want in your website code and will render the form like this:

Rapidforms
Rapidforms

Read more