How to Set Your Steam Web API Key in FiveM
How to Set Your Steam Web API Key in FiveM | EUGameHost
Set your Steam Web API Key to enable Steam identifiers, player authentication, and whitelist systems on your FiveM server.
This is commonly required for frameworks and scripts that use Steam-based player data.
Difficulty: Beginner
Time Required: 4 Minutes
Why You Need a Steam API Key
A Steam Web API Key allows your FiveM server to read Steam player identifiers.
This is often used for:
- player whitelisting
- Steam ID checks
- framework identifiers
- bans and permissions
- persistent player data
Many older scripts and some frameworks may require this.
Step 1: Log In to Steam
Open your browser and log in to your Steam account.
Use the main Steam account you want linked to the API key.
Step 2: Generate Your API Key
Go to the Steam Web API Key page.
In the Domain Name field, enter:
eugamehost.com
You can also use your server IP if preferred.
Click:
Register
Steam will generate a long API key.
Copy the full key.
Example:
1234567890ABCDEF1234567890ABCDEF
Step 3: Add the Key in the EUGameHost Panel
Log in to your EUGameHost Game Panel.
Go to:
Startup
Find the field:
Steam Web API Key
Paste your API key into the box.
Save the changes.
Alternative Method: Add in server.cfg
You can also add the key manually inside your server.cfg.
Add:
set steam_webApiKey "YOUR_API_KEY"
Replace YOUR_API_KEY with your actual key.
Example:
set steam_webApiKey "1234567890ABCDEF1234567890ABCDEF"
Step 4: Restart Your Server
Restart your server from the EUGameHost Game Panel.
Your server will now be able to read Steam identifiers.
Important Security Notice
Your Steam API key is private.
Do not share it with anyone.
If you believe it has been exposed, revoke it immediately on Steam and generate a new one.
Need Help?
If Steam identifiers are not working after setup, the EUGameHost support team can help you verify your configuration.
Reliable FiveM Hosting Built for Serious Communities
From just £4.20/month, get high-performance hosting backed by 30Tbps Anycast DDoS protection for maximum uptime and security.
Get Started in Seconds →