Script for automatically hotspot user login

Hello forum.
How can I Enter username and password in a Script for automatically hotspot user login ? (in AD Users)
I want enter username and password in script and keep it on LogOn Scripts for automatically HotSpot Login.
thanks