Supportly
SupportlyDocs
/

Getting Started

Getting Started

Widget Integration

Widget IntegrationPage highlighting & scrolling

AI Configuration

AI Configuration

API Reference

API ReferenceAPI Playground

Team Management

Team Management

Billing

Billing

FAQ / Troubleshooting

FAQ & Troubleshooting

Feature guides

Website actionsWebsite auto loginDomains and keysCustomers and historyChat, tickets and routingCategories and tagsKnowledge base and uploadsNotificationsAnalytics and exportsActivity log

AI prompts

Widget integration prompt
Get started free
SupportlyDocs
Checking account…

Widget Integration

Website actions

Choose a visitor task in Widget settings, connect its website handler, check the intended website and test with explicit confirmation before activation. Your existing widget and website login stay in place. Approved definitions and generated instructions alone do not prove that a handler works. Pro, Business or Enterprise is required for confirmed task testing and activation.

Set up with your coding assistant

  1. 1

    Choose what visitors can do

    Open Widget > Website actions and Add action. Choose Open a page, Show or hide a control, Fill a search or form field, Submit an existing form, Download a file, or Save a signed-in preference. Select explicit availability pages and navigation destinations; neither defaults to the home page. Labels can use any language, while the generated handler ID stays stable.

  2. 2

    Save and connect this task

    Choose a verified connected website, preserve its existing login, and approve the definition with Save actions while production tasks are off. Use Developer instructions for a handoff containing only this task's exact schema, routes and prerequisites. Give it to your website developer/coding assistant. Instructions ready means website connection pending. Basic navigation, local controls and fills need no new private key.

  3. 3

    Check the intended website

    Open every approved page with its installed widget, then choose Check connection in task settings. Supportly compares registered IDs, versions, effects and bounded input schemas without reading page contents or private input values. Missing handlers, required login, a changed key and oversized task schemas have separate recovery directions. A sample appearance preview does not validate the integration.

  4. 4

    Test safely with consent

    The workspace owner chooses Test with consent and acknowledges a synthetic account and safe disposable local/staging data. The generated link is limited to one exact website page, one task definition, one first-use authenticated widget session, three proposals and 15 minutes. Production remains off. Test Confirm and Decline with the actual proposed values. Saved changes/downloads still require website sign-in, normal permissions and a durable server receipt.

  5. 5

    Activate ready tasks

    Refresh connection after successful intended-site tests on every declared page. Tasks show Draft, Needs connection, Needs login, Too large, Ready to test, Ready or Active. Activation requires a recent matching connection and successful exact-definition test, with schemas inside the existing finite plan budget. New activation is bound to the tested website, pages and public key; a newly connected website needs its own test. Existing site-specific disabled overrides remain disabled. Turning tasks off saves immediately and cancels unconsumed confirmations.

Your stack stays yours

This works with your existing framework, authentication and backend. Saved changes and downloads reuse Website Auto Login's private key; if you have not connected it yet, only one private backend credential is needed. Never paste credentials into a coding prompt.

Build your integration prompt

Choose a guided setup or edit every option yourself.

Step 1 of 3·Goal
What do you want to do?
Website integrations

Connect your existing navigation, controls and forms. Browser-only actions need no new environment variables. Visitors confirm every action.

Describe the workflows in Additional instructions. Your assistant generates the code and approval manifest; review it in Widget settings before enabling actions.

Finish the setup steps to generate your prompt.

Scrolling and highlights

Page guidance and confirmed tasks share the Website actions tab in Widget settings. For guidance, keep your existing embed, add unique data-supportly-target IDs to safe visible headings, links or buttons, and describe each target's purpose in your AI instructions or knowledge base. No action handler, import or new environment variable is needed.

Under Scrolling and highlights, enable Highlight the next step and optionally Scroll the highlighted step into view, choose a highlight color, then Save changes. Guidance is available on Pro and above independently of the website task toggle.

Safe page targethtml
1<h2 data-supportly-target="download-help">Download help</h2>
  • Use unique IDs with letters, digits, underscores or hyphens, up to 80 characters. The widget discovers up to 30 current-page IDs without reading field values or private account contents.
  • Exclude inputs, payment areas, iframes and private containers. Mark private containers with data-supportly-private.
  • Ask a relevant question on your actual website and check the target after the completed reply. Test mobile, smooth scrolling, layout changes and dismissal using Done, Escape or visitor input. A dashboard example does not verify installed website targets.

What your website needs

Website actions work with your website's own framework, login system and backend. Gegamo Manifest is a reference example; Gegamo authentication, Supabase and its captcha configuration are not Supportly requirements.

IntegrationSetup
Navigation, controls and form fillsKeep your existing widget embed, register callbacks with the host SDK, and configure their named actions in Widget settings. No additional website environment variables or private key are required for browser-only actions.
Saved changes and download requestsAdd authenticated backend handlers using your existing website login and permissions. Keep one private Supportly server_identity key on that backend; reuse it if Website Auto Login is already connected. Public key ID and exact origin are ordinary configuration copied from your integration setup, not additional secrets.
Hosted SupportlySupportly operates its database, providers and WebSocket service; the dashboard toggle controls action activation. Customers do not configure or migrate that infrastructure.

