Hive Push · Available now
Push notifications for your app.
Send notifications to your users' browsers and to an in-app inbox that updates live, from one API. One script tag and a one-line service worker, and you are sending.
- Chrome
- Firefox
- Edge
- Safari
- In-app inbox
// /hive-push-sw.js: your one-line service worker
importScripts('https://push-global-1.dockhive.io/sdk/v1/hive-push-sw.js');
<!-- Your page: one script tag for the browser SDK -->
<script src="https://push-global-1.dockhive.io/sdk/v1/push.js"></script>
<script>
const push = HivePush.init({ key: 'pk_your_public_key', region: 'global-1' });
// from a click: sign the user in, then subscribe this browser
await push.setUser(userId, token);
await push.subscribe();
</script>What it's for
Bring users back.
Browser push
Notifications in the browser
Reach your users in Chrome, Firefox, Edge and Safari with one API call.
In-app inbox
A feed that updates live
Every notification can also appear in an in-app inbox that updates the moment you send.
Targeting
The right people, at the right time
Send to one user, one device, a set of tags or everyone, now or on a schedule.
How it works
Live in three steps.
- 1
Create an app
Pick the region closest to your users. You get a public key, a secret key and a host.
- 2
Add two lines
One script tag for the browser SDK and a one-line service worker. Subscribe from a click.
- 3
Send from your server
Target a user, a device, tags or everyone. Retries and stats are handled for you.
Features
Everything a notification needs.
Browser push and a live inbox, targeting, schedules, retries and stats, secured by your own server.
Browser and in-app
Reach users in Chrome, Firefox, Edge and Safari, and in an in-app inbox that updates live, from one API.
Set up in minutes
One script tag for the browser SDK and a one-line service worker. That is the whole install.
Send to anyone
Target one user, one device, a set of tags, or everyone at once.
Scheduled sends
Write a notification now and have it go out at the time you choose.
Automatic retries
Sends that fail for a moment are retried for you. Dead subscriptions are removed automatically.
Delivery stats
See how many notifications were delivered, clicked and dismissed.
Signed user tokens
Your own server signs each user token, so nobody can subscribe as someone else.
Encrypted end to end
Messages are encrypted all the way to the browser with standard Web Push encryption.
Regions
Close to your users.
Available in every Hive Push region. Each app lives in the one you pick.
- USUnited States (Los Angeles)
- DEGermany (Frankfurt)
- GLGlobal (Frankfurt)
- SGSingapore
- HKHong Kong
- JPJapan (Tokyo)
- PTPortugal (Lisbon)
Mobile apps
iOS and Android, coming soon.
Native iOS and Android apps are on the way, through your own Apple and Firebase keys. Today Hive Push reaches Chrome, Firefox, Edge and Safari, and your in-app inbox.
Read the Hive Push docsPricing
Included in every plan.
Allowances apply per region. Start free. A one-time $1 card check is required to start.
Every plan includes your apps, hosting, databases and storage too. See them all on the pricing page.
What is Hive Push?
Hive Push sends notifications to your users' browsers (Chrome, Firefox, Edge and Safari) and to an in-app inbox that updates live, all from one API.
How do I add it to my site?
Add one script tag for the browser SDK and a one-line service worker that loads the Hive Push worker script. Then send from your server to a user, a device, tags or everyone.
Can someone subscribe as another user?
No. User tokens are signed by your own server, so only the users you sign in can subscribe as themselves.
Are notifications encrypted?
Yes. Messages are encrypted end to end to the browser with standard Web Push encryption.
Does it work with iOS and Android apps?
Native iOS and Android apps are coming soon, using your own Apple and Firebase keys.
Is there a free plan?
Yes. The Free Tier includes 2 apps, 10,000 devices and 50,000 sends a day in each region. A one-time $1 card check is required to start.
Where does my app run?
In the region you pick when you create it: Global (Frankfurt), United States (Los Angeles), Germany, Portugal, Singapore, Tokyo or Hong Kong. Each app lives in one region.