inai-nextjs-sdk

Installation
SKILL.md

InAI Auth SDK for Next.js

This skill guides you through integrating InAI Auth into Next.js 14+ applications using the @inai-dev/nextjs package.

Key Facts

  • API URL: Always https://apiauth.inai.dev — hardcoded in the SDK, never configurable
  • Required env var: INAI_PUBLISHABLE_KEY=pk_live_...
  • Package: @inai-dev/nextjs (depends on @inai-dev/react and @inai-dev/backend)
  • Auth modes: "app" (end users) and "platform" (admin/developer panels)

Installation

npm install @inai-dev/nextjs

Integration Consists of 4 Pieces

Installs
4
First Seen
Mar 15, 2026
inai-nextjs-sdk — inai-team/inai-auth-skills