React Components
The@vaultkit/ai-sdk package exports three core components for managing the user onboarding flow:
These “inner” components assume they live inside a
VaultkitProvider. If you prefer self-contained widgets that instantiate their own provider, use the top-level wrappers: FeatureSelection, VaultkitAuthComponent, and VaultkitConnectionManager.
Self-contained components
If you are not already inside aVaultkitProvider, import the outer components—they create their own provider internally.
FeatureSelection props
Reading selections and connections
useVaultkit() exposes everything the UI components collect:
selectedProviders/selectedScopes into createVaultkitClient before your agent connects.