# Installation

## Dependencies

<details>

<summary>ES EXTENDED</summary>

You will need the latest version of [es\_extended](https://github.com/ESX-Official/es_extended).

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>OX_LIB</summary>

You will need the latest version of [ox\_lib](https://github.com/overextended/ox_lib/releases/tag/v3.16.2).

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>OX_INVENTORY</summary>

You will need the latest version of [ox\_inventory](https://github.com/overextended/ox_inventory/releases/tag/v2.38.1).

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

### Installing the resource

* Make sure you have the [dependencies](#dependencies) listed above installed.
* Extract the contents of the archive to your resources folder.
* Add "zat-notebook"  item to the database
* import zat-notebook.sql to the database.
* Ensure zat-notebook on the server.cfg.
* Add this to ox\_inventory > modules > items > client.lua :

```
Item('zat-notebook', function(data, slot)
	TriggerServerEvent("zat-notebook:server:UseNotebook", slot.metadata)
end)
```


---

# 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://zat-scripts.gitbook.io/zat-scripts/esx/notebook/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.
