> For the complete documentation index, see [llms.txt](https://docs.trysavvy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trysavvy.com/other-useful-docs/work-in-progress/pending/work-in-progress-how-to-store-a-password.md).

# Work in Progress: How to Store a Password

{% hint style="info" %}
We deliberately don't store the actual password (just `****`) in the user data, so password inputs have to be obtained manually using JS.
{% endhint %}

Here's the code we recommend, which will work with both deployed Flows and Flows in the builder/standalone/feedback mode:

```
const password = document.querySelector('savvy-flow')?.shadowRoot?.querySelector('input[type="password"]')?.value || document.querySelector('input[type="password"]')?.value
```
