# Installation

## 1. Download Resource

Download the purchased resource from [**CFX Portal**](https://portal.cfx.re/assets/granted-assets) - the official site of FiveM with purchased resources.

***

## 2. Environment Requirements

{% stepper %}
{% step %}

### Integration

You need to integrate `vms_spawnselector` with your multicharacter or identity system.

Check the [compatibility](https://docs.vames-store.com/assets/vms_spawnselector/compatibility "mention") - we may have already prepared a guide on how to implement it for your script.

If we haven’t covered your system, we recommend reviewing your multicharacter files and looking for a function where you can insert the export available in [client-exports](https://docs.vames-store.com/assets/vms_spawnselector/developer-api/client-exports "mention").

If you're unable to find the right place to add the export, we recommend contacting the author of your multicharacter system - they should know exactly where it needs to be placed for everything to work correctly.
{% endstep %}
{% endstepper %}

***

## 3. Start Resource

To start a resource in your `server.cfg`, ensure that it begins after your framework has been initiated. For instance, if you are using a framework like `es_extended`, you should start resource after it, like so:

```python
start [core] # For example, here is your framework (esx/qb-core)

# VMS Resources
start vms_spawnselector
```

Ensure there are no syntax errors or incorrect paths in your `server.cfg`.
