# Create a custom socketio channel

**URL:** <https://forum.rasa.com/t/create-a-custom-socketio-channel/15035>\
**Category:** Rasa Open Source\
**Created:** [August 30, 2019, 10:13am UTC](https://forum.rasa.com/t/create-a-custom-socketio-channel/15035 "2019-08-30T10:13:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![azharameen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/azharameen/32/3104_2.png) [@azharameen](https://forum.rasa.com/u/azharameen)\
**Post date:** [August 30, 2019, 10:13am UTC](https://forum.rasa.com/t/create-a-custom-socketio-channel/15035/1 "2019-08-30T10:13:24Z")

</div>

Hi, I want to log the user message and bot response into a seperate database or log. Can anyone suggest me how can I do this. Or can anyone give me an example script to run rasa socketio channel and procedure to do this.

Thanks

---

<div class="post-metadata">

**Author:** ![azharameen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/azharameen/32/3104_2.png) [@azharameen](https://forum.rasa.com/u/azharameen)\
**Post date:** [August 30, 2019, 11:03am UTC](https://forum.rasa.com/t/create-a-custom-socketio-channel/15035/2 "2019-08-30T11:03:06Z")

</div>

In th docs there is an example, but I cant understand how to call the file from credentials and what are the arguments to use.

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [September 2, 2019, 11:46am UTC](https://forum.rasa.com/t/create-a-custom-socketio-channel/15035/3 "2019-09-02T11:46:23Z")

</div>

HI @azharameen. If you want to save the messages in a separate database or log, you need a different tracker store rather than a custom connector. We have some documentation on available pre-built tracker stores [here](https://rasa.com/docs/rasa/api/tracker-stores/). Can you tell me more, where you would like to store the messages so I could provide you with more specific help?

---

<div class="post-metadata">

**Author:** ![azharameen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/azharameen/32/3104_2.png) [@azharameen](https://forum.rasa.com/u/azharameen)\
**Post date:** [September 3, 2019, 4:40am UTC](https://forum.rasa.com/t/create-a-custom-socketio-channel/15035/4 "2019-09-03T04:40:42Z")

</div>

Thanks @Juste, I am using MongoDB tracker store as in documentation. All the conversation stored in **conversations** collection, including bot actions and events. In my app i want to store some data in conversation also i’ll be using “/” commands to fill slots, and button payloads will be visible when retrive it. I dont want to show any commands to user like **/show\_me\_profile** or **/place\_order{“item”:“milkshake”,“qty”:“2”}** instead “Bring me 2 Milkshake” I want to protect user to run commands, but internally i want to run commands from client side. How can I acheive this. Suggest me an idea. thanks
