# Trying to embed twitch chat on a website

**URL:** <https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599>\
**Category:** Chat and IRC\
**Created:** [December 23, 2021, 9:50am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599 "2021-12-23T09:50:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CubeBox391](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/cubebox391/32/15872_2.png) [@CubeBox391](https://staging-discuss.dev.twitch.com/u/CubeBox391)\
**Post date:** [December 23, 2021, 9:50am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/1 "2021-12-23T09:50:10Z")

</div>

Hey, so I am trying to make a website for my channel and I don’t get what i need to put on the parent=

 ![image](https://d2spem0quai2ol.cloudfront.net/original/2X/a/a3132cb2d9271b2a6ba88e8751086ec3d07c5c54.png)

> **[Chat](https://dev.twitch.tv/docs/embed/chat/)**
>
> Embedding Chat

Can someone help?

---

<div class="post-metadata">

**Author:** ![Dist](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://staging-discuss.dev.twitch.com/u/Dist)\
**Post date:** [December 23, 2021, 9:54am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/2 "2021-12-23T09:54:57Z")

</div>

The parent param is for specifying the parent domain that the embed will be on.

For example, if your website is `www.somedomain.com/twitchembed` then you must set the parent to `parent=www.somedomain.com`. If your embed is within another iframe, or if your site is accessible both with and without the `www.` then you need to include a separate `&parent=` for each of those.

---

<div class="post-metadata">

**Author:** ![CubeBox391](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/cubebox391/32/15872_2.png) [@CubeBox391](https://staging-discuss.dev.twitch.com/u/CubeBox391)\
**Post date:** [December 23, 2021, 9:56am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/3 "2021-12-23T09:56:38Z")

</div>

well currently i have it on my computer, no domain no anything  
what do i put?

---

<div class="post-metadata">

**Author:** ![Dist](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://staging-discuss.dev.twitch.com/u/Dist)\
**Post date:** [December 23, 2021, 9:59am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/4 "2021-12-23T09:59:15Z")

</div>

If your webserver is running on `localhost`, then put `localhost` as the parent. If you’re just opening the html file directly, then that doesn’t support embeds.

---

<div class="post-metadata">

**Author:** ![CubeBox391](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/cubebox391/32/15872_2.png) [@CubeBox391](https://staging-discuss.dev.twitch.com/u/CubeBox391)\
**Post date:** [December 23, 2021, 10:00am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/5 "2021-12-23T10:00:25Z")

</div>

how can i host it on localhost? any softwares i need to use?

---

<div class="post-metadata">

**Author:** ![Dist](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://staging-discuss.dev.twitch.com/u/Dist)\
**Post date:** [December 23, 2021, 10:03am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/6 "2021-12-23T10:03:46Z")

</div>

Pick a programming language you’re comfortable working with and Google it, many languages have popular libraries for running webservers. There are options for those without programming experience like Microsoft IIS, but that still requires some technical experience.

Depending on your use case it may simple be easier to put your files on a proper webhost rather than running it locally. There are some that offer free webhosting with various limitations, and many decent paid services.

---

<div class="post-metadata">

**Author:** ![CubeBox391](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/cubebox391/32/15872_2.png) [@CubeBox391](https://staging-discuss.dev.twitch.com/u/CubeBox391)\
**Post date:** [December 23, 2021, 10:06am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/7 "2021-12-23T10:06:33Z")

</div>

ok thanks

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [January 22, 2022, 10:06am UTC](https://staging-discuss.dev.twitch.com/t/trying-to-embed-twitch-chat-on-a-website/35599/8 "2022-01-22T10:06:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
