adds publishing method to sprinklr client