PushWaveSite owners and developers

Install PushWave with WordPress or the manual SDK

Connect the Public Key, register the root service worker, and verify browser subscription.

In the appPushWave → Getting Started or Settings → Installation

WordPress installation

  1. 1

    Install and activate the PushWave plugin ZIP in WordPress.

  2. 2

    Open PushWave → Settings inside WordPress.

  3. 3

    Enter the K2Mailer application URL, the Public Key beginning with pk_, and the Secret Key beginning with sk_.

  4. 4

    Select Test Connection.

  5. 5

    Confirm the service worker is registered and a test subscriber can be created.

Manual installation

  1. 1

    Generate VAPID keys from PushWave onboarding or settings.

  2. 2

    Add the SDK script to every page where the prompt should be available.

  3. 3

    Create /pushwave-sw.js at the root of the site and import the hosted PushWave worker.

  4. 4

    Allow notifications in a supported browser and run verification.

HTTPS is required

Production web push and service workers require a secure origin. Localhost is the normal development exception.

Which PushWave key to use

Public Key
Begins with pk_ and is used by the WordPress browser integration, configuration, subscription, prompt, and tracking endpoints.
Secret Key
Begins with sk_ and is private. It is required only for server-to-server broadcast management.

Never publish the Secret Key

Do not put an sk_ key in front-end JavaScript, the service worker, page markup, a mobile bundle, or a public repository.

Developer reference

Open the complete API reference

Review authentication, parameters, rate limits, cURL requests, and example responses.

Browse endpoints

Was this guide enough?

Contact support if your screen or result is different.

Contact support