Skip to content

CustomerLabs + Segment Integration

Segment is a customer data platform that collects, stores, and routes user data to hundreds of downstream tools. Integrating CustomerLabs with Segment allows you to forward first-party event data captured by CustomerLabs directly into your Segment workspace, making it available to all connected destinations from a single pipeline.

Authentication between CustomerLabs and Segment is handled via a Write Key — a source-level credential generated in Segment that authorizes CustomerLabs to send data to the selected source.

  • An active CustomerLabs account
  • An active Segment account with a workspace and a JavaScript source configured

Log in to your Segment account and select the workspace associated with the source you want to integrate with CustomerLabs.

Navigate to your JavaScript source (create one if it does not already exist). This source will receive the event data forwarded from CustomerLabs.

Segment account workspace selection
  1. Open the source Settings.
  2. Navigate to API Keys.
Selecting the JavaScript source in Segment
  1. Copy the Write Key — this value will be used to authenticate CustomerLabs with your Segment source.
JavaScript source configuration screen

Configuring the Segment Destination in CustomerLabs

Section titled “Configuring the Segment Destination in CustomerLabs”

Log in to your CustomerLabs account and navigate to the Destinations section from the home screen. Search for Segment in the destinations list and select it.

Clicking Settings on the Segment source
API Keys tab in Segment source settings
  1. In the pop-up screen, click Configuration Settings.
  2. Paste the Write Key copied from Segment into the designated field.
  3. Click Save Changes.
Copying the Write Key from Segment
Selecting Segment from the CustomerLabs Destinations list
Pasting the Segment Write Key in CustomerLabs Configuration Settings

The Segment destination is now active. CustomerLabs will begin forwarding event data to your Segment source, where it will be routed to all configured downstream destinations.

SettingValue
Auth TypeWrite Key
Where to GetSegment → Source → Settings → API Keys
Where to EnterCustomerLabs → Destinations → Segment → Configuration Settings