Unifi integration - creating an admin

I had unifi working with HA until I had a problem with cloudkey gen 2 and had to reset. I think I need t add users again to unifi but I cannot remember which way to do this - ie what to call the user for home assistant, which log in to use etc sort links with home assistant. When I try to add user it asks for an email but I can’t remember how to get that to tie into HA. Any suggestions appreciated.

You only need a local Unifi user for the HA integration and this shouldn’t require an email address.
You can name the user whatever you want and the integration documentation covers off what level (admin / viewer / etc) of user you need - personally I just setup a view only user in Unifi as I didn’t need port control etc.

You will need to adjust / reconfigure the unifi integration in the HA integration settings via the UI to add the credentials (unless you will be re-using the previously used user name and password).

Thanks - that worked - I wasn’t clicking local access only