Keylio

Installation

How to install and configure Keylio in your project

Overview

This guide walks you through installing Keylio and integrating it into a modern Next.js + TypeScript application using Prisma.

By the end of this page, you will have:

  • Installed Keylio
  • Configured authentication options
  • Connected Keylio to a Next.js API route

Beta Status

Keylio is currently in beta. The API is stable, but minor breaking changes may occur before the first stable release.


Prerequisites

Before installing Keylio, ensure your environment meets the following requirements:

  • Node.js 18.0.0 or later
  • A TypeScript or modern JavaScript project
  • A database setup (for example, Prisma) for persistent sessions

Keylio is designed for modern Node.js runtimes and provides the best experience with TypeScript.


Installation

Install Keylio using your preferred package manager:

npm install keylio@beta
pnpm add keylio@beta
yarn add keylio@beta

Next Steps

On this page