Quick Install for Claude Code
Install the Creem skill with a single command:- Type
/pluginand press Enter - Go to the Discover tab
- Search for
creem-api - Press Enter to install
What is a Skill?
A skill is a structured set of instructions and reference materials that AI assistants use to provide more accurate, contextual help for specific tasks. When you load the Creem skill, your AI assistant gains comprehensive knowledge about:- All 24 API endpoints with request/response schemas
- Webhook events and signature verification
- Common integration patterns and workflows
- Best practices for security and error handling
- Test mode configuration
Get the Skill
Claude Code (Recommended)
GitHub Repository
Clone, fork, or download the skill files directly
Download ZIP
Download as a ZIP file for manual setup
Skill Contents
The skill includes four comprehensive reference files:| File | Description |
|---|---|
Skill.md | Core skill with quick reference and implementation patterns |
REFERENCE.md | Complete API reference with all endpoints and schemas |
WEBHOOKS.md | Webhook events documentation with payload examples |
WORKFLOWS.md | Step-by-step integration guides for common use cases |
What’s Covered
API Endpoints (24 total)
API Endpoints (24 total)
- Checkouts: Create and retrieve checkout sessions
- Products: Create, retrieve, and list products
- Customers: Manage customers and portal links
- Subscriptions: Full lifecycle management (get, update, upgrade, cancel, pause, resume)
- Licenses: Activation, validation, and deactivation
- Discounts: Create, retrieve, and delete promotional codes
- Transactions: Query payment history
Webhook Events (10 types)
Webhook Events (10 types)
checkout.completed- Payment successfulsubscription.active- New subscription createdsubscription.paid- Recurring payment processedsubscription.canceled- Subscription endedsubscription.expired- Period ended without paymentsubscription.trialing- Trial startedsubscription.paused- Subscription pausedsubscription.update- Subscription modifiedrefund.created- Refund processeddispute.created- Chargeback opened
Integration Workflows
Integration Workflows
- Basic SaaS subscription flows
- One-time purchases with digital delivery
- License key systems for desktop/mobile apps
- Seat-based team billing
- Freemium with upgrade flows
- Affiliate and referral tracking
Best Practices
Best Practices
- Webhook signature verification (HMAC-SHA256)
- Error handling patterns
- Test mode development
- Security considerations
- Idempotency and retry handling
Setup by AI Tool
Claude Code
Recommended Method: Use the plugin marketplace for the easiest setup experience.
1
Add the Marketplace
Open Claude Code and run:
2
Install the Skill
Option A: Interactive UI (easiest)Type
/plugin, go to the Discover tab, search for creem-api, and press Enter to install.Option B: Command3
Start Building
Ask Claude to help with Creem integration:
Cursor
Cursor supports adding context through multiple methods: Option 1: Add to Project-
Clone the skill repository into your project:
-
Reference the skill files in your conversations using
@mentions:
.cursorrules file:
- Open Cursor Settings → Features → Docs
- Add:
https://docs.creem.io - Cursor will index our documentation for context
Windsurf
Windsurf supports custom knowledge through its Cascade feature:-
Clone the skill repository:
- Add to your project’s knowledge base in Windsurf settings
-
Reference in conversations:
Other AI Tools
For other AI coding assistants (GitHub Copilot Chat, Cody, Continue, etc.):- Download the skill files from the GitHub repository
- Add to your project in a dedicated folder (e.g.,
.ai/creem/) - Reference in context when asking questions about Creem integration
- Copy relevant sections into your conversation when needed
Example Usage
Once the skill is loaded, you can ask natural language questions and get production-ready code:Creating a Checkout
Handling Webhooks
License Key Integration
Why Use the Skill?
Faster Development
Skip reading documentation - describe what you want and get working code
instantly
Best Practices Built-in
Generated code includes security patterns, error handling, and production
considerations
Always Up-to-Date
We maintain the skill alongside our API - you always get current patterns
Comparison
| Without Skill | With Skill |
|---|---|
| Read API docs, find endpoints | Describe your goal in plain English |
| Copy-paste examples, adapt manually | Get tailored, working code |
| Miss edge cases and best practices | Security and error handling included |
| Search for webhook payload formats | Full payload examples in context |
| Trial and error with parameters | Correct parameters from the start |
Skill vs SDK
The Creem skill is designed for direct API integration and complements our SDKs:| Use the Skill When | Use an SDK When |
|---|---|
| Building custom integrations | Using Next.js, TypeScript, or Better Auth |
| Learning the API | Want type-safety and abstractions |
| Working with any language | Prefer pre-built components |
| Need full control over requests | Want faster development with helpers |
The skill focuses on the REST API. For SDK-specific help, see our TypeScript
SDK, Next.js SDK, or Better
Auth documentation.
Contributing
Found an issue or want to improve the skill? We welcome contributions:Report Issues
Found a bug or incorrect information? Let us know
Contribute
Submit improvements or new workflow examples