# Alexa-remote2 On HA, on a Pi4 what do I enter for the File Path

**URL:** <https://discourse.nodered.org/t/alexa-remote2-on-ha-on-a-pi4-what-do-i-enter-for-the-file-path/54583>\
**Category:** General\
**Created:** [1 December 2021 14:48 UTC](https://discourse.nodered.org/t/alexa-remote2-on-ha-on-a-pi4-what-do-i-enter-for-the-file-path/54583 "2021-12-01T14:48:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [1 December 2021 16:35 UTC](https://discourse.nodered.org/t/alexa-remote2-on-ha-on-a-pi4-what-do-i-enter-for-the-file-path/54583/2 "2021-12-01T16:35:05Z")

</div>

I used to just have cookie.txt, this would save in the home folder, as it is taken a relative path. You couild also use the absolute path from root.

I do not set a file path any longer, or auto init and use the init node and save the resulting cookie to a flow context and load the cookie from flow context cookie in the inject.  
e.g.

```auto
[{"id":"e63c03b3.745b48","type":"inject","z":"d629013b.18a518","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"86400","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"alexa","payloadType":"flow","x":100,"y":1460,"wires":[["89e02d64.da77c8"]]},{"id":"89e02d64.da77c8","type":"alexa-remote-init","z":"d629013b.18a518","name":"","account":"c8738129.d902c","option":"initialise","x":290,"y":1460,"wires":[["fc0183e2.5e7c2"]]},{"id":"fc0183e2.5e7c2","type":"change","z":"d629013b.18a518","name":"","rules":[{"t":"set","p":"alexa","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":490,"y":1460,"wires":[["421c02e9.68fdec"]]},{"id":"c8738129.d902c","type":"alexa-remote-account","name":"alexa remote 2","authMethod":"proxy","proxyOwnIp":"localhost","proxyPort":"3456","cookieFile":"","refreshInterval":"14","alexaServiceHost":"layla.amazon.co.uk","amazonPage":"amazon.co.uk","acceptLanguage":"en-GB","userAgent":"","useWsMqtt":"on","autoInit":"off"}]

```

---

_[View the full topic](https://discourse.nodered.org/t/alexa-remote2-on-ha-on-a-pi4-what-do-i-enter-for-the-file-path/54583)._
