# INSTALLATION

{% hint style="info" %}

### First of all, this bot is made for up-to-date versions of ESX and QB. If you have an older version, it may not work.

{% endhint %}

## Step 1

Invite the bot to your discord server. [Click here](https://discord.com/oauth2/authorize?client_id=1058429846805557330\&scope=bot\&permissions=1376805706816)

## Step 2

Install the `mx-discordtool` resource to your server. [Click here to download](https://github.com/MOXHARTZ/mx-discordtool/archive/refs/heads/main.zip)

## Step 3

Copy your discord server's id and paste it to the `mx-discordtool/server/config.lua guildId` variable.

{% hint style="info" %}
You don't know how to get your discord server's id? [Click here](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-)
{% endhint %}

Step

## DONE&#x20;

You are awesome! Now you can use the bot.
