Linking Recharge as a source
Contents
Alpha release
This source is currently in alpha. The interface and available tables may change.
The Recharge connector automatically pulls your Recharge subscription data into the PostHog data warehouse.
Adding a data source
- Go to the sources tab of the data pipeline section in PostHog.
- Click + New source and then click Link next to Recharge.
- You need a Recharge API token. In your Recharge admin, go to Apps & integrations > API tokens and create a token. Grant read access to the resources you want to sync, e.g. Customers, Subscriptions, Orders, Charges, Addresses, Discounts, and Products. Some resources (such as Payment methods) are only available on Recharge Pro or Custom plans.
- Back in PostHog, enter the token in the
API tokenfield and click Next. - Select the tables you want to sync, set the sync method and frequency, then click Import.
Once the syncs are complete, you can start using Recharge data in PostHog.
Available tables
| Table | Description | Sync method |
|---|---|---|
customers | Customers in your account | Incremental |
subscriptions | Subscriptions | Incremental |
orders | Orders | Incremental |
charges | Charges | Incremental |
addresses | Customer addresses | Incremental |
discounts | Discounts | Incremental |
onetimes | One-time purchases | Incremental |
products | Products | Incremental |
payment_methods | Customer payment methods (Recharge Pro or Custom plans only) | Incremental |
collections | Product collections | Full refresh |
Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.
Configuration
| Option | Type | Required |
|---|---|---|
API token | password | Yes |