Articles on: FiveM

How to enter the FiveM license code

Before you can start your FiveM server you have to create a license code. In this tutorial we explain how.


  1. Login with your CFX account on https://portal.cfx.re/login


  1. In the top menu click on Servers



  1. Press on the GENERATE KEY button



  1. Enter a name and press GENERATE



  1. Under Actions* *click on **Copy registration key



Game server

If you have a game server then you can enter your Key under the Startup section in the control panel.


VPS or Dedicated server

If you have a VPS or dedicated server then you can just enter the key in your server.cfg by editing the following parameter:

set sv_licenseKey "xxxxxxxxx"


As soon as the console says: Server license key authentication succeeded. Welcome! Everything is OK!

Updated on: 09/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!