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

# 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".

<figure><img src="https://3648012086-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjY7Ly60Jslfxu9tahTdi%2Fuploads%2FUWklLTNQ4XIVD5BI2Ew1%2Fimage.png?alt=media&amp;token=9be99977-e8be-4f8e-9c97-396a77973fe8" alt=""><figcaption><p>File Manager</p></figcaption></figure>

2. Now put any secure information that will be used a lot in this file.

```properties
DISCORD_TOKEN=YOUR_TOKEN_HERE
PORT=3000
DB_PASSWORD=PASSWORD_HERE
DB_USERNAME=USERNAME_HERE
DB_HOST=HOST_HERE
DB_PORT=PORT
```

3. Click the "CREATE FILE" button.

<figure><img src="https://3648012086-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjY7Ly60Jslfxu9tahTdi%2Fuploads%2FxsjIYe0dd4ygvhT1g3Tw%2Fimage.png?alt=media&amp;token=0f5a27ba-70f8-45c8-beaa-4fc9501ed61e" alt=""><figcaption><p>File Editor</p></figcaption></figure>

4. For file name, set it to `.env` and click "CREATE FILE".

<figure><img src="https://3648012086-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjY7Ly60Jslfxu9tahTdi%2Fuploads%2F3Bgq5A5zPJgldUeG57ke%2Fimage.png?alt=media&amp;token=73b373e4-1472-448a-9b51-fdb20c2d156b" alt=""><figcaption><p>Saving the file pop-up</p></figcaption></figure>

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