I figured out how to do that:
Install dhcpd - apt install dhcpcd5
With nmtui create AP (its easy to do).
Open nano /etc/dhcpcd.conf
go to the end of the file and add:
interface wlan0
static ip_address=192.168.8.1/24
Open nano /etc/dnsmasq.conf
go to the end of the file and add:
interface=wlan0
dhcp-range=192.168.8.2,192.168.8.20,255.255.255.0,24h
then reboot