# Claim Purchase

{% hint style="info" %}
**Important:** Make sure you have access to your server files and administrative permissions before starting the installation process.
{% endhint %}

## Quick Access Links

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><i class="fa-browser">:browser:</i> Cfx.re Portal</td><td><a href="https://portal.cfx.re/assets/granted-assets">https://portal.cfx.re/assets/granted-assets</a></td><td><a href="https://portal.cfx.re/assets/granted-assets">https://portal.cfx.re/assets/granted-assets</a></td></tr><tr><td align="center"><i class="fa-windows">:windows:</i> Windows Artifacts</td><td><a href="https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/">https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/</a></td><td><a href="https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/">https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/</a></td></tr><tr><td align="center"><i class="fa-linux">:linux:</i> Linux Artifacts</td><td><a href="https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/">https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/</a></td><td><a href="https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/">https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/</a></td></tr><tr><td align="center"><i class="fa-discord">:discord:</i> Discord Support</td><td><a href="https://discord.gg/gQQNdegvSm">https://discord.gg/gQQNdegvSm</a></td><td><a href="https://discord.gg/gQQNdegvSm">https://discord.gg/gQQNdegvSm</a></td></tr></tbody></table>

## Installation Steps

{% stepper %}
{% step %}
**Verify Your Server Artifacts**

{% hint style="warning" %}
Using outdated or broken artifacts may cause your scripts to not work correctly.
{% endhint %}

Before installing, make sure your server is running on a **compatible artifact**.

We recommend always using the **latest stable build** from the official FiveM listings:

* **Windows Artifacts:** [Download](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/)
* **Linux Artifacts:** [Download](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/)

{% hint style="info" %}
Some scripts may require a minimum artifact version. Always check the documentation of the script you are installing.
{% endhint %}
{% endstep %}

{% step %}
**Access Your Cfx.re Portal**

Head over to [**Cfx.re Portal**](https://portal.cfx.re/assets/granted-assets) and open the **Granted Assets** section.\
Find the script you purchased and click **Download**.

{% hint style="warning" %}
It may take up to 5 minutes for your asset to appear after purchase.
{% endhint %}
{% endstep %}

{% step %}
**Extract the Files**

{% hint style="info" %}
**File Structure:** Make sure to maintain the original folder structure when extracting files to avoid issues.
{% endhint %}

Unpack the `.zip` you downloaded to your server's resources folder
{% endstep %}

{% step %}
**Configure the Script**

{% hint style="info" %}
**Configuration is crucial!** Take your time to properly set up all required settings.
{% endhint %}

Follow the configuration instructions provided in the script's documentation:

* Set up database connections if required
* Adjust settings in `/shared`
* Enable any necessary features in your server's `server.cfg`

{% hint style="warning" %}
Double-check optional dependencies or recommended settings in the script's documentation to avoid errors.
{% endhint %}
{% endstep %}

{% step %}
**Final Setup**

{% hint style="danger" %}
**Important:** Avoid starting the script via console or txAdmin while the server is already running, as this may cause Keymaster escrow errors.
{% endhint %}

Completely restart your FiveM server to ensure Cfx Portal recognizes your license.\
After the restart, verify that the script is running correctly.
{% endstep %}

{% step %}
**Need More Help?**

{% hint style="success" %}
**Congratulations!** Your script should now be running. Enjoy your new purchase!
{% endhint %}

For more detailed guides, troubleshooting, and advanced setup options, check the script's documentation. If you still encounter issues, join our [Discord](https://discord.gg/gQQNdegvSm) and reach out for support.
{% endstep %}
{% endstepper %}


---

# 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://anxscripts.gitbook.io/docs/claim-purchase.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.
