API
...
Integrations
Embed Digital Humans in your A...

Customising the Embedded Digital Human

18min

This document highlights various features, use cases, and customization options for embedding and customizing a Digital Human in your website. The key points are consolidated from all discussions and examples provided.

To benefit from these types of customisation, users must be natively embeddeding their Digital Humans, and not using an iFrame to embed the Digital Human.

Skipping the "Let's Chat" Button

By default, the Digital Human interface displays a "Let's Chat" button that users must click to begin interacting. To skip this step and directly launch the Digital Human:

Implementation

  • Simulate a click on the "Let's Chat" button (#touch_to_start) as soon as it becomes available.
JS


Use Case

  • Seamlessly start the conversation without requiring user interaction to click the "Let's Chat" button.

Embedding a Form to Start the Chat

You can display a form (e.g., Name, Email, Phone) that users fill out before interacting with the Digital Human. Once the form is submitted, the Digital Human is displayed.

HTML Example

HTML


JavaScript Logic

JS


Use Case

  • Gather user information before launching the Digital Human.
  • Useful for generating leads or personalizing conversations.

Floating Digital Human on the Bottom Right

A floating Digital Human widget is a common feature for modern websites. It appears as a small button on the bottom-right corner and opens a larger chat interface when clicked.

HTML Example

HTML


CSS

CSS


JavaScript Logic

JS


Use Case

  • Provide users with a familiar chatbot interface that doesn't obstruct the page until it's opened.

Download or Copy Chat Transcripts

Add a button to let users download or copy the chat transcript.

HTML Example

HTML


JavaScript

JS


Use Case

  • Allow users to save or share their chat history for reference.

Customisations Summary

Core Features

Feature

Description

Skip "Let's Chat"

Automatically start interaction without user clicking the "Let's Chat" button.

Embed Form Before Chat

Collect user information before launching the Digital Human.

Floating Chat Widget

Create a bottom-right Digital Human interface with a toggling open/close feature.

Download/Copy Chat Transcripts

Save chat history as a file or copy it to the clipboard.

Styling Customizations

  1. Button Background: Use a video, image, or color for the floating button.
  2. Positioning: Adjust the location of the widget, overlay, or buttons.
  3. Responsive Design: Use percentage-based dimensions (vh, vw) for adaptive layouts.

This documentation covers all discussed use cases and customization options for creating an engaging Digital Human experience. Let me know if you’d like further refinements! 😊