> For the complete documentation index, see [llms.txt](https://docs.discloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discloud.com/en/how-to-host-using/discord-bot.md).

# Discord Bot

Discloud allows you to **host applications directly from Discord**, making deployment fast and accessible without needing to use a dashboard or command-line tools.

***

## 🔑 Account Verification

Before deploying applications using the **Discloud Bot**, you must first **verify your account** on the Discloud Discord server.

#### **🤔 How to Verify Your Account:**

{% stepper %}
{% step %}
Join the [**Discloud Discord Server**](https://discord.discloudbot.com/).
{% endstep %}

{% step %}
Follow the instructions in the verification channel.
{% endstep %}

{% step %}
Once verified, you will be assigned the **`Verified en-us`** role.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
After verification, you will gain access to the [**`#🔌・commands`**](https://discord.com/channels/584490943034425391/1051126795883261962) channel, where you can manage your applications.
{% endhint %}

***

## 🚀 Hosting Your Application

There are **two ways** to deploy an application using the Discloud Bot:

<table><thead><tr><th width="212">Method</th><th>Best For</th><th>How It Works</th></tr></thead><tbody><tr><td><a href="#advanced-setup"><strong>⚙️ Advanced Setup</strong></a></td><td>Users who want a <strong>one-command</strong> deployment with pre-configured settings.</td><td>Configure everything in the <a href="/pages/GLoam4ekwvJvzifhJYKL"><code>discloud.config</code></a> file and use <code>.upconfig</code>.</td></tr><tr><td><a href="#quick-setup-step-by-step-guide"><strong>⚡ Quick Setup (legacy)</strong></a></td><td>Users who <strong>prefer a guided setup</strong> via the bot’s prompts.</td><td>The bot will ask for the necessary details after running <code>.up</code>.</td></tr></tbody></table>

{% hint style="warning" %}

#### **Important Notes**

* If your [**main file**](/en/faq/general-questions/what-is-the-main-file.md) **is not in the** [**root directory**](/en/faq/general-questions/what-is-the-root-of-the-project.md), you **must** use Advanced Setup or move it to the root.
* If you are hosting a **bot without an ID** (e.g., WhatsApp or Telegram), use Advanced Setup and Discloud will generate the ID automatically.
  {% endhint %}

{% tabs %}
{% tab title="📝 Advanced Setup" %}
{% stepper %}
{% step %}
Create the [`discloud.config`](/en/configurations/discloud.config.md) file.
{% endstep %}

{% step %}
Compress your project into a [`.zip`](/en/faq/general-questions/wip-how-to-compress.md) file.
{% endstep %}

{% step %}
Upload your project.

* Go to [**`#🔌・commands`**](https://discord.com/channels/584490943034425391/1051126795883261962) on the **Discloud Discord Server**.
* Run the following command:

  ```
  .upconfig
  ```
* Send your [**.zip**](/en/faq/general-questions/wip-how-to-compress.md) file when prompted.
  {% endstep %}

{% step %}
Your application will be deployed automatically.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="⚡ Quick Setup (Step-by-Step Guide)" %}
{% tabs %}
{% tab title="🤖 Bot" %}
{% stepper %}
{% step %}
Prepare your project.

* Ensure your application files are correctly structured.
* Compress your project into a [`.zip`](/en/faq/general-questions/wip-how-to-compress.md) file.
  {% endstep %}

{% step %}
Upload your project.

* Go to [**`#🔌・commands`**](https://discord.com/channels/584490943034425391/1051126795883261962) on the **Discloud Discord Server**.
* Run the following command:

  ```
  .up
  ```

{% endstep %}

{% step %}
Provide the Required Information.

* **Enter the** [**Application ID**](/en/faq/general-questions/how-can-i-get-my-discord-bot-id.md) (for Discord bots).
* **Enter the** [**Main File Name**](/en/faq/general-questions/what-is-the-main-file.md) (e.g., `index.js`, `main.py`, `main.go`).
* **Specify the RAM** for your bot (e.g., `100` for 100MB).

{% hint style="info" %}
When specifying the amount of RAM, **you do not need** to include units like "MB". Simply enter the numeric value, for example, "100" for 100MB.

```
           BOTs require a minimum of 100MB of RAM.
```

{% endhint %}
{% endstep %}

{% step %}
Send your [`.zip`](/en/faq/general-questions/wip-how-to-compress.md) file when prompted.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="🌐 Website" %}
{% stepper %}
{% step %}
Prepare your project.

* Ensure your application files are correctly structured.
* Compress your project into a [`.zip`](/en/faq/general-questions/wip-how-to-compress.md) file.
  {% endstep %}

{% step %}
Upload your project.

* Go to [**`#🔌・commands`**](https://discord.com/channels/584490943034425391/1051126795883261962) on the **Discloud Discord Server**.
* Run the following command:

  ```
  .upsite
  ```

{% endstep %}

{% step %}
Provide the Required Information.

* **Choose a** [**Subdomain**](/en/faq/general-questions/how-to-create-a-subdomain.md).
* **Enter the** [**Main File Name**](/en/faq/general-questions/what-is-the-main-file.md) (e.g., `index.html`, `index.php`).
* **Specify the RAM** for your bot (e.g., `512` for 512MB).

{% hint style="info" %}
When specifying the amount of RAM, **you do not need** to include units like "MB". Simply enter the numeric value, for example, "512" for 512MB.

```
           Websites require a minimum of 512MB of RAM.
```

{% endhint %}
{% endstep %}

{% step %}
Send your [`.zip`](/en/faq/general-questions/wip-how-to-compress.md) file when prompted.
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}
{% endtab %}
{% endtabs %}

***

## **❓ Still need help?**

Check the [**FAQ Section**](/en/faq/where-to-get-help.md) or join our [**Discord Server**](https://discord.discloudbot.com/) for support.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.discloud.com/en/how-to-host-using/discord-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.
