# Installation

This section includes a brief tutorial on how to install Samy Shutters correctly. Please follow all the instructions and if you have any issues please open a ticket on [Discord](https://discord.gg/yGjAxjnDCb) so our support team can help you out. General installation.

## STEP 1 <a href="#step-1" id="step-1"></a>

* Make sure you have installed ALL dependencies and they are started before the script

## STEP 2 <a href="#step-1" id="step-1"></a>

* Install the items in your inventory **using this export**: `samy_shutters.UseShutterKey`
* *If you use qb-inventory or any inventory that uses QBCore.Functions.CreateUseableItem it will not be necessary to use the export*

{% code title="ox\_inventory | tgiann\_inventory" %}

```lua
['shutter_key'] = {
	label = 'Shop Keys',
	weight = 75,
	stack = false,
	close = true,
	description = 'With this key you will be able to open and close the shutters.',
	client = {
		export = 'samy_shutters.UseShutterKey'
	}
},
```

{% endcode %}

{% code title="qb-inventory" %}

```lua
["shutter_key"] = {
    ["name"] = "shutter_key",
    ["label"] = "Shop Keys",
    ["weight"] = 75,
    ["type"] = "item",
    ["image"] = "shutter_key.png",
    ["unique"] = false,
    ["useable"] = true,
    ["shouldClose"] = true,
    ["combinable"] = nil,
    ["description"] = "With this key you will be able to open and close the shutters."
},
```

{% endcode %}

## HOW TO FIND SHUTTER ID <a href="#step-1" id="step-1"></a>

* The ID is obtained based on the name displayed at the beginning of each shutter, for example, those marked in the photo.\ <br>

  <figure><img src="/files/liqwZbAKyXrakOfYNDnR" alt=""><figcaption></figcaption></figure>


---

# 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://samy-docs.gitbook.io/samyhub/paid-scripts/shutters-system/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.
