Connect your data to Claude in 1 minute. No code needed Try it now

Connect Amplitude to PostgreSQL

Send Amplitude annotations, cohorts, average session lengths and 3 more data types to PostgreSQL on a schedule. Filter by date. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

PostgreSQL schema amplitude
  • annotations
  • cohorts
  • average_session_lengths
  • active_users
  • events_lists
  • 1 more data type
Each Amplitude data type lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Tradezella
Stanford
Webtoon
Getir
Stellar
Anker
ParentSquare
Bac 50
Benzinga
Matterport

How to connect Amplitude and PostgreSQL

5 steps. You can preview the Amplitude data in Coupler.io before anything reaches PostgreSQL.

Step 1 of 5

Connect Amplitude

Enter your Amplitude API key, secret key and data region. You only do this once per account.

API key••••••••••••
Secret key••••••••••••
Data region••••••••••••

Step 2 of 5

Choose what to export

Pick the Amplitude data you want in PostgreSQL.

Start dateAny dateSpecify the start date for data export. Any data before this date will not be exported.

Step 3 of 5

Fine-tune the export

Optional settings for this Amplitude export.

Request time rangeNot setSpecify the time interval in hours for data requests to avoid timeout errors. Use shorter intervals if you encounter timeouts.
Active users group by countryNot setEnable to group Active users by country. Disable if you face connection issues.

Step 4 of 5

Connect PostgreSQL

Enter your PostgreSQL connection details, then the schema and table for the Amplitude data.

Hostdb.example.comHostname, IPv4, or IPv6 address of the server
Port5432Default is 5432
DatabaseanalyticsThe target database name
TableannotationsCreated automatically on the first run
Show 3 more fields Show fewer fields
UsercouplerUser with CREATE and INSERT privileges
Password••••••••••••The database user's password
SchemaamplitudeCreated automatically if it doesn't exist

Step 5 of 5

Choose a write mode and schedule

Every run either replaces or appends the data in PostgreSQL. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in annotations and loads fresh Amplitude data.

Get the most of Amplitude to PostgreSQL integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
Amplitude to PostgreSQL questions

6 data types, including Annotations, Cohorts, Average session lengths, Active users and Events lists.

With your Amplitude API key, secret key and data region, entered once when you add the connection.

Yes. Set the start date to cover the period you need.

Yes, if the database user has CREATE privileges. Coupler.io creates the amplitude schema and the annotations table on the first run.

Yes. Append adds new rows to annotations on each run, while Replace swaps in a fresh copy. With Append, add new Amplitude columns to the table yourself before the next run.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example GoHighLevel or Google Ads, and join or append them before the data reaches PostgreSQL.

High five for scrolling till the very end!
See you in the app!