Quickstart
Let’s start building a quick, easy, and awesome dashboard in 5 minutes!
Setup your environment
Learn how to develop your Dashboard
Installing Node.js
To use discord-dashboard, you’ll need to install Node.js.
To check if you already have Node installed, run node -v
in your terminal.
Setting up your project
To use discord-dashboard, you’ll need to install it via npm
(which comes pre-installed with Node).
If you want to use a different package manager like pnpm, yarn or bun you can replace the commands with the proper command name.
Navigate to a suitable directory on your machine and create your project’s folder.
Opening the terminal
If you use Visual Studio Code, you can press
Ctrl + `
(backtick) to open its integrated terminal.
On Microsoft Windows, either:
Shift + Right-click
inside your project directory and choose the “Open command window here” option- Press
Win + R
and runcmd.exe
thencd
into your project directory
On Apple macOS, either:
- Open Launchpad or Spotlight and search for “Terminal”
- In your “Applications” folder, under “Utilities”, open the Terminal app
On Linux, you can quickly open the terminal with Ctrl + Alt + T
.
Verifying Node is installed
With the terminal open, run node -v
to ensure you’ve successfully installed Node.js.
Initiating a project folder
This next command creates a package.json
file for you, which keeps track of dependencies of your project as well as some other stuff!
It will ask you a sequence of questions, you should answer them as you see fit. If you’re not sure on something or want to skip it; leave it blank and press enter.
Once you’re done answering the questions, you’re ready to install discord-dashboard!
Installing modules
Now that you’ve installed Node.js and know how to open your console and run commands, you can finally install discord-dashboard and Soft-UI! Run the following command in your terminal:
And now that we’ve installed the required modules, we can start setting up the dashboard!
Setup the project
Creating config.json
We will be creating a new file, config.json
, which will house all our
important (and secret) settings! Paste the following code into the file and
replace as necessary:
The configuration above will not work unless you change the values of the properties.
Please also add the callback URL to your App in the Discord Developer Portal. (e.g. “http://localhost/discord/callback”)
Creating index.js
Create a new file, index.js
(or anything you’d like) and paste the discord-dashboard handler into it.
Generating a license
Before you can use discord-dashboard, you need to generate a license. Once you’ve generated a license, add it to the configuration file.
Having issues?
Join our Discord server if you’re encountering any issues! Make sure to give us detailed information on how to reproduce this error and any logs/errors you see in the console.
What’s next?
Was this page helpful?