```swift import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) let user = try await account.create( userId: "", email: "email@example.com", password: "", name: "" // optional ) ```