English
English
Appearance
English
English
Appearance
The RepairDirect Widget enables vehicle damage intake submissions directly from your own website, without the need to build forms or set up any logic yourself. The widget is loaded via an external JavaScript file and rendered within an HTML element on the page.
This solution is ideal for dealer websites, leasing companies, or software partners who want to integrate RumbleDirect into their own environment in a way that is both visually and functionally seamless.
The widget works as follows:
<script> tag on the page to load the required JavaScript file from our CDN.<div> where you want the widget to appear.We support two environments:
Acceptance environment:
For testing and development.
CDN URL: https://cdn.rumbledirect.dev/widget/latest/index.js
Production environment:
For live use in your public environment.
CDN URL: https://cdn.rumbledirect.com/widget/latest/index.js
During the integration process, weβll let you know which environment to use. Youβll also receive the required configuration details: clientId, clientSecret, formId and (optionally) servicePartnerId.
Place the following <script> tag just before the closing </body> tag of your HTML:
<script src="https://cdn.rumbledirect.dev/widget/latest/index.js" defer></script>Note: Use the
cdn.rumbledirect.comURL for production.
Where you want the widget to appear, add the following <div> element:
<div
id="rumbledirect-widget"
data-client-id="YOUR_CLIENT_ID"
data-client-secret="YOUR_CLIENT_SECRET"
data-form-id="YOUR_FORM_ID"
></div>For local branches or specific repairers, you can also add a data-service-partner-id.
<div
id="rumbledirect-widget"
data-client-id="YOUR_CLIENT_ID"
data-client-secret="YOUR_CLIENT_SECRET"
data-form-id="YOUR_FORM_ID"
data-service-partner-id="YOUR_SERVICE_PARTNER_ID"
></div>If you want to integrate with a collection of service partners (rather than a single partner), add a data-service-partner-collection-id. This attribute allows you to target multiple service partners as a collection.
<div
id="rumbledirect-widget"
data-client-id="YOUR_CLIENT_ID"
data-client-secret="YOUR_CLIENT_SECRET"
data-form-id="YOUR_FORM_ID"
data-service-partner-collection-id="YOUR_SERVICE_PARTNER_COLLECTION_ID"
></div>Replace
YOUR_CLIENT_ID,YOUR_CLIENT_SECRET,YOUR_FORM_IDand (if applicable)YOUR_SERVICE_PARTNER_IDorYOUR_SERVICE_PARTNER_COLLECTION_IDwith the values weβll send you.
The id of the div element must always be rumbledirect-widget. The widget will load automatically as soon as the script is loaded and the div is properly placed.
Once the widget is visible, you can immediately submit a test case (in the acceptance environment). Weβll gladly assist with checking your integration and can take a look with you if needed.
Got questions or ran into issues? Email us at [email protected] β weβre here to help.
Good luck with the integration! π