How to set "Add to home screen" button

I am making PWA.

I would like to set the “Add to home screen” button on the top screen of the WEP application.

Is there any way?

On Chrome add a listener for the beforeinstallprompt event

See https://developers.google.com/web/fundamentals/app-install-banners/#trigger

Thank you so much!!
It works!