Partners & embedding
Embedding Kinro
Add Kinro's commercial insurance quote experience to your website or web app with one script tag, optional prefill, and secure handling of sensitive steps.
Add Kinro's commercial insurance quote experience directly to your website or web app with a single script tag and no iframes.
1. Add the script
Include embed.js on your approved website origins, using the partner ID Kinro gives you:
<script
src="https://kinro.com/partners/embed.js"
data-partner="YOUR_PARTNER_ID"
defer
></script>Without an inline container, the script adds a floating quote button that opens a modal. Set data-launcher="none" to hide the button when opening the modal from your own UI.
2. Place inline or open from your own UI
To render the quote experience directly inside a page section, add a container with data-kinro-inline:
<div data-kinro-inline data-placement="dashboard_card"></div>A container can set its own data-partner when one page hosts quote experiences for more than one of your partner IDs; otherwise the script's data-partner applies.
For single-page apps or custom buttons, use window.Kinro:
window.Kinro.mount(element, { placement, customerToken })mounts an inline quote view insideelement.window.Kinro.unmount(element)removes an inline mount when your view unmounts.window.Kinro.open({ placement, customerToken })andwindow.Kinro.close()open or close the modal dialog.window.Kinro.on(event, handler)andwindow.Kinro.off(event, handler)let you listen forready,opened,closed,application_started,application_submitted,quote_readyanderror.
3. Skip questions your app already knows
If your users are already signed into your platform, you can prefill their business details so they do not have to re-type them:
- From your backend, call
upsert_leadonhttps://api.kinro.com/mcpwith the business details you already know andmint_customer_token: true(see Partners and brokers). - Pass the returned short-lived
customer_tokentowindow.Kinro.mount(el, { customerToken })orwindow.Kinro.open({ customerToken })in memory. - Never place a
customer_tokenin a URL, cookie orlocalStorage.
How styling and sensitive information stay safe
- Isolated styling, no iframe glitches. The widget isolates its styles from your site without relying on iframes or third-party cookies, so it resizes naturally inside any container or modal.
- Sensitive steps stay on kinro.com. The embedded widget runs in your page and can display information that has already been provided for the request. For form steps that require sensitive identifiers (such as a tax ID, date of birth, driver's license or banking details) or document uploads, the widget shows a button that opens a secure
kinro.compage in a new tab.