Segment.io integration base prototype