Setting Steam Api Key

To get a Steam API key, you can follow these steps:

1. The first step is to go to the Steam Developer portal, If your steam account is not open in the browser; Click on the "Go to Registration page" button at the bottom left of the page and either create an account or log in with an existing one.

2. After logging in, you can type localhost in the domain section where the api key will be used.

3. Follow all the steps correctly and you will have your Api Key!

 

Integrating your api key into your server:

1. Enter the server.cfg of your Fivem server.

2. Paste the following code into the field where you set the license key of your server.

3. And replace yourApiKey with your Steam Api key.

 set steam_webApiKey "yourApiKey"

 

Finally, restart your server to activate your api key!