Developer Docs

Documentation

Integrate Bucura AI's customer support chatbot into your applications. Configure custom AI assistants for every website you manage.


1. How It Works

Bucura AI acts as a 24/7 intelligent support agent for your business. Instead of static FAQs, it uses advanced AI to understand your website's content and answer customer questions naturally, instantly reducing your support team's workload.

Dedicated Assistants

Every website you add gets its own isolated AI brain. It knows your specific products and services, not someone else's.

Brand Control

You define how it speaks. Customize the system prompt to ensure the AI uses your brand's tone, whether professional or casual.

Secure Insights

Chat history is securely stored. Review conversations to gain insights into what your customers are really looking for and where they get stuck.

Smart Knowledge

(Coming Soon) Upload PDFs, manuals, or existing FAQs. The bot will reference these specific documents to give precise, fact-checked answers.

2. Setup Guide

1

Create developer account

Sign up or sign in to your account Naviagate to settings and turn on developer mode Naviagate to Developer space from Side bar navigator and follow instructions to create your first project.

2

Add your website and Configure chatbot Behavior

Go to settings for your new website. Set the System Prompt to define the bot's persona (e.g., "You are a helpful support agent for [Company name]").

3

Get API Key and embend the widget

Generate a secure API key. We handle the frontend and backend structure, just copy and embed the scripts

3. Integration

Option A: Embed Widget

The fastest way to get started. Just copy this snippet into your website's <head> or <body>.

<script
  src="https://bucura.ai/widget.js"
  data-key="YOUR_API_KEY"
></script>

Option B: REST API

For complete control over the UI, communicate directly with our chat endpoint.

api-example.js

const response = await fetch("https://api.bucura.ai/chat", {

method: "POST",

headers: {

"Authorization": "Bearer sk_live_...",

"Content-Type": "application/json"

},

body: JSON.stringify({

website_id: "tenant_8f92a...",

message: "How do I reset my password?",

user_id: "visitor_123"

})

});


`// Response`

{

"reply": "You can reset it by...",

"usage": { "tokens": 42 }

}