This article is for administrators. It describes what the Dawiso instance does for the browser extension and how to deploy the extension to managed browsers.

Enable the extension

The extension is off by default. An administrator turns it on with the environment configuration key be.module.browser_extension.enabled.

KeyTypeDefault
be.module.browser_extension.enabledBOOLEANfalse

While the key is false, the instance reports the extension as disabled, and requests to find an object or read an object card are refused; the panel shows The extension is not enabled.

An already-open panel picks up a key change at its next object lookup, when the user chooses Try again, or when the panel reopens. After you switch the key on, selecting Try again shows the chat and re-checks the pages that were refused while the key was off.

Requirements

The extension signs users in through the instance’s identity service, which needs:

  • Identity-service authentication mode: be.module.auth.settings.authentication_type set to ["identity-service"].
  • A completed enrollment that includes an instance_url.
  • The extension ID listed in Dawiso Identity’s BROWSER_EXTENSION_IDS setting. Dawiso does this for every environment it operates.

If the authentication mode or enrollment is missing, the instance reports itself as not supported for the extension, even when the key is true. If the extension ID is missing from BROWSER_EXTENSION_IDS, the sign-in window shows an error about the redirect.

Users sign in with the same identity service as for the Dawiso web application.

Force-install the extension

Use the Chrome Web Store item ID of the extension, shown as <EXTENSION_ID> below. The ID is assigned when the item is first published; replace the placeholder with the ID shown on the store listing page.

Set the Chrome policy ExtensionSettings, for example in the Google Admin console under Devices > Chrome > Apps & extensions:

{
  "ExtensionSettings": {
    "<EXTENSION_ID>": {
      "installation_mode": "force_installed",
      "update_url": "https://clients2.google.com/service/update2/crx",
      "toolbar_pin": "force_pinned"
    }
  }
}

The older ExtensionInstallForcelist policy with the entry <EXTENSION_ID>;https://clients2.google.com/service/update2/crx works as well.

Managed configuration

Every value set by policy is pre-filled and locked in the extension settings. Values must be https:// origins: a scheme, a host name, and an optional port, nothing else. The policy schema refuses any other value. chrome://policy reports the error, and Chrome doesn’t hand the value to the extension.

A managed list still locks its field even when no valid entry remains, so correct the policy value rather than expecting the field to open. An instanceUrl that isn’t a valid https:// origin is ignored and doesn’t lock the field.

KeyTypeAbsent or emptySetExample
instanceUrlstringUsers enter it themselves. It’s the only setting the extension needs.Pre-filled and lockedhttps://dawiso.example.com
databricksHostslist of stringsEvery workspace under azuredatabricks.net, cloud.databricks.com, and gcp.databricks.com is recognized.Only the listed workspaces are recognized.["https://adb-1234567890123456.7.azuredatabricks.net"]
tableauHostslist of stringsEvery site on *.online.tableau.com (Tableau Cloud) is recognized.Only the listed hosts are recognized.["https://tableau.example.com"]
powerBiHostslist of stringsapp.powerbi.com and app.fabric.microsoft.com are recognized.Only the listed hosts are recognized.["https://app.powerbi.com", "https://app.powerbigov.us"]

