How can I enable apsync auto login on rasberry pi 4B.

I used the Etcher software to load the ‘apsync-rpi-ubuntu-t265-PiConnectLite-latest.img’ to rasberry pi 4B on my drones.
However the apsync on rpi4B require login(enter the username and password)after power the board to auto creat a wifi hotspot so that I can connect the drone through wifi while flying.
How can I make the board auto login(aka. auto creat a wifi hotspot)after I power the board.

(my flighter controller is Pixhawk 4;the version of the firmware is arducopter.apj)