Search…
Segment
Segment is a single platform that collects, stores, and routes your user data to hundreds of tools at the flick of a switch.
You can now send informational 2mee human holograms and 2mee rich media push notifications to individuals from the user journeys that you create in your CRM software. Below are the pre-requisites to start integrating your CRM with 2mee through the Segment platform.

Integrating Segment with 2mee

Go to 2mee destination on the Segment platform. 2mee settings page on Segments looks like the below picture. Follow the below steps to fetch API Key and Application Id from 2mee platform.
Segment Configuration Page

API Key

Your API Key is used as a security credential for your 2mee-Segment session. It can be retrieved by visiting the API Key section of your profile in the 2mee platform.
The API Key guarantees that your integration is secure.
  1. 1.
    Click on the Profile picture visible on the top right corner of the screen, then select Profile.
Selecting Profile
2. Navigate to API Token as shown below. Create an API key (if not present) and note the value.
Find API Token
3. The API key will be used to secure all the Segment calls. This API key needs to be set in the header as:
Authorization: Bearer<API Key >
Creating API Key

Application ID

Your Application Id will be used to identify the application/project with 2mee.
The Application Id can be seen by clicking on the view icon present on the bottom right corner as shown in the screenshot below. Please Copy the Application Id as it is required for identifying a project with 2mee.
Locating Application ID

Events

Once the platform is set, you can pick the HoloCapsule name from 2mee Platform and add it as an Event.
Refer to HoloCapsule Documentation to create one. Here is an example of how a HoloCapsule is created on the 2mee platform
Creating a HoloCapsule
Notifications can now be sent via CRM by referring to the UserID registered with 2mee.
1
{
2
"event": "<HoloCapsule name>",
3
"userId": "<2mee User ID>",
4
"projectId": "23kwesej33",
5
"messageId": "test-message-9qkgq",
6
"timestamp": "2019-04-08T01:19:38.931Z",
7
"type": "track",
8
"email": "[email protected]",
9
"properties": {
10
"foo": "bar"
11
}
12
}
Copied!
To know more about features offered by Segment, please visit Segment-2mee Integration.
Last modified 5mo ago