# Installation & Configuration

## Installation

1. Unzip the `jg-advancedgarages-bundle`&#x20;
2. Drag both `jg-advancedgarages` and `jg-textui` into either your `[qb]` or `[esx_addons]` folder within your server. *If you don't plan on using our new default Text UI, you don't need to transfer it to your server, and you can choose a different Text UI script in the config!*
3. Run either `install/run-qb.sql` or `install/run-esx.sql` from within your MySQL database depending on the framework you are using.
4. If you are running QBCore, the default qb-phone garages app may be broken - head to [qb-phone](/advanced-garages/integrations/qb-phone.md) to fix it.

{% hint style="danger" %}
Do not rename the `jg-advancedgarages` resource! Doing so will break the resource.
{% endhint %}

## Configuration

Now comes the fun part, configuring the script to your servers needs. No need to mess with any code - we have an awesome new configuration tool, that makes it a breeze:

{% embed url="<https://configurator.jgscripts.com/advanced-garages>" %}

To use the tool, simply change the settings to your preference, then scroll to the bottom of the page and click the big blue "Generate config.lua" button.

You can then move the downloaded `config.lua` file into the root of the `jg-advancedgarages` resource, replacing the existing one. To modify your `config.lua` in the future or after an update, you can import it by clicking "Import existing config" at the top of the page. You can then make changes to it and re-generate when you're finished.

## Integrations

Scripts are more fun when they work with others! See a full list of supported integrations and how to get them set up here: [Integrations](/advanced-garages/integrations.md)


---

# 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.jgscripts.com/advanced-garages/installation-and-configuration.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.
