The official web SDK for Ghabie — automate first line customer support with AI.
To install the package, use the following npm command:
-
npm
npm install @ghabie/web-sdk
-
yarn
yarn add @ghabie/web-sdk
-
pnpm
pnpm add @ghabie/web-sdk
Note: This SDK can only be used in a browser environment.
import { ghabie } from '@ghabie/web-sdk';
// Initialize SDK with your organization ID and an optional username for the current user.
// Sign up for an org ID: https://ghabie.com
ghabie.initSDK({
// Required
orgId: 'abcd...',
// Optional
username: '',
position: 'bottom-right', // 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' (Default: bottom-right)
// Optional: Update the user's profile information below
//profile: { name: 'John Doe', age: 30, email: 'johndoe@example.com', phone: '+1234567890', location: 'New York, USA', image: 'https://example.com/profile.jpg' },
});
This project is licensed under a Proprietary License. All rights are reserved. For details on usage, restrictions, and permissions, see the LICENSE file.
- Gideon Idoko (Author)