How to integrate Mattermost with backend magento 2 and frond end react native mobile application? what is the flow?

We are using Magento 2 admin and react native mobile application. We would like to integrate Mattermost chat feature in client side ( react native mobile application ). How to communicate mobile application, Magento 2 with Mattermost. What is the flow? How do we integrate this?

Please advise. Thanks.