# EllieBot Desktop Guide (via EllieHub)

### Supported Operating Systems

--8<-- "md/snippets/supported-platforms.md"

---

??? note "Creating a Discord Bot & Getting Credentials"
    --8<-- "md/creds-guide.md"

---

## Setup

1. Download and run [elliehub](https://toastielab.dev/EllieBotDevs/EllieHub/releases/latest).

    ![Create a new bot](../assets/elliehub-1.png "Create a new bot")

2. Click the plus button to add a new bot

    ![Open bot page](../assets/elliehub-2.png "Open bot page")

3. If you want to use the music module, click on the settings icon then click **`Install`** next to `ffmpeg` and `yt-dlp` near the top of the setting tab.
4. Click on the newly created bot

5. Click on **Install** located above the live console (This may take a bit)

![Download](../assets/elliehub-3.png "Download")
![Creds](../assets/elliehub-4.png "Edit creds")

6. When installation is finished, click on **`CREDS`** (`1`) above the **`RUN`** (`3`) button on the lower left
    - **`2`** simply opens your bot's data folder.
7. Paste in your **BOT TOKEN** previously obtained

## Starting EllieBot

- Either click on **`RUN`** button in the updater or run the bot via its desktop shortcut.

## Updating EllieBot

!!! warning "IMPORTANT"

    - Make sure Ellie is closed and not running
        - Run `.die` in a connected server to make sure.
    - Make sure you don't have `data` folder, bot folder, or any other bot file open in any program, as the updater will fail to replace your version

1. Run `elliehub` if not already running
2. Click on your bot
3. Click on **`Check for updates`**
4. If updates are available, you will be able to click on the Update button
5. Click `Update`
6. Click `RUN` after it's done