Install the WorkOS Node.js SDK to start integrating enterprise authentication and user management features into your application.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/workos/workos-node/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
Node.js 20.15.0 or higher is required to use this SDK.
- Node.js (20.15.0+)
- Bun
- Deno
- Cloudflare Workers
- Vercel Edge Functions
- Other edge runtimes
Install the package
Choose your preferred package manager:Verify installation
After installation, verify the SDK is working by importing it:Runtime-specific imports
The SDK automatically detects your runtime and uses the appropriate build. However, you can also use runtime-specific imports if needed:- Node.js
- Edge Runtime
- Deno
- Bun
Beta releases
WorkOS occasionally releases beta versions with new features. To install a beta version:Next steps
Configuration
Configure the WorkOS client with your API key
Quickstart
Build your first integration with WorkOS