Example connecting and fetching data from theforeman