# Windows

## 1. Download the `.rar` file

Extract the contents of the `.rar` file into a folder on your PC. You can use programs like WinRAR or 7-Zip

## 2. Modify the `.env` configuration file

Inside the extracted folder, you will find a file called `.env`

Open it with a text editor (such as Notepad or Visual Studio Code)

Input the required details such as your bot token, client ID, etc.

Example configuration:

```properties
TOKEN=
LICENSE_ID=your_license_id_here
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=
DB_NAME=license_db
LOG_CREATION_LICENSE=11111111111111111111
LOG_EDIT_LICENSE=11111111111111111111
LOG_DELETE_LICENSE=11111111111111111111
LOG_ERROR_SCRIPT=11111111111111111111
LOG_SCRIPT=11111111111111111111
ADMINS=11111111111111111111,222222222222222222
```

{% hint style="warning" %}
For the license\_id, you need to request the license in the [Discord server.](https://discord.gg/ehQGrZMgrr)
{% endhint %}

## 3. Import the database from `query.sql`

Open HeidiSQL or another MySQL-compatible database management tool.

Execute the `query.sql` file, which contains the necessary SQL instructions to set up the database structure.

## 4. Install dependencies from `requirements.txt`

Open the terminal (cmd) in the folder where you extracted the files.

Run the command to install all necessary libraries:

```bash
npm install
```

## 5. Run the bot&#x20;

Once the libraries are installed, you can start the bot by running the command:

```bash
node main.js
```
