JavaScript SDK
Welcome to the Reclaim Protocol JavaScript SDK! You can use JS SDK to implement Reclaim in your browser or Node.js applications. This SDK helps you create a simple process where users can prove their credentials from other websites, all without sharing sensitive information.
Quick Start Guide for Reclaim
Welcome to Reclaim! This guide will help you get started with implementing Reclaim in your application.
Getting Started
Follow these two simple steps to begin:
-
- Set up the Reclaim SDK in your project
- Follow our step-by-step installation guide
-
Try the Frontend Example (React)
- Learn the basic implementation flow
- See the SDK in action with React
Understanding How Reclaim Works
Reclaim follows this straightforward flow in web applications:
- User Login → User authenticates on your website
- Session Creation → Your application initiates a new Reclaim session
- Request URL Generation → Your site creates and displays a request URL
- User Authentication → User visits the request URL and logs into the target platform (e.g., Amazon.com)
- Proof Generation → System creates a proof on the user's device
- Proof Submission → User submits the generated proof
- Verification → Your application verifies the proof and processes the result
Implementation Options
Choose the approach that best fits your needs:
Frontend-only Implementation
- Ideal for: Prototypes and MVPs
- Benefits: Quick setup, minimal configuration
- Use when: Rapid development is priority
Full Stack Implementation
- Recommended for: Production applications
- Benefits: Enhanced security, custom authentication
- Use when: Building robust, secure applications
Practical Examples
Deepen your understanding with our implementation examples:
- Fullstack Example
- Complete server-side implementation
- Best practices for production use
Advanced Features
Ready to enhance your implementation?
-
- Customize SDK settings
- Fine-tune your implementation
-
- Optimization techniques
- Security recommendations
Support Resources
Get help when you need it:
Community Support
- Join our active Telegram community
- Visit the Reclaim Protocol Website
Stay Updated
- Follow @reclaimprotocol on Twitter
- Watch our GitHub repository
Start building with Reclaim Protocol JavaScript SDK today! We look forward to seeing your implementations.