# 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="<https://3295602690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMRfG9QvNConKIyipM24L%2Fuploads%2FBwBca44ZzloEeaNrU2qv%2Fflexybot.zip?alt=media&token=fb0c31ec-3df5-4b90-8d8e-498916279643>" %}
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="https://3295602690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMRfG9QvNConKIyipM24L%2Fuploads%2FTV1VaIi6u4zyBUKbMjiN%2FScreenshot%202025-03-01%20at%2019.49.45.png?alt=media&#x26;token=a65bc7f7-a2b8-4950-8c92-1d57bf565bb5" alt=""><figcaption><p>Copy the command and paste it into server console</p></figcaption></figure>
