How to get long lived access token?

For those who are having trouble finding it, you get to your Profile page on Home Assistant by clicking on your username in the bottom left panel of the HA page (under Notifications)

image

Then click on Create Token all the way at the bottom:

Give it a meaningful name and then copy it for use in your application.

image

image

Make sure you save it because it won’t be displayed again.

4 Likes