# Framework settings

***

## Integrating into ESX

Let's go inside the <mark style="background-color:orange;">wais-jobpack</mark> folder and open the <mark style="background-color:orange;">Config.lua</mark> file with an editor.

Change the <mark style="background-color:orange;">Config.Framework</mark> variable in the first lines of the Config file as below.

```lua
Config.Framework = {
    ["Framework"] = "esx", -- esx, qbcore or qbox
    ["ResourceName"] = "es_extended ", -- es_extended or qb-core or your resource name. If you using qbx you should write qb-core
    ["NewCore"] = true, -- If you use the new core, set this to true ( esx or qb ). If you are using the old one, make it false and edit the event below according to yourself.
    ["SharedEvent"] = "esx:getSharedObject" -- Event name for old cores.
}
```

***

## Integrating into QBCore

```lua
Config.Framework = {
    ["Framework"] = "qbcore", -- esx, qbcore or qbox
    ["ResourceName"] = "qb-core", -- es_extended or qb-core or your resource name. If you using qbx you should write qb-core
    ["NewCore"] = true, -- If you use the new core, set this to true ( esx or qb ). If you are using the old one, make it false and edit the event below according to yourself.
    ["SharedEvent"] = "qb-core:getSharedObject" -- Event name for old cores.
}
```

***

## Integrating into Qbx

```lua
Config.Framework = {
    ["Framework"] = "qbox", -- esx, qbcore or qbox
    ["ResourceName"] = "qb-core", -- es_extended or qb-core or your resource name. If you using qbx you should write qb-core
    ["NewCore"] = true, -- If you use the new core, set this to true ( esx or qb ). If you are using the old one, make it false and edit the event below according to yourself.
    ["SharedEvent"] = "" -- Event name for old cores.
}
```

{% hint style="danger" %}
If the name of the **core** script is different, replace the value of the `[“ResourceName”]` variable with the script name

`[“ResourceName”] = "your core resources name"`
{% endhint %}
