Pushpad Logo Pushpad

Pushpad Express: Getting started

First of all create a new sender and enter a Pushpad subdomain of your choice as the domain (e.g. example.pushpad.xyz).

If you want to support Safari, you also need to enter the APNs certificate as described in the Certificates and keys section.

You can skip this step by using the Shared Sender. Currently the only advantage is that you don't need to configure your sender and it supports Safari out of the box. However it has limited features and a user that has subscribed to the push notifications of multiple websites that use the Shared Sender will always see pushpad.xyz as the sender without distinction between the various websites.

Then create a new project and select your sender.

After the project is created, you will get a link: share it to allow users to subscribe to your push notifications. For example you can copy and paste the following code anywhere in your website to display the link:

<a href="https://pushpad.xyz/p/PROJECT_ID">Push Notifications</a>

PROJECT_ID must be replaced with your project ID: you can find it in the project settings.

If you have set a subdomain in your sender settings the user will be redirected to it, but if you prefer you can also use your subdomain directly:

<a href="https://SUBDOMAIN.pushpad.xyz/p/PROJECT_ID">Push Notifications</a>

When a user clicks the link, Pushpad subscribes him to push notifications and sends him back to your website. Usually users see a button that allows them to subscribe: if you want to subscribe them automatically and redirect them back immediately you can disable the UI.

You can even allow the user to manage all its notifications preferences for your website in one place:

<a href="https://SUBDOMAIN.pushpad.xyz">Push Notifications</a>

Read the Sending push notifications section to learn how to send push notifications.