# Installation

## Step 1 - Installing dependencies

Our Safe Zones script only relies on one dependency: <mark style="color:purple;">**screenshot-basic**</mark>. Here is the link to the resource:

{% embed url="<https://github.com/citizenfx/screenshot-basic>" %}

## Step 2 - Setting up api key

To enable custom image functionality, it's essential to set up a Discord webhook for file uploads. Access the configuration file and update the API key link.

```lua
Config.WebHook = 'DISCORD_WEBHOOK'
```

If you're unsure how to do this, refer to the following link for guidance:

{% embed url="<https://youtu.be/fKksxz2Gdnc>" %}

## Step 3 - Language

For the optimal experience, you can customize the script language by modifying it in the config file:

```lua
Config.Locale = 'LANG' -- es, en, fr, it, pt, ru, de
```

## Step 4 - Setting up permissions

If you are using <mark style="color:orange;">**esx**</mark> or <mark style="color:red;">**qbcore**</mark>, the script will operate based on the framework permissions. However, for users of the standalone version, you can configure the admin list in:

*<mark style="color:blue;">**nv\_SafeZone\config\frameworks\framework.lua**</mark>**&#x20;**<mark style="color:yellow;">**->**</mark>* <mark style="color:blue;">**Config.IsPlayerAdmin**</mark>

## Finishing - Last steps

With everything set up, we conclude the installation process. If you encounter any issues, please join our Discord and open a support ticket.
