1 minute readNewAgent-ready
Use a publishable token for storefront pricing
Connect the pricing snippet to your storefront with an embed token and registered browser origins.
Create an embed token on the Embed Snippet page, register the sites where the snippet will run, and use the generated snippet on your storefront.
Embed tokens are intended for public browser use. They limit the supported operations and check the browser request's origin, with request limits per token and client address. Keep server API keys out of page source.
You can inspect and revoke tokens from the dashboard. Origin checks are a browser boundary; treat an embed token as public rather than as a secret credential.