Skip to content
BotBaseDocs
PricingDashboardStart free
  • Build AI assistants that know your business
  • Quick start
  • Core concepts
  • Create an account
  • Documents
  • Websites
  • Social media posts
  • How answers are grounded
  • Languages
  • Assistant types and plans
  • Create an assistant
  • Personality and instructions
  • Testing your assistant
  • Conversations
  • Leads, forms and human support
  • Booking agent
  • Email replies
  • AI models
  • Website widget
  • Widget appearance and design
  • Chat link and QR code
  • Connect your business platform
  • CRM lead sync
  • Management Agents overview
  • Integration guide
  • Roles and permissions
  • Security model
  • Server and browser API reference
  • Examples by industry
  • Audit log and troubleshooting
  • Developer API overview
  • API keys
  • Chat API reference
  • Errors and limits
  • Plans and the free trial
  • Billing and payments
  • Emails and notifications
  • Security and privacy
  • Troubleshooting
  • Frequently asked questions
Docs/Integrations/Connect your business platform

Connect your business platform

Let your assistant look up live products, stock, prices and orders, and submit requests, through your own API, safely and with your permission.

Integrations·8 min read·Updated 2 Dec 2026

A business platform connection links your assistant to your own system's API: your online shop, booking system, school portal or any app with a REST API. Once connected, the assistant can answer with live data ("Is the black Size 42 in stock?", "Agizo langu namba 1043 liko wapi?") instead of only what is in your documents. It can also submit requests, but only after the customer confirms.

This is optional. Your assistant works perfectly well without it.

Plan

Integrations are included in the Standard and Pro plans, and in the free 14-day trial. On Free you can see the page but cannot create or change connections.

#Where to find it

  • In a workspace, the Integrations tab lists every connection in that workspace.
  • Inside an assistant, open More tools and choose Connected systems.

Each assistant can have one business platform connection (and separately one CRM connection).

#Setup at a glance

The dashboard shows a Setup progress checklist. A connection can only go live when every step is done:

  1. Add your platform's API address
  2. Add credentials
  3. Test the connection
  4. Add at least one operation
  5. Test an operation and check its response
  6. Choose what the agent may do

#1. Base URL and authentication

Base URL is the address all requests start from, for example https://api.duka-langu.co.tz. It must use https://. Addresses that point to private or internal networks are blocked. Redirects are not followed, so use the final address.

Choose an authentication type:

TypeWhat you provide
No authenticationNothing. For public APIs only.
API keyThe key, plus where it goes: a request header (recommended, default name X-API-Key) or the URL query string. An optional prefix is supported.
Bearer tokenA token sent as Authorization: Bearer ....
Username & passwordHTTP Basic authentication.
OAuth2 (client credentials)Token URL, client ID and client secret.

Credentials are write-only: they are stored encrypted and never shown again or sent back to your browser. The dashboard only tells you which secrets are set. They are never placed in the AI's prompt or in logs.

You can also add default headers (for example X-Store: main) and a timeout (between 2 and 15 seconds, default 10). Headers that look like credentials, such as Authorization or anything containing "token" or "secret", are refused here; put them in the authentication step so they are encrypted.

Optionally set a health check path (a GET path such as /v1/ping). Test connection calls it to check that BotBaseX can reach your server.

#2. Define operations

An operation is one thing the assistant may do, such as "Search products" or "Check order status". You can add up to 25 operations per connection.

For each operation you set:

  • Name and description - the description helps the AI pick the right operation.
  • Type - a label such as Search products, Get product details / price, Check stock, Check order status, Check appointment availability, Submit a request (changes data), or Something else.
  • Method and path - GET, POST, PUT or PATCH, and a path relative to the base URL, for example /v1/products.
  • Query, headers and body - values can include placeholders such as {{query}} or {{order_number}}. The body can be JSON, form, or none.

#Read or write

  • GET operations are reads.
  • PUT and PATCH are always writes.
  • POST is a write unless you explicitly mark it as read-only (many search APIs use POST).

#Inputs (values the agent asks the customer for)

Every placeholder in an operation must be an input. If you forget one, it is added for you. Each input has a key, a label, a type (text, number, true/false or date), whether it is required, and a description. Up to 15 inputs per operation.

An input can be linked to customer details: Customer name, Customer email or Customer phone. Those inputs are only sent if you allow that kind of customer data in permissions.

The AI can only fill in the inputs you declared. Nothing else is sent.

#Response field mapping (what the agent may read)

