Frontend integration
The Kota Hosted frontend integration is simple: request a session link from your backend, then send your employee to that link. Kota handles the entire UI experience on your custom-branded domain.
How it works
- Employee initiates benefits access: User clicks a button or link in your application to access their benefits
- Request session link: Your frontend calls your backend to generate a Hosted session link
- Send to Hosted experience: Send the employee to the session link URL
- Employee completes their journey: Kota’s fully managed UI guides them through enrollment, policy management, and more
- Return to your platform: Employees can return via a button in the header, or will be sent back in case of authentication errors
Step 1: Request a session link from your backend
Your frontend should call your backend API, which generates a session link via the Create Hosted Session endpoint.
For backend implementation details, see Server-side integration.
Step 2: Send the employee to the Hosted experience
Once you have the session link, send the employee to that URL. Each link is single-use and expires after 60 minutes.
Alternative: You can also open the Hosted experience in a new tab using window.open(sessionLink, '_blank') if you prefer to keep your application open in the background.
Error handling
If a session link expires or is already used, Kota Hosted will display an error message with a link back to your platform (using the configured platform_redirect_url). This redirect URL is configured once per integration by Kota.
Authentication errors and other issues will also provide a button in the header that sends users back to your platform.
Customize your Hosted experience
Your Hosted experience can be fully branded with your logo, favicon, custom domain, platform name, and comprehensive theming. These settings are configured once per integration.
Branding configuration is done by Kota during your integration setup. To learn more about customization options, see Customization.

