> ## Documentation Index
> Fetch the complete documentation index at: https://core.anylayer.org/llms.txt
> Use this file to discover all available pages before exploring further.

# NFT-Gated Access Use Case

> Gate access using ZKScore instead of token ownership

## Overview

Replace or augment NFT-gated access with reputation-based gating using ZKScore.

## Implementation

<CodeGroup>
  ```javascript JavaScript theme={null}
  async function checkAccess(user) {
    const score = await zkScore.getScore(user);
    const nftBalance = await nftContract.balanceOf(user);
    
    // Access if: owns NFT OR has high reputation
    return nftBalance > 0 || score.total >= 700;
  }
  ```
</CodeGroup>

## Benefits

1. **Broader Access**: Enable access beyond NFT holders
2. **Merit-Based**: Reward reputation not just wealth
3. **Flexible Gating**: Combine multiple criteria
4. **Community Building**: Foster engaged communities

## Related Documentation

* [NFT Integration](/integrations/nft)
* [Trust Gating](/guides/trust-gating)
