Documentation
Next.js / React Website Integration
Connect Next.js / React to SoundSync customer access without replacing your existing website.
Keep the App Router handler on the server
Merge app/api/soundsync/[action]/route.js and lib/ into your App Router project, retaining runtime=nodejs. Mount the account component inside your existing layout. Configure .env.local for development and private runtime environment for production. Multiple replicas or serverless deployments need Redis-backed sessions.
Save callbacks that your application actually serves
The verification, reset, login, success and cancel callbacks are /api/soundsync/verify, /reset-password, /account, /checkout/complete and /checkout/cancel. Serve the actual routes and keep private account/API responses out of caches.
Choose the payment model before installing
The general framework download is configured for Full Store with SoundSync payments and tax. To keep an external provider, choose its separate Keep external checkout download and guide, or deliberately implement external mode with a matching connection. A framework choice never authorizes a different payment flow.
SoundSync
Complete the setup
SoundSync
Test this hookup without changing your live site
Staging integration checklist
Use the separate API, verified staging callbacks and test key; repeat account, paid/free, library and plugin access.
