Dashboard Apps: native surfaces, audience and security

System Admin

Last updated on Nov 23, 2026

Overview

Dashboard Apps embed an external web application inside VL2A Chat. With native surfaces enabled, an authorized manager can install each app in the conversation or the account sidebar, control who can see it, and migrate from the legacy integration without interrupting existing apps.

The feature switch is deliberately off by default. While it is off, existing Dashboard Apps continue to use the legacy conversation experience; native installation screens and APIs are unavailable.

Prerequisites

  • An account Administrator, or a custom role with integration_manage permission.
  • The dashboard_apps_native_surfaces feature enabled for the account exclusively by Super Admin.
  • An app URL reachable from every agent's browser. Use HTTPS in production.
  • Permission for the app URL to be embedded: its CSP frame-ancestors policy must allow the exact VL2A Chat origin, and it must not send a conflicting X-Frame-Options header.

Step by step

  1. Open Settings → Integrations → Dashboard Apps and select Add a new dashboard app.
  2. Enter a recognizable name and the exact HTTP(S) URL. Query strings and fragments are preserved; use them only for non-sensitive static parameters such as tenant, language, or route.
  3. In the same guided form, choose where the app should appear:
    • Conversation displays it with the selected conversation context.
    • Sidebar displays it at account level. Choose one of the native categories — Support, Contacts & CRM, Applications, Commercial, Productivity, Automation, Growth, or Analytics & Settings —, select an icon, and review the direct-item preview before saving.
  4. Choose the compatibility mode:
    • Legacy keeps the previous iframe messaging behavior while you migrate.
    • V2 uses the versioned Dashboard App SDK bridge and requires a distinct origin.
    • Dual temporarily supports legacy and V2 during a controlled migration.
  5. Under Data and identity, review what each V2/dual installation may receive. The complete default includes current-user email, signed identity and, in conversations, contact email and phone. Disable only what the app does not need; session/API tokens are never granted. New native apps preselect V2 and show these grants before creation. Legacy/dual displays its broader legacy-context warning.
  6. Save. The app and selected surfaces are created together, enabled and initially visible to the whole account.
  7. On the app card, edit each surface to enable or disable it and change its category, icon, readable position, capabilities, or audience. Positions use First and After..., with no manual numbers. Use Add location later when you want to include a location that is not configured yet.
  8. Under Audience, All makes it available to eligible account members. Selected can restrict it to administrator/agent roles, teams and individual users; matching any selected criterion grants visibility.
  9. A sidebar app becomes a direct item in the selected category. The Applications group sits immediately below Contacts & CRM and appears only when at least one visible app is assigned to it. Position is normalized per category; conversation positions are normalized among app tabs.
  10. Select Test on the configured location. The preview uses the real URL, query string, hash, sandbox, and bridge. Under V2 the result confirms the handshake. Under Legacy validation is visual and the dialog says so. Under Dual the dialog lists each bridge separately — read that breakdown: agents keep working through the legacy lane even when V2 fails, so the overall status can read ready while the migration is blocked.
  11. Also test with one administrator and one regular agent before expanding the audience.

Settings & options

  • One app can have at most one installation on each surface.
  • An installation exposes surface, compatibility_mode, enabled, position, sidebar_category, sidebar_icon, capabilities, frame_permissions, and audience. Category and icon exist only on sidebar resources, use closed enums, and are selected through the visual picker.
  • Core account, current-user, permissions, appearance and installation capabilities are required. Conversation, contact and message capabilities exist only on the conversation surface. Email/phone and identity:assertion are explicit grants configurable per installation.
  • Audience is an access boundary, not merely a visual filter. A user who is outside it must not receive that installation through the interface or API.
  • Administrators and custom roles with integration_manage can manage installations and inspect audience details. Their management list can include visible: false rows because they are disabled or outside the manager's own audience, but those rows never mount in conversation, sidebar or a deep link. Other agents see only enabled installations that match their role, team or user identity.
  • Reordering is optimistic: if another administrator changed the installation first, reload the list before trying again.

