# Gating by NFT/Email/Wallet

By gating a membership tier type, vendors can restrict the ability to attain membership to specified people only, allowing vendors to offer exclusive value to users.

Membership eligibility can be allocated by ownership of certain NFT collections and email/NFT wallet addresses.&#x20;

{% hint style="info" %}
**Please note that gating is an optional feature and does not need to be enabled should your application not require it.**
{% endhint %}

***

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

<figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2Fqp3wCmelfhzWkv8WjVSA%2Fimage.png?alt=media&#x26;token=d39973dd-b87c-4ae5-a022-232afb75f988" alt=""><figcaption><p>How NFT-gated membership types appear on membership program pages</p></figcaption></figure>

**Step 1: Enable NFT-gating**

In the target membership tier's edit panel, enable "Gated by NFT" under "Advanced Options."

<div align="left"><figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2F30uL9dMcJtjXrkKrpzeO%2Fimage.png?alt=media&#x26;token=2c57dde6-3ee3-4460-bb39-c5598aa3564c" alt="" width="375"><figcaption></figcaption></figure></div>

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

If you have hosted an event that was ticketed by or created a membership program on Moongate, we have made it easy for you to NFT-gate by your events and membership tiers.&#x20;

Simply select "Your Collection" from the "Type" field.

* **Your Collection**

<div align="left"><figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FFvVmHcoj6Xfi0Ekpukxb%2FDec-11-2023%2016-44-27.gif?alt=media&#x26;token=81cf3894-ff6d-40d8-aa5b-3ceb468d5002" alt="" width="279"><figcaption></figcaption></figure></div>

1. Select the target event/membership program from the 'NFT Collection' field.
2. 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="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FuMkhXtsLGacwo4g9ulHq%2Fexternal-gated.gif?alt=media&#x26;token=92951c0b-440d-4b61-9376-8ccd27a6b6cf" 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)" %}

<figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2F3UNHGddKLFItYUfurLDT%2Fimage.png?alt=media&#x26;token=7fdb3395-1937-4100-b57a-b2b31312a75e" alt=""><figcaption><p>How Email/Wallet-gated membership types appear on membership program pages</p></figcaption></figure>

**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="left"><figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FZbcw5jRaxQHYTXVBG8Qq%2Fimage.png?alt=media&#x26;token=f6dc588e-6033-4342-a48c-36dbe005f356" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 2: Choose a Whitelisting Method**

<div align="left"><figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2F72U8MJVFsGohaKCUcwFX%2Fimage.png?alt=media&#x26;token=73634bb4-7a1e-4751-ba4d-dc06e3bc8229" alt=""><figcaption></figcaption></figure></div>

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. <mark style="color:blue;">**CSV (Bulk Import)**</mark>

<div align="left"><figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FRIvFQpLG3iwqhJ57Vlqi%2Fimage.png?alt=media&#x26;token=3b3f468b-8caa-4422-b361-991e499b6944" alt="" width="342"><figcaption></figcaption></figure></div>

* **Download the CSV template**

![](https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FY8Cn50JSVUA1sgZacZCS%2Fimage.png?alt=media\&token=c2e8ba47-9c3f-46b6-bccd-a08f9c07907e)

* **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.

![](https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2Fwu37CzqnKezru5Ne0EeZ%2Fimage.png?alt=media\&token=09c02dc5-5ac2-4ecf-b069-11519947442b)

* **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.

<figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FHuYTxyvvh7VnmJhWX6Fz%2Fimage.png?alt=media&#x26;token=7e5fc986-a6c0-4b71-a253-a62e866700cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FwX1CY0JGOp7d81H6EV6P%2FScreenshot%202023-12-12%20at%201.01.38%20PM.png?alt=media&#x26;token=002f562b-43d8-4d0f-a338-991cf6069154" alt=""><figcaption></figcaption></figure>

2. <mark style="color:blue;">**Manual**</mark>

<div align="left"><figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FivxadlRRka6mnyBfwmVh%2Fimage.png?alt=media&#x26;token=890cd0f3-ef99-4c88-9695-8171339fe680" 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;![](https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FIxMADMmuslun5SgMOTWK%2FDec-12-2023%2013-18-21.gif?alt=media\&token=0ca513e9-938d-4521-a99b-076086103599)

* **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.

<figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FHuYTxyvvh7VnmJhWX6Fz%2Fimage.png?alt=media&#x26;token=7e5fc986-a6c0-4b71-a253-a62e866700cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1729180990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FArGy7vQWZPA9Z8R1a6dv%2Fuploads%2FwX1CY0JGOp7d81H6EV6P%2FScreenshot%202023-12-12%20at%201.01.38%20PM.png?alt=media&#x26;token=002f562b-43d8-4d0f-a338-991cf6069154" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
