--- title: "Amplitude integration: stream Userflow events and sync cohorts" slug: "amplitude" description: "Integrate Userflow with Amplitude to analyze user interactions, sync cohorts, and enhance your product analytics for better targeting and insights." tags: ["Amplitude Integration", "Userflow Analytics", "Event Streaming"] updated: 2026-10-26T16:17:00Z published: 2026-10-26T16:17:00Z canonical: "help.userflow.com/amplitude" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Amplitude integration: stream Userflow events and sync cohorts The Amplitude integration connects one Userflow environment to one Amplitude project. It streams Userflow-generated events into Amplitude, and it syncs Amplitude cohorts into Userflow as segments you can target content with. ## What does the Amplitude integration do? The Amplitude integration does two separate things. You can set up either one or both. - **Event streaming:** [Userflow-generated events](https://help.userflow.com/docs/userflow-generated-events), such as **Flow Started** and Checklist **Task Completed**, are sent to the Amplitude project you choose. - **Cohort sync:** cohorts you define in Amplitude appear as segments in Userflow. Userflow calls these lists of users “segments” and Amplitude calls them “cohorts”, but they’re the same thing. ## Do I need a separate Amplitude integration for Staging and Production? Yes. Each Amplitude integration connects one Userflow environment to one Amplitude project. Use a separate Amplitude project for each of your [Userflow environments](https://help.userflow.com/docs/environments-and-versions), such as Production and Staging, so Staging data doesn’t mix with Production data. If you have both, set up the integration once for each. **We strongly recommend** connecting Staging first and checking that it works before you connect Production. ## Use the same user ID in Amplitude and Userflow The Amplitude integration matches users by user ID. Identify each user with the same ID in Amplitude and in Userflow, or streamed events and synced cohorts won’t line up. ## Stream Userflow events to Amplitude 1. [Sign in to Amplitude](https://app.amplitude.com/login) and go to **Settings**. ![Settings in the Amplitude sidebar](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(547).png) 2. Go to **Projects**. ![Projects page in Amplitude settings](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(548).png) 3. Select the project you want to send Userflow events to. ![Selecting an Amplitude project](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(549).png) 4. Copy the **API Key**. ![API Key for an Amplitude project](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(550).png) 5. [Sign in to Userflow](https://userflow.com/app) and switch to the environment you want to send events from. ![Environment picker in Userflow](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(551).png) 6. Go to **Settings → Integrations** and click **Add integration**. ![Add integration button in Userflow Settings → Integrations](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(552).png) 7. Find and click **Amplitude** in the list. ![Amplitude in the Userflow integrations list](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(553).png) 8. Click **Add Amplitude**. ![Add Amplitude button](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(554).png) If you don’t see **Add Amplitude**, the integration may not be included in your plan. Check your [billing settings](https://app.userflow.com/app/_/settings/billing). 9. Paste the API key you copied from Amplitude into the **Amplitude API Key** field and click **Save**. ![Amplitude API Key field in Userflow](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(555).png) 10. Click the **Stream events from Userflow to Amplitude** switch and confirm in the dialog. ![Stream events from Userflow to Amplitude switch](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(556).png) 11. Streaming starts immediately. ![Event streaming turned on for Amplitude](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(557).png) 12. In Amplitude, go to **User Look-Up** in the main menu. ![User Look-Up in the Amplitude menu](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(558).png) 13. Check that the right project is selected at the top, then check that Userflow events are coming in. It can take a minute for them to appear. ![Userflow events in Amplitude User Look-Up](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(559).png) ## How do I stop streaming events to Amplitude? 1. In Userflow, go to **Settings → Integrations** and open **Amplitude**. 2. Check the **Stream events from Userflow to Amplitude** switch. Gray means streaming is already off. Green means it’s on. 3. Click the switch and confirm in the dialog. Event streaming to Amplitude stops immediately. ## Sync Amplitude cohorts to Userflow Cohort sync keeps an Amplitude cohort up to date as a segment in Userflow. Add the Amplitude integration in Userflow before you start (steps 5 to 9 of [Stream Userflow events to Amplitude](/docs/amplitude#stream-userflow-events-to-amplitude); you don’t need to turn on streaming). 1. In Userflow, go to **Settings → Integrations → Amplitude** and click **Reveal Integration Secret**. 2. Copy the **Integration Secret**. 3. In Amplitude, go to **Cohorts**. 4. Pick the cohort you want to sync. 5. Click **Sync to… → Destinations Page → View All Destinations**. 6. Find and click **Userflow**. 7. Click **Add another destination**. 8. Give it a name, such as your Userflow account name and environment. 9. Paste the Integration Secret you copied from Userflow. 10. **Important:** under **User ID Mapping**, choose **User ID** on the Amplitude side. Amplitude and Userflow must use the same user ID. 11. Click **Save**. 12. Go back to the cohort you want to sync. You may need to reload the page. 13. Click **Sync to… → Userflow**. 14. Choose a one-time sync or a recurring sync. 15. Click **Save sync**. Amplitude starts syncing right away. The cohort appears as a segment on the **Users** page in Userflow. ## Related articles - [Userflow-generated events](https://help.userflow.com/docs/userflow-generated-events): the full list of events Userflow streams to Amplitude - [Users and Segments](https://help.userflow.com/docs/users-and-segments): where synced cohorts appear and how to target them - [Setting up environments and versions](https://help.userflow.com/docs/environments-and-versions) - [Integrations](https://help.userflow.com/docs/integration-old) A persistent list of tasks or items that users can follow to ensure completion of techniques, often used for onboarding, setup, or feature adoption.