---
title: How to connect the JS widget to Mailchimp
slug: how-to-connect-the-js-widget-to-mailchimp
docTags: 
createdAt: 2023-12-20T20:45:34.932Z
---

### Step 1. At your mailfloss app, go to the widget section (under "Apps & Plugins") and make sure to have your domain added to the white list.

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

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

![](https://api.archbee.com/api/optimize/yGUejq6E8IJ_sYX6JSjSr/02JqVVRf3MFIEs4gq57St_2.png)

### Step 3. Go to the HTML of your MailChimp form and paste the widget code right below your email input. Deploy your changes and, you're done!

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

