Skip to main content
TODO: Tutorial for embedding agents as public chatbot into public websites and sharepoints

Overview

Embed our chatbot into your application with full customization options. The chatbot component accepts various configuration props to match your brand and use case.

Basic Setup

<chatbot-component
  connection-key="your-connection-key"
  type="inPlace"
/>

Configuration Parameters

Required Parameters

connectionKey
string
required
Your unique connection key for the chatbot instance.Default: e97e32ea-579f-448c-a953-21586dccbc28

Display & Behavior

type
string
The display type of the chatbot.Options: inPlace, popup, fullscreenDefault: inPlace
welcomeMessage
string
The initial greeting message displayed to users when they open the chatbot.Default: Empty string
placeholder
string
Placeholder text shown in the message input field.Default: Empty string
hintQuestions
array
An array of suggested questions to help users get started.Example: ["How can I track my order?", "What are your business hours?"]Default: []
disclaimer
string
A disclaimer message shown to users before they interact with the chatbot.Default: Empty string
persistentDisclaimer
string
A disclaimer that remains visible throughout the chat session.Default: undefined

Audio Configuration

enableAudio
boolean
Enable or disable audio/voice capabilities in the chatbot.Default: true
playAudioByDefault
boolean
Automatically play audio responses when they are generated.Default: true
voiceConfig
object
Detailed configuration for the ElevenLabs text-to-speech engine.

Styling & Theming

font
string
Custom font family to use throughout the chatbot interface.Example: "Inter, sans-serif"Default: Empty string (uses default font)
theme
object
Custom theme configuration object for colors, spacing, and other visual properties.Default: {}
images
object
Custom images for branding (logo, avatar, etc.).Default: {}

User Management

userToken
string
Optional authentication token to identify and track individual users across sessions.Default: Empty string

Example Configuration

<chatbot-component
  connection-key="e97e32ea-579f-448c-a953-21586dccbc28"
  type="inPlace"
  welcome-message="Hello! How can I help you today?"
  placeholder="Type your message here..."
  :hint-questions="['How do I get started?', 'What features are available?']"
  disclaimer="This chatbot uses AI and may occasionally produce inaccurate information."
  :enable-audio="true"
  :play-audio-by-default="true"
  font="Inter, system-ui, sans-serif"
  :voice-config="{
    model_id: 'eleven_turbo_v2_5',
    voice_id: 'JBFqnCBsd6RMkjVDRZzb',
    speed: 1.2,
    stability: 0.1,
    similarity_boost: 0.8,
    use_speaker_boost: false,
    style_exaggeration: 0.0
  }"
  user-token="user-12345"
/>

Best Practices

Voice Configuration: For the best balance of quality and latency, use eleven_turbo_v2_5 with a speed of 1.0-1.2 and stability around 0.5.
User Experience: Provide 2-4 hint questions to help users understand what your chatbot can do.
Avoid setting style_exaggeration above 0.0 unless specifically needed, as it can reduce audio quality and increase latency.