```swift import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let teams = Teams(client) let appInstallation = try await teams.createInstallation( teamId: "", appId: "", authorizationDetails: "" // optional ) ```