# 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](https://docs.inhousequeue.xyz/docs/premium/how-to-activate-patreon). 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-8d573690bbf5f03bc5850e1880b22864ed9d4d0e%2Fwl_1.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-57dbb7ecb4842706a871267c5ed3087df56bf958%2Fwl_2.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-2cc9664c8c52eb07356227f3380bf74ee48a057d%2Fwl_3.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-1f9cbb663b91f67793f185f573dfb0feec11ebcc%2Fwl_4.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-70f9053a167dd861af91f8ac5f4c8e1c8427db4d%2Fwl_5.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-1c425c99eb868474162a0f7ed5bb7ca6f1fe957a%2Fwl_6.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-d3ae5e5e510fe360a8c278be7eda1ca139c925e7%2Fwl_7.png?alt=media" 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](https://docs.inhousequeue.xyz/docs/premium/create-white-label-bot/how-we-secure-token).
{% endhint %}

<div align="left"><figure><img src="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-94d84481e196f6b50f40075aaeb0f8efc69790ec%2Fwl_8.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-152cd9f417c6fff96b2f5ffefd4f4bc0f9f89047%2Fwl_9.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-0a1a0193165a1369574a9f4c7f3cc139c166b7a6%2Fwl_10.png?alt=media" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-f158eefd3a94600a9afb08da728601bdcdae4d32%2Fwl_11.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-65c3d5d250c9e6ef7a3df75e25b304315b736381%2Fwl_13.png?alt=media" 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="https://1130318129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwcHfLjgS9hMDSoOpDEDo%2Fuploads%2Fgit-blob-c6216d96b106b7e719b8ecc7d058b3c1cce4efaf%2Fwl_14.png?alt=media" 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](https://docs.inhousequeue.xyz/docs/premium/premium-commands). 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!


---

# 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://docs.inhousequeue.xyz/docs/premium/create-white-label-bot.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.
