# Job integration

Of course, you'll have to add a job for your mechanics. By default, this job is named `lscustoms` however feel free to change it!

### QBCore Installation Guide:

1. Head to the qb-core/shared/jobs.lua
2. Add this code snippet between `QBShared.Jobs = {` (found at the top of the file) and `}` (found at the bottom of the file):

```lua
['lscustoms'] = {
    label = 'LSCustoms Mechanic',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Recruit Mechanic',
            payment = 50
        },
        ['1'] = {
            name = 'Advanced Mechanic',
            payment = 75
        },
        ['2'] = {
            name = 'Manager',
            isboss = true,
            payment = 150
        },
    },
},
```

3. The job is now added.

### ESX Installation Guide:

1. Run this SQL query:

```sql
INSERT INTO `jobs` (`name`, `label`, `whitelisted`) VALUES
('lscustoms', 'LSCustoms Mechanic', 0);

INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES
('lscustoms', 0, 'recruit', 'Recruit Mechanic', 50, '{}', '{}'),
('lscustoms', 1, 'advanced', 'Advanced Mechanic', 75, '{}', '{}'),
('lscustoms', 2, 'boss', 'Manager', 150, '{}', '{}'),
```

2. The job is now added.


---

# 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://documentation.rcore.cz/paid-resources/rcore_tuning/jobintegration.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.