Frame permissions

In V2 and Dual modes the app runs in a restricted frame: it cannot open new tabs, download files, use alert/confirm, copy to the clipboard, or reach the camera, microphone, location or screen. That default stays in force for every installation, new or existing, until an administrator allows something.

Under Settings → Integrations → Dashboard Apps, edit the installation and use the Frame permissions section. Each permission belongs to one installation: allowing it for the conversation tab does not allow it for the sidebar or for another app.

Permission What the app becomes able to do When to allow it
Open new tabs and windows (popups) Open links and files in another tab, including PDFs in the browser viewer The app has "open in a new tab" buttons or shows documents
Download files (downloads) Start downloads to the agent's computer The app offers exports, attachments or reports
Show browser dialogs (modals) Use alert, confirm, prompt and printing The app confirms actions with native dialogs or prints
Copy to the clipboard (clipboard_write) Copy text and links The app has copy buttons
Use full screen (fullscreen) Fill the whole screen when the agent asks The app shows video, a map or a dashboard
Read the clipboard (clipboard_read) — sensitive Read what the agent last copied Only when pasting from a button is essential to the app
Use the camera (camera) — sensitive Ask for the agent's camera Video calls, code scanning or document capture
Use the microphone (microphone) — sensitive Ask for the agent's microphone Calls or audio recording
Use the location (geolocation) — sensitive Ask for the device location Routing or field service
Capture the screen (display_capture) — sensitive Ask to record or share the screen Remote support or recording a demo

Other device and browser permissions, all sensitive and confirmed when enabled. They sit in the More device and browser permissions group, collapsed by default:

Permission What the app becomes able to do
Lock the mouse pointer (pointer_lock) Capture and hide the mouse pointer until the agent presses Esc
Lock the screen orientation (orientation_lock) Keep the screen in portrait or landscape on mobile devices
Present on another screen (presentation) Start a presentation on a second screen or a cast device
Request its own cookies (storage_access) Ask the browser for its own cookies and storage, for example to keep the agent signed in to it
Read the accelerometer (accelerometer) Read the device's acceleration sensor
Read the ambient light sensor (ambient_light_sensor) Read how bright the surroundings of the device are
Play media automatically (autoplay) Start audio and video without the agent pressing play
Use Bluetooth devices (bluetooth) Ask to connect to nearby Bluetooth devices
Control a shared screen (captured_surface_control) Scroll and zoom a tab the agent is sharing with it
Read processor load (compute_pressure) See how busy the device's processor is
Use cross-origin isolation (cross_origin_isolated) Use high-precision timers and shared memory when it also sends the required isolation headers
Play protected media (encrypted_media) Play video and audio protected by digital rights management
Use game controllers (gamepad) Read connected game controllers
Read the gyroscope (gyroscope) Read the device's rotation sensor
Use HID devices (hid) Ask to connect to devices such as barcode readers and special keyboards
Sign in with a federated account (identity_credentials_get) Use the browser's federated sign-in dialog
Detect when the agent is idle (idle_detection) Ask to know when the agent stops using the computer or locks the screen
Detect languages on the device (language_detector) Use the browser's built-in language detection
Use the browser's AI model (language_model) Send prompts to the language model built into the browser
List installed fonts (local_fonts) Ask for the list of fonts installed on the agent's computer
Reach the local network (local_network) Ask to send requests to devices and servers on the agent's local network
Reach services on the agent's computer (loopback_network) Ask to send requests to services running on the agent's own computer
Read the magnetometer (magnetometer) Read the device's compass sensor
Use MIDI devices (midi) Ask to connect to musical instruments and MIDI controllers
Recognize speech on the device (on_device_speech_recognition) Use the browser's on-device speech recognition
Read one-time codes from SMS (otp_credentials) Ask the browser for a verification code received by SMS
Use the browser's payment dialog (payment) Open the browser's payment dialog to charge a saved payment method
Use picture-in-picture (picture_in_picture) Keep a video playing in a small floating window
Create passkeys (publickey_credentials_create) Ask the agent to register a passkey or security key for it
Sign in with passkeys (publickey_credentials_get) Ask the agent to sign in to it with a passkey or security key
Keep the screen on (screen_wake_lock) Stop the screen from dimming or locking while it is open
Use serial devices (serial) Ask to connect to devices on a serial port, such as scales and printers
Choose the audio output (speaker_selection) List the speakers and headsets and choose where its audio plays
Summarize text on the device (summarizer) Use the browser's built-in summarizer
Translate text on the device (translator) Use the browser's built-in translator
Use USB devices (usb) Ask to connect directly to USB devices
Open the system's share dialog (web_share) Open the device's share dialog to send text, links or files to other applications
Manage windows across screens (window_management) Ask for the layout of the agent's screens and place its windows on them
Use virtual and augmented reality (xr_spatial_tracking) Start an immersive session and track the position of the headset

