How do I connect a third-party system to Kibi?
Updated Reading time: 4 min
On this page
Under third-party systems, you connect external systems to Kibi, such as your ERP, CRM, or a specialized API. Kai and your own modules can then use these systems: look up data, create records, trigger actions. Writing actions always require human confirmation.
Info
This function is available to system admins. If another system needs to access Kibi, use REST API, webhooks, MCP servers, or SSO: Integrations Overview.
Create a third-party system#
Open the Administration and select Integrations → Third-party systems in the menu.
Click on Create third-party system.
Enter a Name and select the Type: HTTP API (JSON), Odoo, or MCP Server (Tools for Kai).
For an HTTP API, select the Authentication: None, Bearer Token, API Key in Header, or Username and Password.
Enter the API URL. Only HTTPS is allowed; internal and local addresses are blocked.
If needed, enter a Path for connection test, for example /health.
Set the toggles Active, Usable in workflows, and Usable for Kai.
Click on Create third-party system.
The platform then opens the detail page of the third-party system. For an HTTP API with Usable for Kai, you land directly in the Tools tab.
The types and their connections#
The type determines where the tools for Kai come from. In the list, this is shown in the Connection column.
Type |
Connection |
Where the tools come from |
|---|---|---|
HTTP API (JSON): any web API |
API |
Kai builds the tools from the API; you release them. |
Odoo: your Odoo via JSON-RPC (Odoo 14 to 19), with Database, User (Login), and API Key |
API |
Kai builds the tools from the API; you release them. |
MCP Server (Tools for Kai) |
MCP |
The server brings its own tools. |
Connect an MCP server#
For an MCP server, the form looks slightly different:
Authentication: None, Bearer Token, or OAuth.
Time limit per call (seconds): how long a single call is allowed to take before Kai aborts. The default is 10 seconds.
Who can use these tools?: roles, groups, or individuals, as described below.
Instead of Usable for Kai, the toggle is called Kai may use the tools.
Set up OAuth in two steps: First, enter Client ID, Client Secret, and if needed, Permissions (Scopes), then save. Then, log in once with the provider via Connect. If the server supports dynamic client registration, Connect alone is sufficient.
The toggles#
Active: If off, the third-party system remains saved along with its permissions, but no calls are made.
Usable in workflows: Those who build workflows can then select this third-party system. A module can only access a third-party system via its own permission.
Usable for Kai: Kai can only access the third-party system via published tools, which define what is allowed.
Who uses the tools and with which access#
If Kai is enabled, you specify roles, groups, or individuals under Who can use these tools?. If nothing is selected, it means: everyone who is allowed to use Kai. Otherwise, one match is sufficient.
For an HTTP API or Odoo, you also select under Access with which login Kai operates:
A shared access: Kai operates with the technical access of the third-party system, the same for all users. In the external system, all calls appear under this access.
Each person connects individually: Kai operates with each person's own access and only sees what that person is allowed to see in the external system. Those who have not yet connected receive a card in the chat to connect.
Tipp
Create a dedicated technical user for Kibi with only the necessary permissions. Access data is stored encrypted and never displayed again. Kibi logs which person triggered which call.
Info
If Usable in workflows is enabled, the API URL can remain empty: the third-party system then only holds the authentication, and the workflow step provides the URL. Modules require a URL. Without a URL, the form shows the field Allowed Hosts: one host per line, for example api.example.com or *.example.org. If left empty, the authentication can be sent to any host.
Test connection#
Open the third-party system in the list and select the Access tab.
Click on Test connection at the bottom.
If the test succeeds, The third-party system is reachable, authentication works. appears. The result is also shown in the list under Connection test.
Set up tools for Kai#
What you need to do depends on the connection.
Connection API (HTTP API and Odoo)#
Open the third-party system and select the Tools tab.
Click on Set up with Kai. Kai examines the system, suggests suitable tools, and creates the draft. Alternatively, select a template under Template or Without template (empty draft) and click on Set up.
Review the draft and click on Publish. Only then does Kai use the tools. If the draft contains errors, fix them first.
Connection MCP#
Open the third-party system. There is no Tools tab here; you remain in the Access tab.
In the Tools section, click on Retrieve tools. The server then reports which tools it brings.
What you find on the detail page#
Access: the details from the form, Save, Test connection, and Delete third-party system.
Tools (only for HTTP API and Odoo): what Kai is allowed to do in this third-party system, named tools like "Search contacts" or "Create offer". Kai only uses published tools and only executes writing actions after confirmation.
Modules: the modules that query this third-party system. A module can only do what you permit here.
Calls: the log of calls. It never contains content or access data and is deleted after 90 days.
Changes: who changed or tested what on the third-party system and when.
Wichtig
For an HTTP API or Odoo, Kai only uses the third-party system if Usable for Kai is enabled in the Access tab and tools are published.
Third-party systems in custom agents#
Custom Kai agents work with third-party systems via Skills. A skill is a capability: an instruction, a tool, or both.
Read: A third-party system only provides its read-only tools for agents, for example "Search contacts".
Write: If an agent needs to create or modify something in the third-party system, it requires a skill with that tool. Whether it asks first is determined in the agent under Permissions.
If the third-party system's administration requires confirmation, it always applies, even for agents.
More on this in "How do I create my own Kai agents?".