> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korint.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Product customization

> Learn about all of the possible customization options for your insurance product.

Insurance products are co-constructed between you and the Korint operational team before being deployed on the platform. At Korint, an insurance product is a set of configuration files
for your product.

* [Custom fields](./custom-fields): custom fields adapt Korint core entities to your product.

## External Policy ID Generation

Each product is configured with a `generateExternalPolicyIdTrigger` that controls when an incremental external policy ID is automatically assigned to new policies. This setting works together with `externalPolicyIdFormat`, which defines the template used to format the generated ID.

| Trigger value  | Behavior                                                                                                                               |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `CREATION`     | An external ID is generated immediately when the policy is created.                                                                    |
| `CONFIRMATION` | An external ID is generated when the policy is confirmed, for New Business branches only.                                              |
| `SIGNATURE`    | An external ID is generated when the policy is signed, for New Business branches only.                                                 |
| `NOTHING`      | No automatic generation. External IDs can be set manually via the edit-external-id endpoint (only available when this trigger is set). |

The `externalPolicyIdFormat` template supports the following variables: `{incrementalPolicyId}` (zero-padded to 8 digits), `{incrementalPolicyIdPad4}` (zero-padded to 4 digits), `{incrementalPolicyIdNoPad}` (no padding), `{YY}` (2-digit current year), `{MMYY}` (month and year from policy creation date), and `{externalProductId}`.

*This section is a work in progress.*
