> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-jobs/installation.md).

# Installation

### Requirements

* **SB Bridge**, which is required and listed as a dependency
* **oxmysql**
* A supported inventory: qb-inventory, ox\_inventory, or whatever SB Bridge is set up for
* A supported target system if you use target mode: ox\_target, qb-target or SB Interact

### Steps

1. Drop the `sbjobs` folder into your resources folder.
2. Start it after `oxmysql` and `sbbridge`:

```cfg
ensure oxmysql
ensure sbbridge
ensure sbjobs
```

3. Add the receipt item to your inventory. See Receipts.
4. Add the items for each job you run. Each job has an items file in the `README` folder with [ready to paste](/sb-scripts/sb-jobs/item-setup.md) lines for qb-inventory and ox\_inventory.
5. Copy the item images into your inventory image folder. The job images are in `imgs/`.
6. Create the job in your framework, for example in `qb-core/shared/jobs.lua`. Use the same name as `jobName` in the job config.
7. Restart the server.

### Database

Nothing to import. The resource creates its tables the first time it starts:

| Table             | What it holds                         |
| ----------------- | ------------------------------------- |
| `sb_jobs_balance` | Business account balance for each job |
| `sb_jobs_prices`  | Saved item prices for each job        |
| `sb_jobs_sales`   | Sales history shown in the boss menu  |
