# Installation

## Downloading Dependencies

Dependencies are very important — you need to install them before moving on to the installation of our script.

{% stepper %}
{% step %}

### PolyZone

{% embed url="<https://github.com/mkafrin/PolyZone>" %}
{% endstep %}

{% step %}

### OX\_LIB

{% embed url="<https://github.com/overextended/ox_lib>" %}
{% endstep %}

{% step %}

### VehicleDeformation (Optional)

Install VehicleDeformation script if you want to save vehicle deformations!&#x20;

No need to set anything in config, just make sure VehicleDeformation is started before op-garages.&#x20;

{% embed url="<https://github.com/Kiminaze/VehicleDeformation/releases>" %}
{% endstep %}
{% endstepper %}

***

## Server.cfg

All dependencies you’ve installed must be started before our script. Make sure to follow the correct start-up order in your `server.cfg`.

```
ensure PolyZone
ensure VehicleDeformation
ensure op-garages
```

***

## Permissions

It's important to grant your server administrators access to our Garage Admin and Commands. Don’t forget to check this Article:

{% content-ref url="/pages/C4czzuweDScQ3FwbpYfQ" %}
[How to add player to Garage Admin](/scripts/op-garages-v2/tutorials/how-to-add-player-to-garage-admin.md)
{% endcontent-ref %}

***

## Database

The script will automatically create its own database and check for columns in framework database on first start-up.

***

## Vehicles Migration from V1 (Optional)

To ensure that your current vehicles from database will display correctly run command from Server-Side Console (It's important)&#x20;

```
/garagesMigrate
```


---

# 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.otherplanet.dev/scripts/op-garages-v2/installation.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.
