Partners can embed Akia into any cloud-based system. The most common use-case for this is any property management system that wants to make Akia available for their customers within their own application.
The benefits of doing this will bolster the property management system's capabilities, and minimize tab-switching for their customer.
Below is a quick example of what this looks like in a sample partner application.
Installation is just a few lines of JavaScript code.
window.akiaInitialized = function() {
AkiaEmbed.init({
partnerID: "<CLIENT_ID>",
sound: true,
onLoad: function(metadata) {
console.log('SDK initialized');
}
});
AkiaEmbed.requestNotificationPermissions();
};
(function(d){
var s=d.createElement('script'), t=d.getElementsByTagName('script')[0];
s.src='https://api.akia.com/sdk.js';
t.parentNode.insertBefore(s,t);
})(document);