N
Novuβ€’16mo ago
Bocorbojon

What are the steps to integrate Novu with OneSignal?

Hello everyone. I am having difficulty understanding how to integrate Novu with OneSignal and I have several questions: 1. How do I configure it? I added my OneSignal app id and API keys in the Integration Store, but I don't know if I also have to initialize OneSignal as shown here: https://github.com/novuhq/novu/blob/main/providers/one-signal/README.md 2. What exactly does the integration do? Does it use the OneSignal API to programatically create devices (or Users if you are using the new user-centric model) to the OneSignal app and create notifications, or is it something different? 3. Do I have to do some configuration in the side of OneSignal? Finally, I would really appreciate if someone could give me a guide on how to setup and test the integration to know if I am doing things right.
GitHub
novu/README.md at main Β· novuhq/novu
The open-source notification infrastructure with fully functional embedded notification center - novu/README.md at main Β· novuhq/novu
15 Replies
Unknown User
Unknown Userβ€’16mo ago
Message Not Public
Sign In & Join Server To View
Bocorbojon
Bocorbojonβ€’16mo ago
And does the integration support using the templates defined in the Novu app? For example, I trigger a notification with the templated named "template-name", with some random payload. Novu would substitute the data in the template and afterwards communicate with OneSignal and tell it what should the notification contents be, right?
Pawan Jain
Pawan Jainβ€’16mo ago
@Bocorbojon Yes novu will insert those variable value. You just need to add push channel in template and then add onsignal credentials in integration store and make it active. Let me know if it does not work Docs for onesignal will be available with new release. We will have new release 0.16.0 today or tomorrow.
Bocorbojon
Bocorbojonβ€’16mo ago
Ah, nice. I will test tomorrow. In the docs that @shane.lv shared, it says that OneSignal should have FCM credentials. Why is FCM needed, since OneSignal already has the capability of sending push notifications by itself?
Pawan Jain
Pawan Jainβ€’16mo ago
Will look into this Thanks for sharing
Unknown User
Unknown Userβ€’16mo ago
Message Not Public
Sign In & Join Server To View
Bocorbojon
Bocorbojonβ€’16mo ago
Ah, alright. I didn't know that since I am only using it for web push, for a PWA I am building. Speaking of which, does the integration support web push? I guess there shouldn't be an issue since for both types of push notification the same method of the OneSignal API is used.
Unknown User
Unknown Userβ€’16mo ago
Message Not Public
Sign In & Join Server To View
Bocorbojon
Bocorbojonβ€’16mo ago
Okay. just tested the integration and it works! These two notifications were sent through web push from Novu, using tag substitution, and it worked great.
No description
Bocorbojon
Bocorbojonβ€’16mo ago
By the way, thanks for the quick support.
Novu_Bot
Novu_Botβ€’16mo ago
@Bocorbojon, you just advanced to level 1!
Pawan Jain
Pawan Jainβ€’16mo ago
Thanks @shane.lv πŸ™ŒπŸ»
Raikas
Raikasβ€’13mo ago
@pablo.fernandez.otero Was this pinned on purpose to preserve the information or meant to be closed and missclicked?
--
--β€’13mo ago
On purpose
Raikas
Raikasβ€’13mo ago
πŸ‘
Want results from more Discord servers?
Add your server