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

# Connect iOS SDK

> Install CorbadoConnect and add native passkey enrollment, login and management to an iOS app.

`CorbadoConnect` connects native passkey ceremonies to your existing identity system. Your backend creates Connect tokens and verifies login results before establishing an application session.

<Steps>
  <Step title="Add the Swift package">
    In Xcode, choose **File → Add Package Dependencies** and enter:

    ```text theme={null}
    https://github.com/corbado/corbado-ios.git
    ```

    Select a version and add the **CorbadoConnect** product to your app target. The package targets iOS 15 or later; passkey behavior also depends on the device's OS capabilities. Its native authentication dependency is resolved through Swift Package Manager.
  </Step>

  <Step title="Configure associated domains and backend support">
    Follow [native RP ID configuration](/corbado-connect/helpful-guides/rpid-configuration/native-mobile) for the app's associated domains and the relying party's association file.

    Implement [backend support](/corbado-connect/integration/generic/backend). Server API credentials remain on your backend; the app receives action-specific Connect tokens.
  </Step>

  <Step title="Initialize">
    ```swift theme={null}
    import CorbadoConnect

    let corbado = Corbado(
        projectId: "<ProjectID>",
        frontendApiUrlSuffix: "frontendapi.cloud.corbado.io"
    )
    ```

    Use your project's frontend API suffix if it differs. Retain the SDK actor for the active integration.
  </Step>

  <Step title="Implement the SDK flows">
    Use `isLoginAllowed()` to determine the available login path. Enrollment and management obtain Connect tokens from your backend. Follow the [native integration guide](/corbado-connect/integration/generic/native-mobile) for the flow implementation and callbacks.
  </Step>
</Steps>

## Verify

Test enrollment after your existing login, passkey login followed by backend verification, fallback, and passkey management. Use the [iOS testing guide](/corbado-connect/helpful-guides/ios-testing) for device setup.

See the [SDK source](https://github.com/corbado/corbado-ios) and [example app](https://github.com/corbado/corbado-ios/tree/main/ConnectExample) for the native API and UI integration.
