Initial the SDK

Initialize the SDK by calling 'init({appId})' with your 'appId'

sdk = window.shopline.appExtension.init({ appId: 'your app id'});
root = sdk.universalComponent;

Remark: You can access universalComponent to get the root component.