> ## 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.

# Load your first flow

> Present an onboarding flow with the iOS SDK

## Load your first flow

After initialization, present a flow anywhere in your app:

```swift theme={null}
import RampKit

// For example, from a button tap
RampKit.showOnboarding()
```

Target a specific flow or screen:

```swift theme={null}
// Optional: provide identifiers configured in the RampKit dashboard
RampKit.showOnboarding(flowId: "onboarding_v2", startScreenId: "welcome")
```

Pass context for personalization:

```swift theme={null}
RampKit.setUserAttributes([
  "plan": "pro",
  "country": "US",
  "hasTrial": true
])
RampKit.showOnboarding()
```
