> For the complete documentation index, see [llms.txt](https://docs.niftykit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.niftykit.com/customize-your-experience/niftykit-diamond-widgets/installation-guides/install-for-webflow.md).

# Install for Webflow

This tutorial will show you how to install the NiftyKit Diamond Widgets button on your Webflow website. Here's a basic example to view before getting started: <https://dropkit-883093.webflow.io/>.

To begin, make sure you're in the Webflow website builder.

### 1. Click on "Add Elements"

Within the Webflow left-side menu, click on the button labled **"Add Elements"**

![Webflow Builder](/files/NtS09Srni8ljpZG2slpN)

### 2. Click on "Embed"

Under the Components dropdown, select **"Embed \</>"**

![Webflow Builder](/files/4dyCQb86PZwqIp8JiEkX)

### 3. Add the NiftyKit Diamond Widget code snippet

Add the following code snippet within the embed editor:&#x20;

```html
<!-- Import NiftyKit Widgets library -->
<script type="module" src="https://sdk.niftykit.com/widgets/widgets.esm.js"></script>

<style>
</style>

<nk-diamond collection-id="YOUR-SDK-KEY">
  <nk-is-not-connected>
    <nk-connect-wallet-button>
      Connect Wallet
    </nk-connect-wallet-button>
  </nk-is-not-connected>
  <nk-is-connected>
    <nk-drop-mint-button success-title="Success!" success-message="You did it!">
      Mint NFT
    </nk-drop-mint-button>
  </nk-is-connected>
</nk-diamond>
```

Be sure to replace `YOUR-SDK-KEY` with your SDK key.

### 4. Publish Your Site

Your widget will be visible when you publish your site.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.niftykit.com/customize-your-experience/niftykit-diamond-widgets/installation-guides/install-for-webflow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
