Neura Actions Integration
Neura helps leading mobile brands drive higher customer engagement & retention with AI-powered, real-world behavioral insights and advanced campaign segmentation & triggering.
Leverage Neura’s True Personas™ to create segments and audiences based on each users’ lifestyle and preferences. Leverage Neura Moments™ when triggering campaigns to reach each user when they’re available and receptive.
See the Neura Insights Braze integration for further details on how to uncover these real-world behavioral insights.
To get started, ensure that both the Braze and Neura SDKs are properly integrated for Android and iOS.
To integrate the Neura SDK you simply add a few lines of code to your AppDelegate on iOS or MainActivity class on Android. You’ll then begin receiving Neura Moments™ as Braze “Custom events”. You’ll also gain the ability to segment users based on their real-world lifestyles and habits, True Personas™, received as Braze “Custom attributes”.
First, find your App ID on the “Developer Console” section of the Braze Dashboard and create a new API Key with
Complete the Mobile Engagement Platform section of your application in the Neura console, as follows:
API Key: Insert the key you’ve created in the Braze platform.
Region: Braze manages server endpoints in different regions. Use your region as the input to the “Server” field.
Android/iOS App ID: We recommend providing a unique Braze application ID for each mobile platform, allowing you to segment the users for each platform individually.
Last, ensure that Braze and Neura users are mapped:
Create a user alias labeled
neura_id with your user’s neura_id
Set a custom user attribue with the key-value pair
1 2 [[Appboy sharedInstance].user addAlias:NEURA_USER_ID withLabel:@"neura_id"]; [[Appboy sharedInstance].user setCustomAttributeWithKey:@"neura" andBOOLValue:true];
1 2 Appboy.getInstance(YOUR_ACTIVITY.this).getCurrentUser().addAlias(NEURA_USER_ID, "neura_id"); Appboy.getInstance(YOUR_ACTIVITY.this).getCurrentUser().setCustomUserAttribute("neura", true);
Set External ID: Similar to when the changeUser method should be called in Braze (as soon as the user gets identified, generally after logging in, in order to set the user id), we recommend also setting the user ID as an External ID in Neura:
1 2 NExternalId *externalIdObj = [[NExternalId alloc] initWithExternalId:@"USER_ID"]; NeuraSDK.shared.externalId = externalIdObj;
Using Neura with Braze
Once both SDKs are integrated, you can set up a Campaign or Canvas in the Braze Dashboard to be trigged by Neura Moments, which are available in the Braze platform as “Custom events”.
In addition, Neura recognizes real-world behavioral traits for each individual user. Using Braze, you will be able to target specific users based on their True Personas™, which are available in the Braze platform as “Custom attributes”.
See the Neura developer site for more details, tutorials, and FAQs.
The Neura SDK requires that you enable location services.