Installation
Install the Browser Extension SDK and set up required assets for your project
Prerequisites
- Node.js: 14.x or later
- Package Manager: npm 6.x+ or yarn 1.22.x+
- Project: Browser extension or web project with
package.json
Installation
Asset Setup
Add the asset setup script to your package.json:
Run the setup script:
This copies pre-built SDK bundles to your public directory:
Verify installation:
What Gets Installed
Content Script (content.bundle.js)
- Bridges communication between web pages and extension background
- Injected into pages where verification is needed
Offscreen Document (offscreen.html, offscreen.bundle.js)
- Executes WebAssembly for cryptographic proof generation
- Required for Manifest V3 service workers
Network Interceptor (network-interceptor.bundle.js, injection-scripts.bundle.js)
- Monitors network requests during provider verification
- Captures data for proof generation
UI Components (reclaim-provider-verification-popup.*)
- Pre-styled popup for verification flow
- Customizable through CSS
Important: Do not import SDK assets in your code. Reference them from the public directory via manifest configuration (covered in next steps).
Troubleshooting
Assets not copying?
- Verify
--public-dirpath matches your project structure - Check file permissions on the public directory
Module not found?
Build errors?
- Ensure SDK assets are in
public/, not imported in your code - Reference via manifest configuration (see next steps)
Next Steps
Choose your integration path:
- Extension Integration → - Build a browser extension
- Web Integration → - Integrate from a website
Get your API credentials → before proceeding.