Yay asks for your password if it needs it. So you can just type in 'yay' and read what says. Also: I can recommend using paru instead ;)
I used it on i3wm without problems. Just install and use it