> For the complete documentation index, see [llms.txt](https://metaversenw.gitbook.io/user-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metaversenw.gitbook.io/user-manual/bit.country-space/nft-gate-your-bc-space.md).

# NFT Gate your BC Space

If you want to gate your BC Space and only allow holders of a specific NFT collection to enter, you can select such a setting when creating your space or by editing its settings.\
\
For this example, I will use the Polkadot Power Passport given by the SubWallet and DotInVietnam team during the Polkadot Decoded 2023 Satelite Event in Vietnam.<br>

<figure><img src="https://lh6.googleusercontent.com/gegEfHFPsDbok4XV6gs5m8-K3vjlUjDnVOegyP8qfpbjWlu1bde7IlO1_rypCLeZgRTpTjQFickqXExIcaiC913kyGCerKf5kOG0Dlm9L4DE1yc8Mky-l8QzLCpeTn1MixUjVaGUah9kzBaFzUu7kgE" alt=""><figcaption></figcaption></figure>

The collection ID of this NFT is 80971274db0b27d618-SWEKXV.

For this example, I will go to Edit the Settings of an already created Space,&#x20;

<figure><img src="https://lh5.googleusercontent.com/YhZcLQ1e2ZoVhPIpcESQNtNN1lw8aA3WkhAch3tMFpxuFlZkx9c6kectmjrz1IgmoG6OOgKdM9gAbIJF66Y1Aq6RN3Ey_eSExun8O0-Qp-UeL2jbcHmgfDLCnQEyXOt-lBphgQACklmiT0yqUNXzz84" alt=""><figcaption></figcaption></figure>

As I don’t want to change the map, I will select the same map.

And once I’m inside the settings of my space, it’s time to select the option NFT holders, Select the Network the NFT was minted on  (Kusama in this case), and paste the Collection ID.&#x20;

<figure><img src="https://lh4.googleusercontent.com/S_Y97KYcBDUeM--mFVkW9pEOb59bRdt6hBR6Uusbp_-skZGCbiqVJZm8vA9IMIXhiVc7XXn-L_ppCgz0cQM4em7zVl-AslmLGqFIr9sfc3a49y-2zNBs7Hcbcae-mZQuB4HXttmX-tjRFwXGN6m2QE0" alt=""><figcaption></figcaption></figure>

Click on Edit Space to save the changes. And that’s pretty much it.&#x20;

If anyone tries to enter the space and doesn’t hold an NFT from this collection will get the following message:<br>

<figure><img src="https://lh4.googleusercontent.com/bL5ClzhMxR59C0iRMkCFR5JDEhTD3VqqncC5gutvgUNTT1Xscc6GODr6u6BGVmoe-lrPJccSPHZVFRlz3nZqzXBplSvD3MdturEznjkQnqvflMZCI-p5ljxjYMbOM1KExRb2ho8CogkK02djKSCiqU8" alt=""><figcaption></figcaption></figure>

Support for more Networks will be available in the upcoming months.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://metaversenw.gitbook.io/user-manual/bit.country-space/nft-gate-your-bc-space.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
