UplinkUI—UplinkClient, the catalog, connections, invocations, and their models. No UI.UplinkConnect— the prebuilt connect flow: consent screen, sign-in sheet, and progress. It runs the connector’s automation on the device for you.
UplinkConnect drives the Native iOS SDK (Uplink) under the hood, so you don’t need to call it yourself. Use the native SDK directly only if you build your own sign-in flow; see Invoking connector actions.Requirements
- iOS 17 or later
- Xcode 16 or later
- A backend endpoint that returns an Uplink user token for the signed-in user (see User tokens)
Installation
The SDK is distributed via Swift Package Manager.1
Add the package
In Xcode, go to File → Add Package Dependencies… and enter:
2
Select both products
Add
UplinkUI and UplinkConnect to your app target. UplinkConnect brings in the native Uplink SDK.3
Import the modules
Package.swift file:
Configure UplinkClient
UplinkClient is the entry point. Create it once at app startup and reuse it.
userTokenProvider— an async closure that returns a fresh Uplink user token for the signed-in user, fetched from your own backend. The SDK caches it until shortly before it expires and calls the closure again after a 401. See User tokens.connectorsURL— the Uplink Connectors service the SDK calls. Defaults tohttps://connectors.uplink.build.
Connect an account
UplinkConnect.present shows the consent screen and the connector’s sign-in in a sheet, runs the first action, and returns once the user taps Done:
UplinkConnectError if the user backs out (.cancelled), sign-in can’t start, or the action fails.
The output is a JSON object whose fields hold vocabulary types — Progressive’s fetchAll returns policies, vehicles, and claims. Semantic schemas shows how to find and decode them.
What’s next
Invoking connector actions
Connect, refresh, background runs, and issuing user tokens
Displaying invocation state
Observe progress and sign-in state in your own UI
Semantic schemas
Decode output into vocabulary types
Native iOS SDK
The on-device browser that connectors drive