> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure Your License Key in FiveM

> Authenticate your FiveM server and link it to your IP address. Learn how to generate and apply a Cfx.re License Key for project visibility.

## Validating Your Server Instance

Every public FiveM server must be authenticated with a unique **License Key** generated via the official [Cfx.re Keymaster](https://keymaster.fivem.net/). This key serves as a secure link between your server instance and your identity as a host. It determines your server's visibility within the global browser and dictates your eligibility for advanced features such as [OneSync Infinity](/games/fivem/understanding-onesync-infinity-vs-legacy). Without a valid, synchronized license key, your server process will fail to initialize.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Beginner
  </Card>

  <Card title="Time" icon="clock">
    6 Minutes
  </Card>
</CardGroup>

***

## Step 1: Generating Your Keymaster Credentials

Follow these steps to retrieve your unique server key from the CitizenFX collective.

<Steps>
  <Step title="Identify Your Endpoint">
    Log in to the [FREAKHOSTING Game Panel](https://games.freakhosting.com) and note your server's **Public IP Address** (e.g., `191.96.94.100`).
  </Step>

  <Step title="Access Keymaster">
    Visit the [Cfx.re Keymaster](https://keymaster.fivem.net/) portal and sign in with your FiveM forum account.
  </Step>

  <Step title="Register New Server">
    Click **New Server** and input the following metadata:

    * **Display Name:** A descriptive title for your records (e.g., `FREAK_Roleplay_Main`).
    * **Initial Server IP:** Enter your numerical FREAKHOSTING IP address **without the port**.
    * **Server Type:** Select **VPS**.
    * **Provider:** Enter **FREAKHOSTING**.
  </Step>

  <Step title="Retrieve the Hash">
    Click **Generate**. A long alphanumeric hash beginning with `cfxk_` will be displayed. Copy this string precisely to your clipboard.
  </Step>
</Steps>

***

## Step 2: Activation Workflow

Once you have acquired your hash, you must apply it to your server configuration.

<Tabs>
  <Tab title="FreakPanel (Recommended)">
    1. Navigate to the **Startup** tab in your Game Panel.
    2. Locate the **License Key** field.
    3. Paste your `cfxk_` hash into the field.
    4. **Restart** your server to authorize the session.
  </Tab>

  <Tab title="Manual (server.cfg)">
    1. Open your `server.cfg` file in the File Manager.
    2. Ensure the following line is correctly defined at the conclusion of the file:
       `sv_licenseKey "cfxk_your_specific_hash_here"`
    3. **Restart** the server to synchronize your identity.
  </Tab>
</Tabs>

***

<Warning>
  ### Managing IP Mismatch Errors

  FiveM license keys are strictly bound to the IP address specified during generation. If you use a key generated for IP `1.1.1.1` on a server located at `2.2.2.2`, the engine will trigger an authentication error and shutdown. If you migrate your server to a different region or receive a new IP from our support team, you **must** update the IP in Keymaster or generate a fresh key immediately to maintain uptime.
</Warning>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **FiveM:** License authenticated.
</div>
