ChatBucket / Documentation
Product documentation
Build multilingual experiences, configure conversational agents, and understand customer conversations from a single ChatBucket workspace.
Getting started
Create an account, choose a product, test the workflow, and review usage before deploying anything customer-facing.
- Create your ChatBucket account or sign in to an existing account.
- Open the dashboard and confirm your plan, usage limits, available balance, and active products.
- Choose the product guide below and complete the setup checklist for translation, chat agents, voice agents, or analytics.
- Run a sample translation, conversation, or call. Review the output, transcript, and usage before going live.
- Invite teammates only after roles, handoff behavior, and escalation paths are clear.
Authentication
Dashboard pages use your signed-in account session. Server integrations should use credentials created in API keys and stored in your backend environment, not in client-side JavaScript.
| Credential | Where to use it | Practice |
|---|---|---|
| Account session | Signed-in dashboard workflows. | Sign in again if requests return unauthorized or session-expired errors. |
| API key | Server-side production integrations. | Name keys by app or environment, store them in secrets, and rotate keys when teammates or systems change. |
| Widget ID | Website chat or voice widget installation. | Use only the ID generated for the published widget and restrict allowed domains when available. |
Never expose bearer tokens or API keys in browser bundles, public repositories, analytics snippets, or support screenshots.
Translate API
Translate text between Indian and global languages, with automatic source detection and script options where available.
Try a translation
- Open Translate and choose Indian or global languages.
- Select automatic source detection or choose the source language and script.
- Choose the target language and output script, enter your text, and submit the translation.
- Review names, terminology, and meaning before using the result in customer-facing workflows.
Request format
Send POST /translate to your configured API base URL with JSON content and an authorized credential. The example below is written for a server runtime.
| Field | Type | Usage |
|---|---|---|
text | string | The non-empty text to translate. |
src_lang | string | A source language value from the workspace, or auto for detection. |
tgt_lang | string | A target language value from the workspace, such as HINDI for native-script Hindi. |
isGlobal | boolean | false for the Indian language workflow; true for global languages. |
// Server-side translation request. Keep credentials out of browser code.
const response = await fetch(`${process.env.CB_API_BASE_URL}/translate`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.CB_ACCESS_TOKEN}`,
},
body: JSON.stringify({
text: "Hello, how can we help you?",
src_lang: "auto",
tgt_lang: "HINDI",
isGlobal: false,
}),
});
const result = await response.json();
if (!response.ok) {
throw new Error(result.details || result.message || "Translation failed");
}
const translatedText = result.data?.output || result.data?.translated_text;For production API-key integration, confirm your account endpoint, available languages, and credential requirements with support.
Response handling
Read translated output from the response data object and always handle non-2xx responses. Log request IDs, HTTP status, and error details on your server so support can investigate failures quickly.
Chat Agents
Configure a website chat widget with business knowledge, conversation rules, team handoff, and installation settings.
Create and publish a widget
- Create your widget. Set its basic details in the chat widget builder.
- Add knowledge. Use business details, FAQs, documents, or website sources. Keep policies and product information current.
- Design the widget. Match colors, labels, and greeting text to your website.
- Shape the conversation. Configure tone, data collection, fallback wording, and handoff rules.
- Set availability. Choose websites, pages, devices, allowed domains, and operating hours.
- Review and publish. Test common questions, publish the widget, and install the generated snippet on your website.
Installation
Install the exact snippet generated for your published widget. The example below shows the general shape only; use the real widget URL and ID from ChatBucket.
<script
async
src="https://your-chatbucket-widget-url.example/widget.js"
data-widget-id="YOUR_WIDGET_ID">
</script>Validate the customer experience
Test a common question, an unanswered question, a policy-sensitive question, and a request for a human agent. Use widget conversation history to inspect conversations and identify knowledge gaps.
Voice Agents
Prepare a voice assistant with business context, language settings, call flows, transfer behavior, and a deployment channel.
Configure your agent
- Open the voice agent builder. Set the agent name, purpose, voice, languages, and greeting.
- Add knowledge, actions, and instructions. Define the questions the agent should answer and the outcomes it should help customers reach.
- Configure inbound routing, transfers, callbacks, and human takeover rules when those features are enabled for your account.
- Test realistic questions, interruptions, silence, repeated answers, and requests outside the agent scope.
- Review summaries, transcripts, recordings, and call outcomes before launching a live workflow.
Deployment and integration availability depend on your account configuration. Confirm phone provisioning, recording requirements, and external integrations with support before launch.
Review calls
Open voice agent history to review available call records. Use recurring questions, transfers, and incomplete outcomes to improve instructions and knowledge.
Analytics
Review conversation volume, resolution, response times, satisfaction, and automation performance across your agents.
Review conversation performance
- Open your dashboard overview after generating conversations or calls.
- Choose the reporting period and available widget, team, channel, or agent filters.
- Compare conversation volume and resolution across AI and human conversations.
- Inspect conversation history to understand the questions and outcomes behind the numbers.
| Metric | How to use it |
|---|---|
| Conversations | Understand volume across the selected period and filters. |
| Resolved conversations | Compare completed outcomes with active and unresolved conversations. |
| Average response time | Identify periods where responses slow down. |
| Satisfaction | Review customer feedback alongside the underlying conversations. |
| AI and human split | Understand how conversations are distributed between automation and your team. |
Keep the reporting period and filters consistent when comparing results. Unavailable feedback or response-time values do not represent a score of zero.
Security and privacy
Customer conversations can include personal or business-sensitive information. Configure each product with the minimum data needed for the workflow.
- Use approved knowledge sources and remove outdated documents, URLs, and FAQs.
- Do not ask for payment credentials, government IDs, passwords, or health information unless your workflow and account are explicitly prepared for that data.
- Restrict widget domains and team access where available.
- Review transcripts and recordings according to your internal retention and consent policies.
- Revoke API keys, widget access, and teammate permissions that are no longer needed.
Account & usage
Manage credentials in API keys. Give each integration a recognizable name, store the key securely when it is created, and revoke credentials that are no longer needed.
Review Usage for consumption, Limits for account constraints, and Billing for payment details. Check API status when investigating service availability.
| Area | Check |
|---|---|
| Usage | Monitor request, conversation, and call consumption before peak campaigns. |
| Limits | Confirm rate limits and plan limits before connecting production traffic. |
| Billing | Keep billing details current to avoid interruptions. |
| Status | Check service availability before debugging application-side code. |
Troubleshooting
Translation fails or returns no output
Confirm that the input is non-empty and a target language is selected. Check the language and script combination, sign in again if the session has expired, and review your balance and limits. For API requests, inspect the HTTP status and error details.
A chat widget does not appear
Check that the widget is published and its installation snippet is present on your website. Review allowed domains, page targeting, device settings, and operating hours. Test on a page that matches those settings.
An agent gives an incomplete answer
Verify that its knowledge sources contain the answer and are ready for use. Clarify the agent instructions and retest the original question. Configure a human handoff for questions the agent cannot resolve.
A voice session cannot access the microphone
Allow microphone access in your browser, check the selected input device, and use HTTPS or localhost. Test the microphone with another application before retrying.
Analytics looks empty
Check the reporting period and remove restrictive filters. Confirm that conversations exist in history for the selected widget. Metrics that require ratings may remain unavailable until customers provide feedback.
Requests return unauthorized errors
Confirm that the request is sent from your server, the credential is active, and the authorization header is present. Rotate keys that may have been exposed and retry with the new value.