BizAgentHub Developer Docs
Welcome to the BizAgentHub API documentation. This guide will help you integrate our AI agents into your applications.
Get your first AI agent running with just a few API calls. No complex setup required.
Sign up for a free account to get your API key
Generate your API key from the dashboard
npm install biz-agent-hub
# or
yarn add biz-agent-hubHere's a simple example to get you started with the Supportbot Elite Agent:
import { BizAgentHub } from 'biz-agent-hub';
const userId = 'your_user_id';
const apiKey = 'your_api_key';
const client = new BizAgentHub(userId, apiKey);
async function run() {
const response = await client.supportbotElite.query({
message: 'Hello Supportbot Elite!',
file: undefined, // Optional: a File object (browser) or compatible type
sessionId: undefined // Optional: reuse a session ID for conversation continuity
});
console.log('Supportbot Elite response:', response);
}
run().catch(console.error);