# FiveM: add your free cfx.re license key

https://yn-hosting.com/knowledgebase/article/fivem-add-your-free-cfx-re-license-key

Every FiveM server needs a free **license key** from Cfx.re before it will start.

1. Go to [keymaster.fivem.net](https://keymaster.fivem.net) and sign in with your Cfx.re / FiveM forum account.
2. Click **Generate a new key**. Enter any label, and for the server type pick *“I am not sure”* (or Server Hosting Provider / Other).
3. Copy the key (it starts with `cfxk_`).
4. In your panel open the server → **Startup** and paste it into the **fivem license** field (FIVEM_LICENSE).
5. **Restart** the server.

Keep your key private — one key per server. If the console reports an IP or key error, regenerate the key from keymaster and paste the new one.
