DataBrain Destination

Destination Info
Components
Connection Modes
Device-mode Cloud-mode
Web Web
Mobile Mobile
Server Server

DataBrain is a tool for product-led companies that helps Sales and Customer Success teams close deals, increase product adoption, and retain customers. DataBrain ingests data from Segment and leverages machine learning techniques to send users automated alerts, and predict churn, conversion, and retention on any event you need to track.

This destination is maintained by DataBrain. For any issues with the destination, contact the DataBrain Support team.

Getting Started

Before you start, make sure DataBrain supports the source type and connection mode you’ve chosen to implement. You can learn more about connection modes here.

Web Mobile Server
📱 Device-mode ⬜️ ⬜️ ⬜️
☁️ Cloud-mode
  1. From the Segment App’s Destinations catalog page, click Add Destination.
  2. Search for “DataBrain” in the Destinations Catalog, and select the DataBrain destination.
  3. Go to your DataBrain dashboard, and copy your “API Key”.
  4. Back in the Segment app, paste the API key into the settings for the DataBrain destination.

You should see data in DataBrain within 48 hours. DataBrain notifies you by email when your model is generated.

Optional: You can use Segment Replays to sync your past events which were sent through Segment into your DataBrain instance.

Page

If you’re not familiar with the Segment Specs, take a look to understand what the Page method does. An example call would look like:

analytics.page()

Segment sends Page calls to DataBrain as a pageview.

Identify

If you’re not familiar with the Segment Specs, take a look to understand what the Identify method does. An example call would look like:

analytics.identify('userId123', {
  email: 'john.doe@example.com'
});

Segment sends Identify calls to DataBrain as an identify event.

Track

If you’re not familiar with the Segment Specs, take a look to understand what the Track method does. An example call would look like:

analytics.track('Login Button Clicked')

Segment sends Track calls to DataBrain as a track event.

Screen

If you’re not familiar with the Segment Specs, take a look to understand what the Screen method does. Below are two example calls:

[[SEGAnalytics sharedAnalytics] screen:@"Home"];
{
  "type": "screen",
  "name": "Home",
  "properties": {
    "Feed Type": "private"
  }
}

Segment sends Screen calls to DataBrain as a screenview.

Group

If you’re not familiar with the Segment Specs, take a look to understand what the Group method does. An example call would look like:

{
  "type": "group",
  "groupId": "0e8c78ea9d97a7b8185e8632",
  "traits": {
    "name": "FooBar",
    "industry": "Insurance",
    "employees": 329,
    "plan": "enterprise",
    "total billed": 830
  }
}

Segment sends Group calls to DataBrain as a group event.

Personas

You can send computed traits and audiences generated using Segment Personas to this destination as a user property. To learn more about Personas, contact us for a demo.

For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Personas sends an Identify call with the property order_completed_last_30days: true. When the user no longer satisfies this condition (for example, it’s been more than 30 days since their last order), Personas sets that value to false.

When you first create an audience, Personas sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

Setting Description
API Key
(required)
string. You can find your Segment API Key by signing in and going to https://api.usedatabrain.com/sources

Adding DataBrain to the integrations object

To add DataBrain to the integrations JSON object (for example, to filter data from a specific source), use one of the following valid names for this integration:

  • Supervised AI

  • DataBrain

This page was last modified: 07 Dec 2021



Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
or
Create free account