Integration
Four paths, one atom library. Pick the one that fits your setup.
Drop one script tag into your page head. Mark your content areas with data-spectare-slot attributes. Spectare handles intent detection, assembly, and slot filling automatically.
Works on Webflow, Shopify, Squarespace, Next.js, or any site that runs JavaScript. No build step, no backend changes.
<!-- Add to <head> on every page -->
<script
src="https://spectare.ai/spectare.js"
data-org="YOUR_WORKSPACE_SLUG"
></script>
<!-- Place slots where personalised content should appear -->
<div data-spectare-slot="primary"></div>
<div data-spectare-slot="supporting"></div>
<!-- Set conversion URL in Settings. Fires automatically. -->
<!-- Or call manually on any event: -->
<script>spectare('conversion');</script>Install the plugin, paste your workspace slug, and start placing Spectare Slot blocks in Gutenberg. No script tag, no theme edits, no developer needed.
Call /api/qualify first to get a signed token, then choose your assemble path. /api/assemble/components returns structured JSON with a named component and slots for each section, making it straightforward to render in React or any custom UI. /api/assemble streams SSE events for slot-based or server-rendered output.
All three endpoints are public. No API key required. Rate limited by IP.
// 1. Qualify the visitor
POST /api/qualify/{orgSlug}
{ "summary": "developer evaluating personalisation",
"direct": true }
→ { token, intent, ... }
// 2a. Assemble — slot/SSE rendering (widget path)
POST /api/assemble
{ "token": "<token>", "orgSlug": "your-slug" }
→ streams sections as server-sent events
// 2b. Assemble — component JSON (React / custom)
POST /api/assemble/components
{ "token": "<token>", "orgSlug": "your-slug" }
→ { assembly: [{ component, slots, size }, ...] }Add the Spectare MCP server to any MCP-compatible AI agent. No API key needed from the agent side. The agent can qualify visitors, search your atom library, and list available conversion actions.
MCP server URL
https://spectare.ai/api/mcpStreamable HTTP MCP server. Add to Claude Desktop or any agent config.
qualify_intentClassify visitor intent from a conversation or summary. Returns a signed token and a ready-to-share personalised URL.
search_atomsSearch your published content library by natural language query. Useful for answering product questions before directing to a landing page.
list_actionsList available conversion actions on your landing pages.
Start with the script tag or the WordPress plugin. You can add the API or MCP server later without changing anything.