# No access to Admin panel

**URL:** <https://vaultwarden.discourse.group/t/no-access-to-admin-panel/4323>\
**Category:** Help\
**Created:** [January 18, 2025, 9:41pm UTC](https://vaultwarden.discourse.group/t/no-access-to-admin-panel/4323 "2025-01-18T21:41:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![juanbretti](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/juanbretti/32/959_2.png) [@juanbretti](https://vaultwarden.discourse.group/u/juanbretti)\
**Post date:** [January 20, 2025, 9:44pm UTC](https://vaultwarden.discourse.group/t/no-access-to-admin-panel/4323/2 "2025-01-20T21:44:08Z")

</div>

The use of `config.json` is no longer recommended.  
Instead, it is recommended to use the ENVIRONMENT variables.

Here is an example of the `.env` file:

> <https://github.com/dani-garcia/vaultwarden/blob/main/.env.template>

More information at [Config.json Documentation - #2 by BlackDex](https://vaultwarden.discourse.group/t/config-json-documentation/40/2) and [Config file config.json missing despite having ADMIN\_TOKEN specified · dani-garcia/vaultwarden · Discussion #4214 · GitHub](https://github.com/dani-garcia/vaultwarden/discussions/4214).

---

_[View the full topic](https://vaultwarden.discourse.group/t/no-access-to-admin-panel/4323)._
