What OneSignal Does
OneSignal handles the entire delivery pipeline for user messaging: push notifications on iOS and Android, in-app messages that appear while users are using your app, email, and SMS. It also gives you audience segmentation, A/B testing, automated journeys, and delivery analytics out of the box. The free tier supports unlimited mobile push notifications, so you can ship without worrying about cost.Prerequisites
Before connecting OneSignal to Rey, make sure you have:- A OneSignal account with an app created for your Rey project.
- Your OneSignal App ID and REST API Key — find them in OneSignal under Settings → Keys & IDs.
Connect OneSignal to Rey
Create a OneSignal app
Log in to OneSignal and click New App/Website. Give it a name that matches your Rey project. When prompted for a platform, select Apple iOS and/or Google Android — you can add both to a single app.
Configure platform credentials
OneSignal walks you through setting up the platform credentials it needs to deliver notifications:
- iOS: OneSignal generates and manages the APNs authentication key for you — no manual certificate handling required.
- Android: OneSignal provisions Firebase Cloud Messaging (FCM) credentials automatically.
Copy your App ID and REST API Key
In OneSignal, navigate to Settings → Keys & IDs and copy both the OneSignal App ID and the REST API Key.
Enter your credentials in Rey
In the Rey editor, open the Integrations panel, select OneSignal, and paste your App ID and REST API Key into the corresponding fields.
Save and verify the connection
Click Save. Rey activates the OneSignal integration and registers every new app session as a subscribed device. A green status indicator appears on the OneSignal card in the Integrations panel. Open your OneSignal dashboard and check Audience → Subscriptions — you should see your test device appear within a few seconds of your next app launch.
Send Your First Push Notification
Once connected, send a test notification straight from the OneSignal dashboard:- In OneSignal, go to Messages → New Push.
- Enter a title and message body.
- Under Audience, select Test Users and add your device.
- Click Review & Send.
Trigger Notifications from Rey Actions
Rey lets you send OneSignal notifications directly from any action — for example, when a user submits a form or completes a purchase.- In the Rey editor, select the component that should trigger the notification (a button, form submit, etc.).
- Open the Logic tab in the property toolbar, choose a trigger, and add a Send Push Notification action.
- Choose a target: the current user, a segment, or a custom filter.
- Enter the title and body. Use variables like
{{user.name}}to personalize the message. - Save. The notification fires the next time that trigger runs.
Send In-App Messages
In-app messages appear while users are actively in your app — perfect for onboarding tips, promotions, or feature announcements without interrupting the experience with a push notification.- In OneSignal, go to Messages → In-App → New In-App.
- Design your message using OneSignal’s visual editor.
- Set a trigger — for example, when a user reaches a specific screen or performs a tagged action.
- Set your audience and click Make Active.
Identify Users and Add Tags
To target notifications by user attributes (subscription tier, signup date, favorite category, etc.), tag your users from Rey.- Select any component or interaction in the Rey editor.
- Add a Set User Tags action.
- Provide key-value pairs, such as
plan: proorsignup_source: referral.
Do I need to configure APNs or Firebase myself?
Do I need to configure APNs or Firebase myself?
No. OneSignal manages APNs and FCM credentials for you, and Rey handles the SDK setup as part of the build. You only need to connect your OneSignal account with the App ID and REST API Key.
Can I A/B test notification content?
Can I A/B test notification content?
Yes. OneSignal supports A/B testing on both push notifications and in-app messages. Create multiple variants when composing a message and OneSignal automatically splits your audience and reports the winner based on open or conversion rate.
How much does OneSignal cost?
How much does OneSignal cost?
OneSignal’s mobile push notifications are free for unlimited devices. Paid plans unlock advanced features like journeys, higher email volume, and priority support. See onesignal.com/pricing for current tiers.
Is OneSignal GDPR compliant?
Is OneSignal GDPR compliant?
Yes. OneSignal is GDPR- and CCPA-compliant and offers EU data residency for customers who need it. Rey does not require any additional configuration — just use the App ID from your EU-region OneSignal app.