Bento Segment Integration

Overview
The Bento Segment integration uses a Segment destination function to forward events to Bento. You can use it to track events for your subscribers, update user data, record lifetime value (LTV), and trigger workflows from events.
Requirements
- Active Bento account with a site created
- Active Segment account
- Bento Segment Function Code
- Bento API keys
Installation Steps
Your Private API Keys button at the top rightNavigate to the Connections -> Functions page in your Segment account. Then click the New Function.
You must choose between a source or destination function. For Bento we will be using a destination function to send data to Bento. Give the function a name and description.
We must add the following settings:
-
- publishable key
publishableKey
- publishable key
-
- secret key
secretKey
- secret key
-
- site uuid
siteUuid
- site uuid

Copy and paste this code into the Source Code field.
You can optionally click test to test the function. Once you are happy with the function, click Save and then Deploy.
You should now see the Bento destination as an option under Custom Destinations in your Segment account.
How the connection works
Once the custom destination is connected, events from your Segment source (page views, purchases, or custom user actions) are forwarded to Bento in real time. These events can trigger workflows that track and tag subscribers based on their behavior. You can also enrich events with custom data like purchase details, which Bento uses to calculate lifetime value (LTV), trigger automations, and start drip campaigns.
