Skip to content

Braze Learning courseGetting started: Integration overview

This article provides a basic overview of the onboarding process.

A venn diagram of four circles - discovery, integrate, quality assurance and maintain - centered around "time to value."

As a technical resource, you’ll empower your team by integrating Braze into your tech stack. Onboarding is broadly split up into four steps:

  • Discovery and planning: Work with your team to align on scope, plan a structure for data and campaigns, and create an appropriate workspace structure.
  • Integration: Execute on your plan by integrating the SDK and API, enabling messaging channels, and setting up data import and export.
  • Quality Assurance: Confirm that the loop of data and messaging between the Braze platform and your app or site is working as expected.
  • Maintenance: After you’ve passed off Braze to your marketing team, you’ll continue to make sure everything continues to run smoothly.


Discovery and planning

During this phase, you will work with your team to scope onboarding tasks and ensure all stakeholders are aligned on a common goal.

Your team will perform end-to-end planning of your use cases to make sure everything can be built as expected, with the correct data available to do so. This phase includes your project lead, CRM lead, front and back-end engineering, product owners, and marketers.

The discovery and planning phase takes, on average, about six weeks. Engineering leads can expect to spend 2-4 hours a week during this phase. Developers working with the product can expect to spend 10-20 hours a week on Braze during the discovery and planning phase.

Icons for different channels, such as email, shopping cart, images, geolocation, and so on.

Campaign planning

Your CRM team will plan out the messaging use cases that you’ll launch in the near future. This includes the:

For example, a new customer campaign might be: an email sent daily at 10 am to a segment of customers who logged their first session yesterday. The conversion event (the success metric) is logging a session.


Creating data requirements

Then, your CRM team should define what data is required to launch the campaigns they have planned, creating data requirements.

Many common types of user attributes, such as name, email, date of birth, country, and similar are automatically tracked after the Braze SDK is integrated. Other types of data will need to be defined as custom data.

As a developer, you’ll work with your team to define what additional, custom data makes sense to track. Your custom data will impact how your user base will be classified and segmented. You will set up an event taxonomy across your growth stack, structuring your data so that it is compatible with your systems as it moves in and out of Braze.

Learn more about automatically collected data and custom data.

Customizations planning

Talk to your marketers about their desired customizations. For example, do you want to implement the default Braze Content Cards? Do you want to slightly tweak their look and feel to match your brand guidelines? Do you want to develop an entirely new UI for a component and have Braze track its analytics? Different levels of customization require different levels of scope; see our customization overview for more information.

Getting dashboard access

The Braze dashboard is our web UI interface. Marketers will use the dashboard to do their job and create content. Developers use the dashboard to manage settings for integrating apps, such as API keys and push notification credentials.

Your team administrator should add you (and all other team members who need access to Braze) as users on your dashboard.

Workspaces and API keys

Your team administrator will also create different workspaces. Workspaces group your data—users, segments, API keys—into one location. As a best practice, we suggest only putting different versions of the same or very similar apps together under one workspace.

Importantly, workspaces provide API keys for multiple platforms (such as iOS and Android). You’ll use the correlated API keys to associate SDK data with a particular workspace. Navigate to your workspaces to access the API key for each of your apps. Make sure each API key has the correct permissions to perform the work you’ve scoped. See the API provisioning article for details.

Integration

Abstract pyramid graphic representing the flow of information from a data source to a user device.

Braze supports iOS apps, Android apps, web apps, and more. You can also opt to use a cross-platform wrapper SDK, like React Native or Unity. We typically see customers integrate in anywhere from 1-6 weeks. Many customers have integrated Braze with just one engineer, depending on their breadth of technical skills and bandwidth. It’s entirely dependent on your specific integration scope and how much time your team dedicates to the Braze project.

You’ll need developers who are familiar with:

  • Working in your app or site’s native layer
  • Creating processes to hit our REST API
  • Integration testing
  • JSON web token authentication
  • General data management skills
  • Settings up DNS records

CDP integration partners

Many customers use Braze onboarding as an opportunity to also integrate with a customer data platform (CDP) as an integration partner. Braze provides data tracking and analytics, while a CDP can provide additional data routing and orchestration. Braze offers seamless integration with many CDPs, such as mParticle and Segment.

