In this guide, we will show you how to connect Amplitude to Census and create your first sync.
Have your Census account ready. If you need one, create a Free Trial Census account now.
Have your Amplitude account ready.
Census needs only one piece of information to connect to your Amplitude project:
The API Key for an HTTP API data source for your Amplitude project
Amplitude lets you pull data from a number of different sources, including via HTTP API. If you don't have this data source set up in Amplitude already, you'll need to create one. The same steps below will also allow you to find the API key for a pre-existing HTTP API data source, as Amplitude will only permit one per project.
Within Amplitude’s left navigation bar, scroll down to the very bottom. Click on Sources & Destinations.
Once here, navigate to the top-right of the screen and click to Add Data Source.
Select “HTTP API” as the type of data source, and click Next.
Copy the API Key (it will be a long string of numbers and characters), click Next.
If you are setting up the HTTP API data source for the first time, Amplitude will require you to POST an event to their API to complete set-up. Amplitude provides instructions to send a sample event and complete set-up at this stage.
When the event is received by Amplitude, click Finish to finish setting up this source within Amplitude.
Now that we have the API Key from Amplitude, we can now set up Amplitude as a Destination in Census.
In the Settings tab of Census, create a new Amplitude Service Connection.
You can provide whatever name you like.
Provide the copied API Key from Amplitude.
Now navigate to the Model section of our Dashboard
Here you will have to write SQL queries to select the data you want to see in Amplitude. Here are some ideas of data you should select
The Lifetime Value of a customer
The end date of a user's trial
The date a user became active in your product
The number of key activities a user did in your app in the last 7/30 days
Once you have created your model, click save.
Now head to the Sync page and click the Add Sync button
In the "What data do you want to sync?" section.
For the Connection, select the data warehouse you've already connected (See Prerequisites).
For the Source, select the model you created in step 4.
Next up is the "Where do you want to sync data to?" section.
Pick the Amplitude connection you created in step 3.
For Object, Select Device or User. If Devices can be associated with Users, then select Device. If no Device information is collected, select User.
For the "How should changes to the source be synced?" section.
Select Update Or Create
Pick the right mapping key; Amplitude only supports Distinct ID.
Finally, select the fields you want to update in the Mapper in the "Which Fields should be updated?" section. Here simply map the field from your Amplitude instance to the column from your model.
Click the Next button to see the final preview, which will have a recap of what will happen when you start the sync.
Both User and Device objects will resolve to a single User Profile in Amplitude. If Devices can be associated with Users, then select Device and map the User field to an appropriate value in your model. If no Device information is collected, select User.
🎒 Contact us if you want Census to support more Objects for this destination
Update or Create
Device, User, Group
🔋 Contact us if you want Census to support more Sync Behaviors for this destination