Before you can use rollApp Cloud API you need to get your application published on rollApp Cloud Platform and get an API key. Once you get an API key, you can add rollApp Cloud API client to your page.


Domain whitelisting

The API key is tied to the domain, when you create an application. You can then use this key to access rollApp Cloud API only on that domain.

var key = "SeCur3AP1K3y";

var rollAppCloud = new RollAppCloud(key, function() {
  // oninitcomplete handler

During initialization rollApp Cloud API client makes requests to rollApp backend. Until these requests are processed you should not use isBrowserSupported. If you need to perform your own initialization based, e.g. activate application launch buttons, you should do that in oninitcomplete handler.