Developer Documentation (Developers & API)
AIHive provides a powerful toolkit (API & SDK) to help you integrate artificial intelligence into your website, mobile app, or internal management system (ERP/CRM) quickly.Chat Widget Integration (Web SDK)
This is an “instant” solution (No-code) that allows you to add AIHive to your website with just a simple HTML code snippet. First, go to the “AI Setup” interface, after completing the setup. Click “Publish”
Method 1: Floating Chat Bubble
Displays a chat icon in the corner of the screen. Suitable for Landing Pages or homepages. Copy the following code and paste it into the<body> or <footer> tag of your website:
Method 2: Full Page Embed
Transform a sub-page into a dedicated AI chat interface (similar to ChatGPT interface). Paste the following code into the<body> tag:
Method 3: iFrame Embed (Fixed Chat Frame)
Embed a chat frame in a fixed position within an article or admin dashboard interface.Chat API (Backend Integration)
Use this API to build a custom chat interface (Custom UI) on Mobile App or send/receive messages from your Server.1. Connection Information
- Base URL:
https://api.aihive.global/v1 - Endpoint:
/chat-messages - Method:
POST
2. Authentication
Go to the Agent setup interface, click “Publish” and copy the API Key here