# Installation & Configuration

{% stepper %}
{% step %}

### Add the resource

Drag the `dynyx_rentals` folder into your `resources` directory.

Then make sure its in the correct location so the server can access it. Once done, add `ensure dynyx_rentals` to your `server.cfg` to activate the script.&#x20;
{% endstep %}

{% step %}

### Install Dependencies

**Ensure all required dependencies for the script are installed and up to date.**&#x20;

Dependencies usually include core resources like the frameworks (**QBCore**, **QBox** or **ESX**), target systems (`ox_target` or `qb-target`) and an inventory system like (`ox_inventory`, `qb-inventory`, `ps-inventory`, `origen_inventory`, or `core_inventory`). Missing dependencies may prevent the script from working property.
{% endstep %}

{% step %}

### Import the SQL File

**Open your database (like HeidiSQL or phpMyAdmin) and import the provided SQL file.**\
This step adds the necessary tables and data structure to your database, ensuring that the prison system can store and retrieve relevant information such as inmate records, escape flags, and confiscated items.
{% endstep %}
{% endstepper %}


---

# 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://dynyx-scripts.gitbook.io/dynyx-scripts/rentals/installation-and-configuration.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.
