Skip to main content
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 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.