Skip to content

Shift Framework · Automotive Dealer Platform

Embed ADP lookups and forms in your site

Custom elements that render Automotive Dealer Platform vehicle, part and service data on any page — no framework, no build step. Load one module, place the element, give it the base URL your platform operator issued, then call one method.

Package
Latest version
Release history

Components

Grouped by the part of the platform they read from. Every element listed here ships in the package today — where a group has no demo page yet, it is the demo that is pending, not the code.

What the element does, and what you do

Ready-to-embed elements, not a toolkit. Each one is a finished piece of product: a VIN lookup that renders a whole service history, a part search across three sources, a form that raises a real ticket. You place it and hand it a base URL — it does the rest.

The element handles

You provide

That keeps the integration contract small: an element, a base URL, and the identifier you are asking about. The element owns the request, the response shape, the loading and error states, and the language. You own the base URL and the access it needs — and the element never retries, so a failed request stays failed until you ask again.

Where it sits

You call one package. It calls the ADP services over HTTPS, and everything behind that — data, rules, identity — stays the platform’s problem rather than your site’s.

Quickstart

A working embed in three steps. This is the whole integration.

Your base URL and the access that goes with it are issued by the platform operator — ask before you start, and allow-list the origins you will embed on. The VIN must be real: fetchVin verifies the ISO check digit and rejects an invented 17-character string.

Three hosts must be reachable from the browser, and they need two different Content-Security-Policy directives. In connect-src: your base URL, and the CDN, from which the element fetches its own translation files — including when you install from npm. In style-src and font-src: fonts.googleapis.com and fonts.gstatic.com, because the package appends a font stylesheet to your document head on load. Miss the first and the element renders with empty labels and no error; miss the second and it renders in the wrong typeface.

Install

Load the whole package from the CDN at @latest. It registers every element but downloads code only for the ones your page actually uses, when it uses them — so the recommended path is also the one you have to think about least.

Version

Using a bundler? npm install adp-web-components — then keep every import in the application on one version.

Versions and compatibility

Three rules. Breaking any of them fails at runtime, not at build time, and the symptom rarely points at the cause.

If one page genuinely cannot move to the same version as the rest, isolate it in an iframe. A separate document has its own element registry.

What you get

What the element handles, and what it needs from your page.

Next steps

More from ShiftSoftware