Self-host your users’ PII while using Velt’s collaboration features. Keep sensitive user data on your infrastructure with only user IDs stored on Velt servers.
Velt supports self-hosting your users’ personally identifiable information (PII):
Only the userId is stored on Velt servers, keeping sensitive user metadata on your infrastructure
Velt Components automatically hydrate user details in the frontend by fetching from your configured data provider
This gives you full control over user data while maintaining all Velt functionality
When the SDK is initialized, it will call the UserDataProvider you configure with the list of userIds that it needs to fetch for the currently set user, organization, document, etc.
The UserDataProvider takes in a list of userIds and returns a Record object with the userIds as keys and the user data as values.
Here are the methods that you need to implement on the data provider:
resolveUsersConfig: ResolveUsersConfig. Configuration to control when user resolver requests are made. This helps optimize performance by avoiding unnecessary user data requests when you have a large number of users in your organization, document, or folder. You can disable user resolver requests for specific contexts and use custom autocomplete feature instead.
organization: boolean - Enable/disable user requests for organization users (default: true)
document: boolean - Enable/disable user requests for document users (default: true)
folder: boolean - Enable/disable user requests for folder users (default: true)