All Collections
Setup & Installation
Installation scenarios
How does Chameleon work with Electron apps?
How does Chameleon work with Electron apps?

How to install and use Chameleon if your desktop app is built on Cordova

Pulkit Agrawal avatar
Written by Pulkit Agrawal
Updated over a week ago

Chameleon works with a wide variety of web-based technologies and frameworks. You can create and deliver Experiences on both desktop and mobile devices.

To get an overview of how Chameleon supports different technologies and frameworks, review this article first.


Quick access


Electron JS is an open-source framework (maintained by Github) that allows developers to create cross-OS desktop mobile apps using HTML, CSS, and JS. Example apps built with this include Slack, Visual Studio Code, and Evernote.

Chameleon operates within web environments and will operate within Electron apps, as long as the Electron app resembles a web environment, including:

  • Uses HTML, CSS, JS as the languages within the app

  • Technologies such as localStorage, MutationObserver and cookies are not disabled

  • The Chameleon code snippet can communicate with the server (to get and send data)

  • Add Chameleon’s domains to your Electron app’s domain allowed list:

    • https://*.chameleon.io

    • https://*.chmln-cdn.io

👉 Learn more about the technologies that Chameleon supports here.

The Chameleon Builder is the interface that you can use to create Chameleon Experiences. This is typically accessed once a Chameleon account has been created and the Chameleon code snippet is installed, via the Chameleon Dashboard or the Chameleon Chrome Extension.

Only people that have access to your Chameleon account are allowed to create Experiences for your application. You'll know you have access when you enter the Chameleon Dashboard (while you have the Chrome Extension installed) or launch the Builder from within the Dashboard.

This makes it easy for you to create Experiences for your Electron app if the underlying app is also accessed via the web browser.

If this is not possible in your case, then the Chameleon team can help you manually set a cookie in the Electron app that will identify you as an authorized Chameleon user and show the Builder for your account. Please email us, we're happy to help out with this. 😊


Need more?

Did this answer your question?