Prerequisites
Before integrating Reach into your application, ensure you have:- Partner ID: Your unique vertical saas platform identifier provided by Reach
- Shared Secret: Used for JWT authentication (provided by the Reach team)
- Designated Location: A section in your application where Reach will be embedded
Integration Overview
If your app enforces security headers like Content Security Policy (CSP) or Cross-Origin Opener Policy (COOP), see Security Headers (CSP & COOP) for required configurations.
- Set up Authentication: Create a server endpoint that generates JWT tokens
- Create a Container: Add a div element where Reach will be embedded
- Initialize the SDK: Import and configure the Reach SDK in your frontend