Instead of including the complete implementation here, we’ve created a ready-to-use CodeSandbox template that you can fork and customize:Open Reach SDK Example in CodeSandbox
export const reachConfig = { // The user/business ID from your system tenantExternalId: 'YOUR_TENANT_EXTERNAL_ID', // Your unique vertical saas platform identifier provided by Reach partnerId: 'YOUR_PARTNER_ID', // The feature you want to use (e.g., "measure", "acquire") feature: 'acquire', // Set to true for additional console logging during development debug: false,};
Server Configuration (server/config/server-config.js):
Copy
module.exports = { // Your Reach provided secret key for signing JWTs jwtSecret: 'YOUR_JWT_SECRET',};