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

# Creating Discord Bot

This tutorial explains how to create and add your bot to FlexyBot.&#x20;

{% embed url="<https://www.youtube.com/embed/1tyGlEgNgTk?si=eIO4SVL28g_RPkLT>" %}
Video tutorial
{% endembed %}

Start by going to [Discord Developer Portal](https://discord.com/developers/applications) and selecting **Applications**. Click on **New Application**.

<figure><img src="/files/i4cSHkQBMYSn292xOhgO" alt=""><figcaption></figcaption></figure>

Enter a name for your bot.

<figure><img src="/files/GmYNvKcwyw28gEHkAt1F" alt=""><figcaption></figcaption></figure>

Select **Bot** on the left side menu.

<figure><img src="/files/wBsFRZM6Agj3jdrbZm1P" alt=""><figcaption></figcaption></figure>

Scroll down, **enable** **all three** privileged gateway intents and select **Save changes**.

<figure><img src="/files/q2auXmVyjtHmTDt8n3pW" alt=""><figcaption></figcaption></figure>

Go to the top of the page and select **Reset token**.

<figure><img src="/files/6kKjk9tKPgQEsXq4PIEp" alt=""><figcaption></figcaption></figure>

Copy generated token.

<figure><img src="/files/XqKRwgbX6YK7t5yEcMeG" alt=""><figcaption></figcaption></figure>

Go to [FlexyBot Panel](https://panel.flexy.bot), select **Bots**, click **Create** and paste the copied token into the **Token** text box. Click **Create**. Your bot should be up and running in a few moments.
