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

# Installing Resources

Quick guide for downloading your asset from the Cfx Portal and installing it in the correct resource folder.

## 🔑 Get your asset from Cfx Portal

After purchasing one of our scripts, head over to [portal.cfx.re](https://portal.cfx.re) — this is where your purchased assets are managed.

#### Once logged in, click on **"Purchased Assets"**, then locate the script you just bought.

![](https://408157925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPePw4WXwnA0riTc8ssmY%2Fuploads%2FGUuZM0NlDE18VhILOOwV%2FpurchaseSelect.png?alt=media\&token=f3f2775d-6e60-46f7-a774-d7540daa1f91)

From there, click **Download** to grab the latest version.

![](https://408157925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPePw4WXwnA0riTc8ssmY%2Fuploads%2FJxrRFKwj6FbucQlIPb68%2FlistAssets.png?alt=media\&token=99f3b69e-163f-460e-9946-a3f8b70dac3a)

## 📂 Installation Guide

If this is your first time installing a DirkScripts resource, we recommend creating a folder named:

```
[dirk]
```

Place all DirkScripts scripts and their dependencies inside this folder. This keeps everything organised and ensures proper start order.

Example structure:

```
resources/
└── [dirk]/
    ├── dirk_inventory
    ├── dirk_traphouse
    └── dirk_dependencies
```

Add the following to your `server.cfg`:

The best location is somewhere after your framework and it's dependencies start.

```
ensure [dirk]
```

This approach helps avoid loading issues and makes updates easier down the line.
