KODA.AI Docs

KODA.AI Docs

  • Web JS SDK

›

  • Quick Start
  • Config

    • User Profile
    • Locales
    • Advanced Configuration
  • Browser Compatibility
  • SDK Methods
  • Analytics
  • CSS Properties

Quick Start

Introduction

The Javascript SDK is a completely conversational interface. It renders a complete chat experience that can be easily integrated across different web environments.

It supports SSL, and works asynchronously – so it won’t block your website.

Installation

To initialize a widget add to a site javascript code. Token You can generate on the "Channels / Web" section in the dashboard.


<script type="text/javascript">
    (function () {
        var kb = document.createElement('script');
        kb.type = 'text/javascript';
        kb.async = true;
        kb.src = ('https:' == document.location.protocol ? 'https://' : 'http://') +
            'https://web.eu-pl.koda.ai/web.sdk.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(kb, s);
    })();
</script>

<script>
    window.initKBWebSDK = function (SDK) {
        const bot = SDK.initKBChatbot({
            "token": "TOKEN"
        });
    }
</script>

User Profile →
  • Introduction
  • Installation
Copyright © 2025 KODA sp. z o.o . Questions? Sent message to developers@koda.ai