Skip to main content

Overview

Turnkey’s Flutter SDK allows you to customize the sub-organization creation process in your Flutter application. This is useful if you want to tailor the onboarding experience — such as automatically creating wallets, configuring authentication method-specific settings, setting default usernames, or naming passkeys. These customization options can be applied differently for each authentication method.

Customization

You can customize sub-org creation through authConfig.createSubOrgParams inside your TurnkeyConfig. Each authentication method can have its own configuration. For example, you can assign a default username for users who sign up via email OTP and a separate wallet setup for passkey users.
lib/main.dart
You may also define a single set of parameters to apply across all authentication methods:
lib/main.dart
For a full list of parameters available, inspect the CreateSubOrgParams class in the Flutter SDK.

Next steps

Now that you can customize sub-org creation in Flutter, check out the Using Embedded Wallets guide next to learn how to create and manage wallets within your app!