# How to Install

{% hint style="warning" %}
Make sure you follow all the steps, if you encounter any errors make sure you did everything correctly.
{% endhint %}

{% stepper %}
{% step %}
## Add the resource

1. First, download vts-pawnshop from granted assets on your [keymaster](https://keymaster.fivem.net/asset-grants) account, which you also use as your server key!
2. Then unzip the resource, place it in your directory.
3. Remember to `еnsure vts-pawnshop` in your **server.cfg**
{% endstep %}

{% step %}
## **Run the resource before all resources in server.cfg**

```lua
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager

# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents

# QBCore & Extra stuff
ensure oxmysql  
ensure ox_lib # this is a must!
ensure qb-core  
ensure ox_lib # or esx-core
ensure ox_target  
ensure ox_lib # or qb-target
ensure ox_inventory  
ensure ox_lib # or qb-inventory
ensure vts-pawnshop
# Adjust it according to what you are using. This is just an example of course!
```
{% endstep %}

{% step %}
## Change everything config.lua

**Change anything that needs to be changed in the configuration. Right now everything is set up to work with ox**\
Detailed information [here!](../../our-paid-scripts-qb/pawnshop/configuration)
{% endstep %}
{% endstepper %}

{% hint style="danger" %}
If you are using something other than `ox_inventory/ox_target etc`. you can customize them from the custom.lua files in the `editable` folders.
{% endhint %}
