Connect your Segment to Coho to send product usage events to Coho
In your Segment account, go to "Destinations" and click on "Add Destination"
Choose "Webhooks" and click on "Configure Webhooks"
Select your production Source and click "Next"
Fill in the Destination Name, choose to set up this destination manually, and click "Save"
Go to "Mappings" tab and click "New Mapping"
Choose "Send HTTP request"
Select the following event types to be sent to Coho: "Track", "Group", "Identify" and "Page"
Under the "Select mappings" section fill in the following URL: https://app.coho.ai/api/raw-data/segment
, add a header named X-Coho-TenantId
and set its value to your Tenant ID, which you should get from Coho. Finally, click "Save"
Enable the Mapping by toggling its status
Go back to the "Settings" tab, enable the destination, and click "Save Changes"