> For the complete documentation index, see [llms.txt](https://docs.flexy.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexy.bot/modules/fivem.md).

# FiveM

Setup

* Go to your **Project** on FlexyBot
* Select **Connections**
* Click **Add connection** and select **FiveM server**
* Enter any name and create the connection

Continue by downloading the resource/script. Uncompress/extract it into **resources** folder.

{% file src="/files/8E1DDokc3vCzYL3OBVPn" %}
Download and extract into resources folder
{% endfile %}

Open **server.cfg** and add the following at the end of the file:

```
ensure flexybot
```

**Restart** the server.

Copy the setup command on FlexyBot Connections page and put it into your server console. This will connect your server to FlexyBot and complete the setup.

<figure><img src="/files/Jj7GUzJ3dXYC5kIotKWn" alt=""><figcaption><p>Copy the command and paste it into server console</p></figcaption></figure>
