> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/click-to-pay/es/integrate-the-d1-sdk/getting-started/reference-implementation.md).

# Implementación de referencia

To integrate as quickly as possible with the features provided by D1 SDK, the customers can use the reference implementation (Sample app) developed and tested by Thales. This means that you are able to quickly check how the features work.

Thales is dedicated to create the best possible user journey which is fine-tuned to offer the best end-user experience. The Sample app is provided to allow you to perform API calls using D1 SDK, test and fine-tune the UI/UX flows based on your needs, and reuse of existing, recommended UI flows.

The UI part of the Sample app includes an end-to-end tested customer journey with all the necessary screens, UI parts, recommended texts and error management behaviours that are ready to be plugged in to your existing mobile application.

{% hint style="info" %}
**GitHub**

For immediate access to the source code of this Sample app, check out the following GitHub repository which includes step-by-step guides showing how to configure and plug-in to the existing mobile app:

* [Android](https://github.com/ThalesGroup/dp-d1-sample-android)
* [iOS](https://github.com/ThalesGroup/dp-d1-sample-ios)
  {% endhint %}

### Configuration <a href="#configuration" id="configuration"></a>

You will need to configure the Sample app using the [configuration parameters](https://github.com/ThalesGroup/dp-d1-sample-android#configuration) and test card data provided. Contact your Thales representative for the necessary information required.

### Security Guidelines <a href="#security-guidelines" id="security-guidelines"></a>

The application should also follow security guidelines to ensure that the final binary is secure and is end-to-end validated by our internal quality assurance teams.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payments.thalescloud.io/click-to-pay/es/integrate-the-d1-sdk/getting-started/reference-implementation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
