https://discord.gg/botpress logo
Hi everyone! I’m using the no-code
# 💻developers
h
Hi everyone! I’m using the no-code version of Botpress Cloud and want to ensure that my chatbot always opens the home screen when the webchat is launched
w
Copy code
html
<script src="https://cdn.botpress.cloud/webchat/v2.2/inject.js"></script>
<script defer>
  window.botpress.on("webchat:ready", (conversationId) => {
    botpress.open();
  });
  window.botpress.on("conversation", (conversationId) => {
    botpress.open();
  });
</script>
<script src="https://files.bpcontent.cloud/yyyy/mm/dd/hh/yyyymmddhhnnss-XXXXXXXX.js"></script>
h
Thank you @white-nest-40686 But I want to achieve that with the botpress link not the one displayed in a website
w
what is home screen, i don't understand? you want that a new conversation starts when an user open the webchat?
h
@white-nest-40686 Yeah