Appearance and greeting
These settings control how the agent looks and how it introduces itself. Pass them through setConfiguration as described in the SDK configuration reference.
Options
Section titled “Options”| Key | Type | Default | Description |
|---|---|---|---|
agentDisplayName | string | "Agent" | The display name shown for the agent in the chat interface. |
entryMessage | string | "How can I help you today?" | The first message users see when the chat interface launches. Sets the initial tone of the conversation. |
logoUrl | string | "" | URL of the logo displayed in the agent interface. |
promptBarHint | string | "" | Placeholder text inside the prompt input bar, used to guide the user on what to ask (for example, "Ask me anything..."). |
displaySparkIcon | boolean | true | Whether the spark icon is visible in the agent interface. |
Example
Section titled “Example”foldspace.agent('API-KEY').setConfiguration({ agentDisplayName: "Foldspace Assistant", entryMessage: "What can I help with?", logoUrl: "https://assets.foldspace.com/logos/foldspace-logo-light.svg", promptBarHint: "Ask me anything...", displaySparkIcon: true});To set colors and typography alongside these settings, see Theme.