Skip to main content
The Gately SDKs provide a simple, type-safe way to integrate authentication and user management into your applications — whether you’re building a React SPA, a Next.js app, or a Node.js backend.

Available SDKs

@gately/react

Hooks-based authentication for React apps

@gately/nextjs

App Router, Server Components & middleware

@gately/nodejs

JWT verification for Express & Fastify

Features

Authentication

Email/password, magic links, and social login

User Management

Profiles, sessions, and account management

Route Protection

Middleware and hooks for protecting pages

TypeScript

Full type definitions included in every SDK

API Keys

All SDKs use an apiKey parameter. Get yours from your project dashboard: 👉 Dashboard → Settings → API Keys
Never commit API keys to version control. Always use environment variables.

Quick Start

Next Steps

Installation

Install the SDK for your framework

Configuration

Configure the SDK options

React SDK

Full React SDK reference

API Keys

Get your API keys