> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.vibegames.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://portal.cfx.re/login)

2. In the top menu click on **Servers**

![](https://storage.crisp.chat/users/helpdesk/website/-/a/d/3/8/ad38b4a7e4ed0000/image_1upie8o.png)

3. Press on the **GENERATE KEY** button

![](https://storage.crisp.chat/users/helpdesk/website/-/a/d/3/8/ad38b4a7e4ed0000/image_n3qcwc.png)

4. Enter a name and press **GENERATE**

![](https://storage.crisp.chat/users/helpdesk/website/-/a/d/3/8/ad38b4a7e4ed0000/image_1fpof6m.png)

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

![](https://storage.crisp.chat/users/helpdesk/website/-/a/d/3/8/ad38b4a7e4ed0000/image_kgup1y.png)

# Game server
If you have a game server then you can enter your Key under the Startup section in the control panel.
![](https://storage.crisp.chat/users/helpdesk/website/-/a/d/3/8/ad38b4a7e4ed0000/image_1g3uqej.png)

# 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!