Introduction to Kayna
Embedded Insurance Infrastructure enabling Distribution through Vertical SaaS
Kayna provides the technology & data orchestration layer between Carriers and Brokers and any Vertical SaaS platform to distribute insurance products that are directly relevant to platform customers.
- Platforms leverage data to unlock new revenue streams and add value for customers.
- Customers get accurate, data-led, right-sized insurance with automated quote, renewal, and claims processes.
- Carriers/Brokers gain new Insurance distribution channels.
Account Registration and Onboarding
Lets see how you can create an account on Kayna staging dashboard.
- Go to the dashboard signup URL at Sign Up.
- Enter your email address and a strong password, and then click on the Get Started button to create your account.
- You should receive a welcome email. Please click on the verification link in the email to complete your registration.
- Once signed up, head over to the login page at Login and enter your credentials. After logging in, fill out the onboarding form to complete the process.
Widget Integration with Demo Product
Now that you have an account ready in the Kayna dashboard and are successfully onboarded, let's look at how you can quickly integrate the Kayna staging widget with the demo product.
- Go to the Authorization Keys page to obtain your Access Key and Secret Key required for the integration.
-
Copy the import script snippet and paste it into the
<head>of your website to import the widget CDN. -
Next, paste a div with the id
Kaynaonto your page wherever you want to render the widget interface. -
Finally, copy the widget initialization script and paste it at
the very bottom of your
<body>tag.
Please note that this basic frontend widget integration is intended for a single user profile. In a real-world production environment, you will set up a backend server to dynamically generate and return secure authorization tokens. This allows the widget to remember individual users on return visits and isolate context securely.
Backend Server Setup
Now that you have the staging widget integrated, let's set up a server backend to generate security authorization tokens dynamically for each user session.
- Open the Github Repository and clone the project onto your local workstation.
-
Run the copy command to clone the environment configuration
profile:
cp .env.example .env -
Head to your dashboard, copy your Access Key, Secret Key,
Product ID, and Platform ID, and paste them into your newly
created
.envfile. -
Execute the installation command to fetch core dependencies:
npm i -
Start the application server (it will spin up locally on port
3050):
npm start
Now you know how to bind the Kayna widget across your backend and frontend. The final step is swapping out the default demo product with your custom active production layout.
Contact our administrative team to construct your live product models and deliver your production configs.
Integrating your Product
Once you have received your new custom product parameters from
the administrator, replace the
applicationFormData and the
productId values directly
inside your active widget configuration options.
Production Access
When you are satisfied with your widget's execution profile inside our staging environments, head to the Authorization Keys page and click the Request Keys action button to initialize your production workspace keys.