# Installation

## Script Download

{% stepper %}
{% step %}

### Log Into CFX Portal

[CFX Portal](https://portal.cfx.re/assets/granted-assets)
{% endstep %}

{% step %}

### Granted Assets

Navigate to the **assets** page to find the resource. Download it and then **drag and drop it to your server**.
{% endstep %}
{% endstepper %}

## Script Setup

{% stepper %}
{% step %}

### Add Script To Your Server&#x20;

Drag and drop the script to your server!
{% endstep %}

{% step %}

### Set GOD Convar in SERVER.CFG

<mark style="color:$danger;">**(DO NOT SET MULTIPLE PEOPLE AS ADMIN IN THE SERVER.CFG ONLY SET YOURSELF, YOU SET OTHER PEOPLE AS ADMIN IN THE MENU ITSELF)**</mark> &#x20;

Set yourself as the god role. Add this convar anywhere in your server.cfg and add your fivem identifier to it.

```
set admin_menu_god "identifier.fivem:12345"
```

{% endstep %}

{% step %}

### Set FiveManage Webhook Api Key

(OPTIONAL) Add this convar anywhere in your server.cfg and add your FiveM identifier to it.

```
set FIVEMANAGE_LOGS_API_KEY "YOUR_REAL_FIVEMANAGE_KEY"
```

{% endstep %}

{% step %}

### Removing Conflicting Scripts

Remove **qb-adminmenu** if you have this in your server.
{% endstep %}

{% step %}

### [Set Staff Roles](/pug-development/scripts/admin-menu/set-staff-roles.md)

{% endstep %}
{% endstepper %}

## [Script Support & Dependencies](/pug-development/scripts/robbery-creator/dependency-and-support.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pugdocuments.gitbook.io/pug-development/scripts/admin-menu/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
