---
title: Overview
description: Platform middleware — plans first, entitlements fill plans, paywalls expose offers.
---

# Welcome to RaidBoss Platform

RaidBoss Platform is middleware for product apps. You keep UI and business logic. The Platform owns **plans**, **entitlements on those plans**, **paywalls**, **payments**, **devices**, **remote config**, and **analytics**.

Docs are public and versioned. **Default language is Russian.** English: language switch or `/en/...`.

## Integration mental model

**The plan (tariff) is the primary purchase object.**  
**Entitlements** attach to a plan and unlock features after purchase.  
A **paywall** is the storefront: SDK calls paywall → gets priced offers → each price belongs to a plan → the plan lists entitlements.

```text
getPaywall("main")
  └── paywall_items[]
        └── plan_price
              └── plan
                    └── entitlements[]
```

After payment / license key, the user receives **that plan’s entitlements** (plus subscription period).  
At runtime, gate with **entitlement codes** (`hasEntitlement('cloud_sync')`), not plan display names — so one capability can live on multiple plans.

## Admin setup order

1. Application → `YOUR_APP_CODE`, public key.
2. **Entitlements** — feature catalog (ingredients).
3. **Plans** — what you sell; attach entitlements; set prices.
4. **Paywall** `main` — which prices appear on screen.
5. SDK: [Quickstart](/welcome/quickstart).

| Package | Platform |
| --- | --- |
| `@raidboss/platform-sdk` | TypeScript / Web / RN |
| `raidboss_platform_sdk` | Flutter / Dart |

## Data model

```text
Application
  └── Plans ← primary catalog object
        ├── Plan prices
        └── plan_entitlements → Entitlements
  └── Entitlements (catalog)
  └── Paywalls → items → plan_price_id
  └── Users / subscriptions / payments / devices
```

Create in admin: entitlements → plans (+prices) → paywall.  
Think at integration time: **paywall → plan → plan entitlements → purchase → check entitlements**.

- **Free** = local baseline, no `createPayment`.
- Paid access is **additive** to free.
- Cache entitlements for offline after purchase.

## Learn more

- [Plans & prices](/concepts/plans)
- [Entitlements](/concepts/entitlements)
- [Paywalls](/concepts/paywalls)
- [Free tier & offline](/concepts/free-offline)
- [TypeScript](/sdk/typescript) · [Flutter](/sdk/flutter)

AI: [`/llms-full.txt`](/llms-full.txt) (RU) · [`/en/llms-full.txt`](/en/llms-full.txt)
