Initializing the SDK
Learn how to initialize the Unreal Engine Braze SDK.
Prerequisites
Before you can use this feature, you’ll need to integrate the Unreal Engine Braze SDK.
Initializing the SDK
If you’d like precise control over when Braze initializes, you can disable AutoInitialize
in your DefaultEngine.ini
file. After AutoInitialize
is disabled, you’ll need to manually initialize Braze from native C++ or Blueprint.
In native C++, access the BrazeSubsystem and call InitializeBraze()
optionally passing it a Config to override Engine.ini settings.
1
2
UBrazeSubsystem* const BrazeSubsystem = GEngine->GetEngineSubsystem<UBrazeSubsystem>();
UBraze* const BrazeInstance = BrazeSubsystem->InitializeBraze();
In Blueprint, the same functions are accessible as Blueprint nodes:
Use the GetBrazeSubsystem
Node to call its Initialize
node.
A BrazeConfig object can optionally be created in Blueprint and passed to Initialize
New Stuff!