# How To Create a FiveM License Key (/docs/fivem/create-license-key)



A cfx.re license key is **required** for your FiveM server to operate. Without it, the server will not start. Here is how to generate one.

<div className="fd-steps">
  <div className="fd-step">
    Create a cfx.re Account [#1-create-a-cfxre-account]

    Go to [https://keymaster.fivem.net/](https://keymaster.fivem.net/) and log in or create a new account. You can sign up using your existing Cfx.re forum account, Discord, or Steam.
  </div>

  <div className="fd-step">
    Register a New Server Key [#2-register-a-new-server-key]

    Once logged in, click **Register a new server** or **New Server**.
  </div>

  <div className="fd-step">
    Fill in the Details [#3-fill-in-the-details]

    Enter the following information:

    * **Label** - A friendly name to identify this key (e.g., "My XGamingServer")
    * **Server IP** - Your server's IP address (found on your panel **Dashboard**)
    * **Server Type** - Select the appropriate type for your server
  </div>

  <div className="fd-step">
    Generate the Key [#4-generate-the-key]

    Click **Generate** to create your license key. Copy the key that is displayed.
  </div>

  <div className="fd-step">
    Add the Key to Your Server [#5-add-the-key-to-your-server]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your FiveM server. In the sidebar, click **Startup**. Find the **License Key** field and paste your key.
  </div>

  <div className="fd-step">
    Restart Your Server [#6-restart-your-server]

    Go to **Console** and restart your server. It should now start successfully.

    > ⚠️ **Warning:** Do not share your license key with anyone. Each key is tied to a specific server IP. If you change your server IP, you will need to update the key on the Keymaster website.

    > 📝 **Note:** You can generate multiple license keys under the same cfx.re account for different servers.
  </div>
</div>
