Getting started with PlainKey

Learn how to quickly add passkey authentication to your website.

Author: PlainKey

Prerequisites

  • A web application that can use packages from the npm registry and run JavaScript or TypeScript.
    This includes frameworks like React, Next.js, Vue.js, Nuxt.js, Angular, Svelte, and more.
  • A database where you store your users
  • A backend connected to your user database. It must be able to call our REST API or use our JavaScript/TypeScript SDK.

Sign up with PlainKey

Begin with signing up at plainkey.io.

  • During sign-up, enter the domain name where you will implement passkeys (i.e. example.com). You can use a subdomain (like admin.example.com), but then passkeys registered on that subdomain will only work on that subdomain.

PlainKey will create your first project. From the project setting, you can generate your client secret.

  • Project ID: Identifies your project when using the SDK/APIs. Used in both frontend and backend requests.
  • Client secret: Used to get an access token for backend requests. It is scoped to the project. Keep this secret safe and never share it.

Next step

Browser SDK -->