# Requirements

Before running **SellAuth AIO**, make sure you have the following:

## Discord Bot Token

* A **Discord bot token** is required to run the bot.
* The bot should have permission to **send messages**, **manage roles**, and **access the channels** where it will operate.
* Enter the token in `config.yaml` under `discord.token`.

## Admin and Customer Roles

* You need to specify **which roles can access the bot**:
  * `admin_role_id`: Users with this role can use advanced commands.
  * `customer_role_id`: Buyers will receive this role automatically after purchase.
* Add the role IDs in `config.yaml`.

## SellAuth Store Credentials

* **API Key**: Your SellAuth API key is required for the bot to communicate with your store.
* **Shop ID**: The ID of your store in SellAuth.
* Both values are configured in `config.yaml` under `sellauth.api_key` and `sellauth.shop_id`.

{% hint style="info" %}
Database (Optional)

* If you plan to **track logs or store extra data locally**, make sure your environment can handle local storage or database connections.
* Not mandatory, but recommended for larger stores.
  {% endhint %}

{% hint style="info" %}
Hosting

* **RDP or VPS** is recommended for stable operation and uptime.
* Running locally may work but can cause slower performance or connectivity issues.
  {% endhint %}
