# Webflow

URL: /docs/collect/website/webflow

Webflow's **Code Embed** element accepts HTML and scripts, so your block goes straight in.

**Before you start:**

- Have your Project ID ready and choose *feedback button* or *form on the page*. [How to get these](/docs/collect/website#before-you-paste-three-things-to-check)
- Webflow runs custom code only on published sites with a paid site plan. It doesn't run in the Designer.

## 1. Copy your block [#1-copy-your-block]

Replace `PASTE-YOUR-PROJECT-ID-HERE` with your Project ID.

**Feedback button**

```html
<button id="orvelt-feedback-button" type="button">Give feedback</button>
<script src="https://unpkg.com/@orvelt/business/dist/opinion-embed.js"></script>
<script>
  (function () {
    var form = OrveltEmbed.configure({
      projectId: 'PASTE-YOUR-PROJECT-ID-HERE',
      visibility: 'public',
    });
    document.getElementById('orvelt-feedback-button').addEventListener('click', function () {
      form.open();
    });
  })();
</script>
```

**Form on the page**

```html
<div id="orvelt-opinion-form"></div>
<script src="https://unpkg.com/@orvelt/business/dist/opinion-embed.js"></script>
<script>
  OrveltEmbed.configure({
    projectId: 'PASTE-YOUR-PROJECT-ID-HERE',
    visibility: 'public',
  }).mount('#orvelt-opinion-form');
</script>
```

## 2. Paste it into your page [#2-paste-it-into-your-page]

Open your site in the Webflow Designer and go to the page where the form should appear.

Open the **Add** panel (**+**) and drag a **Code Embed** element onto the page where you want the form.

Paste your block into the code editor that opens, then select **Save & Close**.

Select **Publish** and publish to your domain.

## 3. Test it [#3-test-it]

Open the published page and submit a test opinion. [Test the form](/docs/collect/website/test-the-form)

If you set allowed origins, add your custom domain and, if customers use it, your `webflow.io` address. [Allowed origins](/docs/collect/website/allowed-origins)