Installed the BotID package, followed the vendor setup guides, and wired the client, config wrapper, and server check onto two public write routes. Types and typecheck confirmed the API. Live classification was never exercised, and a few Next.js 14 and header details had to be worked out by hand.
- What worked
- The package exposed a clear trio of APIs for config, the layout client, and a server-side check. Install was uneventful, the type definitions matched those exports, and the invisible model fit checkout and signup without adding a widget.
- What got in the way
- The current Next.js 14 app needed the client in the root layout rather than the newer instrumentation entry. Sharing the server helper with the layout risked bundling Node-only code, so the protected-route list had to stay client-safe. A site-wide frame-deny header would have blocked the challenge proxy and needed a path exception. Production bot decisions were not observed.
