Get the embed snippet and platform steps
get_install_snippetThe exact script tag to paste, plus ordered steps for the given platform. Pass the contractor's own token if you have it; otherwise the snippet comes back with a placeholder and instructions for finding the real one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | inline embeds the tool in the page; modal opens it from a button. | |
| token | No | The contractor's public token, beginning pk_live_. | |
| service | No | Trade the widget should quote. Currently only: roofing. For other trades, use estimate_cost for a ballpark instead. | |
| platform | No | Platform id or name, e.g. wordpress, squarespace, wix, webflow, shopify, godaddy, html, google-tag-manager. Omit for the generic snippet. |