Get the SDK

Our Web Push SDK currently supports the following browsers and platforms:

  • Opera: Windows / Mac / Android
  • Firefox: Windows / Mac / Android
  • Chrome: Windows / Mac / Android
  • Microsoft Edge: Windows / Mac
  • UC Browser: Android
  • Safari: N/A

Note: Web Push for Chrome is currently blocked in China.

Important: Your website must be served over HTTPS for Web Push integration to work (except for when developing on http://localhost/).

Import the SDK

Import version 1.0.5 of the SDK by adding the following line to the <head> tag:

<script src=""></script>

Alternatively, download pushy-sdk.js and host it on your own servers. If you are using webpack, please download and import the following file instead: pushy-sdk-no-polyfill.js. And, if you're interested, check out the SDK changelog to see what's new in the latest version of the Pushy Web SDK.

Note: Please follow our Angular guide if you're using Angular.

Create Service Worker

Create a file called service-worker.js in the root directory of your website with the following contents:

// Import Pushy Service Worker 1.0.5

This file must be accessible at, where is your website hostname.