> For the complete documentation index, see [llms.txt](https://docs.inhousequeue.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inhousequeue.xyz/docs/premium/create-white-label-bot.md).

# Create White Label bot

Welcome! This tutorial will walk you through the steps to create your very own White label custom Discord bot.

The white label bot is a drop-in replacement for the public <mark style="color:red;">InHouseQueue</mark> bot — you won't need to reconfigure anything.

Invite your custom bot, then remove <mark style="color:red;">InHouseQueue</mark> from your server once you're done. Follow the guide below to get started.

## Step 0: Invite InHouseQueue

We **MUST** start this with <mark style="color:red;">InHouseQueue</mark>! Invite link here [Invite Link](https://discord.com/api/oauth2/authorize?client_id=1001168331996409856\&permissions=2433051696\&scope=bot)

## Step 1: Activate Your Premium Subscription

Before you begin, make sure your premium subscription is [activated](/docs/premium/how-to-activate-patreon.md). This is essential to access all the features needed for your custom bot.

## Step 2: Visit the Discord Developer Portal

Go to the [Discord Developer Portal](https://discord.com/developers/applications).

## Step 3: Create a New Application

* Click on **"New Application"**.
* Enter a name for your application.
* Agree to the Developer Terms of Service and Developer Policy.
* Click **"Create"**.

<div align="left"><figure><img src="/files/3oGpNwWHSRDmShLXOxlv" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/37WnU813XzsTJc8mU3eN" alt=""><figcaption></figcaption></figure></div>

## Step 4: Customize Your Bot

* On the **"General Information"** tab, you can add a description and upload an avatar for your bot.
* After making changes, don't forget to click **"Save Changes"**.

<div align="left"><figure><img src="/files/cMOoesUak8JLxRG6Y7AH" alt=""><figcaption></figcaption></figure></div>

## Step 5: Enable Privileged Gateway Intents

* Navigate to the **"Bot"** tab on the left sidebar.
* Scroll down to the **"Privileged Gateway Intents"** section.
* Enable the following intents by toggling them on:
  * **Presence Intent**
  * **Server Members Intent**
  * **Message Content Intent**
* Click **"Save Changes"** at the bottom.

  **Note:** This step is crucial. Your bot won't function properly without these settings enabled.

<div align="left"><figure><img src="/files/vta5rNw4rhMRyEJcarfr" alt=""><figcaption></figcaption></figure></div>

## Step 6: Obtain Your Bot Token

* Still on the **"Bot"** tab, scroll up to the **"Token"** section.
* Click on **"Reset Token"**. Discord will prompt you to enter your password for security reasons.
* **Important:** Your bot token is like a password. Keep it secret and never share it with anyone.

<div align="left"><figure><img src="/files/FA5egAU434QnESwJxAMf" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/y4I78Qfa8nLd0GosbxhT" alt=""><figcaption></figcaption></figure></div>

* After resetting, click **"Copy"** to copy your new bot token. You'll need this in the next step.

<div align="left"><figure><img src="/files/KRrcFj3ba18OvMZjSYhr" alt=""><figcaption></figcaption></figure></div>

## Step 7: Connect Your Bot Using the `/premium custom_bot` Command

* In your Discord server, type the command: `/premium custom_bot`. **This MUST be run with the&#x20;**<mark style="color:red;">**InHouseQueue**</mark>**&#x20;Discord Bot**
* When prompted, paste the bot token you copied earlier.

{% hint style="info" %}
🔒 Security Assurance: Your bot token is stored securely. If you have any concerns, feel free to contact [support](https://discord.com/invite/NDKMeT6GE7). If you want to know how we keep your token safe, there is more information [here](/docs/premium/create-white-label-bot/how-we-secure-token.md).
{% endhint %}

<div align="left"><figure><img src="/files/wrSB4O3BnBLcYhNasIML" alt=""><figcaption></figcaption></figure></div>

## Step 8: Invite Your Bot to Your Server

* After running the command, you'll receive an invitation link for your bot.
* Click the link to invite your bot to your server.
* The invite link includes all the necessary permissions for your bot to work correctly.

<div align="left"><figure><img src="/files/lboVWjLIsxhkN49cWr6A" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/p3OXL2fQdUHRngNupZlF" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/6LrHkDfpoSHLmi4v854M" alt=""><figcaption></figcaption></figure></div>

## Step 9: Wait for Your Bot to Come Online

* Your bot should be online within **1-3 minutes**.
* If your bot isn't online after **5 minutes**, please contact [support](https://discord.com/invite/NDKMeT6GE7) for assistance.

<div align="left"><figure><img src="/files/RWLQd1A5TiVSMYU9AdVC" alt=""><figcaption></figcaption></figure></div>

## Step 10: Remove the Original Bot

* Now that your custom bot is online, you can **remove** the original <mark style="color:red;">InHouseQueue</mark> bot from your server.
* All your stats, leaderboards, queues, and settings will remain intact.
* You won't need to reconfigure anything.

<div align="left"><figure><img src="/files/wtpRSuCqD24fdsduWhmt" alt=""><figcaption></figcaption></figure></div>

## Step 11: Your Custom Bot is Ready

Your custom Discord bot is now up and running. As a Tier 3 supporter, you have access to additional [premium features](/docs/premium/premium-commands.md). Be sure to explore them.

***

**Need Help?** If you encounter any issues or have questions, don't hesitate to reach out to our [support](https://discord.com/invite/NDKMeT6GE7) team. We're here to help!