The three host lists are optional:

  • Set one only to add an address outside the default domains (such as a private-link Databricks workspace, an on-premises Tableau Server, or a sovereign-cloud Power BI service), or to narrow recognition to specific workspaces.
  • A set list replaces that tool’s defaults, so a list that adds a private-link workspace must also name every public workspace that should stay recognized, and a tableauHosts list that adds a Tableau Server must also name your Tableau Cloud host (for example https://10ax.online.tableau.com) to keep it.
  • An empty managed list keeps the defaults and still locks the field.
  • Narrowing changes recognition only: the extension keeps its install-time access to the default domains.

Snowflake is always app.snowflake.com, and Google BigQuery is always the Google Cloud console, console.cloud.google.com/bigquery.

In the Google Admin console, open the extension and set Policy for extensions. The console expects every key wrapped in a Value object and hands the extension the bare value:

{
  "instanceUrl": { "Value": "https://dawiso.example.com" },
  "databricksHosts": { "Value": ["https://adb-1234567890123456.7.azuredatabricks.net"] },
  "tableauHosts": { "Value": ["https://tableau.example.com"] },
  "powerBiHosts": { "Value": ["https://app.powerbi.com", "https://app.powerbigov.us"] }
}

The same four keys apply on Windows (Group Policy or registry), Linux (a managed policy file), and macOS (a configuration profile). The other channels take the values directly, without the Value wrapper. For example, on Linux, save this file as /etc/opt/chrome/policies/managed/dawiso.json:

{
  "3rdparty": {
    "extensions": {
      "<EXTENSION_ID>": {
        "instanceUrl": "https://dawiso.example.com",
        "databricksHosts": ["https://adb-1234567890123456.7.azuredatabricks.net"],
        "tableauHosts": ["https://tableau.example.com"],
        "powerBiHosts": ["https://app.powerbi.com", "https://app.powerbigov.us"]
      }
    }
  }
}

To check the result on a managed machine, open chrome://policy. The extension settings show Set by your administrator under each preset field.

Host access on managed browsers

Access to these domains is part of the install, granted automatically:

  • Power BI and Microsoft Fabric: app.powerbi.com, app.fabric.microsoft.com
  • Databricks: *.azuredatabricks.net, *.cloud.databricks.com, *.gcp.databricks.com
  • Snowflake: app.snowflake.com
  • Google Cloud console: console.cloud.google.com
  • Tableau Cloud: *.online.tableau.com

On these addresses, the extension reads only the address and the title of a tab, and runs no content scripts. The one exception is console.cloud.google.com/bigquery: with the scripting permission, the extension runs one read-only function in that tab, which returns only the kind, the project ID, the dataset ID, and the name of the open BigQuery object. Chrome grants host access per origin, so the permission covers the whole Google Cloud console, but the extension recognizes only addresses under /bigquery and ignores every other console page.

Every other host is an optional permission that each user grants once, and policy can’t pre-grant it:

  • The Dawiso instance. The panel shows Allow access to Dawiso with the Allow access button.
  • A Databricks, Tableau Server, or Power BI host outside the default domains. The user opens the extension settings, where the policy values are pre-filled, and chooses Save. Chrome then asks for access to the instance and every such host in one prompt. Until then, the panel doesn’t recognize pages on those hosts. Hosts under the default domains need no prompt.

The identity provider needs no host access. Policy can only block hosts (runtime_blocked_hosts), which breaks the extension for that host.

Changing instanceUrl signs users out. The stored tokens, queued usage events, and per-tab conversations of the previous instance are discarded. Reaching one instance through another host name works as long as instanceUrl is the address users sign in under.

Usage telemetry

The extension sends usage events to the Dawiso instance, where they’re stored with the other user events. The instance registers five event types.

Event typeWhat it records
browser_extension.panel.openThe tool of the page where the user opened the panel.
browser_extension.context.resolveThe tool, the kind of object, and the result: exact, probable, or none.
browser_extension.chat.askWhether the question had an object as context, and the tool.
browser_extension.answer.feedbackThe rating of an answer: up or down.
browser_extension.object_link.openWhere the user opened an object from: card or chip.

The extension never records the text of a question, selected text, or page content.

Troubleshooting

The screens the panel shows are described in Install and use the browser extension. These causes are specific to administrators:

SymptomCause
General chat on a Databricks pagedatabricksHosts is set and doesn’t list the workspace, or the workspace is outside the default domains and the user hasn’t saved the settings to grant access to it.
General chat on a Tableau pagetableauHosts is set and doesn’t list the host, or the host is a Tableau Server outside *.online.tableau.com and the user hasn’t saved the settings to grant access to it.
The extension is not enabledbe.module.browser_extension.enabled is false, or the instance is too old to have the endpoint.
This instance is not supportedThe instance doesn’t sign in through Dawiso Identity, or its enrollment is incomplete, for example no instance_url.
The sign-in window shows an error about the redirectThe extension ID is missing from BROWSER_EXTENSION_IDS of Dawiso Identity.