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

# Initialize

> Initialize RampKit with your app ID

Initialize once at app startup:

```typescript theme={null}
import { RampKit } from "rampkit-expo-dev";

await RampKit.init({
  appId: "YOUR_APP_ID",
  onOnboardingFinished: (payload) => {
    // Navigate to your main app
    navigation.replace("Home");
  },
  onShowPaywall: (payload) => {
    // Show your paywall (RevenueCat, etc.)
  },
});
```

## Options

| Option                 | Description                               |
| ---------------------- | ----------------------------------------- |
| `appId`                | Your app ID from the RampKit dashboard    |
| `autoShowOnboarding`   | Auto-show after init (default: `false`)   |
| `onOnboardingFinished` | Called when user completes onboarding     |
| `onShowPaywall`        | Called when onboarding triggers a paywall |

## Get Your App ID

1. Go to [RampKit Dashboard](https://rampkit.com)
2. Settings → App Configuration
3. Copy your App ID
