Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.clickterm.com/llms.txt

Use this file to discover all available pages before exploring further.

ClicktermClient is the main entry point for the ClickTerm Web SDK. It handles initialization and provides the foundation for all SDK operations.

Access

const { ClicktermClient } = window.Clickterm;

Methods

initialize

Initializes the SDK with your App ID. Must be called before any other SDK methods.
ClicktermClient.initialize(appId);
Parameters:
ParameterTypeRequiredDescription
appIdstringYesYour App ID from the Integrations page
Returns: void Example:
ClicktermClient.initialize("app_abc123def456");
Calling any ClicktermDialog or ClicktermDom method before initialize() will throw an error.
Never expose your App Key in client-side code. The App Key is used only for backend verification calls. The client SDK uses only the App ID. Store the App Key safely — it won’t display again after creation, but can be regenerated. Regenerating the key requires updating your backend configuration.