# Possibility to open the chat window by using custom button/js

**URL:** <https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563>\
**Category:** HubSpot Ideas\
**Tags:** conversations-inbox\
**Created:** [January 30, 2018, 12:41pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563 "2018-01-30T12:41:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![PatrykJ](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patrykj/32/73373_2.png) [@PatrykJ](https://community.hubspot.com/u/PatrykJ)\
**Post date:** [January 30, 2018, 12:41pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/1 "2018-01-30T12:41:27Z")

</div>

It could be nice to have a possibility to open/expand the chat window by clicking on a custom button. Plenty of people would like to have (and need) this option.

You can also see this topic: [https://community.hubspot.com/t5/Content-Design-Questions/Chat-Messages-custom-button-open-chat-window/m-p/175888#M4542](https://community.hubspot.com/t5/Content-Design-Questions/Chat-Messages-custom-button-open-chat-window/m-p/175888#M4542)

---

<div class="post-metadata">

**Author:** ![jaysyder](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaysyder/32/53869_2.png) [@jaysyder](https://community.hubspot.com/u/jaysyder)\
**Post date:** [February 12, 2018, 4:01am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/2 "2018-02-12T04:01:59Z")

</div>

Surprised this is a new idea, and makes a lot of sense to get better customer interaction rather than having buttons direct them to other forms when there is a great chat system ready for them to use.

---

<div class="post-metadata">

**Author:** ![caverainc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/caverainc/32/30191_2.png) [@caverainc](https://community.hubspot.com/u/caverainc)\
**Post date:** [March 2, 2018, 11:04pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/3 "2018-03-02T23:04:36Z")

</div>

+1 for sure!

---

<div class="post-metadata">

**Author:** ![paulOM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/paulom/32/93635_2.png) [@paulOM](https://community.hubspot.com/u/paulOM)\
**Post date:** [May 17, 2018, 1:46am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/4 "2018-05-17T01:46:20Z")

</div>

I haven’t used a chat widget that doesn’t have this functionality. definitely a +1. Any basic JS API would make it very useful.

---

<div class="post-metadata">

**Author:** ![raphaelarias](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/raphaelarias/32/101077_2.png) [@raphaelarias](https://community.hubspot.com/u/raphaelarias)\
**Post date:** [May 27, 2018, 11:52am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/5 "2018-05-27T11:52:33Z")

</div>

+1.

Other services have this feature.

---

<div class="post-metadata">

**Author:** ![raphaelarias](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/raphaelarias/32/101077_2.png) [@raphaelarias](https://community.hubspot.com/u/raphaelarias)\
**Post date:** [June 3, 2018, 5:40am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/6 "2018-06-03T05:40:05Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![Loic](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/loic/32/26012_2.png) [@Loic](https://community.hubspot.com/u/Loic)\
**Post date:** [June 14, 2018, 4:01am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/7 "2018-06-14T04:01:35Z")

</div>

Would be amazing to have the Bots to appear when a click is triggered via a button or link.

---

<div class="post-metadata">

**Author:** ![stinhambo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stinhambo/32/26597_2.png) [@stinhambo](https://community.hubspot.com/u/stinhambo)\
**Post date:** [July 31, 2018, 11:56pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/8 "2018-07-31T23:56:04Z")

</div>

Like a Driftlink! Can also be accomplished with a Javascript call.

---

<div class="post-metadata">

**Author:** ![SaltyAlex](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/saltyalex/32/2490_2.png) [@SaltyAlex](https://community.hubspot.com/u/SaltyAlex)\
**Post date:** [August 3, 2018, 1:23am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/9 "2018-08-03T01:23:30Z")

</div>

This. So much this.

---

<div class="post-metadata">

**Author:** ![salty\_stephen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/salty_stephen/32/68653_2.png) [@salty\_stephen](https://community.hubspot.com/u/salty_stephen)\
**Post date:** [August 3, 2018, 1:23am UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/10 "2018-08-03T01:23:53Z")

</div>

Please make this a thing

---

<div class="post-metadata">

**Author:** ![JoseHan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/josehan/32/84083_2.png) [@JoseHan](https://community.hubspot.com/u/JoseHan)\
**Post date:** [August 3, 2018, 6:54pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/11 "2018-08-03T18:54:27Z")

</div>

Yes! This would be an amazing feature to have.

---

<div class="post-metadata">

**Author:** ![nsellden](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nsellden/32/102945_2.png) [@nsellden](https://community.hubspot.com/u/nsellden)\
**Post date:** [August 13, 2018, 1:13pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/12 "2018-08-13T13:13:50Z")

</div>

I agree - we were going to test this with a Drift link, but now that HubSpot has the bot available, I would like to keep it all within the platform.

---

<div class="post-metadata">

**Author:** ![Onur](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/onur/32/89120_2.png) [@Onur](https://community.hubspot.com/u/Onur)\
**Post date:** [August 13, 2018, 1:28pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/13 "2018-08-13T13:28:19Z")

</div>

I have also responded to a feature request about this feature here:

Please join the crowd and let’s get some momentum behind this.

It would be a really valuable implementation!

Give it an upvote: [https://community.hubspot.com/t5/HubSpot-Ideas/Possibility-to-open-the-chat-window-by-using-custom-button-js/idi-p/175889#M13462](https://community.hubspot.com/t5/HubSpot-Ideas/Possibility-to-open-the-chat-window-by-using-custom-button-js/idi-p/175889#M13462)

Additionally, it could be done with custom code, so I have also posted on the dev forum, which is monitored by HubSpot employees and other users who are more able to work with custom situations: [https://integrate.hubspot.com/t/open-the-chat-window-using-a-custom-button/11545](https://integrate.hubspot.com/t/open-the-chat-window-using-a-custom-button/11545)

---

<div class="post-metadata">

**Author:** ![SaltyAlex](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/saltyalex/32/2490_2.png) [@SaltyAlex](https://community.hubspot.com/u/SaltyAlex)\
**Post date:** [August 13, 2018, 10:19pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/14 "2018-08-13T22:19:37Z")

</div>

Thanks Onur! Seems the search or my keywords sucked; I’ve thrown a vote in that one as well!

---

<div class="post-metadata">

**Author:** ![Onur](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/onur/32/89120_2.png) [@Onur](https://community.hubspot.com/u/Onur)\
**Post date:** [September 6, 2018, 5:05pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/15 "2018-09-06T17:05:49Z")

</div>

We just solved it!

For anyone that wants to get this working, take a look at our implementation on [commino.co.uk](http://commino.co.uk)

My developer did a fantastic job!

---

<div class="post-metadata">

**Author:** ![SaltyAlex](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/saltyalex/32/2490_2.png) [@SaltyAlex](https://community.hubspot.com/u/SaltyAlex)\
**Post date:** [September 6, 2018, 5:44pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/16 "2018-09-06T17:44:23Z")

</div>

Wow. How’d they find that?

---

<div class="post-metadata">

**Author:** ![ndwilliams3](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@ndwilliams3](https://community.hubspot.com/u/ndwilliams3)\
**Post date:** [September 14, 2018, 9:56pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/17 "2018-09-14T21:56:12Z")

</div>

It would also be nice to embed the bot directly in the page instead of a popup.

---

<div class="post-metadata">

**Author:** ![hroberts](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hroberts/32/52294_2.png) [@hroberts](https://community.hubspot.com/u/hroberts)\
**Post date:** [November 6, 2018, 5:23pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/18 "2018-11-06T17:23:21Z")

</div>

Hi all, I missed that there was a duplicate idea filed here. Please check out the update over on [https://community.hubspot.com/t5/HubSpot-Ideas/Possibility-to-open-the-chat-window-by-using-custom-button-js/idi-p/175889/page/2#comments](https://community.hubspot.com/t5/HubSpot-Ideas/Possibility-to-open-the-chat-window-by-using-custom-button-js/idi-p/175889/page/2#comments). If you have additional requests of a similar nature (I see some about a dedicated bot page, etc.) feel free to file new ideas posts for us to track community interest!

---

<div class="post-metadata">

**Author:** ![cmyers](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cmyers/32/79644_2.png) [@cmyers](https://community.hubspot.com/u/cmyers)\
**Post date:** [June 28, 2018, 6:28pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/19 "2018-06-28T18:28:24Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![denault](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/denault/32/52876_2.png) [@denault](https://community.hubspot.com/u/denault)\
**Post date:** [July 12, 2018, 11:25pm UTC](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563/20 "2018-07-12T23:25:26Z")

</div>

Absolutely necessary for more complex UIs and user flows.

[Next page](https://community.hubspot.com/t/possibility-to-open-the-chat-window-by-using-custom-button-js/7563.md?page=2)
