---
title: How to connect the JS widget to Convertkit
slug: how-to-connect-the-js-widget-to-convertkit
docTags: 
createdAt: 2023-12-20T20:45:28.851Z
---

### 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 closing tag of your body section. Deploy your changes and, you're done!

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/lE-VMFySu0my3lia2DnHu_3.png)

