Skip to main content
Install the Commet Skill so your coding agent can integrate the current SDK and verify its work against the live API contract.
1

Install

2

Configure

.env
The .server.ts suffix ensures this module is never bundled into client code.
app/lib/commet.server.ts
3

Subscribe

customers.create is idempotent — if a customer with the same id already exists, it returns the existing record.
app/routes/billing.subscribe.ts
4

Check Access

app/routes/billing.status.ts
5

Track Usage

app/routes/billing.usage.ts
Usage is aggregated and billed at end of period.
6

Customer Portal

app/routes/billing.portal.ts