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

> ## Agent Instructions
> Helium is a paywall platform for mobile apps. Paywalls, workflows, triggers, targeting and experiments are configured in the dashboard (https://app.tryhelium.com); the SDK's job is to initialize, present a paywall for a trigger, and report purchases.
> Pick the SDK page for the user's platform: /sdk/quickstart-ios (Swift), /sdk/quickstart-android (Kotlin), /sdk/quickstart-react-native, /sdk/quickstart-flutter. Method names differ per platform; copy them from the page for that platform, never from another platform's page.
> Pages under /sdk/quickstart-ios-v3 and /sdk/quickstart-android-v0 are legacy SDK versions. Use them only when the user is on that version; for upgrades use the /migrations pages.
> For live dashboard data (paywalls, workflows, metrics) connect the Helium MCP server at https://app.tryhelium.com/api/mcp (see /ai-tools/mcp). For SQL over events, revenue, subscriptions and users use the Data Access API (/data-access/overview) and the helium-data-access skill (/data-access/agent-skill). This documentation site also exposes a docs-search MCP server at https://docs.tryhelium.com/mcp.
> Web checkout (App2Web) with Stripe or Paddle is a separate flow from in-app purchases; start at /web-checkout/overview.
> Every page is available as Markdown by appending .md to its URL. The full index is at https://docs.tryhelium.com/llms.txt.

# How Helium Works

> The terms and the request flow behind Helium: paywalls, workflows, triggers, audiences and experiments, and how the SDK fetches and shows a paywall.

A general overview of how the Helium platform works.

# Useful Terms

> [card] [Paywall](https://app.tryhelium.com/paywalls)
>
> A visual display that contains subscription options and in-app purchases. Design paywalls using AI in your Helium dashboard.

> [card] [Workflow](https://app.tryhelium.com/workflows)
>
> A configuration that defines which paywall to show to a user, with options for targeting and experiments.

> [card] [Trigger](https://app.tryhelium.com/workflows)
>
> An identifier used in your mobile app integration to determine which workflow to use when displaying a paywall. One workflow can have multiple triggers.

> [card] [Targeting & Audiences](https://app.tryhelium.com/targeting)
>
> An "audience" is a segment of users that you define based on dimensions such as language, age, etc. Workflows can show different paywalls to different audiences.
>
> Your mobile app integration can define custom "user traits" for use in targeting.

> [card] [Experiments](https://app.tryhelium.com/experiments)
>
> An experiment is an A/B/n test that allows you to compare paywall A versus paywall B for a specific audience.

# How do paywalls get displayed on my app?

This is an overview of how paywalls are actually served to users.

```mermaid theme={null}
flowchart LR
    A([📱 App Initializes Helium SDK]) --> Server

    subgraph Server ["☁️ Helium Server"]
        direction TB
        B[For Each Workflow] --> C[Apply Targeting]
        C --> D[Resolve Experiment]
        D --> P[Determine Paywall for Each Trigger]
    end

    Server --> E([📲 Helium SDK Prepares Paywalls])
    E --> F([🎬 App Calls 'Present Paywall' for Trigger])
    F --> G([✅ Mobile SDK Displays Paywall])

    style Server fill:#e8f0fe,stroke:#4a90d9,stroke-width:1.5px
    style A fill:#d4edda,stroke:#28a745,color:#000
    style E fill:#d4edda,stroke:#28a745,color:#000
    style F fill:#fff3cd,stroke:#ffc107,color:#000
    style G fill:#cce5ff,stroke:#004085,color:#000
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.