> For the complete documentation index, see [llms.txt](https://docs.codesign.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codesign.pro/paid-scripts/bridge/installation-guide.md).

# Installation Guide

{% stepper %}
{% step %}

### 1. Download Script

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

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

1. [**👉 Download cd\_bridge →**](https://portal.cfx.re/assets/granted-assets?search=cd_bridge)
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_bridge`** (and all other Codesign scripts) inside the **`[codesign]`** folder
   {% endhint %}

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

{% step %}

### 2. Resource Start Order

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

#### Configure `server.cfg` Correctly

After placing the script inside the **`[codesign]`** folder, ensure it starts last.

Add this to the bottom of your `server.cfg`:

```
ensure [codesign]
```

**Why?**\
`cd_bridge` auto-detects and integrates with frameworks (ESX / QBCore / QBox) and other scripts such as inventory, phone, fuel, vehicle keys, and notifications.

These scripts must start **before** `[codesign]` for detection to work correctly.
{% endhint %}

{% hint style="warning" %}

#### Important

⚠️ Place <kbd>**`ensure [codesign]`**</kbd> at the very bottom of your <kbd>**`server.cfg`**</kbd>.
{% endhint %}

<div align="left" data-with-frame="true"><figure><img src="/files/bM99y53IXaFbGR0Ml6fC" alt=""><figcaption><p>Example server.cfg start order with <code>[codesign]</code> loaded last</p></figcaption></figure></div>
{% endstep %}

{% step %}

### 3. Configure Script

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

#### Bridge Configuration

You should review all configurable options in `cd_bridge/shared/config.lua` to understand what is available.

* We recommend leaving the bridge config as default so it can automatically detect your supported scripts.
* Each config option includes a commented list showing which scripts are supported.
* Only edit these values if you want to manually choose which integration the bridge should use.
  {% endhint %}
  {% endstep %}
  {% endstepper %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.codesign.pro/paid-scripts/bridge/installation-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
