Install for Wix
Learn how to install the DropKit SDK for Wix.
In this tutorial, we will show you how you can install the DropKit.js button on your Wix website.
To begin, make sure you're in the Wix website builder.

1. Click on the “Add” icon, then “Embed” and finally select the “Embed a widget” option

2. Place your widget on your desired location and then click “Enter Code”

Make sure you set your widget big enough to contain the wallet modal
You will see the button once you publish your site

3. Select the “Code” Option and add the following snippet

<script type="module" src="https://unpkg.com/@niftykit/components/dist/components/components.esm.js">
<nk-dropkit apikey="YOUR-SDK-KEY"></nk-dropkit>
Be sure to replace YOUR-SDK-KEY with your SDK key.
Finally, click on "Update".
Note: Wix widgets are embedded within the site using an iframe element. This can confuse users when connecting their wallets since the URL they will be seeing will not be the same as the site URL. It can be seen as a security risk, we currently do not encourage users to embed your Mint buttons with Wix