Install Passkey Flex

Integrate passkey authentication support to existing authentication systems with Passage by 1Password.

Get started by choosing your client and backend for personalized docs.
Select client
Select backend

Installation steps

Create a Passkey Flex app

Sign up for a free Passage account, then open Passage Console.

Select the Create New App button, then choose Passkey Flex.

Enter a name for your app and the domain where you plan to use the app, then select Create new app.

Backend setup

Install the backend Passkey Flex Node.js SDK to communicate with the Passage API and retrieve transaction IDs and nonces.

terminal
npm install @passageidentity/passage-flex-node

Instantiate Passkey Flex.

main.js
import { PassageFlex } from '@passageidentity/passage-flex-node';
const passage = new PassageFlex({
    appId: process.env.PASSAGE_APP_ID,
    apiKey: process.env.PASSAGE_API_KEY,
});

Learn more about the Node.js Flex SDK

Install a Passkey Flex client SDK

Install a client SDK to control the webauthn flow.

terminal
npm install @passageidentity/passage-flex-js
app.js
import { PassageFlex } from '@passageidentity/passage-flex-js';
const passage = new PassageFlex({
    appID: 'YOUR_APP_ID',
});

Learn more about the JavaScript Flex SDK

Next step: Implement passkey registration

Set up passkey registration so you can begin using your Passkey Flex app to register passkeys for your users.