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

# Set Up Pre-Authenticated Login

To enable Pre-Authenticated Login for your web store or game portal:

1. Create a URL in the following format to send players from your game to the web store or game portal:
   `https://your-web-store/login?proofKey=<value>&token=<value>`, where:
   * `proofKey`: The player code.
   * `token`: The access token.
2. In the Publisher Dashboard:
   * Go to **Settings → Authentication**.
   * Scroll to the **OTP** section and toggle it on.
   * Leave the **Initiate Game Auth Callback** field empty, unless you also plan on implementing [Game Redirect Login](../game-redirect-login/about-game-redirect-login).
   * Use the **Desktop Text Model** dropdown to choose how many digits your player code will have (4 or 6).
     <Note>
       This setting applies to both the Pre-Authenticated Login and the [Game Redirect Login](../game-redirect-login/about-game-redirect-login) methods. If you plan to implement both methods, you must use the same number of digits for your player code across both.
     </Note>
