# Installation

### 1. Download Resource

To begin, download your recently purchased resource from [our store](https://corem.tebex.io/)

To do this, log in to your [cfx portal](https://portal.cfx.re/) account and navigate to the 'Asset Grants' section, where you will find your owned resources.

***

### 2. Dependencies

Before installing **Appearance**, you must ensure the following dependency is installed:

* **crm-core** – The core system powering all CoreM scripts. *<mark style="color:red;">(install first !)</mark>*

{% content-ref url="../crm-core/installation" %}
[installation](https://corem.gitbook.io/welcome/crm-core/installation)
{% endcontent-ref %}

***

### 3. Asset Arrangement <a href="#id-3.-asset-arrangement" id="id-3.-asset-arrangement"></a>

Place the **crm-appearance** package inside the \[crm-scripts] folder:

```
resources/
└── [crm-scripts]/
    ├── crm-core
    ├── crm-appearance
    └── ... (any other CoreM scripts)
```

In your `server.cfg`, you must:

1. **Ensure `crm-core` first**
2. Then ensure the entire `[crm-scripts]` folder

{% hint style="danger" %}
**Important**

Ensure CoreM scripts *after* your framework (qb-core / qbx-core / es\_extended).
{% endhint %}

```
# CoreM
ensure crm-core
ensure [crm-scripts]
```

***

### 4. Database

{% hint style="info" %}
Execute the SQL queries found in the `crm-sql` folder within your database, skipping this step if no files are present.
{% endhint %}

***

### 5. Framework Setup

*Before using **crm-appearance**, you need to remove any conflicting scripts.*

<mark style="color:red;">Remove Other Appearance Scripts</mark>

If you have any of the following scripts, remove them from your server:

* `skinchanger, esx_skin`
* `illenium-appearance, fivem-appearance`
* `qb-clothing`
* Any other appearance/clothing scripts

{% hint style="danger" %}
Keeping old scripts may cause conflicts with crm-appearance.
{% endhint %}


---

# 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://corem.gitbook.io/welcome/crm-appearance/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.
