Backend Integration
Vaultkit isn’t just for user-facing applications. You can also use it for:- Internal agents (backend services that act on behalf of users)
- Scheduled jobs (automated tasks that need to call external APIs)
- Multi-tenant systems (per-user vault provisioning on the server)
Pre-configured vaults (simplest)
If you have a static vault already set up in the Vaultkit dashboard, you can connect directly without any UI. For an introduction to vaults and how they work, see Core Concepts.Dynamic vault provisioning (per-user)
For multi-tenant systems where each user gets their own vault, use feature mappings:Restricting providers and scopes
You can further limit which providers or permissions a vault has:- Least privilege: Only enable the providers a job actually needs
- Customer restrictions: Limit what an agent can do for a particular user
- Testing: Create isolated vaults with limited permissions
Example: Scheduled email automation
Error handling
Backend flows should handle disconnections and retries:Logging and observability
For backend services, enable detailed logging:No UI components needed
Backend flows don’t useFeatureSelect, AuthComponent, or VaultkitProvider. Manage everything programmatically with createVaultkitClient directly.
For more configuration options, see SDK Configuration.