> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verveo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ranking Cube Setup Guide

> Setup Verveo's Ranking Cube product with step-by-step instructions.

> [!NOTE]
>
> **This product is free**. Download it from the official Verveo website at [https://verveo.boopup.dev/dashboard](https://verveo.boopup.dev/dashboard).

**Prerequisites:** You must have Roblox Studio installed on your computer. Verveo products cannot be installed directly into a live Roblox game. Setup must be done through Roblox Studio.

**1. Download the product**

Download the product from your [dashboard](https://verveo.boopup.dev/dashboard). Most browsers save files to your Downloads folder by default.

**2. Insert the file into Roblox Studio**

Once downloaded, **insert the file into Roblox Studio**. If you're unsure how to do this, the video below walks you through it:

[YouTube video player](https://www.youtube.com/embed/Maza6MPxlqY?si=aUcFYBa1oDPtvHOB)

**3. Create a RankGun account**

Head to [app.rankgun.works](https://app.rankgun.works/) and log in with Discord. You'll land on a page like this:

![RankGun dashboard landing page](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-7.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=4452184a6a4cc375d2ff6499d9de874e)

Click **Connect To Roblox**.

> [!NOTE]
>
> It's strongly recommended that you use a dedicated holder account as your ranking bot in your Roblox group, not your main account. Make sure the account is ranked appropriately in your group before proceeding.

**4. Authorize your Roblox account**

You'll be redirected to a Roblox authorization page:

![Roblox authorization page](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-6.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=7cad4b716524a8866383fa1b1dff95ad)

Click **Continue**, then on the next screen click **Confirm and Give Access**.

![Confirm and Give Access screen](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-8.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=4938e8cd1df91ccfa7596e79b819ce8c)

**5. Connect your Roblox group**

After authorizing, you'll be redirected back to RankGun. Enter your group ID and click **Create**.

![RankGun group ID entry](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-9.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=645f695fbe6b72320b05a2fc5fad3d5f)

**6. Set up rankings for your Roblox group**

Go to **Integrations**, then **Roblox**, and click **Connect to Roblox Group**.

![RankGun Integrations page](https://cdn.nest.rip/uploads/89bc1864-6737-4c6f-b3ba-c9f95eed5d3a.png)

Click **Continue**.

![Continue screen](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-14.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=f3751b857d3f2f6d7fa2378832663d5b)

Click **Continue** once more.

![Second continue screen](https://cdn.nest.rip/uploads/afb1cb4a-0aa8-4107-898c-f84f1508446c.png)

Finally, click **Confirm and Give Access**.

![Confirm and Give Access screen](https://cdn.nest.rip/uploads/c7d28576-3027-407d-a7ba-074924239d01.png)

You'll be redirected back to RankGun and your ranking integration will be set up.

**7. Copy your RankGun Token**

Go to **Settings & Billing** and click **Copy Key**.

![RankGun Settings and Billing page](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-10.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=417055f342f594ae1050dd9e23cb5374)

Your RankGun Token (This is RankGun's API key. Do not share it with anyone.) will be copied to your clipboard. It will look something like this:

```text theme={null}
aZrTqLpMnBvCxDsEfGhJkWYuIoPaSd
```

Paste this value into the `RankgunToken` field in your Settings file.

![Settings file location](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-12.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=e55961c8e8b39f2489954b7abdfe84c8)

**8. Get your RankGun Workspace ID**

Navigate to your RankGun workspace. Your Workspace ID is the string of characters that appears after `/workspace/` in the URL:

```text theme={null}
https://app.rankgun.works/workspace/QQrxTyNyhunaeEm/settings
```

In the example above, the Workspace ID is `QQrxTyNyhunaeEm`. Paste this value into the `RankgunWorkspaceId` field in your Settings file.

**9. Configure the settings**

The Settings file is located inside the main **Ranking Cubes** folder, as shown below.

![Ranking Cubes folder in Roblox Studio](https://mintcdn.com/verveo/DqoRkqXNELaQ0IGo/images/image-13.png?fit=max\&auto=format\&n=DqoRkqXNELaQ0IGo\&q=85\&s=5022f1e97ef85517eaa5f05b8a5281e2)

Open it and adjust the values to fit your game. All available options are shown below:

```luau expandable lines wrap theme={null}
local Settings = {

    --[[Cube Configuration]]--

    GroupId = 12212248,           -- Your Roblox group ID
    MinimumRankPromote = 1,       -- Minimum rank required to promote others
    MinimumRankDemote = 1,        -- Minimum rank required to demote others
    MaximumRank = 255,            -- The highest rank a player can be promoted to (players above the ranker's rank are always protected)
    ChatServiceCommands = true,   -- Enable Basic Admin or Chat Commands (requires New Chat Service)
    -- FOR BASIC ADMIN INTEGRATION ⚠️
    -- Place the Ranking Cubes folder inside your Basic Admin Plugins folder.

    --[[Ranking]]--
    RankgunWorkspaceID = "PasteIDHere",   -- Your RankGun Workspace ID
    RankgunToken = "PasteTokenHere",      -- Your RankGun Token

    --[[Notifications]]--
    ActivatedNotification = true,         -- Notify the ranker when the tool is active
    DemotionNotification = true,          -- Notify the ranker when they demote someone
    UserDemotionNotification = true,      -- Notify the user when they are demoted
    PromotionNotification = true,         -- Notify the ranker when they promote someone
    UserPromotionNotification = true,     -- Notify the user when they are promoted
    RankingFailedNotification = true,     -- Notify the ranker if ranking fails

    --[[Discord Webhooks]]--
    LoggingEnabled = false,               -- Enable Discord Webhook logging?
    WebhookURL = "PasteWebhookHere",      -- Your Discord Webhook URL

    --[[Auto Kick]]--
    AutoKickEnabled = true,
    KickPromotionMessage = "Great job! You were just promoted.",
    KickDemotionMessage = "Yikes! You were just demoted.",

    --[[Ranking Cooldowns]]--
    -- DATASTORES MUST BE ENABLED ⚠️
    CooldownsEnabled = true,       -- Enable promotion/demotion cooldowns?
    CooldownLength = 120,          -- Global cooldown length, in seconds
    SameUserCooldownLength = 60    -- Per-user cooldown length, in seconds

}

return Settings
```

**You're all set!** Setup for Verveo's Ranking Cubes is complete. If you run into any issues, post in **#public-support** on our [Discord server](http://boo.is-a.dev/discord).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.