N
Novuβ€’2y 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β€’2y ago
Message Not Public
Sign In & Join Server To View
Bocorbojon
BocorbojonOPβ€’2y 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β€’2y 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
BocorbojonOPβ€’2y 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β€’2y ago
Will look into this Thanks for sharing
Unknown User
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
Bocorbojon
BocorbojonOPβ€’2y 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β€’2y ago
Message Not Public
Sign In & Join Server To View
Bocorbojon
BocorbojonOPβ€’2y 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
BocorbojonOPβ€’2y ago
By the way, thanks for the quick support.
Novu_Bot
Novu_Botβ€’2y ago
@Bocorbojon, you just advanced to level 1!
Pawan Jain
Pawan Jainβ€’2y ago
Thanks @shane.lv πŸ™ŒπŸ»
Raikas
Raikasβ€’16mo ago
@pablo.fernandez.otero Was this pinned on purpose to preserve the information or meant to be closed and missclicked?
--
--β€’16mo ago
On purpose
Raikas
Raikasβ€’16mo ago
πŸ‘
Want results from more Discord servers?
Add your server