- Set
FORGE_API_KEYon the merchant server. The SDK uses Forge’s collector automatically. - Inspect diagnostics. Node:
forge.diagnostics().enabled === trueandconfigErrorsis empty. Python:forge.diagnostics()["enabled"]is true andconfig_errorsis empty. - Deploy and make an unpaid request to a paid route. Confirm the existing 402 response and an ordinary route still behave as expected. Inspect your OpenAPI response if configured.
- Let the background event queue flush, then select Test connection on the service’s Activity page. It checks whether Forge received an SDK event for the active key.
await forge.shutdown() flushes pending events after the server drains.