Guidly for builders
Documentation that matches the product.
Everything you need to embed Guidly, tune how it speaks for your brand, and ship confident in-product guidance—without sending users to another tab.
Overview
Guidly adds a launcher + assistant to your web app. Visitors ask questions in natural language; Guidly responds with concise answers and, when tutorial mode is available, can highlight real DOM nodes and walk users through flows step by step.
Your team controls branding, greeting, FAQ chips, and plain-text knowledge from the dashboard after signing in. The widget fetches public settings and streams chat to Guidly's API using your embed key.
Question mode
Fast answers grounded in your UI and configured context.
Tutorial mode
Optional guided flows with on-page highlights (when enabled).
No iframe trap
Runs on your origin—native stacking context and styles.
Quickstart
- Create an account and open Marketing widget (or your tenant embed settings) to copy your embed key.
- Add the script tag below to your app layout—ideally once per document, before
</body>. - Deploy, load a page, and open the launcher. Ask a question your knowledge base covers.
- Fine-tune colors, copy, FAQ, and knowledge in the dashboard—changes apply on the next widget settings fetch.
Installation
Production snippet
Load the widget from our CDN. Replace YOUR_EMBED_KEY with the key from your Guidly workspace. The script bootstraps automatically when the document is ready.
<script
async
src="https://cdn.guidly.app/widget.js"
data-guidly-key="YOUR_EMBED_KEY"
data-api-url="https://api.guidly.app"
></script>Self-hosted script
You may host widget.js on your own CDN or serve it from your app (for example under /public in Next.js). Keep data-api-url pointed at the Guidly API host unless your deployment uses a custom gateway.
<!-- Same-origin script (e.g. copied to your CDN) -->
<script
async
src="/guidly-widget.js"
data-guidly-key="YOUR_EMBED_KEY"
data-api-url="https://api.guidly.app"
></script>Data attributes
The script tag supports the following attributes (all optional except your key in production):
| Attribute | Description |
|---|---|
| data-guidly-key | Tenant embed key (sent on API requests as X-Guidly-Key). |
| data-api-url | Base URL for Guidly API. Defaults to https://api.guidly.app. |
| data-color | Primary brand color (hex). Dashboard settings still apply if omitted. |
| data-guide-accent | Accent for highlights and tutorial chrome (hex). |
| data-widget-title | Header title shown in the chat panel. |
| data-greeting | Subtitle / greeting under the title. |
| data-position | bottom-right, bottom-left, top-right, or top-left. |
| data-question-only | When true, restricts the widget to chat-only behavior (no tutorial flows). |
| data-tutorial-disabled | Disables tutorial mode in the UI—useful for marketing previews. |
| data-marketing | Internal: routes to marketing proxy endpoints on the same origin as the page (Guidly.com only). |
Global configuration
Alternatively, set window.GUIDLY_CONFIG before the script executes. Values here override defaults and merge with dashboard-backed settings where appropriate.
window.GUIDLY_CONFIG = {
apiKey: "YOUR_EMBED_KEY",
apiUrl: "https://api.guidly.app",
primaryColor: "#030712",
guideAccentColor: "#030712",
widgetTitle: "How can we help?",
position: "bottom-right",
};Configuration
Most teams configure Guidly entirely from the dashboard—no redeploy required for copy and knowledge updates. Open Dashboard → Marketing widget → Customize to edit:
- Colors & placement — Brand color, guide accent, and launcher corner. Users can drag the launcher; their preference is remembered locally when supported.
- Chat copy — Panel title, greeting, and the first impression visitors see when the assistant opens.
- Preset Q&A — FAQ chips the model should treat as authoritative for pricing, policies, and common paths.
- Knowledge base — Plain-text context (product facts, billing rules, tone). Keep it current; it directly shapes answers.
Integrations (e.g. connecting other tools) live under Marketing widget → Integrations when enabled for your workspace.
Dashboard
After signing in, you land in the Guidly dashboard. From there you can manage clients, rotate API keys, review usage, and open the marketing widget experience that powers your public site embed.
Treat embed keys like passwords: scope them per environment (staging vs production) when you have multiple workspaces, and rotate if a key ever leaks.
Widget behavior
Network
On first load the widget requests public widget settings (colors, FAQ, knowledge, titles). Chat messages are sent to Guidly's chat API with page context so answers can reference the DOM structure responsibly.
Tutorial flows
When tutorial mode is enabled and the model returns a structured flow, Guidly can highlight elements via selectors, show a step counter, and listen for the appropriate user action before advancing. If a selector cannot be resolved, the widget logs a warning and attempts to recover gracefully.
Accessibility
The launcher exposes an accessible name; the chat panel uses standard inputs and buttons. Respect user motion preferences—Guidly reduces decorative motion when prefers-reduced-motion is set.
Troubleshooting
Widget never appears
Confirm the script URL returns 200, the embed key is present, and ad blockers are not stripping third-party scripts. Check the browser console for [Guidly] warnings.
401 or 403 on chat
Usually an invalid or revoked embed key, or a mismatched apiUrl. Verify the key in the dashboard and that requests hit the correct Guidly API host.
Stale copy after a dashboard save
Hard-refresh the page or wait for the next settings fetch. During development you can disable cache in DevTools to verify updates.
Highlights miss the target element
Selectors are sensitive to DOM changes. Prefer stable hooks (data attributes, aria labels) on critical controls and avoid highly dynamic class names.
Resources
- Changelog — granular product updates.
- Security — how we approach trust and reviews.
- Privacy — data handling at a glance.
- Contact — sales, support, and partnerships.
Need something that is not documented here yet (SSO, VPC deploy, custom data retention)? Message the team—we route technical questions quickly.