UNPKG

gleap

Version:

![Gleap JavaScript SDK Intro](https://github.com/GleapSDK/JavaScript-SDK/blob/master/resources/banner.png?raw=true)

42 lines (25 loc) 1.34 kB
# Gleap JavaScript SDK ![Gleap JavaScript SDK Intro](https://github.com/GleapSDK/JavaScript-SDK/blob/master/resources/banner.png?raw=true) Welcome to the Gleap JavaScript SDK. Enhance your platform with features like Kai, our advanced GPT-4 AI chatbot, intuitive outbound messaging tools, and a comprehensive Help Center. Explore our toolkit designed for efficient and engaging customer interactions. Join us in setting new standards for user experience in the digital age. Let's code, innovate, and grow together! ## 📖 Docs & Examples Checkout our [documentation](https://docs.gleap.io/javascript) for full reference. ## 🚀 Getting started 1.) Register an account at [www.gleap.io](https://www.gleap.io). It's free and takes just a few seconds. 2.) Include the Gleap JS SDK within your apps. ### Installation via nom Install the **Gleap** package via npm or yarn. ``` npm install gleap --save ``` Import the **Gleap** package. ``` import Gleap from 'gleap'; ``` ### Initialize the SDK Add the following code to initialize the Gleap JavaScript SDK. Replace "SDK-TOKEN" with your actual SDK token from the [Gleap dashboard](https://app.gleap.io). ``` Gleap.initialize("SDK-TOKEN"); ``` Congrats, you are now all set! Report your first bug by using the feedback button. ## 🤝 Need help? We are here to help! hello@gleap.io