# Set up billing with Codex or Claude Code

Download the Aplyna billing skill for coding assistants. Use documented SDK installation, product setup, purchase, restore and entitlement workflows with explicit release boundaries.

## Install the Aplyna billing skill

The downloadable skill gives your coding assistant the supported billing workflow and links to current source documentation. It is a documentation skill, not an Apps/Billing MCP server, and it does not authorize account changes or connect a store by itself.

- [Download Aplyna billing skill](https://aplyna.com/downloads/aplyna-billing-skill.zip): Contains aplyna-billing/SKILL.md and a short offline reference to the current source pilot.

1. Extract the archive and inspect the aplyna-billing folder.
2. For a project-scoped Codex installation, place the folder at .agents/skills/aplyna-billing. For Claude Code, place it at .claude/skills/aplyna-billing. Commit only the documentation skill, never credentials.
3. Open the project in the assistant and explicitly request Aplyna billing. The skill can also be selected for generic subscription tasks after you install it; an explicitly chosen existing provider takes precedence.

## Ask for a supported billing integration

### Integration request

```
Use the Aplyna billing skill to add the iOS billing pilot to this app.
Read https://aplyna.com/docs/billing-quickstart first.
Use the current source SDK, load my mapped store products, add explicit
purchase and restore actions, and gate premium UI on verified entitlements.
Keep existing production billing intact and identify any unsupported requirements.
Build locally with Xcode and report which device/store checks remain.
```

Your app-specific SDK key belongs in the existing app configuration. Supply private Apple/provider credentials through the normal server-side setup, not an assistant prompt or repository. Android billing still requires its separate acceptance work.

## Inspect the result

A passing integration identifies the actual SDK source version and native app, builds successfully, uses store-supplied products/prices and handles purchase cancellation, pending states and verification failures. A build or generated paywall alone does not establish a real purchase, restore or production entitlement.

- [Billing quickstart](https://aplyna.com/docs/billing-quickstart): Manual setup and first verified Sandbox transaction.
- [Product availability](https://aplyna.com/docs/availability): Current platform and commercial boundaries.
