Spotlight replaces the floating button with an input bar at the bottom of the page. The visitor types a question straight into it and the AI agent answers.
Productlane.init({
widgetKey: "<your-widget-key />",
spotlight: true,
position: "center",
})Any position works. "center" suits a landing page, and "right" keeps the bar where the button would have been.
What the visitor sees
At rest: a short pill whose placeholder cycles through your suggestions, one every five seconds.
On focus: the bar widens and shows up to three suggestions above it. Clicking one asks it.
On send: the bar grows into the chat panel at the same width, and the agent answers there. Files can be attached once the bar is open.
After closing: the bar reads "Continue conversation", and one click reopens the chat where it left off.
The suggestions come from Settings → AI → Productlane Agent.
On a landing page
A landing page has no signed-in user and no support page of its own, so a button in the corner is easy to miss. Spotlight puts the question box in front of the visitor instead, and the agent answers about pricing, integrations, or migration from your help center and changelog.
Pair it with Productlane.setContext() so the agent knows which page the visitor is reading. On a pricing page, "what happens after the trial" then gets an answer about your plans.
Switching at runtime
Spotlight turns on and off without a reload, so one site can show the button in the product and the bar on its marketing pages.
Productlane.set({ spotlight: true })
// Back to the button
Productlane.set({ spotlight: false })Good to know
Spotlight reaches the AI agent only. Docs, the changelog, requests, and changelog popups stay behind the standard button.
While spotlight is on,
Productlane.open()opens the agent, whatever view you pass.The bar falls back to the standard button when the AI agent is off for the workspace, and inside an embedded widget, which sizes its own container.
On a phone the bar spans the screen width and the chat opens full screen.
