Getting Started

To begin using Gleen, the first step involves setting up an account on the Gleen website. Once you've registered and logged in, this account will serve as your central dashboard. From here, you can effortlessly manage and fine-tune various settings and configurations for your bot. This ensures the bot operates according to your requirements and preferences, allowing optimal performance and customization.

This dashboard lets you modify the bot's behavior and responses and monitor its interactions, ensuring you're always in control. So, having an account on Gleen is integral for a smooth and efficient experience.

Get your account on Gleen.

First-time users can create a Gleen account with Playground Create. It asks for various details, such as your email and documentation link, etc.

Prepare knowledge base

The dashboard for the Gleen AI can be accessed by logging into the platform.

Link for Gleen Login

Install the library

The best way to integrate Gleen AI on your website is to use our SDK for javascript

# Install via NPM
npm install gleen-react-sdk

Good to know: Using tabs to separate different languages is a great way to present technical examples or code documentation without cramming your docs with extra sections or pages per language.

Using SDK in your react code

// Some code

import ChatWidget from gleen-react-sdk;
export default function ChatExample() {
    return (
        <div style={{width: '500px', height: '700px', maxWidth: '100%', margin: '20px auto'}}>
            <ChatWidget companyKey='gleen'/>
        </div>
    )
}

Good to know: You can get your company key from the dashboard or the dashboard URL/<company_key>/dashboard

Take a look at how you might call this method using our official libraries or via curl:

Last updated