The same group also holds the advertising measurement and tracking permissions. They are sensitive, off until an administrator enables them, ask for a confirmation the first time, and apply to the app's own origin only. Allow them only when you know why the app needs them:

Permission What the app becomes able to do
Measure ad conversions (attribution_reporting) Register ad clicks and views and report the conversions they lead to; used for advertising measurement
Read the agent's browsing interests (browsing_topics) Ask the browser for interest topics inferred from the agent's browsing history; used for advertising and tracking
Issue anti-fraud trust tokens (private_state_token_issuance) Store private trust tokens in the agent's browser; they carry a limited signal across sites
Redeem anti-fraud trust tokens (private_state_token_redemption) Read whether another site vouched for the agent through those tokens
Read detailed browser and device information (user_agent_client_hints) Read the exact browser and system versions, processor architecture, device model and form factor, which can identify the device
Send requests after the page closes (deferred_fetch) Queue requests that the browser sends after the app is closed; often used for analytics and tracking
Send small requests after the page closes (deferred_fetch_minimal) Queue a small amount of data sent after the app is closed; often used for tracking beacons
Run code when the page closes (unload) Run code while the app is being closed, which can slow down navigation
Make screen reader announcements (aria_notify) Ask the agent's screen reader to announce messages

user_agent_client_hints is a single choice that covers the whole family of detailed browser hints (architecture, bitness, full version list, model, platform version, WoW64 and form factor). An app without any of these permissions keeps exactly the frame it had before.

How the security works:

  • The administrator grants, never the app. The app cannot request or widen its own permission; it is only told what was allowed.
  • The list is closed. There is no permission that lets the app navigate or replace the dashboard page, and none of them gives access to more account data: data stays governed by capabilities.
  • Device and clipboard permissions apply to the app's own origin only. If the app redirects to another domain, that domain does not inherit the permission.
  • Sensitive permissions are shown apart, ask for a confirmation the first time they are enabled, and remain subject to the browser's own prompt to the agent.
  • Only whoever already manages installations can manage permissions (administrators and roles with integration_manage). A concurrent change is refused and asks for a reload, like the other fields.
  • In Legacy mode the frame has no sandbox at all, so the permissions have no effect and the screen says so instead of showing boxes that do nothing. Prefer V2 with the permissions you need over going back to Legacy: you allow only what the app uses and keep the context and verified identity.

The installation row shows how many permissions are active and flags a sensitive one. In Test, open Effective frame policy to see exactly which attributes are applied.

Use cases

  • Show CRM or order context beside a conversation.
  • Put an account-wide operations panel in the sidebar.
  • Integrate CRM and ERP with email, WhatsApp, SMS and other inbox conversations through the same omnichannel context; the app receives allowed IDs/context, never channel-provider credentials.
  • Roll out a new internal app to one team before enabling it for everyone.
  • Move a legacy conversation app to the V2 bridge with Dual, validate it, then select V2.

