Pendo integration
Command AI's integration with Pendo Analytics works in two directions:
- Command AI —> Pendo: send Command AI-generated events to Pendo, so you can build dashboards using Command AI events (and mix them with other events captured by Pendo)
- Pendo —> Command AI: use Pendo user properties and events for Who and When targeting in Command AI
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 Command AI 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 Command AI
Sending Properties to Command AI
You can send any of the existing user properties that you send to Pendo to Command AI. 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 Command AI:
window.CommandBar.boot(userID, userProperties);
// Adding one-off or session only properties to Command AI is easy too:
window.CommandBar.addMetadata("userIsWorkspaceOwner", true);