Documentation
Comprehensive resources for developers and administrators. Find everything you need to integrate, customize, and troubleshoot Bravin AI.
Quick start
1. Initial setup
npm install @bravin/sdk
import { BravinAI } from '@bravin/sdk';
const bravin = new BravinAI({
apiKey: 'YOUR_API_KEY',
projectId: 'YOUR_PROJECT_ID'
});2. Basic integration
Add the Bravin AI widget to your website:
<script src="https://cdn.bravin.ai/widget.js"></script>
<script>
BravinAI.init({
apiKey: 'YOUR_API_KEY'
});
</script>API reference
POST /api/v1/chat/send
Send a message to a Bravin AI agent.
Parameters:
{
"message": "string",
"conversationId": "string",
"userId": "string"
}Response:
{
"response": "string",
"conversationId": "string",
"timestamp": "ISO string"
}Popular integrations
Need extra help?
Our support team is ready to help with any technical question.