# Authenticating Users

For users to interact with their NFTs, you need to obtain their public wallet address or generate a wallet address for them.

On the web, developers can use our JavaScript SDK's connector API to connect to web3 wallets such as MetaMask. This allows users to easily connect their existing wallets and interact with NFTs within the game.

We offer Altura Guard to authenticate users on mobile, desktop, or other platforms. Altura Guard is a simple and easy-to-use method that can be used on any platform and allows developers to generate a wallet for the user within the game.

Another popular option for web3 games is to allow users to play the game without web3 and then give them the option to connect their wallets later on to access the web3 functionality. This allows users to try the game before committing to using web3.

Overall, there are various ways to authenticate users and no one-size-fits-all solution. It's important to consider the specific needs of your game and user base when deciding on the best authentication method. We recommend using Altura Guard as a simple and easy-to-use method that can be used on any platform.

{% content-ref url="/pages/xQ7Kgi4c73gPl7yXoV5N" %}
[Altura Guard II](/altura-documentation/getting-started/authenticating-users/altura-guard-ii.md)
{% endcontent-ref %}

{% content-ref url="/pages/7rXo8QReM5m9tynPt0ZP" %}
[Altura Guard (Legacy)](/altura-documentation/getting-started/authenticating-users/altura-guard-legacy.md)
{% endcontent-ref %}


---

# 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.altura.com/altura-documentation/getting-started/authenticating-users.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.
