Authentication
Token-based auth for secure workspace and chatbot management.
Developer APIs, launch-ready templates, and tutorials for scaling personal chatbot workflows across platforms.
Power internal tools, onboarding assistants, and support automation using the full Neura AI surface — REST, WebSocket, and SSE streaming.
import { NeuraAI } from '@neuraai/sdk';
const nf = new NeuraAI({ apiKey: process.env.NEURAAI_KEY });
// Create a bot grounded in your docs
const bot = await nf.bots.create({
name: 'Acme Support',
tone: 'friendly',
escalation: { on: ['frustration', 'repeat_question'] },
});
// Ingest knowledge — returns indexing status
await nf.knowledge.add(bot.id, {
files: ['./shipping-policy.pdf'],
urls: ['https://acme.com/faq'],
});
// Stream a chat response
for await (const token of nf.chat.stream(bot.id, 'Do you ship to Lagos?')) {
process.stdout.write(token);
}Token-based auth for secure workspace and chatbot management.
Create, update, and publish bots with full lifecycle APIs.
Upload files and URLs programmatically to train assistants at scale.
Subscribe to escalation, message, and indexing events in real time.
Connect widgets with your web apps, portals, and SaaS tools.
Consume token-by-token chat responses via Server-Sent Events.
Create your first bot via API
Provision a bot, attach a knowledge source, and generate an embed link — in a single script.
Read the guideSync docs automatically
Use scheduled jobs and webhooks to keep your bot context aligned with product docs.
Read the guideEmbed in multi-page apps
Load the widget in your dashboard shell and manage session continuity across routes.
Read the guide