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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.djscollections.com/paid-furniture-products/beds-v1/install.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