You decide exactly which parts of your API's response the assistant can see:

  • Result shape: a list of items (for example products) or one item (for example an order).
  • Results path: where the list sits in the response, for example data.items.
  • Fields: names the agent sees mapped to paths in the response, for example name to title and price to pricing.amount. In the test result you can click a field to let the agent read it.
  • Maximum results: up to 10 items per lookup (default 5).

Data you do not map never reaches the AI. This is how you keep internal fields, cost prices or other customers' data private.

#Import from OpenAPI (optional)

If your API has an OpenAPI 3.x or Swagger 2.0 specification, click Import OpenAPI and paste it as JSON or YAML (a URL cannot be fetched). BotBaseX proposes draft operations from the GET, POST, PUT and PATCH endpoints (up to 60), with inputs from path, query and body parameters. DELETE endpoints are ignored.

Importing enables nothing. You choose which operations to keep, then map, test and allow them like any other.

#3. Test each operation

Use the operation's test to send a real request with sample values. The result shows:

  • whether it passed, the HTTP status and how long it took
  • What the agent sees: exactly the mapped fields
  • a raw sample of the response and suggested field paths

A read operation only passes once you have mapped at least one response field and the mapped fields are actually found in the response.

Testing a write sends a real request

For an operation that changes data, you must tick the confirmation before the test runs, because the test sends a real request to your platform. Use test values, for example a test customer or a sandbox store.

If you later change the base URL, authentication, credentials, headers or the operation itself, its test is no longer valid and you must test again ("Settings changed — test again.").

#4. Permissions (default deny)

Under Permissions, you choose what the agent may do:

  • Every operation starts disabled. The agent can use an operation only if it is allowed and has passed its test for the current settings.
  • Customer details the agent may send to your platform: name, email, phone. Operations that need a detail you have not allowed stay disabled.
  • Writes always need the customer's confirmation. This cannot be switched off. You can also require confirmation for read operations.

There is no permission for administration, arbitrary endpoints or database access. The agent can only call the operations you defined, tested and allowed.

#How confirmation works in a chat

When the assistant wants to run a write, for example submitting an order request, it first shows the customer the details and asks them to confirm. The request is sent only after the customer replies and confirms, with the same details. A pending request expires after 30 minutes.

The assistant is instructed never to say an order or request succeeded unless your platform confirmed it. If a write times out or fails in an uncertain way, it is not retried automatically, so nothing is sent twice. For reads, if your API fails, the assistant says so instead of guessing stock, prices or order status.

#Test mode and going live

New connections start in test mode (draft):

  • They are only used in the assistant's Try it test chat in your dashboard, never for visitors.
  • Lookups return real data. Writes are simulated: nothing is sent, and the chat and the logs label it as "simulated (test mode, nothing sent)".

When the checklist is complete, click Go live and confirm that the agent may perform real actions on your system. From then on the connection is used on your website widget, hosted chat page and other public channels, and writes are sent for real (after customer confirmation). Even when live, writes in your own dashboard test chat stay simulated.

If you change technical settings of a live connection (base URL, authentication, credentials, headers or operations), it returns to test mode automatically until you go live again.

#Pause and disconnect

  • Pause stops a live connection immediately. Resume makes it live again.
  • Disconnect deletes the connection, its encrypted credentials and any pending actions. This cannot be undone.

#Activity logs

Activity & errors shows recent lookups, actions and tests, with outcome, HTTP status, duration and a short message, plus a chart of the last 14 days. Logs never store request bodies, full URLs with query strings, headers or credentials, and messages are cleaned of your secrets before they are saved.

Common error messages you may see:

MessageWhat to check
The platform rejected the credentials (401/403).API key, token or password.
The endpoint returned 404 Not Found.The operation's path.
The endpoint redirected.Use the final URL; redirects are not followed.
This URL points to a private or restricted address.Use a public https:// address.
The platform did not answer in time.Your API's speed, or raise the timeout (max 15 s).
Too many requests to this connection in the last minute.BotBaseX limits each connection to about 60 calls per minute.

#Related

  • CRM lead sync
  • Security and privacy
  • Running a management system for staff? See Management Agents.
PreviousChat link and QR codeNext CRM lead sync

On this page

  • Where to find it
  • Setup at a glance
  • 1. Base URL and authentication
  • 2. Define operations
  • Read or write
  • Inputs (values the agent asks the customer for)
  • Response field mapping (what the agent may read)
  • Import from OpenAPI (optional)
  • 3. Test each operation
  • 4. Permissions (default deny)
  • How confirmation works in a chat
  • Test mode and going live
  • Pause and disconnect
  • Activity logs
  • Related