# Connecting RASA(version 12) to UI

**URL:** <https://forum.rasa.com/t/connecting-rasa-version-12-to-ui/4800>\
**Category:** Rasa Open Source\
**Created:** [January 31, 2019, 6:07am UTC](https://forum.rasa.com/t/connecting-rasa-version-12-to-ui/4800 "2019-01-31T06:07:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prabha](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@Prabha](https://forum.rasa.com/u/Prabha)\
**Post date:** [January 31, 2019, 6:07am UTC](https://forum.rasa.com/t/connecting-rasa-version-12-to-ui/4800/1 "2019-01-31T06:07:48Z")

</div>

@tmbo ,@akelad

I’ve tried a weather bot tutorial similar to the weatherbot example by Justina Petra(Using latest versions of RASA) [https://github.com/JustinaPetr/Weatherbot\_Tutorial/tree/master/Full%20Code%20[Latest%20release%20of%20Rasa%20NLU%20and%20Rasa%20Core]](https://github.com/JustinaPetr/Weatherbot_Tutorial/tree/master/Full%20Code%20%5BLatest%20release%20of%20Rasa%20NLU%20and%20Rasa%20Core%5D)

Even though im getting proper response in the backend,after integrating with the frontend ,response in not getting fetched in the UI.

How do I connect to HTML frontend instead of Slack and what channel should I be using for it? Please help me in this @Juste

---

<div class="post-metadata">

**Author:** ![fallik](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fallik/32/3157_2.png) [@fallik](https://forum.rasa.com/u/fallik)\
**Post date:** [January 31, 2019, 10:01am UTC](https://forum.rasa.com/t/connecting-rasa-version-12-to-ui/4800/2 "2019-01-31T10:01:40Z")

</div>

Hi, I connected this bot to scalableminds’ chatroom just as it is described here: [Github Repo](https://github.com/scalableminds/chatroom)

After cloning the repository execute `yarn install`, `yarn build` and `yarn serve`. (Get yarn [here](https://yarnpkg.com/en/)) Your HTML frontend be available on localhost:8080 (or whatever the console will show you).

> Usage with a standard Rasa Core project
> 
> - Copy `rasa_utils` to your project
> - Install the Python dependencies from `rasa_utils/requirements.txt`
> - Run your bot with `python -m rasa_utils.bot -d models/current/dialogue -u models/current/nlu`
> - The bot server will be available at `0.0.0.0:5005`

You might have to change the paths for your dialogue model and the nlu model.

But: I am facing another issue (because of which i actualy visited the community forum 😉 ): I can’t run any custom action using the html front end.

> 2019-01-31 09:43:08 ERROR rasa\_core.actions.action - Failed to run custom action ‘action\_order’. Action server responded with a non 200 status code of 404. Make sure your action server properly runs actions and returns a 200 once the action is executed. Error: 404 Client Error: NOT FOUND for url: [http://localhost:5055/webhook/](http://localhost:5055/webhook/) 2019-01-31 09:43:08 ERROR rasa\_core.processor - Encountered an exception while running action ‘action\_order’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.

There is no further description of this exception shown in the console. The action endpoint simply answers

> 127.0.0.1 - - [2019-01-31 09:43:08] “POST /webhook/ HTTP/1.1” 404 342 0.017005

Please let me know if you are facing the same issue.

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [January 31, 2019, 11:09am UTC](https://forum.rasa.com/t/connecting-rasa-version-12-to-ui/4800/3 "2019-01-31T11:09:06Z")

</div>

hey @Prabha you can use RestInput Channel to connect your bot to HTML frontend, you can read it here : [https://rasa.com/docs/core/connectors/#restinput](https://rasa.com/docs/core/connectors/#restinput) and if you want the code for connecting to custom UI(HTML Frontend), I have created a custom UI you can get details here :

---

<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:** [January 31, 2019, 6:47pm UTC](https://forum.rasa.com/t/connecting-rasa-version-12-to-ui/4800/4 "2019-01-31T18:47:21Z")

</div>

Hey @Prabha. The suggestions above should get you where you want to go. You can also check out the Rasa [Webchat](https://github.com/mrbot-ai/rasa-webchat) - a great contribution from our community. I wrote a little guide on how to use it in practice [here](http://forum.rasa.com/t/connect-rasa-to-a-web-site-with-the-recommeded-plataform/4019/3).
