What is it?

Segment is a customer data platform which provides one centralised way to send in of your users information, actions and usage to all the tools which you use as a business. Our Segment integration allows you to connect your existing Segment event data to:

  • Identify your users within Kana

  • Track when your users use Kana features based on their events

This reduces the technical setup and integration of Kana into your product so that anyone can get started straight away, while also offering immediate insight and action into customers usage of features, packaging and pricing.

How do I connect Segment to Kana?

1. Connect your Segment source(s) to a Webhook destination

The destination can be found in Segment when searching in their catalog or when adding the destination directly to the source:

2. Navigate to Settings > Webhooks (max 5)

This should show once the destination has been added:

3. Add the Webhook URL

The following URL should be added to the Webhook URL section:

https://bletchley.onrender.com/segment/events

4. Add your Admin API Key

Within ‘Headers’, you should add ‘Authorization’ on the left and your Admin API Key on the right. You can see more on where to find your Admin API Key in our Authorization (Backend) guide.

5. Enable the destination

Click ‘Save’ and you should see a toggle switch to enable the destination.

You can now send any identify and track events to the destination. We recommend understanding what these two events do in Kana beforehand and setting up rules to map your track events to features before enabling the destination. However, this can be done at any time and the rules will retroactively apply.

What does the integration do?

There’s two core functionalities of the integration:

Identifying users

Users will be created, updated or merged based on incoming identify events from Segment. This will allow you to sync users from your product or database into Kana with all information to best identify them.

We strongly recommend either sending in identify events for users or importing users via a CSV before sending in track events.

Identify Users (Segment)

Tracking feature usage

Kana can track the usage of features by users based on incoming track events from Segment. This will reduce the complexity of having to integrate with Kana directly when getting started, allowing you to either specify the featureId and delta in Segment event properties or set no-code rules to associate events to features by.

Track Feature Usage (Segment)