What You Need to Connect
Part 1: Generate a Polar Access Token (OAT or PAT)
Indic8 uses Polar’s REST API to read your products, active subscriptions, and one-time order volume.1
Log in to Polar.sh
Open Polar.sh and select your organization or creator profile.
2
Navigate to Developers Settings
- In the left navigation, click Settings.
- Under the Developers section, click Access Tokens (or Personal Access Tokens).
3
Create New Access Token
- Click the button Create Token (or Create Organization Access Token).
- Set the Token Name to:
Indic8 Analytics. - Under Expiration, select your preferred duration (e.g.
No expirationor1 year).
4
Select Required Permission Scopes
Check the boxes for these read-only scopes:
5
Copy your Polar Token
Click Generate Token and immediately copy the token (it starts with
polar_oat_... or polar_pat_...).Part 2: Connect Token in Indic8
- Open your Indic8 Dashboard.
- Navigate to Settings > Integrations > Polar.
- Paste your token into the Polar Access Token input field.
- Click Connect Polar.
Part 3: Set up Real-Time Webhooks (Optional for Live Telemetry)
To receive live transaction pushes the second a customer buys:1
Copy Indic8 Webhook URL
In Indic8 Settings > Integrations > Polar, copy your Webhook URL:
2
Add Webhook in Polar
- In Polar Dashboard, go to Settings > Webhooks.
- Click Add Webhook Endpoint.
- Paste your Indic8 Webhook URL.
- Subscribe to events:
order.created,order.refunded,subscription.created,subscription.updated, andsubscription.canceled. - Save and copy the Webhook Secret into Indic8.