Polar lets your app sell products and subscriptions through Polar checkout and read the resulting orders.
What you can ask for#
Build a pricing page from my active Polar products and send people to checkout.
Show the signed-in customer's orders and subscription.
Give customers a link to their billing portal.
Connect Polar#
Step 1: Find the connector
Open Tools, then Connectors, and search for Polar. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in Organization access token. Hidden fields show as dots; use the eye icon to check what you typed.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Polar for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
In Polar, create an organization access token with only the scopes you need.
What the AI can and can't do#
- Read products, orders, subscriptions and customers.
- Create checkout sessions and customer portal sessions, after your approval.
- Checkout success addresses must use HTTPS.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
The token is rejected.
Create a new organization access token in Polar and update the connection.
Polar revoked my token.
Polar can revoke tokens found in public code. Keep the token in the secure form, not in chat or files.
A product is not listed.
Check it is active in Polar.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
Products
List, create, update, and archive Polar products.
Billing data
Read customers, subscriptions, and orders.
Checkout and portal
Create checkout and authenticated customer portal sessions.
More in Commerce & payments
Still stuck?
A person from Swarmz Support can take a look.