# Add a NFT / token requirement

## Creating a Token Gate

A token gate will require users to own a specific NFT or crypto token before purchasing a ticket. tokenproof has some of the most advanced token-gating capabilities on the market with a wide range of configuration options.

### 1. Enable "Restricted Availability"

Click the **Restricted Availability** toggle on the ticket you'd like to add token gating to.

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FTFi2ROtnEQ38mio5Ldy9%2Ftoggle%20restricted%20availability.png?alt=media&#x26;token=40ec26f9-c157-4c89-96c9-27aedeba9446" alt=""><figcaption></figcaption></figure>

### 2. Click "Token Requirement"

<div data-full-width="false"><figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FzFUYEOADiQyjNHYwwh6O%2Fclick%20token%20requirement.png?alt=media&#x26;token=db3b8b97-3652-438a-82f6-4e29b2aea41a" alt=""><figcaption></figcaption></figure></div>

### 3. Select a Blockchain

Use the search input to find the blockchain of the token you'd like to check for. tokenproof supports over 40 blockchains and shared contracts.&#x20;

The following shared contracts are supported:

* POAP
* OpenSea Storefront

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FOuRhwb2nzahHv4OC1ek3%2Fselect%20blockchain.png?alt=media&#x26;token=2e5850db-defb-4519-a203-3512e1e5fef2" alt=""><figcaption></figcaption></figure>

### 4. Search For Tokens

Once you've selected your blockchain, search for your token using the collection name or contract address.&#x20;

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FLGixPIcK60legc91uXzP%2Fselect%20token.png?alt=media&#x26;token=7fc79171-4da5-482c-8103-8c0b83bd4f6b" alt=""><figcaption></figcaption></figure>

#### **Enter Token Manually**

If your token doesn't appear in the search results, you can enter it manually by clicking **Add Manually**.

{% hint style="warning" %}
Currently **POAPs**, **OpenSea Shared Storefront** collections, and **Nifty Gateway** collections must be entered manually. Support for searching these contracts is coming soon.
{% endhint %}

### 5. Define Minimum Quantity

Define the number of tokens a user is required to hold to be eligible for this ticket type.

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FqBm0jBm8BTwClhAgS94V%2Fset%20minimum%20tokens.png?alt=media&#x26;token=5722d5fa-ccf9-4350-a8a6-ce54bd6c6824" alt=""><figcaption></figcaption></figure>

### 6. Configure Conditions

After selecting your tokens, choose whether users must own **Any** or **All** of the added tokens.&#x20;

* **Any:** Users will only be required to own *one* of the added tokens to claim the ticket
* **All:** Users will be required to own *all* of the added tokens to claim a ticket

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FMc5LzsJBXQCty5GDnA79%2FAny%20All%20Token%20Operator.png?alt=media&#x26;token=87ece6c3-fd6a-4d1c-a2e2-bda00a79a8b0" alt=""><figcaption></figcaption></figure>

### 7. Optional: Add Metadata Requirements

Optionally, you may allow only holders of tokens with specific attributes/metadata to claim a ticket.

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2F11xa6OMP6ZTqwAYA9s0G%2Fclick%20attributes.png?alt=media&#x26;token=ee486493-1601-4510-bed7-137828ce3471" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2F5qA5rGGLJLj30Kx327Qy%2Fclick%20attribute%20cropped.png?alt=media&#x26;token=eaa60f94-c823-45de-8b8e-2d5781f30a5b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3217518602-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdPPEbRcWLUS54oKAoOcR%2Fuploads%2FFbrpjOL9XbpGLr8cMkiU%2Fclick%20attribute.png?alt=media&#x26;token=27c3a5f8-1236-436e-acf5-a90c0ac05218" alt=""><figcaption></figcaption></figure>

***

## Editing a Token Gate

Guide coming soon.
