example setup to configure kurrency jsapi