Skip to main content
A coding agent can sign up for Polar without you. It registers itself, creates an organization, sets up products and checkout, and then hands everything to you with a claim code. You only need an account at the end. The agent follows the instructions at polar.sh/auth.md. Point your agent there:
Prompt

How it works

1

The agent signs up

The agent registers anonymously with a name you’ll see later. It gets an identity assertion (valid 30 days) and a claim token (valid 30 days, returned once).
2

The agent builds

The agent exchanges its assertion for an access token that lasts one hour, and repeats that when it expires. It creates one organization and sets it up.
3

The agent asks for your email

When it’s done, the agent asks for your email and starts a claim. It gives you a link and a three-word code, like amber-river-lemon.
4

You claim it

You open the link, sign in or create an account with that email, and enter the code. The organization becomes yours.

What the agent can do before you claim it

An agent can create one organization. Until you claim it, it can only set up the catalog: The organization can’t take payments until you claim it and pass the account review.

Claim the agent

The agent gives you a link and a code in one message, for example:
Open this link, sign in to Polar with jane@example.com, and enter this code: amber-river-lemon
  1. Open the link. It goes to Finish setup in the Polar dashboard.
  2. Sign in, or create an account, with the email the agent asked for. Only that account can claim it.
  3. Enter the code under Claim code and click Complete setup.
The dashboard shows the organization and the products the agent created, then opens the organization.
Completing setup lets the agent act on your behalf on Polar, in all your organizations, not only the one it created. Claim only agents you trust. To limit an agent to one organization, connect it with an organization access token instead.
The link and code expire after 7 days. The agent can start a new claim to get a new pair, as long as its claim token is valid (30 days after signup). After that, it has to sign up again.

After the claim

The agent receives a new identity assertion and an access token for your account. Everything issued to it before the claim stops working. It keeps using one-hour access tokens from then on. If the agent loses access, connect it another way: the MCP server or the Polar CLI.

Learn more