Setup
Configuration
Create a Publishable API Key from your Bridge Dashboard. These are not masked in the UI, and have a green check next to them.
createBridgeClient
Call createBridgeClient once and reuse the client. The config matches BridgeSdkConfig from @usebridge/sdk-core:
To use sandbox, set environment: "sandbox".
To attach your own logger, implement the Logger interface from @usebridge/sdk-core.
Alternatively, use consoleLogger for debugging.