# How to add chat (text message conversation) while video call in my application?

**URL:** <https://openvidu.discourse.group/t/how-to-add-chat-text-message-conversation-while-video-call-in-my-application/1839>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [August 18, 2020, 1:58pm UTC](https://openvidu.discourse.group/t/how-to-add-chat-text-message-conversation-while-video-call-in-my-application/1839 "2020-08-18T13:58:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@shubham](https://openvidu.discourse.group/u/shubham)\
**Post date:** [August 18, 2020, 1:58pm UTC](https://openvidu.discourse.group/t/how-to-add-chat-text-message-conversation-while-video-call-in-my-application/1839/1 "2020-08-18T13:58:52Z")

</div>

I am using insecure JS in my rails app for front end work. And for the back-end using REST API. I checked the open vidu demo ([https://demos.openvidu.io/openvidu-call](https://demos.openvidu.io/openvidu-call)). It has chat (text message conversation) enable.  
How to do it in insecure js code?

---

<div class="post-metadata">

**Author:** ![CSantosM](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/csantosm/32/16_2.png) [@CSantosM](https://openvidu.discourse.group/u/CSantosM)\
**Post date:** [August 18, 2020, 3:11pm UTC](https://openvidu.discourse.group/t/how-to-add-chat-text-message-conversation-while-video-call-in-my-application/1839/2 "2020-08-18T15:11:13Z")

</div>

Hi,  
Please, check [how to share data between users](https://docs.openvidu.io/en/2.15.0/cheatsheet/share-data/) and [how to send messages](https://docs.openvidu.io/en/2.15.0/cheatsheet/send-messages/).

This ifno is all you need to implement a chatting system in your app with OpenVidu.

Cheers
