# Set up licensing with AI
Drop this skill into Claude Code (or any agentic AI) and it'll wire up your webhook handler, OAuth flow, and license-key storage — trained on the AppSumo Licensing API.
# What it handles
- Webhook handler — processes all AppSumo license events (purchase, activate, upgrade, downgrade, deactivate)
- OAuth flow — token exchange, license key retrieval, and new vs. returning user logic
- Key storage — guides you to store and expose license keys for your support team
- Test scaffolds — local test server + validation against the Partner Portal
# How to install
Download the zip above and unzip it. Then follow the steps for your AI tool:
# Claude Code
Move the appsumo-licensing-partner-guide folder into your skills directory:
~/.claude/skills/
Claude Code skills docs → (opens new window)
# Cursor
Copy the contents of SKILL.md into a new file at .cursor/rules/appsumo-licensing.mdc in your project. Upload the references/ files as additional context. Cursor rules docs → (opens new window)
# ChatGPT
Create a custom GPT, paste the contents of SKILL.md into the instructions field, and upload the references/ files as knowledge files. Custom GPT docs → (opens new window)
# Claude.ai
Open a Project, paste the contents of SKILL.md into the project instructions, and upload the references/ files as project knowledge. Claude Projects docs → (opens new window)
# How to use it
Once installed, describe what you need in plain language:
"I need to add AppSumo licensing to my app"
"Help me handle the webhook events"
"My OAuth redirect is returning a 403"
The assistant will read your existing code, write what's needed, and help you verify everything works before going live.