Installation
Requirements
Node.js: 16+ or modern browser
TypeScript: 5.0+ (for TypeScript users)
NPM Installation
Install the DotPassport SDK via npm:
npm install @dotpassport/sdkYarn Installation
yarn add @dotpassport/sdkPNPM Installation
pnpm add @dotpassport/sdkCDN Installation
For browser usage without a build step:
<script type="module">
import { DotPassportClient, createWidget } from 'https://cdn.jsdelivr.net/npm/@dotpassport/sdk/+esm';
// Use the SDK
const client = new DotPassportClient({ apiKey: 'your-key' });
</script>Verify Installation
After installation, verify it works:
Next Steps
Quick Start Guide - Get started in 5 minutes
Authentication - Get your API key
API Client Overview - Learn about the client
Last updated
