# Installing Resources

## 🔑 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.

![](/files/TD5p1eg6LDZYhAlGVA1z)

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

![](/files/shqSbDS8slHyDAG4pYzx)

## 📂 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.


---

# 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://dirkscripts.gitbook.io/dirkscripts-documentation/the-basics/installing-resources.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.
