# Configuration of oneSignal web notifications

**URL:** <https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458>\
**Category:** Product Support\
**Created:** [January 11, 2024, 5:06pm UTC](https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458 "2024-01-11T17:06:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iparker/32/1936_2.png) [@iparker](https://forum.mautic.org/u/iparker)\
**Post date:** [January 11, 2024, 5:06pm UTC](https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458/1 "2024-01-11T17:06:36Z")

</div>

Hello,

I have a question about configuring oneSignal web notifications in Mautic.

The documentation at [Web notifications — Mautic Documentation 0.1 documentation](https://docs.mautic.org/en/4.x/channels/web_notifications.html) is very short and I don’t know if it’s still up to date.

The following values ​​must be stored with the Mautic-oneSignal plugin:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/04e88dd788f6d48bc87f131eb78abebfd391c027.png)

When I create an app on oneSignal, I don’t have a “shared key for push notifications” or a “Safari Web ID”. So what do I have to enter here? I also found the issue at [One signal setup - #2 by rcheesley](https://forum.mautic.org/t/one-signal-setup/20219/2), but I don’t fully understand the statement there.

Is it still correct that the ServiceWorker has to be stored in your own Mautic instance (like at [https://mautic.example.com/OneSignalSDKWorker.js](https://mautic.example.com/OneSignalSDKWorker.js))? Does this only work if the Mautic tracking script is integrated on your own site?

Does anyone use web notifications in production? What are your experiences with it?

Thanks for tips and help!

Best regards

Timo

**Your software**  
My Mautic version is: v4.4.10  
My PHP version is: 8.0.28  
My Database type and version is: 8.0.18-google

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 11, 2024, 5:23pm UTC](https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458/2 "2024-01-11T17:23:33Z")

</div>

> [@iparker](#):
>
> shared key for push notifications

Use the bit in bold below from the thread you shared. Does this work for you?

> Option gcm\_sender\_id is a **shared key used for push notifications**. Use default value **482941778795**. Previously it required your own key. Due backwards compatibility is editable (for older versions of Mautic).

---

<div class="post-metadata">

**Author:** ![iparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iparker/32/1936_2.png) [@iparker](https://forum.mautic.org/u/iparker)\
**Post date:** [January 11, 2024, 5:30pm UTC](https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458/3 "2024-01-11T17:30:34Z")

</div>

Thanks for your quick reply. Should I use it for both values (safari web id and shared key for push notifications)?

> Is it still correct that the ServiceWorker has to be stored in your own Mautic instance (like at [https://mautic.example.com/OneSignalSDKWorker.js](https://mautic.example.com/OneSignalSDKWorker.js))? Does this only work if the Mautic tracking script is integrated on your own site?

Can you possibly answer this question for me too?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 11, 2024, 5:35pm UTC](https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458/4 "2024-01-11T17:35:24Z")

</div>

I don’t know, @kuzmany do you have any insights here?

---

<div class="post-metadata">

**Author:** ![iparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iparker/32/1936_2.png) [@iparker](https://forum.mautic.org/u/iparker)\
**Post date:** [February 15, 2024, 7:06am UTC](https://forum.mautic.org/t/configuration-of-onesignal-web-notifications/30458/5 "2024-02-15T07:06:29Z")

</div>

Does anyone have any help/tips for me?
