Install and set up the ClickTerm Web SDK in your project.
The ClickTerm Web SDK lets you display clickwrap agreements to end users in your web application. It’s distributed as a single JavaScript file loaded via a script tag.
Get your App ID from the Integrations page in the ClickTerm Dashboard.
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.
After calling initialize(), you can immediately use ClicktermDialog methods. Without initialization, the SDK will throw an error when requesting a clickwrap.
// Full setup exampleconst { ClicktermClient, ClicktermDialog } = window.Clickterm;ClicktermClient.initialize("YOUR_CLICKTERM_APP_ID");// Now you can show clickwrapsClicktermDialog.show({ endUserId: "user-123", clickwrapTemplateId: "YOUR_TEMPLATE_ID",}).then((result) => { console.log("Result:", result);});