Environment variable names are an application choice. You can keep public embed settings in your existing configuration; only private credentials must stay on the server. You do not need a second authentication provider or a separate action signing secret.

Enable an integration

  1. 1

    Prepare your website

    Register versioned callbacks in the components that own your router, controls and form handlers. Return needs_user_input when a captcha, browser gesture or missing field requires the visitor. Preserve existing validation and permissions.

  2. 2

    Configure named actions

    An owner or admin uses Add action to enter the readable title, stable ID, version, effect, routes and bounded inputs for an implemented website adapter, then chooses Save actions. Import actions is an optional advanced alternative with a preview before saving. Connected sites must have a verified domain and active public widget key. Only matching registered action IDs and versions are eligible.

  3. 3

    Test before activation

    Keep production tasks off while the owner creates a separate bounded synthetic test link. Check each intended website/page, test explicit Confirm and Decline, verify the actual result or receipt, then refresh readiness and activate. Existing site-specific overrides are preserved; new activation covers only tested exact origins, routes, definitions and public keys. The current Supportly plan and finite resource budget are checked before planning and consent. A website customer's Premium plan grants no Supportly entitlement; no action environment flag is required.

  4. 4

    Authenticate saved changes

    Use Website Auto Login and issue Supportly customer sessions from the actual authenticated website session, including its opaque session binding. A website write must authenticate that session again, verify ownership and CSRF, and consume the one-use permit through your private server_identity key. Credentials stay on the backend.

Register host-owned callbacks

Use the small host SDK before the widget loads. Register callbacks when their component mounts, return their disposer on unmount, and invalidate the registry when route, account or availability changes. A handler may operate only its own integration-defined controls; registrations cannot expand the server's approved manifest.

Load the host SDK firsthtml
1<script src="https://supportly.gegamo.xyz/widget-actions-sdk.js?v=YOUR_WIDGET_VERSION"></script>
2<!-- Mount your registered components before loading the normal widget embed. -->
  • The optional import file is an array with the same ID, version, description, schema, effect and routes, plus requiresIdentity and confirmation: always. The description is the readable action title; no separate name property is needed. It contains no function or executable code. Review the Import actions preview and choose Save actions.
  • Add action produces the same approved configuration through the visual editor. Keep a mapping from each title and ID to its actual source callback and, for writes, its authenticated backend endpoint. Browser discovery advertises availability; it cannot approve actions, enable the workspace or override site policies.
  • Effects are navigate, local_ui, fill, submit, download and persist. Do not add arbitrary selectors, JavaScript, HTTP requests, SQL or model-chosen URLs.
  • No passwords, tokens, captcha answers, payment fields or private page content enter action planning. The browser advertises available IDs, versions, route and page revision; the model sees only server-approved definitions.

Consent, results and lifecycle

  • The widget presents the exact action and proposed values with Confirm and Decline. A chat message saying yes and assistant text are never consent. Submission, download and saved changes always use this control.
  • Consent expires quickly and is tied to the conversation, website account/session, exact origin, current page revision, action version and input hash. Account switching, logout, navigation, handler disposal or changed approval invalidates pending confirmation.
  • Execution is sequential, with at most three steps for one customer request. Local results are described as browser-reported. Saved changes and downloads need an authenticated host-server receipt; assistant success text cannot prove execution.
  • An unknown or disconnected outcome must be reconciled by execution ID. Do not resend a write with a new ID. Store idempotency records with the actual website change, so reloads and retries can read the original outcome.
  • Actions load in a separate lazy bundle. Missing handlers or an unavailable bundle leave ordinary chat usable. Human handoff stops further action planning.

Gegamo Manifest reference integration

The reference website registers navigation to search, download, app, status and contact, installation tutorial controls, the Global toggle, search and Steam App ID fills, confirmed search and download requests, and a saved default Global preference.

Download requests use the existing captcha, bans and quotas. The visitor completes captcha and performs any required browser download gesture. The saved search preference belongs to the canonical authenticated Gegamo account and can be restored; it is separate from identity profile fields and local visual preferences.

Deploy and verify

  • For hosted Supportly, use your existing embed and the host SDK, configure the named actions in Widget settings, and turn on Website Actions. Add your own backend integration only for actions that need it. Website migrations depend on your own data model; Manifest's migration is only for the reference website.
  • Self-hosted Supportly operators apply the Supportly action migration and deploy its app, WebSocket service and versioned bundles together. There is no additional activation flag on the app, WebSocket service or website.
  • Keep the workspace dashboard toggle off until database, replay, downgrade and account-switch checks pass. Turning it off stops new actions and unused confirmations for all connected sites. Advanced site-specific policies can narrow the shared configuration and retain existing disabled overrides.
  • Check confirmation previews, decline/cancel, mobile keyboard access, expired consent, missing handlers and account switching. Save a preference, reload to read it and restore its original value. Check real provider tool-call behavior separately in authorized staging.
  • Execution history in Widget settings shows redacted IDs, effects and statuses. Never log permits, private identity keys, proposed private values or website session credentials.

Previous

Page highlighting & scrolling

Next

AI Configuration

On this page

Set up with your coding assistantScrolling and highlightsWhat your website needsEnable an integrationRegister host-owned callbacksConsent, results and lifecycleGegamo Manifest reference integrationDeploy and verify