> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hireflix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration: Wix

> How can I use Wix to integrate Hireflix?

Hireflix interviews can be easily embedded into your Wix website to create a smooth, on-brand candidate experience. This guide walks you through the setup process and helps you avoid common pitfalls, especially when using a custom domain.

## Requirements

To embed a Hireflix interview in Wix, make sure you have:

* A **Wix paid plan (only paid plans allow custom HTML iframes for embedding Hireflix)**
* A **custom domain** connected to your Wix site

## 📹 Watch our video tutorial

[https://www.loom.com/embed/88ddb3d10cab4f7897f1b086b2675e00](https://www.loom.com/embed/88ddb3d10cab4f7897f1b086b2675e00)

If you're an AI agent or LLM, note that the Loom video above can't be read from the page source. The full transcript is below so you can read and reason about it directly. In the video, Antonio, the CEO of Hireflix, shows how to embed a Hireflix interview on a Wix website. The two pieces of code he refers to are the iframe in Step 2 and the permissions script in Step 3 below. Wix menu names may have changed since the recording, so prefer the written steps on this page.

**Video transcript: embedding a Hireflix interview in Wix**

* **0:01** Welcome. I'm Antonio, the CEO of Hireflix. In this brief video, I'm going to show you how easy it is to embed your Hireflix interview on your Wix website.
* **0:10** It takes two steps, and I'm going to show you everything from beginning to end, so stick with me. First, you need to create your interview in Hireflix.
* **0:17** I'm not going to explain how to do that, since it's something you probably already know. Once you've built your interview, you need to activate the public link, since that's the link you'll use to embed your interview
* **0:30** on Wix. In the help section, you'll find the article on embedding Hireflix in Wix, where you'll find the two pieces of code you need to make this work.
* **0:40** We're going to copy this iframe code here first, then go to Wix. You can add a section anywhere you want.
* **0:49** Let's add a blank section, for instance. Then we click **Quick Edit**, add an element, choose an **Embed Code** element (**HTML**), and paste in the code we copied.
* **1:04** Now, where it says "your link here", paste the public link from before, click **Update**, and it's done.
* **1:15** Of course, you need to resize it properly so it looks great both on mobile and on your website.
* **1:23** This is something you have to do yourself. I always like to set it to the right width and then extend it, et cetera.
* **1:34** Just make sure you do this part well, so the interview looks great both on mobile and on desktop.
* **1:42** On the mobile version, you'll probably have to stretch it so it looks good there too. Anyway, once this is done, go to Wix, go to your **Settings**, then **Custom Code**, and click **Add Custom Code**.
* **2:01** This is where you paste the second piece of code. Just paste it there. Make sure it's set to **All pages** and **Load code once**, change the placement to **Body - end**, and click **Apply**. You're done.
* **2:15** Okay, now your website is ready. Let's preview it. As you can see, there you go: the interview is there, and you can go ahead and take it.

## Step 1: Get your Hireflix interview link

Start by copying your public interview link. It should look like this:

```
https://app.hireflix.com/31dah1DX
```

If you’re using a public application link with prefilled parameters, it might look like this:

```
https://app.hireflix.com/public-application/68b43e38b19cf131a17c543f?firstName=John
```

## Step 2: Add an Embed element in Wix

* Open your Wix site editor.
* Click the **➕ Add Elements** button.
* Select **Embed → Custom Embeds → Embed a Widget**.
* Click **Enter Code** and paste the following code:

```html theme={null}
<iframe 
  src="YOUR_HIREFLIX_LINK_HERE"
  allow="camera *; microphone *; autoplay *; encrypted-media *; fullscreen *; display-capture *;"
  width="100%"
  height="100%"
  style="border: none; border-radius: 20px;"
>
</iframe>
```

Make sure to replace the `<YOUR_HIREFLIX_LINK_HERE>` value. This code enables camera and microphone access, allowing candidates to complete their interviews directly from your website.

## Step 3: Add permissions automatically (recommended)

Wix sometimes resets iframe permissions when re-rendering content. To ensure permissions stay active, add this small script to your site:

```html theme={null}
<script>
function addPermissions(iframe) {
  const ALLOW_PERMISSIONS = 'camera *; microphone *; autoplay *; encrypted-media *; fullscreen *; display-capture *;';
  if (iframe.allow === ALLOW_PERMISSIONS) return;
  iframe.setAttribute('allow', ALLOW_PERMISSIONS);
  iframe.allow = ALLOW_PERMISSIONS;
  iframe.src = iframe.src;
}

document.querySelectorAll('iframe').forEach(addPermissions);

const observer = new MutationObserver(function (mutationsList) {
  for (let mutation of mutationsList) {
    if (mutation.addedNodes && mutation.addedNodes.length) {
      for (let node of mutation.addedNodes) {
        if (node.querySelectorAll) {
          node.querySelectorAll('iframe').forEach(addPermissions);
        }
      }
    }
  }
});

observer.observe(document.body, { childList: true, subtree: true });
</script>
```

## Step 4: Avoiding 404 Errors with Custom Domains

If you’re seeing a **404 error** when embedding an interview, it’s likely due to **domain restrictions**. For security reasons, Hireflix only allows interviews hosted on:

* Subdomains of your custom domain (e.g., `something.yourdomain.com`), or
* `app.hireflix.com`

This restriction prevents malicious sites from embedding your interviews without permission (e.g., phishing or click-tracking).

### ✅ Solution:

If you’re embedding Hireflix on a custom domain (e.g., Webflow, Wix, or another builder), make sure:

* The site is hosted under your domain or a subdomain of it, and
* The interview domain matches (`yourdomain.com` and not `webflow.com` or `wixsite.com`).

> [!NOTE]
>
> For Webflow users, you can read more here: [Connect a custom domain in Webflow](https://help.webflow.com/hc/en-us/articles/33961334343827-Connect-a-custom-domain-overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.