Help in Botfront webchat

Hi , i’m trying webchat by botfront. I got it running but how do i make it open by default.

<!DOCTYPE html>
<html lang="en">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

  <link rel=icon href="1.png">
  <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style_new.css">

  <div id="webchat"/>

<script>!(function () {
  let e = document.createElement("script"),
    t = document.head || document.getElementsByTagName("head")[0];
  (e.src =
    (e.async = !0),
    (e.onload = () => {
          customData: { language: "en" },
          socketUrl: "",
    t.insertBefore(e, t.firstChild);

I’m tryin this , but this doesn’t work. Please help me get this open by default and not on click.

Thanks in Advance.

Hi! We’re not the creators of Botfront, and I can only help you with Rasa-related questions. This looks more like a web design issue. I think you should ask your question to the Botfront community here

1 Like