# Token Gating

{% hint style="warning" %}
**We are migrating to a new version of the website builder with more templates and features. Once the new website builder is ready, it will be back online.**
{% endhint %}

### 🔐 Access Exclusive Content With Your NFT

With token gating, you can unlock premium, members-only content just by holding a specific **NFT** in your wallet — no passwords or subscriptions needed.

#### 🎯 What Is Token Gating?

**Token gating** means controlling access to content based on ownership of a digital asset, such as an NFT. If your wallet holds the required NFT, you get instant access.\
\
It’s used for:

* 👉 Exclusive blog articles or guides
* 🎥 Private videos or live streams
* 🎁 Airdrops, discounts, or access perks
* 🎮 In-game content or special features
* 💬 Member-only Discord or chat areas

\
🧠 How It Works

1. **Connect your wallet** (like MetaMask, WalletConnect, etc.)
2. Our system checks if you hold the required NFT
3. If yes ✅ → content unlocks instantly\
   If no ❌ → access is denied (with a prompt to buy or mint)

#### 🔒 Why This Matters

Token gating turns your NFT into more than just a digital image — it becomes a **key to exclusive experiences**, and verifies membership securely.

### 🌏 1. Create an NFT Website

First Create your NFT Website if you already have created an NFT Website you can skip this step.

[create-an-nft-website](https://docs.imintify.com/website-builder/create-an-nft-website "mention")

### Connect your Smart Contract address

Under the **`General settings`** of the website, you can **add** **or** **choose** an existing **Smart Contract contract**. This needs to be the NFT Smart Contract you want to give access to the Gateway.

1. Add the Contract Address
2. Select Network
3. Add or connect ABI

And press `💾`` `**`Save Website`** to save the selected Smart Contract.\
\
\&#xNAN;*Read the docs* [connect-smart-contract](https://docs.imintify.com/mint-button/connect-smart-contract "mention") *for more info.*

<figure><img src="https://2717306543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkcRCZbH8h9hvWTpJLn9U%2Fuploads%2F9DaRfzP0VoIzpdFaz1d6%2Fsmart-contract-abi.png?alt=media&#x26;token=075542f3-214c-4f18-b7fa-43288b4065a3" alt=""><figcaption></figcaption></figure>

### ☑️ Enable the NFT Gateway

Then you are able to enable the NFT Gateway.

1. Go to the Gateway Tab
2. Enable Gateway
3. Choose Pages to activate NFT Gate

<figure><img src="https://2717306543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkcRCZbH8h9hvWTpJLn9U%2Fuploads%2FBFfxcvoLZrpynFhtWpGY%2Fnft-gateway.png?alt=media&#x26;token=b5b06ea1-382d-45d6-860e-7f83a023ac7f" alt=""><figcaption></figcaption></figure>

### 🎉 NFT Gate is now active!

When users visit your website or specific page they need to have an NFT of your chosen collection to enter.&#x20;

<figure><img src="https://2717306543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkcRCZbH8h9hvWTpJLn9U%2Fuploads%2Fdgj1h48VCzU34mztv9qy%2Fnft-gate.png?alt=media&#x26;token=aaabe9d5-5821-428b-a480-3b57c3377d8c" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.imintify.com/website-builder/token-gating.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
