# Setup your CustomBot in Just 3 Easy Steps!

#### Before starting, note that the following guide should help you.  <a href="#step-1-creating-an-app" id="step-1-creating-an-app"></a>

{% embed url="<https://youtu.be/-TcpNfWtO5E?si=FHkQ9sCipWKw383->" %}

### Getting your bot ID <a href="#step-1-creating-an-app" id="step-1-creating-an-app"></a>

First, you'll need to create an app in the developer portal if you don't have one already:

[<mark style="color:purple;">**Create App**</mark>](https://discord.com/developers/applications?new_application=true)

Enter a name for your app, then press Create.

After you create your app, you'll land on the General Overview page of the app's settings where you can update basic information about your app like its description and icon. You'll also see an **Application ID and Interactions Endpoint URL**, Copy that ID and paste on musico dashboard.

<figure><img src="https://1183716563-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDHX3TIr2XcT7l4kzkmN6%2Fuploads%2FIghS6xkKnfRbMSGPf2PS%2FScreenshot%202023-08-09%20125955.png?alt=media&#x26;token=d09fd016-860d-45cc-a1f3-b98926777e99" alt=""><figcaption></figcaption></figure>

#### Configuring your bot <a href="#configuring-your-bot" id="configuring-your-bot"></a>

On the left hand sidebar click **Bot**. On this page, you have to enable settings like its [privileged intents](https://discord.com/developers/docs/topics/gateway#privileged-intents) in order to work your bot

<figure><img src="https://1183716563-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDHX3TIr2XcT7l4kzkmN6%2Fuploads%2F6AXIElFWTW9egArjkZt7%2FScreenshot%202023-08-09%20130842.png?alt=media&#x26;token=21121157-18c0-4d55-b0e7-bd892186d935" alt=""><figcaption></figcaption></figure>

## Getting your bot TOKEN

There's also a Token section on the **Bot** page, which allows you to copy and reset your bot's token.

Go ahead and click in **Reset token** button copy the **token**, and Paste on musico dashboard.

<figure><img src="https://1183716563-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDHX3TIr2XcT7l4kzkmN6%2Fuploads%2Fso6NgLrGDaCM0nxeLwMa%2FScreenshot%202023-08-09%20131427.png?alt=media&#x26;token=6ec26b18-e0bf-4570-a596-9f05320dbb96" alt=""><figcaption></figcaption></figure>

## Add bot to your server

Click on **OAuth2** in the left sidebar, then select **URL generator**.

&#x20;After you select `bot`, you can also select different permissions for your bot. For now, just check **Administrator**.

<figure><img src="https://1183716563-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDHX3TIr2XcT7l4kzkmN6%2Fuploads%2Fzwo2wlSlE42FMnMG0T1R%2FScreenshot%202023-08-09%20132328.png?alt=media&#x26;token=b2dce670-0f67-4c16-8fae-ee5d4a586799" alt=""><figcaption></figcaption></figure>

Once you add scopes, you should see a **URL** that you can copy to install your bot.

<div data-full-width="true"><figure><img src="https://1183716563-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDHX3TIr2XcT7l4kzkmN6%2Fuploads%2FbsZdl3wCR3c4k87lhWvZ%2Ffa29b930b00a68b94429ace7bd4df4f9.png?alt=media&#x26;token=e0a8edc9-3577-4a49-8980-18e2589a9537" alt=""><figcaption></figcaption></figure></div>

Copy the **URL** from above, and paste it into your browser. You'll be guided through the installation flow, where you should make sure you're installing your bot on a server where you can use it.

**You're all set, Enjoy listening to music with your own bot!**
