Send event data to Recombee
The configuration process for this destination mirrors Segment's setup. We've automatically modified the documentation from third-party sources to show you how to set up this destination with PostHog.
Recombee is a Recommender as a Service, offering precise content or product recommendations and personalized search based on user behavior.
Use this PostHog destination to send your interaction data (for example, views, purchases, or plays) to Recombee.
Installation
- If you don't already have one, set up a Recombee account.
- From the PostHog web app, navigate to Connections > Destinations and click Add Destination.
- Select Recombee and click Add Destination.
- Select an existing Source to connect to Recombee.
- Navigate to the Recombee Admin UI and complete the following actions:
- Choose the Recombee Database where you want to send the interactions.
- Click Settings in the menu on the left.
- In the API ID & Tokens settings section, find the Database ID and the Private Token of the Database.
- Back in the PostHog app, navigate to the settings page of the Recombee destination you created.
- Copy the Database ID from the Recombee Admin UI and paste it into the Database ID field in the destination settings.
- Copy the Private Token from the Recombee Admin UI and paste it into the Private Token field in the destination settings.
Once you send the data from PostHog to the Recombee destination, you can:
- Open the KPI console of the Recombee Admin UI to see the numbers of the ingested interactions (updated in realtime).
- Select the ID of an Item (or User) in the Items (or Users) catalog section in the Admin UI to view a specific ingested interaction.
Configuration
Option | Description |
---|---|
Database ID Type: string Required: True | The ID of the Recombee Database into which the interactions will be sent. |
Private Token Type: string Required: True | The private token for the Recombee Database used. |
Database Region Type: choice Required: True | The Recombee cluster where your Database is located. Learn more |
API URI Type: string Required: False | URI of the Recombee API that should be used. Keep this field empty unless you are calling the Recombee cluster based in a specific region or you were assigned a custom URI by the Recombee Support team. |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "Recombee","inputs": {"databaseId": {"value": ""},"privateToken": {"value": ""},"databaseRegion": {"value": ""}},"enabled": true,"template_id": "segment-actions-recombee"}'
FAQ
Is the source code for this destination available?
Yes. The source code is available on GitHub.
Who maintains this?
This is maintained by Segment. If you have issues with it not functioning as intended, please let us know!
What if I have feedback on this destination?
We love feature requests and feedback. Please tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum.
Parts of this page are sourced from segmentio/segment-docs under the Creative Commons Attribution 4.0 International License. The content may have been modified according to this code.