Linking Polar as a source

Connect your Polar.sh account to sync customers, products, orders, subscriptions, and more into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to Polar.
  3. Next, you need an Organization Access Token from Polar. Create one in your Polar account and grant it the following read scopes: benefits:read, checkouts:read, customers:read, orders:read, organizations:read, products:read, refunds:read, and subscriptions:read. Copy the token value (it starts with polar_oat_).
  4. Back in PostHog, enter the token in the Organization Access Token field and click Next.
  5. 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 Polar data in PostHog.

Available tables

TableDescriptionSync method
customersCustomers in your Polar organizationFull refresh
productsProducts you sell on PolarFull refresh
ordersOrders placed through PolarFull refresh
subscriptionsActive and past subscriptionsFull refresh
refundsRefunds issuedFull refresh
checkoutsCheckout sessionsFull refresh
benefitsBenefits attached to your productsFull refresh
organizationsYour Polar organizationsFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Configuration

OptionTypeRequired
Organization Access TokenpasswordYes

Community questions

Was this page useful?

Questions about this page? or post a community question.