- Print
- DarkLight
The different ways to interact with AutoChat
Article summary
Did you find this summary helpful?
Thank you for your feedback
There are a couple of different ways to interact with AutoChat’s digital assistant on the website.
Via the chat bubble
Via a search bar
Via a dedicated call to action button
Via the chat bubble
If you install the basic version of our script the bubble will show up automatically if it is enabled in our dashboard.
![image(13).png](http://cdn.document360.io/d74d8ab7-e531-46f7-b221-67341fd01cc3/Images/Documentation/image(13).png)
Are you using a SPA and do you want to show the chat bubble only on certain pages? You can use this code to show it optionally:
window.dispatchEvent(new Event('autochat_hide_chat_bubble'));
// To re-enable the bubble after disabling it, use the following command:
window.dispatchEvent(new Event('autochat_show_chat_bubble'));
Via a search bar
It is possible to install a search bar on your website that is connected with AutoChat.
<textarea id="question"></textarea><button onclick="autochat.askQuestionToAi(document.getElementById('question').value);">Ask question</button>
Make sure you limit the amount of characters send as question to us is to 256.
Via a dedicated call to action button
Please see the dedicated page for this functionality.
Was this article helpful?