Integrating RocketChat with Meteor app

Hello.
I have my own meteor app and I want to integrate RocketChat with my app. I can see that RocketChat is also build on top of meteor. Is it possible to use meteor DDP library to connect with RC realtime api?
I cannot find a way to subscribe to messages - with Meteor you subscribe to local collection. Also I cannot find how to authenticate with token to RC server.
But I feel like using separate libraries for DDP connection is too redundant. What is the best approach to integrate RC with meteor app? Are there any advantages that both apps are written with meteor?
Thank you for your help!

1 Like