Embed quote widget
Updated 2026-09-07
On this page
The embed quote widget lets visitors compare shipping rates on a marketing or checkout page using a public embed token — not your full nm_live_ Integrations API key.
When to use
- Show live multi-carrier style quotes on a webpage
- You need a browser-safe token with limited scope
- Full OMS label purchase stays on your server with secret API keys
When not to use
- Buying labels from the browser with a secret key (never do this)
- Full branded customer checkout with payment — use a portal instead
- Server-side OMS — use the Integrations API
Steps
- Sign in to Nitromule.
- Open Settings → API (or Embeds).
- Create an embed / quote widget key or token designed for public use.
- Copy the embed snippet Nitromule provides.
- Paste it into your site where quotes should appear.
- Configure default package assumptions (weight/dims) as the snippet allows.
- Test on a staging page before production.
- Optionally restrict allowed origins if the dashboard offers allowlists.
Security rules
- Do not put
nm_test_/nm_live_secrets in frontend JavaScript, mobile apps, or public repos - Treat embed tokens as public but rotatable — revoke if abused
- Label purchase, void, and webhooks stay on server-side API calls