# How to Set Up a Steam Web API Key for Your FiveM Server (/docs/fivem/steam-web-api-key)



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

A Steam Web API key enables Steam identifier resolution on your server. Without it, scripts that rely on Steam IDs (identifiers, bans, whitelists) won't work, and you'll see warnings in the console.

Set Up the Steam API Key [#set-up-the-steam-api-key]

<Steps>
  <Step>
    Get a key from Steam [#get-a-key-from-steam]

    Go to [steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey). You'll need a Steam account. Enter any domain name when prompted and click **Register**. Copy the key.
  </Step>

  <Step>
    Add to server.cfg [#add-to-servercfg]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Files** in the sidebar and open `server.cfg`. Add:

    ```ini
    set steam_webApiKey "YOUR_STEAM_API_KEY_HERE"
    ```
  </Step>

  <Step>
    Restart the server [#restart-the-server]

    Restart from **Console**. The Steam API warning should no longer appear.
  </Step>
</Steps>

Don't Need Steam Auth? [#dont-need-steam-auth]

To suppress the warning without using Steam identifiers, set:

```ini
set steam_webApiKey "none"
```

Related Guides [#related-guides]

* [Server Configuration](/docs/fivem/configure-your-server)
* [Install ESX](/docs/fivem/install-esx)
* [Install QBCore](/docs/fivem/install-qbcore)
