(1) Locate your Factual Engine API Key from the Factual Engine Dashboard
(2) Add your Factual Location Engine API Key in Configuration.java
(3) Locate your Braze API Key for your app from the Braze Dashboard in Developer Console under the APP SETTINGS tab. Go to Identification and use the API Key listed for your app.
(4) Add your Braze SDK API Key to appboy.xml
(5) Determine your Braze Endpoint and add it to appboy.xml
(5) In Configuration.java replace "Your Braze User ID here"
and "Your Braze User Email here"
to a test user id and user email which you can use to look up on Braze to ensure the data is being sent.
The example app is setup to send a push notification using Firebase. To view how to configure Braze's push notifications click here. Add your Cloud Messaging Sender ID to appboy.xml
From here you can setup a Braze Campaign to trigger actions based on Engine custom events. See here for an example of sending a push notification for when a user is near a coffee shop.
If you'd like to test the integration, an example test is given. To run the test, fill out your information in StubConfiguration.java.