# How to trigger a chatbot from a WordPress Menu?

TRIGGER A CHATBOT USING URL METHOD

You can trigger a chatbot widget whose snippet code has been added via the
plugin [https://wordpress.org/plugins/collectchat/] using the following method.
You simply need to add #collectchat to any link or button from which the user
may wish to interact with the chatbot. For example:

<a href="#collectchat">Open Chat</a>

Make sure the snippet code of the chatbot you want to open is added in the
plugin settings.







Tip



You may choose to completely hide the chatbot as well. For this, go to Settings
> Behavior and select Custom button only for widget button.



This way users will only see the chatbot widget when they click the link or
button you added to the page.