Set Up the Demo Extension

This demo needs Chrome Canary, the WebRTC Diagnostics Relay extension force-installed at id hchndajkciejddfgpilblfimhldechnk, and the feature flag that turns on chrome.enterprise.webrtc. Pick your OS below.

macOS

  1. Install Chrome Canary if it is not already on the machine.
  2. Download the profile that force-installs the extension: demo.mobileconfig. It already has this extension's id and this server's update URL built in.
  3. Double-click the downloaded file. It opens System Settings. Go to General, then Device Management. Find "Agentforce Demo: Force-install WebRTC Diagnostics Relay" and click Install. Enter your password when asked.
  4. A plain managed-preferences plist does not work on current macOS. Chrome never receives the value at all, the profile above is what actually reaches it. Some older macOS releases still accept a plain plist drop.
  5. Quit Canary completely (Cmd-Q, not just closing the window) and relaunch it from Terminal with the flag that turns the API on.
    "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary" \
      --enable-features=ApiEnterpriseWebrtc
    The Dock icon does not carry this flag. Launching Canary from the Dock after this step leaves the API off even with the extension installed.
  6. Open chrome://extensions, find WebRTC Diagnostics Relay, and click Extension options. Set Ingest base URL to https://sf.patrickkettner.com and Demo token to the value Patrick gives you, then save.
  7. Check chrome://policy for ExtensionSettings. "Not set" means the profile was not approved in System Settings. If it is set but the extension never appears force-installed, this Mac is not carrying enough management authority for Chrome to trust an off-store extension policy. A profile installed by hand this way is still local device management, the same low trust tier as a bare plist. A Mac already enrolled in real MDM does not hit this.

Fixing "Installed, But The API Is Not Exposed"

chrome.enterprise.webrtc sits behind the ApiEnterpriseWebrtc feature flag, off by default with no chrome://flags entry, so it only turns on through a command-line switch passed at launch. The extension can force-install correctly and still see nothing at chrome.enterprise.webrtc if Canary was running without that switch.

Quit Canary completely first. The flag only takes effect on a fresh process, and a Canary instance still running in the background will just reopen its existing windows without picking up the switch.

macOS

"/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary" \
  --enable-features=ApiEnterpriseWebrtc

Windows

"%LOCALAPPDATA%\Google\Chrome SxS\Application\chrome.exe" --enable-features=ApiEnterpriseWebrtc

Never launch Canary from the Dock, Start menu, or taskbar for this demo. None of those shortcuts carry the flag.

Demo Token

Get the demo token from Patrick directly and paste it into the extension's options page. It does not appear anywhere on this site or in this project's source.