> For the complete documentation index, see [llms.txt](https://docs.0xkyc.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0xkyc.id/developer-guides/client-or-server-guide/0xkyc-sanctions-aml/token-gate-on-the-front-end.md).

# Token-gate on the Front-end

{% hint style="info" %}
Our solution is permissionless, thereby allowing for direct front-end integrations that require no permission from 0xKYC or its user base
{% endhint %}

&#x20;Here is an example of a simple front end method, token gate the key functionality of your protocol with a check for our SBT:

```javascript
    const checkSBT = async () => {
      try {
        if (address) {
          const isVerified = await checkForSBT(address);

          if (isVerified) {
            setIsAuth(true);
          } else {
            setIsAuth(false);
          }
        }
      } catch (err) {
        // handle error
      }
    };
```
