> For the complete documentation index, see [llms.txt](https://mole-resource.gitbook.io/mole-resource-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mole-resource.gitbook.io/mole-resource-docs/scripts/editor/installation.md).

# Installation

Here you will learn how to install the script and pre-configure it

{% stepper %}
{% step %}

### Install dependencies

* [OxMySQL](/mole-resource-docs/faq/quickstart.md#frameworks-and-libraries)
* [es\_extended](/mole-resource-docs/faq/quickstart.md#frameworks-and-libraries)
  {% endstep %}

{% step %}

### Add  \[rccars] to your resource folder

{% endstep %}

{% step %}

### Upload SQL File to your database

{% endstep %}

{% step %}

### Add to your server.cfg

```properties
ensure [rccars]
```

{% endstep %}

{% step %}

## Change Icon API Key (FREE)

1. Go to this site <https://fontawesome.com/start>
2. Enter your Email and click send embeded code
3. Open the email you received and follow the instructions
4. After completing the registration, you should see something like this

```
<script src="https://kit.fontawesome.com/your-api-key-here.js" crossorigin="anonymous"></script>
```

5. Copy link and insert in Config.js in html folder It should look similar to

```lua
const fontAwesomeKey = "your-api-key-here"
```

{% endstep %}

{% step %}

## Configure logs system&#x20;

1. Open config.lua and locate following section

   ```lua
   Config.Logs = {
       enable = true, -- true/false
       footer = "Your server name", 
       buy = "",  
       tune = ""
   }
   ```

2. Fill in all the fields as explained below:

   * `enable`: Set to `true` to enable logging (recommended).
   * `footer`: Enter your server name – this will be shown as a footer in the logs.
   * `buy`: Provide a Discord webhook URL for logging purchases. if you dont how to get webhook check (<https://www.youtube.com/watch?v=fKksxz2Gdnc&pp=ygUMI2RlZmluZWRjdXJs>)
   * `tune`: Provide a Discord webhook URL for logging vehicle tuning.

3. Save file **before** starting or restarting the script.
   {% endstep %}

{% step %}

## Check other options in Config.lua&#x20;

if you don't understand which option or don't know how to change something check the sample [config page](broken://pages/C8qWH5ZGyrlAT0dzFZ1B)

<br>

{% endstep %}

{% step %}

### Thats It!  Congratulions&#x20;

{% endstep %}
{% endstepper %}
