# Setting up SMTP via ENV variables?

**URL:** <https://vaultwarden.discourse.group/t/setting-up-smtp-via-env-variables/2028>\
**Category:** Help\
**Created:** [November 25, 2022, 8:29am UTC](https://vaultwarden.discourse.group/t/setting-up-smtp-via-env-variables/2028 "2022-11-25T08:29:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![achilleus](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/achilleus/32/831_2.png) [@achilleus](https://vaultwarden.discourse.group/u/achilleus)\
**Post date:** [November 25, 2022, 8:29am UTC](https://vaultwarden.discourse.group/t/setting-up-smtp-via-env-variables/2028/1 "2022-11-25T08:29:08Z")

</div>

Hi,

Do I understand correctly that I have to set up SMTP using environment variables? Because I do see SMTP settings in my config.json. However, in the interface I see no option to change these.

So, remove them from config.json and add via ENV variables?

Regards  
Achilleus

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [November 25, 2022, 9:04am UTC](https://vaultwarden.discourse.group/t/setting-up-smtp-via-env-variables/2028/2 "2022-11-25T09:04:31Z")

</div>

The settings are there in the `/admin` interface.

 ![image](https://global.discourse-cdn.com/free1/uploads/vaultwarden/original/1X/9f2687d5566b6b7daaecbeabb854b9a9e3c7db1f.png)

---

<div class="post-metadata">

**Author:** ![achilleus](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/achilleus/32/831_2.png) [@achilleus](https://vaultwarden.discourse.group/u/achilleus)\
**Post date:** [November 25, 2022, 9:48am UTC](https://vaultwarden.discourse.group/t/setting-up-smtp-via-env-variables/2028/3 "2022-11-25T09:48:52Z")

</div>

Wow, never realised there is an ‘admin’ part 👀

Thanks! Got it working now.
