---
title: Customizing templates
description: The One-Time Passcode Integration Kit includes templates that can present one-time passcode (OTP) authentication challenges and other messages.
component: otp
page_id: otp:setup:pf_otp_ik_customizing_templates
canonical_url: https://docs.pingidentity.com/integrations/otp/setup/pf_otp_ik_customizing_templates.html
revdate: April 22, 2025
---

# Customizing templates

The One-Time Passcode Integration Kit includes templates that can present one-time passcode (OTP) *(tooltip: \<div class="paragraph">
\<p>A passcode valid for only one sign-on or transaction on a computer system or other digital device. Also known as a one-time password, one-time PIN, or dynamic password.\</p>
\</div>)* authentication challenges and other messages.

* You can customize the HTML portions of these templates to suit your organization's branding and presentation needs.

* You can use the **HTML Prefix Field** to configure adapter instance-specific templates. Learn more in the [One-Time Passcode IdP Adapter settings reference](pf_otp_ik_one_time_passcode_idp_adapter_settings_reference.html).

* You can access the user information attributes configured in the **User Attribute Mapping** table during the [Configuring an adapter instance](pf_otp_ik_configuring_an_adapter_instance.html) procedure in the templates using the `$userData.<target_attribute_name>` velocity variable.

The following table lists the available templates and their uses. You can find more information about templates in [Customizable user-facing pages](https://docs.pingidentity.com/pingfederate/latest/administrators_reference_guide/pf_custom_user_facing_pages.html) in the PingFederate documentation.

**Template files included in the One-Time Passcode Integration Kit**

| Template file                                | Description                                                                                           |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `otp.adapter.device.selection.template.html` | Presents the user with a form to select a device on which to receive the OTP.                         |
| `otp.adapter.mfa.failed.template.html`       | Presents the user with a form to indicate failed verification of the OTP they entered previously.     |
| `otp.adapter.otp.required.template.html`     | Presents the user with a form to input the OTP.                                                       |
| `otp.adapter.otp.verified.template.html`     | Presents the user with a form to indicate successful verification of the OTP they entered previously. |
