connect to xsys api