---
description: The installation its easier and simple
---

# Installation

{% hint style="warning" %}
**Automatic SQL Injection**

In the **sf\_voting/!install** directory, you'll find a file called **data\_voting.sql**. There's no need to manually import this into your database. When you launch your server (or just the resource), it will automatically generate and configure the required database table if it hasn't already been created.
{% endhint %}

## Step 1: Install Dependencies

{% embed url="https://github.com/overextended/oxmysql/releases/latest" %}
latest release version of oxmysql
{% endembed %}

{% embed url="https://github.com/overextended/ox_lib/releases/latest" %}
latest release version of ox\_lib
{% endembed %}

\
**Don't forget to install `sf_lib`, which is included with the script upon purchase.**

## Step 2: Setup Framework

Go to `sf_lib/Config.lua` and config your framework.

## Step 3: Setup Config

Go to `sf_voting/config.lua` file and start setup, everything explained there.

## Step 4: Ensure Resource

This is last step and is easier, just drag and drop the folder into your main resources, if folder you drag him is inside sub folder and this sub folder already started everything ok, if not need to go `server.cfj`and add this command `ensure sf_voting`.
