> For the complete documentation index, see [llms.txt](https://docs.airflux.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airflux.ai/airflux-onboarding/airflux-integration-android.md).

# Airflux Integration (Android)

This guide will walk you through the entire process of integrating the Airflux SDK into your application. It covers everything from installation and initialization to implementing core functionalities.

***

## **Guide Outline**

You can use the following outline to navigate this guide.

{% stepper %}
{% step %}
[Add your app to the dashboard](/airflux-onboarding/airflux-integration-android/1.-add-your-app-to-the-dashboard.md)
{% endstep %}

{% step %}
[Install the Airflux SDK](/airflux-onboarding/airflux-integration-android/2.-install-the-airflux-sdk.md)
{% endstep %}

{% step %}
[Send in-game event data](/airflux-onboarding/airflux-integration-android/3.-send-in-game-event-data.md)
{% endstep %}

{% step %}
[Call the Inference API](/airflux-onboarding/airflux-integration-android/4.-call-the-inference-api.md)
{% endstep %}
{% endstepper %}

***

## Understanding Data Collection

Airflux collects data through three primary methods to make the most optimal ad display decisions.

{% hint style="success" %}
Each type of data is collected at a different **time** and for a different **purpose**, so you must provide **all three** to maximize the performance of the AI model.
{% endhint %}

1. In-game event data

   Records user actions such as `ORDER_COMPLETED` and `ACHIEVE_LEVEL`.
2. Player Attribute Data

   Records the player's current status, such as their `level` or `currency` balance.
3. Inference Parameters

   Records contextual information at the time of an ad request, such as `adType` or `adPlacementId`.


---

# 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.airflux.ai/airflux-onboarding/airflux-integration-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.
