let services: InputData = [
    "netflix": .service(Service(activities: ["watch"], required: false)),
    "uber": .service(Service(traits: ["rating"], activities: ["trip"]))
]

let input = ConnectInput(
    publicKey: "yourPublicKey",
    redirectURL: "https://example.com",
    services: services
)

let connect = Connect(input: input)

required can be set to false if end-users should be able to skip connecting a specific data source.

If set to true, the entire Connect flow will not be completed until the end-user signs in to the data source.