1) Add a <script> tag to your site.
and
2) Host Pep's Service Worker (https://pep.dev/pep-sw.js) on your site.
That's it. Pep takes care of the rest, thanks to the magic of the Service Worker. Everything just works.