# chatbot on a sub domain

**URL:** <https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444>\
**Category:** Tickets & Conversations\
**Created:** [February 3, 2023, 3:21pm UTC](https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444 "2023-02-03T15:21:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DOuriachi](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@DOuriachi](https://community.hubspot.com/u/DOuriachi)\
**Post date:** [February 3, 2023, 3:21pm UTC](https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444/1 "2023-02-03T15:21:35Z")

</div>

Hello, is it possible to create a chatbot for a subdomain ?.

We have a client that would need specific support on a platform we made for them. The adress is someling like [client.datakeen.com](http://client.datakeen.com).

I tried to set it up but the chatflow would not appear in this website?

Whereas the chatflow for lead gen on our main website is fine and appears with no problem.

Thank you

---

<div class="post-metadata">

**Author:** ![jolle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jolle/32/44040_2.png) [@jolle](https://community.hubspot.com/u/jolle)\
**Post date:** [February 3, 2023, 6:34pm UTC](https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444/2 "2023-02-03T18:34:32Z")

</div>

Hey @DOuriachi, thanks for reaching out!

As long as you have the HubSpot tracking code installed on the page, you should be able to display the chatbot.

You probably know this already, but you also need to configure the URLs where you want the chatbot to display ([more information in this HubSpot Knowledge Base article:](https://knowledge.hubspot.com/chatflows/create-a-bot#:~:text=Target%20%2D%20decide%20when%20the%20bot%20should%20appear&text=You%20can%20display%20a%20bot,for%20visitors%20to%20your%20site.)

 ![Screen Shot 2023-02-03 at 1.33.57 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/d/3d2e91527aa5cf1d4a38a2257cbb0f699100d539.png)

Hope this helps!!

---

<div class="post-metadata">

**Author:** ![SamanthaJ](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@SamanthaJ](https://community.hubspot.com/u/SamanthaJ)\
**Post date:** [May 17, 2024, 6:00pm UTC](https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444/3 "2024-05-17T18:00:31Z")

</div>

Hi there Jacob! I’m trying to do the same thing detailed in this post - I only want my chatflow to display on a subdomain. The tracking code is installed and I’ve set the subdomain as the target, but it is still showing across all pages of the main site. Any ideas?

---

<div class="post-metadata">

**Author:** ![DOuriachi](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@DOuriachi](https://community.hubspot.com/u/DOuriachi)\
**Post date:** [February 14, 2023, 3:21pm UTC](https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444/4 "2023-02-14T15:21:23Z")

</div>

Hello Jacob, thank you, I totally forgot the tracking code ! thanks

---

<div class="post-metadata">

**Author:** ![jolle](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jolle/32/44040_2.png) [@jolle](https://community.hubspot.com/u/jolle)\
**Post date:** [February 14, 2023, 3:28pm UTC](https://community.hubspot.com/t/chatbot-on-a-sub-domain/74444/5 "2023-02-14T15:28:36Z")

</div>

No worries at all! Glad this was helpful 😄
