Atoms / Library

howtowordpressintegrationscript-tagnext-jsrest-api

Four ways to integrate Spectare starting with WordPress

All plans, no code

WordPress plugin

All plans, any platform

Script tag widget

Pro+, zero-flicker delivery

Next.js SSR

The WordPress plugin is the recommended path and works on all plans. Install it from Plugins, Add New in your WordPress admin, connect your workspace key, and you get two things at once: a Spectare Atoms post type for authoring content in wp-admin, and a Spectare Zone block for placing personalised sections anywhere in the block editor. No code is required. The plugin calls the assembly API server-side so personalised content is in the HTML at first paint.

The script tag works on any platform that serves HTML. Add one script tag to your page head, mark the elements where content should vary with a data attribute, and Spectare fills them client-side after the visitor's intent is classified. Setup takes under thirty minutes and requires no backend changes.

The Next.js SSR path calls the assembly endpoint from a server component and renders the returned HTML before the response leaves your server. There is no flash of default content because personalisation happens before the browser receives the page. This path suits teams who want zero DOM swap and full control over the render.

The REST API directly exposes the same qualify, assemble, and convert flow that all three paths use under the hood. Call it from your own backend, an AI agent, or any platform not covered by the other paths. Every endpoint accepts a Bearer token matching your workspace API key.

This is one atom from the Spectare content library. Spectare assembles the right atoms for each visitor in real time, based on who they are and how they arrived.