# Installation Guide

***

## Installation video

{% embed url="<https://www.youtube.com/watch?v=HHkdvehjw5U>" %}
If you are getting stuck on any of the steps feel free to follow the video guide
{% endembed %}

***

{% stepper %}
{% step %}

### 1. Codesign Bridge

{% hint style="danger" icon="1" %}

#### **This script requires `cd_bridge` to be installed and running before it can function**

**`cd_bridge`** is plug-and-play and requires no setup. It automatically handles:

* Framework integration
* Database setup
* Script compatibility
* Error Handling

Once started, it will detect and connect to all supported scripts automatically.

[**👉 See the \[Full Bridge Setup Guide\] →**](https://docs.codesign.pro/paid-scripts/bridge/installation-guide)
{% endhint %}
{% endstep %}

{% step %}

### 2. Download Script

{% hint style="danger" icon="2" %}

#### Download the Script from the FiveM Portal Website

1. [**👉 Download cd\_garage →**](https://portal.cfx.re/assets/granted-assets?search=cd_garage)
2. Unzip the downloaded file
3. In your server’s `resources` directory, create a folder named `[codesign]` if it does not already exist
4. Place **`cd_garage`** (and all other Codesign scripts ) inside the **`[codesign]`** folder
   {% endhint %}

<div align="left" data-with-frame="true"><figure><img src="/files/ohcvl7W9xzT3Y1ZYt7Z1" alt=""><figcaption><p>Example resources folder with a <code>[codesign]</code> directory</p></figcaption></figure></div>
{% endstep %}

{% step %}

### 3. Install Dependencies

{% hint style="danger" icon="3" %}

#### **Required & Optional Dependencies**

* Dependencies are either included in **`[cd_garage/dependencies]`** or have a text file with a download link (GitHub/Cfx Portal).
* Place them in your server’s **`[codesign]`** folder
* ⚠️ Do not place them inside the `cd_garage` folder
* Required dependencies start automatically
  {% endhint %}

<table data-full-width="true"><thead><tr><th width="174.66670735677081">Resource Name</th><th width="115.3333740234375">Download</th><th width="112.3333740234375" data-type="checkbox">Required</th><th>Details</th></tr></thead><tbody><tr><td><strong><code>cd_garageshell</code></strong></td><td><code>cd_garage/dependancies</code></td><td>true</td><td></td></tr><tr><td><strong><code>cd_drawtextui</code></strong></td><td><a href="https://github.com/dsheedes/cd_drawtextui">Github</a></td><td>false</td><td>Default draw-text UI</td></tr><tr><td><strong><code>cd_keymaster</code></strong></td><td><a href="https://github.com/dsheedes/cd_keymaster">Github</a></td><td>false</td><td>Default vehicle lockpicking</td></tr></tbody></table>
{% endstep %}

{% step %}

### 4. Database Setup (SQL)

{% hint style="danger" icon="4" %}

#### No manual SQL setup required.

The script automatically inserts all required database tables.

```lua
Config.AutoInsertSQL = true
```

Make sure this is enabled in `cd_garage/configs/config.lua`.
{% endhint %}
{% endstep %}

{% step %}

### 5. Configure Script

{% hint style="danger" icon="5" %}

#### Review the `config.lua` Settings

Open <kbd>**cd\_garage/configs/config.lua**</kbd> and check the available settings.

* Update the options that are needed for your server.
* Read the comments next to each option, as they explain what each setting does.
  {% endhint %}
  {% endstep %}

{% step %}

### 5. Configure Key Binds

{% hint style="danger" icon="5" %}

#### Configure Before Starting the Resource

**Before Starting the Resource**

* Before launching this resource on your main or live server, we strongly recommend configuring your key binds first.
* This resource uses [FiveM’s Key Mapping](https://docs.codesign.pro/helpful-guides/register-key-mapping) system.

**Where Can I Configure My Key Binds?**

* You can configure all key binds directly in **`cd_garage/configs/config.lua`**.

**Why Is This Important?**

* Once a player joins your server with this resource running, you can no longer force key bind changes through the config file.
* Players must adjust their key binds manually through the in-game pause menu settings.
* Any changes you make will still apply to new players who join afterward.
* This system is more optimized and gives players the flexibility to customize their key binds for both keyboard and controller use.
* You can also review the [Default key Binds](/paid-scripts/dispatch3d/developer-api/keys.md) binds provided with this resource.
  {% endhint %}

<div align="left" data-with-frame="true"><figure><img src="/files/q5RfrGdfsMxAgSx0bYwT" alt=""><figcaption><p>Keybind settings located in the pause menu</p></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# 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://docs.codesign.pro/paid-scripts/garage/installation-guide.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.
