Template vs. SDK vs. API
When to use what?
Recommendation:
- Starting fresh? Use a template
- Have an existing app? Use the SDK
- Using a different language? Use the API
Why Use Templates?
It’s up to you to choose to use templates or not, but it is advised that you do because it provides integration out-of-the-box, while keeping everything minimal so you can customize it exactly to your needs without redundancies.Instant Setup
Clone and set up a working subscription app right now
Best Practices
Security, error handling, and UX patterns already implemented
Production Ready
Tested patterns used in real applications, ready for deployment
Officially Supported
Templates are updated regularly, ensuring that everything just works
Using AI Agents
Use this prompt with your AI coding assistant to integrate utilsio:Available Templates
Next.js Template
Our flagship template built with Next.js 16, TypeScript, and the App Router. Tech stack:- Next.js 16 (App Router)
- TypeScript
- Tailwind CSS
- utilsio React SDK
- Complete subscription flow (subscribe, manage, cancel)
- User info and current subscription data fetch and display
- Secure basic signing endpoint with HMAC-SHA256
- Success and cancellation pages
- Environment variable configuration
- Type-safe components and hooks
Learning from Templates
Templates are excellent learning resources: Study the code to understand:- How to structure a subscription app
- Security best practices for API keys
- User flow design for subscriptions
- Loading state management
- …
Resources
SDKs Overview
Explore all available SDKs for different frameworks
API Reference
Dive into the REST API for custom integrations