# Setting up Webchat Channel

**URL:** <https://forum.rasa.com/t/setting-up-webchat-channel/1207>\
**Category:** Rasa Open Source\
**Created:** [September 18, 2018, 5:49pm UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207 "2018-09-18T17:49:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![custodio](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/custodio/32/520_2.png) [@custodio](https://forum.rasa.com/u/custodio)\
**Post date:** [September 18, 2018, 5:49pm UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/1 "2018-09-18T17:49:46Z")

</div>

Hi everybody,

I’m trying to put this webchat widget ([https://github.com/mrbot-ai/rasa-webchat](https://github.com/mrbot-ai/rasa-webchat)) on my page. But I still have not figured out how to use the webchat channel: [https://github.com/mrbot-ai/rasa-addons/](https://github.com/mrbot-ai/rasa-addons/)

Can anybody help me to set it up in some simple steps?

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 20, 2018, 9:11am UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/2 "2018-09-20T09:11:08Z")

</div>

You can use the socket input channel instead 🙂 [https://rasa.com/docs/core/connectors/#socketio-setup](https://rasa.com/docs/core/connectors/#socketio-setup)

---

<div class="post-metadata">

**Author:** ![custodio](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/custodio/32/520_2.png) [@custodio](https://forum.rasa.com/u/custodio)\
**Post date:** [October 19, 2018, 12:45am UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/3 "2018-10-19T00:45:54Z")

</div>

Ok I’m trying to setup using [socket.io](http://socket.io) on your rasa-demo bot. I’ve included:

```
socketio:
    user_message_evt: user_uttered
    bot_message_evt: bot_uttered

```

Also I’m running it with the runscript:

```
python -m rasa_core.run -d models/dialogue -u models/nlu/current --debug --endpoints endpoints.yml --credentials credentials.yml

```

And I’m redirecting the webchat widget to:

```
http://localhost:5005

```

I also tried to point it out to:

```
http://localhost:5055/webhook

```

But I keep getting:

127.0.0.1 - - [2018-10-18 21:41:12] “GET /socket.io/?EIO=3&transport=polling&t=MQ9nDx0 HTTP/1.1” 404 342 0.000936

Error on the terminal. What did I do wrong? ☹

---

<div class="post-metadata">

**Author:** ![custodio](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/custodio/32/520_2.png) [@custodio](https://forum.rasa.com/u/custodio)\
**Post date:** [October 19, 2018, 12:58am UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/4 "2018-10-19T00:58:57Z")

</div>

Ok, nvm.

Just in case anybody is also getting the issue. That’s because in the requirements of the demo-bot it uses a version of rasa-core that does not have [socket.io](http://socket.io) yet

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [October 22, 2018, 12:08pm UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/5 "2018-10-22T12:08:23Z")

</div>

oops my bad, it should be 0.11.4 😃

---

<div class="post-metadata">

**Author:** ![shivangpatel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/shivangpatel/32/3951_2.png) [@shivangpatel](https://forum.rasa.com/u/shivangpatel)\
**Post date:** [July 23, 2019, 6:49am UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/6 "2019-07-23T06:49:32Z")

</div>

How to recompile this repo and produce that final.js file from it ? @custodioI know it’s a react app and i know some basic things. I also tried `npm install` and `build run` command.

---

<div class="post-metadata">

**Author:** ![shivangpatel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/shivangpatel/32/3951_2.png) [@shivangpatel](https://forum.rasa.com/u/shivangpatel)\
**Post date:** [July 24, 2019, 11:00am UTC](https://forum.rasa.com/t/setting-up-webchat-channel/1207/7 "2019-07-24T11:00:40Z")

</div>

Solved. Only some dependency issue.
