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

# Sjabloonintegratie

> De Kleep-knop, afrekenenregistratie en bevestigingsregistratie toevoegen aan uw SFRA-sjablonen

<Note>
  Alle onderstaande wijzigingen zijn al opgenomen in `int_kleep_sfra`. Als u deze sjablonen heeft overschreven in uw aangepaste merkcartridge, kunt u de Kleep-versies verwijderen uit `int_kleep_sfra/cartridge/templates/default`.
</Note>

## Kleep-knop (PDP + Productregistratie)

Voeg toe aan beide:

* `app_custom_brand/.../experience/components/dynamic/product/productDetails.isml`
* `app_custom_brand/.../product/productDetails.isml`

```html theme={null}
<iscomment> CUSTOM KLEEP </iscomment>
<isinclude template="product/components/kleepButton" />
```

Plaats **direct vóór**:

```html theme={null}
<!-- Attributes and Quantity -->
<isinclude template="product/components/mainAttributes" />
```

U kunt de tag `<isinclude>` overal op de PDP dupliceren — alle knoppen delen één iframe/modal.

## Afrekenenregistratie

Voeg toe aan uw afrekensjabloon:

```html theme={null}
<iscomment> CUSTOM KLEEP </iscomment>
<isinclude template="common/kleepTracking" />
```

Plaats **direct na**:

```html theme={null}
<!-- Step 3: Payment and Billing-->
<isinclude template="checkout/billing/billing" />
```

## Bevestigingsregistratie

Voeg toe aan `app_custom_brand/.../checkout/confirmation/confirmation.isml`:

```html theme={null}
<iscomment> CUSTOM KLEEP </iscomment>
<isinclude template="checkout/confirmation/kleepCheckoutCompletedTracking" />
```

Plaats **direct na**:

```jsx theme={null}
<isscript>
var assets = require('*/cartridge/scripts/assets.js');
assets.addCss('/css/checkout/checkout.css');
assets.addJs('/js/checkoutRegistration.js');
</isscript>
```
