Server step
Setmode: "embedded" and allowlist the exact origin that will mount the component. The amount and methods come from your trusted order calculation.
Browser step
destroy() when the page unmounts. Mount one instance per container, keep the container accessible, and do not copy sensitive field values into your DOM, state, analytics, or logs.