# To have chat widget which is recommended way

**URL:** <https://forum.rasa.com/t/to-have-chat-widget-which-is-recommended-way/68175>\
**Category:** Welcome to the Rasa Community Forum!\
**Created:** [November 6, 2025, 10:59am UTC](https://forum.rasa.com/t/to-have-chat-widget-which-is-recommended-way/68175 "2025-11-06T10:59:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev-kathir](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dev-kathir](https://forum.rasa.com/u/dev-kathir)\
**Post date:** [November 6, 2025, 10:59am UTC](https://forum.rasa.com/t/to-have-chat-widget-which-is-recommended-way/68175/1 "2025-11-06T10:59:39Z")

</div>

I have given task to create chatbot to reduce workload i planned to use web widget provided by rasa but people are using different ways of creating widget: which way is recommended. explain to me?

Way 1: Using tag in html

```
</rasa-chatbot-widget>

```

i have installed the necessay packages inside my localdirectory i have’nt used any external js links i donwloaded and kept inside my working directory. like this :

Way 2: Using script tag to create the widget

like webChat.init() kind of things in script tag of html file.

---

<div class="post-metadata">

**Author:** ![cycywanyeki20](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cycywanyeki20/32/24287_2.png) [@cycywanyeki20](https://forum.rasa.com/u/cycywanyeki20)\
**Post date:** [November 23, 2025, 7:22am UTC](https://forum.rasa.com/t/to-have-chat-widget-which-is-recommended-way/68175/2 "2025-11-23T07:22:58Z")

</div>

I prefer the script-based approach; gives you the control and flexibility needed to create a production-ready chatbot integration that can scale with your needs. Plus it’s modern and more easy to integrate with modern websites.
