Skip to content

Getting Started

Welcome to Rakomi! Choose the quickstart that matches your stack:

Next.js SDK

Use @rakomi/node for the fastest integration with automatic token verification, middleware, and type safety. Start with SDK →

REST API

Use the REST API directly from any language or framework. Verify JWTs via the JWKS endpoint. Start with REST API →

Next.js SDKREST API
Best forNode.js / Next.js appsAny language or framework
Setup time~3 minutes~5 minutes
Token verificationAutomatic (middleware)Manual (JWKS)
Type safetyBuilt-in TypeScript typesBring your own
Error handlingResult pattern (never throws)HTTP status codes

Both paths give you the same authentication capabilities. The SDK simply wraps the REST API with convenience methods.