<p>It sounds like you could put just put that code into a normal Twig template.</p>
<p>If it's a JavaScript snippet, you can place it in the footer like this...</p>
<pre class="lang-js prettyprint-override"><code>{% js %}
    // Your JS goes here
{% endjs %}
</code></pre>

CC BY-SA 4.0
2022-10-01T20:53:23.967Z
2022-10-01T20:53:23.967Z
Lindsey D
<p>I have html code to add a chat window feature but I don't know where to input the code to get it to show up on the website.</p>

CC BY-SA 4.0
2022-09-30T00:16:29.057Z
Are you trying to add a chat window to the front-end of the site, for customers? Or are you trying to have it show up in the control panel, for content editors?
Lindsey D
CC BY-SA 4.0
2022-09-30T14:08:21.417Z
On a front end of a website for my customers to use.
Russ
CC BY-SA 4.0
2022-10-01T20:51:33.373Z
Unless I'm mistaken, you could just use a normal Twig template.
Lindsey D
CC BY-SA 4.0
2022-10-07T13:59:54.537Z
Would this help your for your problem?: https://craftcms.com/docs/4.x/dev/#template-paths
Leonardo
<dashboard-widgets>
How to add a chat window?
# How to add a chat window?

(Asked by: username_0 on 2022-09-29)

I have html code to add a chat window feature but I don't know where to input the code to get it to show up on the website.

**Tags:** dashboard-widgets

> **Comments:**
> **username_1**: Are you trying to add a chat window to the front-end of the site, for customers? Or are you trying to have it show up in the control panel, for content editors?  
> **username_0**: On a front end of a website for my customers to use.  
> **username_1**: Unless I'm mistaken, you could just use a normal Twig template.  
> **username_2**: Would this help your for your problem?: https://craftcms.com/docs/4.x/dev/#template-paths  

---

## 1 answers

### Answer by username_1 on 2022-10-01. Score: 1

It sounds like you could put just put that code into a normal Twig template.
If it's a JavaScript snippet, you can place it in the footer like this...
{% js %}
    // Your JS goes here
{% endjs %}


---

