✨Works out of the box guarantee. If you face any issue at all, hit us up on Telegram and we will write the integration for you.
logoReclaim Protocol Docs

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:

  1. Install the SDK

    • Set up the Reclaim SDK in your project
    • Follow our step-by-step installation guide
  2. 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:

  1. User Login → User authenticates on your website
  2. Session Creation → Your application initiates a new Reclaim session
  3. Request URL Generation → Your site creates and displays a request URL
  4. User Authentication → User visits the request URL and logs into the target platform (e.g., Amazon.com)
  5. Proof Generation → System creates a proof on the user's device
  6. Proof Submission → User submits the generated proof
  7. 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?

Support Resources

Get help when you need it:

Community Support

Stay Updated

Start building with Reclaim Protocol JavaScript SDK today! We look forward to seeing your implementations.

On this page