---
title: How to connect the JS widget to Wisepops
slug: how-to-connect-the-js-widget-to-wisepops
docTags: 
createdAt: 2023-12-20T20:45:36.197Z
---

### Step 1. In mailfloss, go to Apps & Plugins, click Install JavaScript widget, and add your domain under Whitelist your domains.

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/j6al_ljL1cOEbxYxcluMu_step-1-whitelist-your-domain.png)

### Step 2. Copy your JS widget code, along with your public key.

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/GuRXo3OQe7D9u8gbPQIAe_step-2-copy-the-html-embed-code-highlighted.png)

### Step 3. Go to the HTML of your page and paste the widget code right above the Wisepops script. Deploy your changes and, you're done!

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/2u8ur5dUzMb_4PaBAbKPr_3.png)

