> For the complete documentation index, see [llms.txt](https://andrew-grenade.gitbook.io/sheen-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andrew-grenade.gitbook.io/sheen-scripts/paid-resources/sh-k9/installation.md).

# Installation

### Prerequisites

Before installing the K9 Dog script, ensure you have the following dependencies:

* [ox\_lib](https://github.com/overextended/ox_lib/releases) (required)

### Installation Steps

1. **Download the script from your keymaster**
   * Place the K9 Dog script into your server's resources directory
2. **Ensure proper load order,** make sure the script starts after:
   * Your database handler (oxmysql)
   * Your framework (QB, ESX, etc.)
   * ox\_lib
3. **Configure the script**
   * Open and edit the configuration file to customize the script to your needs
   * Review all available settings thoroughly before asking questions about functionality
   * If you're using QBX Framework, uncomment the QBX-specific lines in the `fxmanifest.lua` file
4. &#x20;**ps-inventory integration (skip this step, if you not using it)**
   * Add the following code to your `ps-inventory/server/main.lua` file:

     ```lua
     exports("GetTrunkItems", function(plate)
         return Trunks[plate] and Trunks[plate].items
     end)

     exports("GetGloveboxItems", function(plate)
         return Gloveboxes[plate] and Gloveboxes[plate].items
     end)
     ```
5. **Restart your server**
   * After completing all the steps above, restart your server to apply the changes

### Troubleshooting

If you encounter any issues during installation, verify that:

* All dependencies are installed and up to date
* The load order is correct
* Your configuration settings are valid

### Support

For additional help or questions, please refer to our Discord.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://andrew-grenade.gitbook.io/sheen-scripts/paid-resources/sh-k9/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.
