# Installation

## 📥 Installation

Follow these steps to install **Imperium Smart Keys** on your server.

***

### 1. License Validation

This script uses the FiveM Escrow System.

* Log in to your CFX Portal account
* Go to **"Granted Assets"** and make sure `is-smartkeys` **and** `is-textui` are listed
* If they are not listed, you must purchase them on Tebex
* Ensure your server is running with a license key linked to this CFX account

***

### 2. Upload Resources

* Download both scripts and extract them
* Place the folders:
  * `is-smartkeys`
  * `is-textui`\
    into your server's `resources` directory

⚠️ **Important:** Do not rename the folders; they must remain:

* `is-smartkeys`
* `is-textui`

***

### 3. Server Configuration

Add the following lines to your `server.cfg`:

```cfg
ensure is-textui
ensure is-smartkeys
```

***

### 4. Setup

* Configure `config.lua` to adjust settings:
  * Framework
  * Inventory
  * Locales

***

### 5. Final Step

Restart your server to apply all changes.


---

# 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://imperiumscripts.gitbook.io/imperium-scripts/scripts/imperium-smart-keys/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.
