Aiebo Web SDK with Azure AD and API Key authentication
npm install @aiebo/web-sdkAiebo Web SDK with dual authentication support (Azure AD + API Key) for the Aiebo AI platform.
- ✅ Dual Authentication: Azure AD for internal users, API Key for customer integrations
- ✅ State Management: Zustand stores with persistence
- ✅ Type Safety: Full TypeScript support
- ✅ UI Components: Base components with Tailwind CSS and class-variance-authority
- ✅ Dark Mode: Built-in theme switching
- ✅ Error Handling: Comprehensive error types and parsing
``bash`
npm install @aiebo/web-sdk
`typescript
import { AieboSDK } from '@aiebo/web-sdk';
const sdk = new AieboSDK({
auth: {
type: 'azure-ad',
clientId: 'your-azure-ad-client-id',
authority: 'https://login.microsoftonline.com/your-tenant-id'
},
apiBaseUrl: 'https://api.aiebo.ai'
});
await sdk.auth.signIn();
await sdk.chat.sendMessage('Hello');
`
`typescript
import { AieboSDK } from '@aiebo/web-sdk';
const sdk = new AieboSDK({
auth: {
type: 'api-key',
apiKey: 'aiebo_prod_sk_71e255d8_xxx',
channel: 'web_widget',
externalSessionId: 'unique-session-id'
},
apiBaseUrl: 'https://api.aiebo.ai'
});
await sdk.auth.authenticate();
await sdk.chat.sendMessage('Hello');
`
Full documentation is available at /docs` in the monorepo root.
Apache-2.0. Copyright © 2025 Aiebo Solutions Private Limited.