# Install

#### **Step 1: Download the Resource**

* Find a resource from a trusted FiveM website (e.g., Cfx.re forums, GitHub, or a private developer).
* Ensure the resource is compatible with your server version.
* Download the resource, which is typically in a **.zip** format.

***

#### **Step 2: Extract and Place the Resource**

* Extract the **.zip** file using **WinRAR** or **7-Zip**.
* Rename the folder if necessary (avoid spaces or special characters in the folder name).
* Move the extracted folder to:

  ```
  server-data/resources/
  ```

***

#### **Step 3: Configure the `server.cfg`**

* Open your **server.cfg** file located in the `server-data` directory.
* Add the following line at the bottom to ensure the resource starts:

  ```
  ensure resource_name
  ```

  *(Replace `resource_name` with the actual folder name of the resource.)*

***

#### **Step 4: Install Dependencies (If Required)**

* Some resources require additional scripts or dependencies (such as MySQL, essentialmode, or framework compatibility).
* Read the **README.md** or documentation provided with the resource to install dependencies.

***

#### **Step 5: Restart the Server**

* Restart your FiveM server using one of the following methods:
  * Stop and start the server manually.
  * Use the `refresh` command in the server console.
  * Use the `restart resource_name` command in the server console.

***

#### **Step 6: Verify Installation**

* Check the server console for any errors.
* Use the command:

  ```
  ensure resource_name
  ```

  * If successful, it should load without errors.
* If applicable, test the resource in-game.
* if escrowed products must contain .fxap

***

#### **Step 7: Debugging Issues (If Any)**

* If the resource does not work:
  * Check **server console logs** for errors.
  * Ensure you installed all dependencies.
  * Verify the resource is compatible with your server version.
  * Look at the FiveM forums or Discord for troubleshooting help.
