integrating with the stream server