# 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="/files/Tl4nOCcMtAjKHQVSnANJ" alt=""><figcaption></figcaption></figure>

### 2. Click "Token Requirement"

<div data-full-width="false"><figure><img src="/files/itrlKMoZV05VYtypnITW" 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="/files/doYq80OJ3KzKpd1YbYFQ" 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="/files/fUGeMi4iq8z0BRucRzm9" 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="/files/9IxxzbnI1RUWIcs3j4m6" 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="/files/NQr6C0hRgc222Q0IROzc" 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="/files/x2bbLcyuDEfGgTQPFEwz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sBVQB30U8p8gXT4fIaCY" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/PaJNzdXNWbQ95DcPja4C" alt=""><figcaption></figcaption></figure>

***

## Editing a Token Gate

Guide coming soon.


---

# 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.tokenproof.xyz/documentation/tokenproof-apps/portal/events/creating-an-event/ticket-types/add-a-nft-token-requirement.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.