Tips, limits & best practices

  • Use HTTPS and a separate app origin. V2 rejects same-origin embedding because origin isolation is part of its trust boundary.
  • Never put API tokens, passwords or personal data in the URL. Query strings and fragments are useful for static parameters but can appear in browser history and the app server logs. The host preserves existing parameters and, in V2/dual, adds only cl_* names for dashboard origin, IDs, surface, protocol and locale. Every cl_* name is reserved: the host removes static values in that namespace and writes back only the permitted launch parameters.
  • Native creation requires exactly one HTTP(S) frame. When the feature is enabled, Super Admin prepares legacy apps with one frame and reports only truly incompatible definitions.
  • Grant the smallest practical audience and review team/user membership periodically.
  • Treat data delivered by the SDK as read-only context. Perform business changes through an authenticated backend and the REST API, where authorization and audit controls apply.
  • When an app backend or n8n must verify who opened the app, use the two-minute signed identity and public introspection. It proves account/user/installation identity but never authorizes REST/MCP.
  • The app can ask the host to resize its frame or open a link, but the V2 bridge is not a general proxy for arbitrary API calls.
  • Plain HTTP may be useful for local development, but browsers block mixed content when VL2A Chat itself runs over HTTPS. An HTTP warning does not bypass that browser protection.

Troubleshooting

  • Native settings do not appear: confirm the feature is enabled for this account. The legacy Dashboard Apps integration remains available while the flag is off.
  • The feature cannot be enabled: only Super Admin can activate it. The operator prepares compatible apps; correct reported IDs so each app has exactly one HTTP(S) frame.
  • The frame is blank or says it was refused: use Test to reproduce the real configuration, then inspect the app response for CSP frame-ancestors and X-Frame-Options; allow the exact VL2A Chat origin. X-Frame-Options: SAMEORIGIN blocks every dashboard on a different origin, including localhost; Legacy removes the SDK requirement but does not bypass this browser policy.
  • HTTP works locally but not in production: serve the app over HTTPS. A secure page cannot embed active HTTP content in modern browsers.
  • V2 reports an unsafe origin: host the app on a different origin from VL2A Chat; changing only the path is not enough.
  • An agent cannot see the app: confirm it is enabled, installed on the expected surface, and that the agent matches at least one configured role, team or user selector.
  • The Applications group is missing: assign at least one enabled, visible app to the Applications category. The empty group is hidden automatically.
  • The order changed after saving: another administrator may have reordered the surface. Reload and submit the current version again.
  • The SDK handshake times out: the dashboard re-sends the invitation for up to 10 seconds from frame load, so a timeout means the app did not answer within that window. Start with the app — it must call the SDK's connect() as soon as its page loads. Then verify the dashboard origin passed to the SDK, embedding headers, protocol version and that no proxy strips browser messaging behavior. Under Dual, use the per-bridge breakdown in Test to see the V2 error; to see it raw, switch the installation to V2 temporarily.
  • Email or phone is missing: confirm V2/dual and the current_user:email, contact:email and contact:phone capabilities. Contact data exists only on the conversation surface.
  • Identity returns capability_denied: enable identity:assertion and confirm the installation is active, visible to the user and the feature remains enabled.
  • The connection dropped and the app shows "Reconnecting": when real-time updates reconnect, the app stays open with everything already typed in it, but stops exchanging data with VL2A Chat until its access is confirmed again. If the check takes longer than one second, a discreet "Reconnecting and checking the app's access" notice appears in the corner of the frame and goes away by itself. If access to the app changed (for example, the installation was edited), the frame closes, shows "Checking access to this app" and reopens by itself, reloaded.
  • "Dashboard apps could not be loaded" appears with the Try again button: the dashboard tried to confirm access again automatically, after 2, 5 and 15 seconds, and every attempt failed; or the server answered that the access no longer exists. Check your connection and click Try again, which starts the attempts over. If the app was disabled or removed, it leaves the list or shows the unavailable notice.

See also