# How to Create a GSLT Token for Your CS2 Server (/docs/counter-strike-2/gslt-token)



import { Step, Steps } from 'fumadocs-ui/components/steps';

A GSLT is **required** for CS2 servers to appear in the public browser and accept non-LAN connections.

Creating a GSLT [#creating-a-gslt]

<Steps>
  <Step>
    Go to [Steam Game Server Account Management](https://steamcommunity.com/dev/managegameservers).
  </Step>

  <Step>
    Log in with a Steam account that:

    * Has CS2 in the library (free-to-play)
    * Has a registered phone number
    * Is not community-banned or limited
  </Step>

  <Step>
    Enter App ID: **730**.
  </Step>

  <Step>
    Add a description.
  </Step>

  <Step>
    Click **Create** and copy the token.
  </Step>
</Steps>

Adding to Your Server [#adding-to-your-server]

Via startup parameter:

```
+sv_setsteamaccount YOUR_GSLT_TOKEN
```

Or set it in the **Startup** tab of the [XGamingServer Panel](https://panel.xgamingserver.com).

Important Rules [#important-rules]

* **One token per server** — cannot reuse across multiple instances
* Tokens expire after \~5 weeks of inactivity — generate a new one
* Violating Valve server guidelines gets the GSLT **and your Steam account** permanently banned from hosting
* **Never share your GSLT**

Common Errors [#common-errors]

| Error                         | Fix                                                               |
| ----------------------------- | ----------------------------------------------------------------- |
| Server falls back to LAN-only | Missing or invalid GSLT                                           |
| "Failed to connect to Steam"  | Invalid token — generate a new one                                |
| Error code 5005               | GSLT issue — create new token                                     |
| GSLT banned                   | Account permanently banned from hosting — use a different account |

Related Guides [#related-guides]

* [Server Configuration](/docs/counter-strike-2/server-config)
* [How to Join Your Server](/docs/counter-strike-2/join-server)
