> ## 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.

# Configuration options

> All configuration options for the ClickTerm Web SDK.

## Dialog options

Passed as the first argument to `ClicktermDialog.show()`:

<ParamField body="endUserId" type="string" required>
  Your identifier for the end user (max 256 chars).
</ParamField>

<ParamField body="clickwrapTemplateId" type="string" required>
  Template ID from the ClickTerm dashboard.
</ParamField>

<ParamField body="templatePlaceholders" type="object" default="{}">
  Structured placeholder object. Supports standard fields like `fullName`, `email`, `company`, `jobTitle`, `date`, `phoneNumber`, `registrationNumber`, `vatNumber`, `address`, plus `customPlaceholders` for user-defined keys. See [Template placeholders](/dev/guides/placeholders) for the full list.
</ParamField>

<ParamField body="language" type="string" default="Template default">
  Language code for template content and UI strings. See [supported languages](#supported-languages) below.
</ParamField>

## Dialog configuration

Passed as the optional second argument to `ClicktermDialog.show()`:

<ParamField body="disableClose" type="boolean" default="false">
  When `true`, the user cannot close the dialog without accepting or declining.
</ParamField>

```javascript theme={null}
ClicktermDialog.show(
  { endUserId: "user-123", clickwrapTemplateId: "tmpl-456" },
  { disableClose: true }
);
```

## Visual customization

Starting from **SDK version 2.1**, the clickwrap dialog appearance is customized directly from the [ClickTerm Dashboard](/product/templates/widget-customization) — no SDK configuration needed. Settings are managed at the template level and apply to all versions.

## Supported languages

The `language` parameter determines both the template content language and UI strings (buttons, prompts, labels). If omitted or unsupported, the default language configured in the ClickTerm UI is used.

| Code | Language                  | Code | Language        |
| ---- | ------------------------- | ---- | --------------- |
| `bg` | 🇧🇬 Bulgarian            | `hu` | 🇭🇺 Hungarian  |
| `cs` | 🇨🇿 Czech                | `it` | 🇮🇹 Italian    |
| `de` | 🇩🇪 German               | `nl` | 🇳🇱 Dutch      |
| `el` | 🇬🇷 Greek                | `no` | 🇳🇴 Norwegian  |
| `en` | 🇬🇧 English              | `pl` | 🇵🇱 Polish     |
| `es` | 🇪🇸 Spanish              | `pt` | 🇵🇹 Portuguese |
| `fi` | 🇫🇮 Finnish              | `ro` | 🇷🇴 Romanian   |
| `fr` | 🇫🇷 French               | `ru` | 🇷🇺 Russian    |
| `hi` | 🇮🇳 Hindi                | `sr` | 🇷🇸 Serbian    |
| `sv` | 🇸🇪 Swedish              | `uk` | 🇺🇦 Ukrainian  |
| `zh` | 🇨🇳 Chinese (Simplified) |      |                 |

<Info>
  ClickTerm does **not** auto-translate your content. Create localized template
  content in the ClickTerm UI for every language you plan to support.
</Info>

## Inline options

Starting from **SDK v2.2.0**, the SDK supports inline mode via `ClicktermDom.renderInline()`. Inline mode accepts the same `endUserId`, `clickwrapTemplateId`, `templatePlaceholders`, and `language` fields as dialog mode, plus additional options:

| Field      | Type                          | Description                                                                 |
| ---------- | ----------------------------- | --------------------------------------------------------------------------- |
| `onChange` | `(checked: boolean) => void`  | Fires when the checkbox state changes                                       |
| `style`    | `ClicktermInlineStyleOptions` | Code-based visual customization (checkbox color, size, border radius, font) |

For the full inline API reference and styling options, see [ClicktermDom](/dev/sdk/web/clickterm-dom).
