Step-by-step guide for integrating the Para Swift SDK into your iOS application
The Para Swift SDK enables you to integrate secure wallet features including creation, passkey-based authentication, and transaction signing into your iOS applications. This guide covers all necessary steps from installation to implementing authentication flows.
Register your Team ID + Bundle ID with Para via the
Without properly registering your Team ID and Bundle ID with Para, passkey authentication flows will fail. Contact Para support if you encounter issues with passkey registration.
Heading to App Review? Check for Sign in with Apple, reviewer, and deletion tips.
Before initializing Para, you need to configure your app’s URL scheme for deep linking. This is required for the appScheme parameter and enables OAuth authentication flows.
1
Add URL Scheme in Xcode
In Xcode, select your project in the navigator
Select your app target
Go to the Info tab
Scroll down to URL Types and click + to add a new URL type
Fill in the fields:
URL Schemes: Enter your scheme name (e.g., paraswift, yourapp)
To use Para’s features, you’ll need to initialize a Para manager that can be accessed throughout your app. This manager handles all interactions with Para’s services, including authentication, wallet management, and transaction signing.Below is an example of initializing the SDK in a SwiftUI application:
App.swift
Copy
Ask AI
import SwiftUIimport ParaSwift@mainstruct ExampleApp: App { @StateObject private var paraManager: ParaManager init() { // Initialize Para manager _paraManager = StateObject(wrappedValue: ParaManager( environment: .beta, // Use .prod for production apiKey: "YOUR_API_KEY_HERE", // Get from: https://developer.getpara.com appScheme: "yourapp" // Your app's URL scheme for deep linking )) } var body: some Scene { WindowGroup { ContentView() .environmentObject(paraManager) } }}
The appScheme parameter must match the URL scheme you configured in your Info.plist. This enables deep linking for external wallet integrations like MetaMask and OAuth authentication flows.