# NodeRED storage locations

**URL:** <https://discourse.nodered.org/t/nodered-storage-locations/83430>\
**Category:** General\
**Created:** [5 December 2023 10:55 UTC](https://discourse.nodered.org/t/nodered-storage-locations/83430 "2023-12-05T10:55:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daxliniere](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/daxliniere/32/42187_2.png) [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Post date:** [5 December 2023 10:55 UTC](https://discourse.nodered.org/t/nodered-storage-locations/83430/1 "2023-12-05T10:55:53Z")

</div>

In contrib-simple-gate, there is an option to store last state, selected by a dropdown menu. I can only see **memory** as an option, but the author's github documentation says that it will display all storage locations enabled in NR's _settings.js_. However, when I look in the GUI, I can't see anywhere to enable disk storage.

I'm guessing that this needs to be done via editing the _settings.js_ file - How can I do that and can that option be added to the GUI for easy usage for future users, please?

Thanks in advance,  
Dax.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 December 2023 11:08 UTC](https://discourse.nodered.org/t/nodered-storage-locations/83430/2 "2023-12-05T11:08:44Z")

</div>

You can find that in the docs in the context section [Working with context : Node-RED](https://nodered.org/docs/user-guide/context).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 February 2024 11:09 UTC](https://discourse.nodered.org/t/nodered-storage-locations/83430/3 "2024-02-03T11:09:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
