const ZoomdataSDK = window.ZoomdataSDK;

const application = {
  host: 'preview.zoomdata.com',
  port: 443,
  path: '/zoomdata',
  secure: true,
};

const credentials = {
  key: 'PHD5icxZK5',
};

export function getClient() {
  return ZoomdataSDK.createClient({ application, credentials });
}

const ZoomdataSDK = window.ZoomdataSDK;

const application = {
  host: 'live.zoomdata.com',
  port: 443,
  path: '/zoomdata',
  secure: true,
};

const credentials = {
  key: '58cbe712e4b0336a00f938d7',
};

export function getClient() {
  return ZoomdataSDK.createClient({ application, credentials });
}

Update connection to live server