# Load a new chatbot on the same webpage

You can load a new chatbot when a user clicks on a link or a button using the
collectchat.open
[https://developers.collect.chat/#/methods?id=collectchatopenbotid] method. You
have to pass the Chatbot ID of the new chatbot that has to be loaded to this
method.



Here is an example:

<a href="#" onclick="collectchat.open('5ad9cbf6b17dad848274698a')">Open New Bot</a>

Note that this will open the widget instantly. If you don't wish to open the
widget, and instead only want to load the launcher of the chatbot, then you can
use the method, collectchat.load
[https://developers.collect.chat/#/methods?id=collectchatloadbotid].



For example:

<a href="#" onclick="collectchat.load('5ad9cbf6b17dad848274698a')">Load New Bot</a>