> For the complete documentation index, see [llms.txt](https://docs.payvalida.com/api-tarjeta/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payvalida.com/api-tarjeta/master/sdk-para-3ds-y-score-de-riesgo-transaccional/guia-de-integracion-con-el-sdk-para-android.md).

# Guía de integración con el SDK para Android

### 1. Añadir la Dependencia

Configura tu proyecto vinculando nuestro repositorio Maven oficial o importando el archivo binario. Este paso asegura que todas las librerías necesarias estén disponibles en tu entorno de desarrollo.

[Ir a Añadir la Dependencia →](#id-1.-anadir-la-dependencia)

### 2. Configuración del SDK (Kotlin)

Inicializa el componente principal utilizando el objeto `Config`. En esta etapa definirás el entorno de ejecución (Sandbox o Producción) y las credenciales necesarias para la comunicación con el servicio.

[Ir a configuración del SDK (Kotlin) →](#id-2.-configuracion-del-sdk-kotlin)

### 3. Ejemplo de Uso (Kotlin)

Aprende a ejecutar el flujo de validación de dos pasos: la detección de riesgo inicial y, si es requerido, la autenticación 3DS. Incluye ejemplos de manejo de respuestas y estados de la transacción.

[Ejemplo de uso (Kotlin) →](#id-3.-ejemplo-de-uso-kotlin)


---

# 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.payvalida.com/api-tarjeta/master/sdk-para-3ds-y-score-de-riesgo-transaccional/guia-de-integracion-con-el-sdk-para-android.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.
