Page cover

Creating .env

In this guide, we cover how to create .env file and set it up.

  1. Go to your server, click on the "File Managers" tab, and click "New file".

File Manager
  1. Now put any secure information that will be used a lot in this file.

DISCORD_TOKEN=YOUR_TOKEN_HERE
PORT=3000
DB_PASSWORD=PASSWORD_HERE
DB_USERNAME=USERNAME_HERE
DB_HOST=HOST_HERE
DB_PORT=PORT
  1. Click the "CREATE FILE" button.

File Editor
  1. For file name, set it to .env and click "CREATE FILE".

Saving the file pop-up

You have made a .env file which can be edited like other files.

Last updated

Was this helpful?