Developer
Documentation

Everything you need to integrate Agentik8 chatbots into your applications

Quick Start Guide

Get up and running in minutes

1

Create Account

Sign up for your Agentik8 account and verify your email

2

Upload Training Data

Upload your documents, FAQs, or knowledge base

curl -X POST https://api.Agentik8/v1/training-data \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@knowledge-base.pdf" \
  -F "type=document"
3

Train Your Bot

Start the training process with your uploaded data

curl -X POST https://api.Agentik8/v1/bots/train \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Support Bot", "training_data_ids": ["data_123"]}'
4

Deploy

Deploy your trained bot to your website or platform

<script src="https://widget.Agentik8/embed.js"></script>
<script>
  agentik8Widget.init({
    botId: 'your_bot_id',
    apiKey: 'your_public_key'
  });
</script>

API Reference

Core API endpoints for integration

POST/v1/bots

Create a new chatbot

GET/v1/bots/{id}

Get chatbot details

POST/v1/bots/{id}/chat

Send message to chatbot

POST/v1/training-data

Upload training data

GET/v1/analytics

Get conversation analytics

Integration Options

Choose the integration method that works best for you

Website Widget

Embed chatbot directly on your website

REST API

Integrate via our comprehensive REST API

Webhooks

Receive real-time events and notifications

SDK Libraries

Use our official SDKs for popular languages

Code Examples

Sample implementations in popular languages

JavaScript SDK

import { agentik8Client } from '@agentik8/sdk';

const client = new agentik8Client({
  apiKey: 'your_api_key'
});

// Send a message
const response = await client.chat({
  botId: 'bot_123',
  message: 'Hello, how can you help?',
  userId: 'user_456'
});

console.log(response.message);

Python SDK

from agentik8 import Client

client = Client(api_key='your_api_key')

# Send a message
response = client.chat(
    bot_id='bot_123',
    message='Hello, how can you help?',
    user_id='user_456'
)

print(response.message)

Need Help?

Our developer support team is here to help you integrate successfully