Skip to content

Help with Embedding Cognigy Webchat (Centered & Open by Default) #82

@lmilt95

Description

@lmilt95

Hello,

I have integrated the Cognigy Webchat using the example provided in the documentation: https://github.com/Cognigy/Webchat/blob/main/docs/embedding.md#endpoint-settings

<script src="https://github.com/Cognigy/Webchat/releases/latest/download/webchat.js"></script>
<script>
  initWebchat(
    "https://endpoint-trial.cognigy.ai/......"
  );
</script>

Currently, my chat interface appears as follows:
Image

However, I would like to achieve the following:

  • Have the chat window open by default when the page loads.
  • Center the chat window in the middle of the page.
    Image

I'm new to this and would really appreciate your help in implementing these changes. Could you guide me on how to achieve this?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions