Segment integration

Connect with Segment to easily pass in your user data

Meera Kanani avatar
Written by Meera Kanani
Updated over a week ago

Segment is a customer data platform that collects event data from a variety of sources and makes it easy to pipe this data into downstream third-party applications. Bento consumes data from Segment so your dev team doesn't need to pass in data via our JS snippet.

To get set-up with Segment, you or a colleague must have "Workspace Owner" access to your org's segment account to add Bento as a destination.

Our Segment integration is the easiest way of passing data in and allows you to more quickly start using features like auto-completing steps and auto-launching guides.

Connecting to Segment

  1. Log into Bento and navigate to integrations in Bento.

  2. Under the Integrations tab, get your Segment API Token

  3. Set up Bento as a destination in Segment here, hit Configure Bento to begin

  4. Control what events are passed into Bento from the Segment dashboard and iterate as you need

NOTE: If you allow your users to be part of multiple accounts, you must pass in groupId so we can tie users to the correct account. groupId is essentially user_organization_id. Specifically, add groupId to the context (not the properties object).

Example:

Screen Shot 2022-09-23 at 1.27.13 PM.png

Additional docs from Segment:

  • This doc is about track events and references the context field

  • This doc goes into more detail on the context field, and groupId

Did this answer your question?