Kommunicate Developer Docs | AI Customer Support Integration Guides

Kommunicate Developer Docs | AI Customer Support Integration Guides

  • Book a Demo
  • Try For Free

›Ionic/Cordova

Web

  • Installation
  • CMS Installation
  • Authentication
  • Conversation
  • Conversation Assignment
  • Customization
  • Localization
  • Troubleshooting

Android

  • Installation
  • Authentication
  • push notification
  • Conversation
  • Customization
  • Localization
  • Migration
  • Troubleshooting

React Native

  • Installation
  • Expo Installation
  • Authentication
  • push notification
  • Conversation
  • Customization
  • Troubleshooting

Flutter Mobile

  • Installation
  • Authentication
  • push notification
  • Conversation
  • Customization
  • Localization
  • Troubleshooting

Flutter Web

  • Installation
  • Authentication
  • Conversation

Ionic/Cordova

  • Installation
  • Authentication
  • push notification
  • Conversation
  • Customization
  • Localization
  • Resolving Errors

Ionic/Capacitor

  • Installation
  • Authentication
  • push notification
  • Customization

Rich Messages

  • How To Use
  • Types of Rich Messages

AI Agents

  • AI agents Setup
  • OpenAI, Anthropic and Gemini
  • Dialogflow Integration
  • Lex Integration
  • Kompose AI agent Builder
  • IBM Watson Integration
  • Google CES (CX Agent Studio) integration
  • Custom AI agent Integration
  • Import Kompose AI agent
  • AI agent Samples

Integrations

  • Zapier
  • WhatsApp
  • WhatsApp 360Dialog
  • WhatsApp Twilio
  • WhatsApp Cloud API
  • Instagram Integration
  • Telegram Integration
  • Sunshine Integration
  • Freshdesk Integration
  • Pipedrive Integration
  • Agile Integration
  • Slack Integration
  • Google Analytics

Platform APIs

  • Authentication
  • Endpoints

Dashboard Features

  • Analytics
  • Conversations
  • Users
  • AI agent Integration
  • Helpcenter
  • Campaign Messaging
  • Settings

Configuration

  • Single Sign On (SSO) Setup
  • webhooks
  • Access Token URL
  • Email Fallback

Authentication

To authenticate a user you need to create a user object and then pass it to the login function. The User object has the following properties:

parametersdescription
userIdUnique ID for the user
displayNameDisplay name of the user. Agents will identify users by this display name
emailEmail ID of logged in user
passwordUser's password
imageLinkThis image will be visible to the user
authenticationTypeIdPass 1 for authentication from kommunicate
APP_IDPass your APP_ID here
deviceApnsType0 for development, 1 for release

There are 2 ways to Login

1. Visitors

Whenever users come to your app and starts the chat, you can assign them a random ID. This behaviour is best suited for anonymous user. Add below function to generate a random userId:

 public getRandomId() : string {
    var text = "";
    var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
    for (var i = 0; i < 32; i++)
        text += possible.charAt(Math.floor(Math.random() * possible.length));
    return text;
}

Then create the User object using random Id:

 var kmUser = {
      'userId' : this.getRandomId(),
      'applicationId' : '<APP_ID>',  //replace this with your APP_ID from Applozic Dashboard
      'deviceApnsType' : 0    //Set 0 for Development and 1 for Distribution (Release)
      };

Then call the login function from the plugin:

Cordova

If you are using native Cordova:

kommunicate.login(kmUser, function(response) {
        //login success
    }, function(response) {
       //login failed
    });

Ionic

If you are using the ionic framework:

this.kommunicate.login(kmUser)
    .then((response : any) => {
        //login success
    })
    .catch((error : any) => {
       //login failed
    });

2. Logged in Users

If the user is already logged in to your app, then pass the user details to create a user object:

    var kmUser = {
        'userId' : this.userId,   //Replace it with the userId of the logged in user
        'password' : this.password,  //Put password here
        'authenticationTypeId' : 1,
        'imageLink' : <image-link-for-user>,
        'applicationId' : '<APP_ID>',  //replace this with your APP_ID from Applozic Dashboard
        'deviceApnsType' : 0    //Set 0 for Development and 1 for Distribution (Release)
    };

Then call the login function from the plugin:

Cordova

If you are using native Cordova:

kommunicate.login(kmUser, function(response) {
        //login success
    }, function(response) {
       //login failed
    });

Ionic

If you are using the ionic framework:

this.kommunicate.login(kmUser)
    .then((response : any) => {
        //login success
    })
    .catch((error : any) => {
       //login failed
    });

You can check if the user is logged in or not by calling the isLoggedIn() function from the plugin:

Cordova

If you are using native Cordova:

 kommunicate.isLoggedIn((response) => {
      if(response === "true"){
        //The user is logged in, you can directly launch the chat here
      }else{
        //User is not logged in, maybe you need to call login function here
      }
    });

Ionic

If you are using the ionic framework:

this.kommunicate.isLoggedIn()
    .then((response : any) => {
      if(response == "true") {
        //The user is logged in, you can directly launch the chat here
      } else {
        //User is not logged in, maybe you need to call login function here
      }
    });
← Installationpush notification →
  • There are 2 ways to Login
    • 1. Visitors
    • 2. Logged in Users

Start Small. Prove Value. Scale Safely

You don't need to bet your entire support operation on AI.
Start with the conversations that are safe to automate using an AI agent.
Expand as confidence grows.

Get StartedSee a Live Demo
Kommunicate logo
*Subscribe to our newsletter
Product
No-Code AI Agent BuilderGenerative AI ChatbotVoice AIAI Email TicketingFAQ ChatbotLive Chat
OpenAI IntegrationGoogle Gemini IntegrationAnthropic IntegrationAI Agent Features
Industries
Healthcare AI AgentEcommerce AI AgentEducation AI AgentBanking AI Agent
Gaming AI AgentTravel AI AgentTelecom AI AgentInsurance AI Agent
Integrations
WhatsApp AI AgentZendesk AI AgentWordpress AI AgentAndroid Chatbot SDKiOS Chatbot SDK
Facebook Messenger AI AgentInstagram AI Agent
All Integrations
Resources
Chatbot TemplatesCase StudiesWhitepapersAI Customer Service Guide
Chatbot GuideVideosKnowledge HubComparisons
ROI CalculatorBlogsGlossary
Company
About UsPricingContact UsAffiliate ProgramPartner ProgramMediaHelp CenterTrust CenterAPI Status
Languages
ArabicSpanishFrenchGermanPortugueseItalianSwedishRussian
© Kommunicate 2026
T&CPrivacy PolicyCareerSLADPASitemap