Skip to main content

Pendo integration

CommandBar’s integration with Pendo Analytics works in two directions:

  1. CommandBar —> Pendo: send CommandBar-generated events to Pendo, so you can build dashboards using CommandBar events (and mix them with other events captured by Pendo)
  2. Pendo —> CommandBar: use Pendo user properties and events for Who and When targeting in CommandBar
One-time configuration

Once configured, the integration will "just work" — no maintenance required. You will not need to make any code changes to handle new properties.

Sending CommandBar events to Pendo

This is a 1-step integration!

Navigate to Integrations and click Enable on the Pendo integration card.

Using Pendo data and events in CommandBar

Sending Properties to CommandBar

You can send any of the existing user properties that you send to Pendo to CommandBar. Here’s a simplified code snippet:

// Your existing user properties
var userProperties = {
id: "account_id",
name: "Haruki Murakami",
plan: "pro",
role: "admin",

// Set properties for your user in Pendo
pendo.identify({ account: userProperties });

// And additionally sent to CommandBar:
window.CommandBar.boot(userID, userProperties);

// Adding one-off or session only properties to CommandBar is easy too:
window.CommandBar.addMetadata("userIsWorkspaceOwner", true);