How to install service worker from subscribers.com?

I am also trying to add push notifications on my website by subscribers.com. I have installed the code via google tag manager, then it says to install some service worker (firebase-messaging-sw) in the root directory of my website. I have no idea how to do that. please help…