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

# Overview

> Embed Pillow studies directly in your app or website with the SDK.

The Pillow SDK lets you run research studies inside your app or website. You can identify users, attach durable properties, and present hosted Pillow studies without sending people to a separate landing page.

## What you can do

* **Present studies** inside your app or website
* **Launch studies automatically** to targeted user cohorts via [audience targeting](/guides/audience-targeting)
* **Identify users** with an external ID and custom properties
* **Manage sessions**: reset on logout, handle the lifecycle

## When to use the SDK

Reach for the SDK when you want studies to appear **in context, inside your product**, and to target users by who they are and what they've done. If you just need to send a study to people over email, chat, or social, a shareable [link](/guides/broadcast-study) is simpler and needs no integration.

## Supported platforms

| Platform | Min version          | Distribution                   |
| -------- | -------------------- | ------------------------------ |
| Web      | Modern browsers      | `@trypillow/web` or script tag |
| Android  | API 24 (Android 7.0) | Maven Central                  |
| iOS      | iOS 16.0             | Swift Package Manager          |

The browser SDK is published as `@trypillow/web`. Use npm in modern frontend apps, or load the UMD bundle from `https://unpkg.com/@trypillow/web/dist/pillow-sdk.min.js` for script-tag installs.

## Core concepts

These ideas work the same across every platform. Learn them once, then use the platform pages for exact syntax.

<CardGroup cols={3}>
  <Card title="Identification" icon="badge-check" href="/sdk/concepts/identification">
    External IDs and user properties.
  </Card>

  <Card title="Presenting studies" icon="message-square" href="/sdk/concepts/presenting-studies">
    Manual present, launches, modes, and events.
  </Card>

  <Card title="Sessions" icon="refresh-cw" href="/sdk/concepts/sessions">
    Reset on logout and offline behavior.
  </Card>
</CardGroup>

## What's next

<CardGroup cols={3}>
  <Card title="Web" icon="globe" href="/sdk/web/getting-started">
    Install the browser SDK and present your first study on the web.
  </Card>

  <Card title="iOS" icon="smartphone" href="/sdk/ios/getting-started">
    Install and present your first study on iOS.
  </Card>

  <Card title="Android" icon="smartphone" href="/sdk/android/getting-started">
    Install and present your first study on Android.
  </Card>
</CardGroup>
