> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.co-din.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How can I hide and show the chatbox?

Articles on: [Developers](/en/category/developers-12l9l8o/)

The Crisp chatbox can be hidden and shown back via your website JavaScript code. This allows you to precisely control where you want your chatbox to be visible and where you don't want to.  
  
You can use the following JavaScript code to hide the Crisp chatbox:  
  

``` $crisp.push(['do', 'chat:hide']);```

  
  
You can use the following JavaScript code to show back the Crisp chatbox:  
  

``` $crisp.push(['do', 'chat:show']);```

  
  
Those operations are specific to the page you call them from, and are not restored upon navigation. If you need to hide the chatbox for some time and the user navigates to another page, you will have to hide it back again.  
  
Want to know more about the $crisp interface? Read: [How to use $crisp Javascript SDK?](https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/dollar-crisp/)

Updated on: 13/03/2024