---
title: Creating and Using NFTemplates
slug: creating-and-using-nftemplates
createdAt: 2022-06-23T22:56:21.000Z
---

NFTemplates are NFT "templates" or "blueprints" that you can generate and mint NFTs against.  These are powerful and efficient because you can then launch NFT campaigns via e-mail/social media or through a website and distribute NFTs without having to pre-mint them (which incur transaction fees).

Here's how they work:

### Step 1. Create an NFTemplate

Create an NFTemplate by going to any NFT collection you've already created and then clicking **Create/Mint NFT**.  This will open a form where you are able to enter NFT details. &#x20;

Check the `This is an NFTemplate` box and press `Create`.

You now have an NFTemplate to distribute in campaigns or connect with your website.

### Step 2a. Generate a Mint Link for the NFTemplate

Mint Links are links that you distribute to allow anybody to mint/claim/create the NFT on the fly.  To generate a Mint Link, find the NFTemplate you created from the list of assets for the selected NFT Collection.  Click on Mint Link to open a modal box that will display a URL which you can copy to your clipboard and use in e-mail campaigns, on landing pages, and on social media.

**See it in action**

:::Iframe{code="<div style=&#x22;position: relative; padding-bottom: calc(66.66666666666666% + 41px); height: 0;&#x22;><iframe src=&#x22;https://demo.arcade.software/AGaFeaCj2m78ZCXLevfm?embed&#x22; frameborder=&#x22;0&#x22; webkitallowfullscreen mozallowfullscreen allowfullscreen style=&#x22;position: absolute; top: 0; left: 0; width: 100%; height: 100%;&#x22;></iframe></div>" iframeHeight="0"}

:::

### Step 2b. Connecting NFTemplates with your website

To integrate NFTs with your website, NFTemplates can easily be dropped in by doing nothing more than configuring a form and setting the action attribute to Enefits. &#x20;

You'll need to set up a form like as shown below and ensure that you have the action of the form set to `https://x.enefits.co/boomerang`. &#x20;

Then, display an e-mail collection field and ensure that the name of the field is `email`.

Finally, there are 3 required hidden fields that will need to be passed as well.

1. **nftemplate\_id**: When you create your NFTemplate, a *nftemplate\_id* will be generated for you
2. **successURL**: This is where we send your users after the NFT has been minted and delivered to the e-mail address provided.
3. **failedURL**: This is where we send your users if there was a problem minting the NFT.

```html
<form action="https://x.enefits.co/boomerang" method="POST">
<input type="text" id="email" name="email" value="">
<input type="hidden" id="nftemplate_id" name="nftemplate_id" value="<NFTEMPLATE_ID>">
<input type="hidden" id="successURL" name="successURL" value="<YOUR_SUCCESS_URL>">
<input type="hidden" id="failedURL" name="failedURL" valueL="<YOUR_FAILED_URL>">
<input type="submit" id="submit" name="submit" value="submit">
</form>
```

Tip: To prevent bots from submitting the form, add a CAPTCHA solution such as [hCaptcha](https://www.hcaptcha.com/).

:::hint{type="info"}
Need help using NFTemplates with your website or marketing campaign?  Contact your account manager or e-mail [help@enefits.co](mailto\:help@enefits.co).
:::

