Comment on page
Amplitude
Connect to your users' Amplitude accounts.
You'll need the following information to set up your Amplitude App with Paragon Connect:
- Amplitude API Key
This is an API-only integration - workflow actions for this integration are still in development. You can still connect user accounts, build workflows, and access the API for this integration.
Once your users have connected their Amplitude account, you can use the Paragon SDK to access the Amplitude API on behalf of connected users.
Any Amplitude API endpoints can be accessed with the Paragon SDK as shown in this example.
// You can find your project ID in the Overview tab of any Integration
// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
// Get cohorts data from Amplitude
paragon.request("amplitude", "/3/cohorts", {
method: "GET",
});
// Get data from a dashboard chart
paragon.request("amplitude", "/api/3/chart/<chart_id>/query", {
method: "GET"
});
Once your Amplitude account is connected, you use the Amplitude Request step to access any of Amplitude's API endpoints without the authentication piece.
When creating or updating records in Amplitude, you can reference data from previous steps by typing
{{
to invoke the variable menu.Last modified 7mo ago