# Gating by NFT + Email/Wallet

Merchants can restrict the ability to claim a benefit to specified people only, allowing vendors to offer exclusive value to customers.

{% hint style="danger" %}
Unlike tickets or membership passes, eligibility to claim a benefit **must** be determined by ownership of an NFT within specified collections (i.e gating is mandatory.) Benefits can additionally be gated via email and wallet.
{% endhint %}

***

{% tabs %}
{% tab title="Gating by NFT" %}

**Step 1: Select NFT Collection to Gate By**

Locate the ‘Gated by NFT’ settings within the target benefit’s edit panel.

If you have hosted an event that was ticketed/created a membership program administered by Moongate, simply select “Your Collection” from the “Type” field.

<div align="left"><figure><img src="https://mintlify.s3.us-west-1.amazonaws.com/moongate-85/images/benefits/gating/your%20collection%20toggle.png" alt=""><figcaption></figcaption></figure></div>

**Your Collection**

* Select the target event/membership program from the 'NFT Collection' field.
* Select the target ticket/membership tier from the 'Type' field.

Select “All Tier” if you do not want to gate by ticket/membership tier (i.e membership tier will be available to all ticket holders from the specified event/all members of the specified membership program.)

***If you are gating by an external NFT collection, select "Other Collection."***

* **Other Collection**

<div align="left"><figure><img src="/files/BKCLRri5jxVrBxP1F6wD" alt=""><figcaption></figcaption></figure></div>

1. Select the network on which the target NFT collection is hosted.
2. Enter the NFT collections' contract address.
   {% endtab %}

{% tab title="Gating by Email/Wallet (Whitelisting)" %}
**Step 1: Enable Email/Wallet-gating**

Navigate to the "Advance" section for the membership tier to be gated and enable "Gated by Email/Wallet."

<div align="center"><figure><img src="/files/r21Ui6COnt6ogPPPPaRE" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 2: Choose a Whitelisting Method**

Select CSV if there are a large number of people that you will be gating this membership tier to, and Manual for a smaller quantity.&#x20;

{% hint style="info" %}
You can always gate additional addresses later using either method.
{% endhint %}

1. **CSV (Bulk Import)**

<div align="left"><figure><img src="/files/gt45AyyAiy71nnqwECrq" alt="" width="342"><figcaption></figcaption></figure></div>

* **Download the CSV template**

![](/files/iHpshlzJEcTEUJU43HaB)

* **Add Addresses to the CSV Template**

Open the template in a spreadsheet editor. Following the template format, input the target email and wallet addresses. You can mix email and wallet addresses concurrently.

* **Upload the CSV**

Upload the edited CSV file and save.

![](/files/NqSL2VUTlhOUtrFaRLY1)

* **Confirm Successful Import**

Return to the Memberships page, locate the gated ticket type, and click the number in the "Gated by" column to confirm the addresses.

![](/files/zxMIwwaXV5MmQp2Wr5cI)![](/files/lVDAT7ItUpSpiJ42iWJn)

2. **Manual**

<div align="left"><figure><img src="/files/nrjRRxbaw5xYP37jJJcP" alt=""><figcaption></figcaption></figure></div>

* **Click "Add Whitelist" and input an email/wallet address**

Repeat as appropriate for additional addresses and save when complete.

&#x20;![](/files/HCDuT0fvSNvffEKpxMmp)

* **Confirm Successful Import**

Return to the Memberships page, locate the gated membership type, and click the number in the "Gated by" column to confirm the addresses.

<img src="/files/zxMIwwaXV5MmQp2Wr5cI" alt="" data-size="original"><img src="/files/lVDAT7ItUpSpiJ42iWJn" alt="" data-size="original">
{% endtab %}
{% endtabs %}


---

# 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.moongate.id/merchant-guide/benefits/gating-by-nft-+-email-wallet.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.