If you are performing side-by-side integration with a CDP, you will map the calls from your CDP’s SDK to the Braze SDK. Essentially, you will:

  • Map identifying calls to changeUser (Android, iOS, web) and set attributes.
  • Map data flush calls to requestImmediateDataFlush (Android, iOS, web).
  • Log custom events or purchases.

Example integrations between the Braze SDK and your CDP of choice might be available, depending on which platform you’ve chosen. See our list of CDP technology partners for more information.

Braze SDK integration

The Braze SDK provides two critical pieces of functionality: it collects and syncs user data into a consolidated user profile, and powers messaging channels such as push notifications, in-app messages, and Content Cards.

During SDK implementation, you will:

  • Write SDK integration code for each platform you want to support.
  • Activate the messaging channels for each platform, ensuring that the Braze SDK tracks the data from your interactions with your customers across email, SMS, push notifications, and other channels.
  • Create any planned UI component customizations (for example, custom Content Cards). For completely custom content, you will need to log analytics since the SDK’s automatic data collection won’t be aware of your new components. You can pattern this implementation on our default components.

Using the Braze API

You will use our REST API for different tasks at different points throughout your time using Braze. The Braze API is useful for:

  1. Importing historical data; and
  2. Continuous updates that aren’t triggered in Braze. For example, a user profile upgrades to VIP without them logging into an app, so the API needs to communicate this info to Braze.

Get started with the Braze API.

Setting up product analytics

Braze is all about data. Data in Braze is stored on the user profile.

Data points are a structure by which you ensure you’re capturing the right data for your marketers, not just “any” data you can possibly vacuum up. Familiarize yourself with data points.

Migrating legacy user data

You can use the Braze /users/track endpoint to migrate historical data that was recorded outside of Braze. Examples of commonly imported data include push tokens and past purchases. This endpoint can be used for one-off imports or regular batch updates.

You can also import users and update customer attribute values through a one-time CSV upload to the dashboard. Uploading CSVs can be helpful for marketers, while our REST API allows for greater flexibility.

Setting up session tracking

The Braze SDK generates “open session” and “close session” data points. The Braze SDK also flushes data at regular intervals. Refer to these links for session tracking default values, all of which can be customized (Android, iOS, web).

Tracking custom events, attributes, and purchase events

Coordinate with your team to set up your planned data schema, including custom events, user attributes, and purchase events. Your custom data scheme will be entered using the dashboard and must match exactly what you implement during SDK integration.

Other tools

Based on your use case, there may be other tools you need to set up. For example, you might need to configure a tool like geofences to realize your user stories. We have found that customers who have the ability to set up these additional tools after completing the essential integration steps are most successful.

Quality assurance

As you execute your integration, you’ll provide quality assurance to make sure everything you’re setting up is working as expected. This QA falls into two general categories: data ingestion and message channels.

Passing Braze off to marketers

Once you have integrated your platform or site, you will want to involve your Marketing team to pass ownership of the platform to them. This process looks different at every company, but might include the following:

  • Composing complex Liquid logic
  • Help facilitating email IP warming
  • Making sure other stakeholders understand the kind of data being tracked

Develop for the future

Have you ever inherited a codebase and had no clue what the initial developer was thinking? Worse, have you ever written code, understood it completely, and then felt completely baffled when you came back to it a year later?

When onboarding Braze, the collective decisions you make concerning data, user profiles, what integrations were and were not in scope, how customizations are supposed to work, and more, will feel fresh in your mind and therefore obvious. When your team wants to expand Braze or when other technical resources are assigned to your Braze project, this information will be obscure.

Create a resource to cement the information you learned during your technical overview sessions. This resource will help reduce the time to onboard new developers who join your team (or serve as a reminder to yourself when you need to expand your current Braze implementation).

Maintenance

After handoff to your marketers, you will continue to serve as a resource for maintenance. You will pay attention to iOS and Android updates that might impact the Braze SDK and make sure that your third-party vendors are up to date.

You will track updates to the Braze platform via the Braze GitHub. Occasionally, your administrator will receive emails about urgent updates and bug fixes directly from Braze, as well.

HOW HELPFUL WAS THIS PAGE?
New Stuff!