- Aampe official destination
- Cohort sync via Webhook
Aampe Official Destination
- Go to Menu → Data
- Click on Destinations
- Search for Aampe and select Cohorts
- Enter the following details:
- Name: Aampe - Cohorts
- API key: api_key
- Go to https://compose.aampe.com/system-setup/integrations/events
- Login using your org credentials
- Select Connect next to Aampe endpoint
- Copy the API key
- Paste it in place of api_key
- Select the User ID mapping. Here you want to select user ID which connects to your other Aampe data. Aim for a non-PII identifier if available.
- Hit Save
- Go to Users → Cohorts, Select any Cohort that you want to sync and Hit Target Users and then Sync to Aampe destination
- Select Real-time Sync and hit Sync
- Your Aampe cohort integration is live
Setup Cohort Custom Webhook to Aampe
- Go to Menu → Data
- Click on Destinations
- Select Add Destination (+) sign
- Search for Webhook and Select Webhook (Cohorts) (There will be an event webhook as well - we don’t want to select that)
- Enter the following settings:
- Display Name: Aampe-Cohorts
- Webhook URL: https://ingestion.api.aampe.com/v1/amplitude/cohorts
- Headers: Add the following Header:
- Key: authorization
- Value: Bearer api_key
- Go to https://compose.aampe.com/system-setup/integrations/events
- Login using your org credentials
- Select Connect next to Aampe endpoint
- Copy the API key
- Paste it in place of api_key
- Sample:
Bearer my_token
- Number of users per batch: 10000
- Define cohort update payload:
- Select Customize Payload
- Copy this to the editor:
- Hit Save and your destination will be created.
- Now to start syncing go to Users → Cohorts
- Select any Cohort that you want to sync and Hit Target Users
- Select Sync this to Webhook, and choose Aampe-Cohorts that we previously created
- Select Real-time Sync and hit Sync
- Your Aampe cohort integration is live