Everything you need to integrate AI-powered conversations into your product. Comprehensive guides, API references, and SDKs.
Get up and running with Crystol AI in minutes. Follow this quickstart guide to make your first API call.
import { CrystolAI } from '@crystol/sdk';
const client = new CrystolAI({
apiKey: process.env.CRYSTOL_API_KEY,
});
// Create a new conversation
const conversation = await client.conversations.create({
agentId: 'your-agent-id',
channel: 'web',
});
// Send a message
const response = await conversation.sendMessage({
content: 'Hello, I need help with my order',
});
console.log(response.message);Install the Crystol AI SDK using your preferred package manager.
npm install @crystol/sdkyarn add @crystol/sdkpnpm add @crystol/sdkbun add @crystol/sdkComplete reference for all API endpoints and parameters.
/v1/conversationsList all conversations for the authenticated user.
/v1/conversationsCreate a new conversation with an AI agent.
/v1/conversations/:id/streamWebSocket endpoint for real-time message streaming.
Official SDKs for popular programming languages and frameworks.
Step-by-step tutorials for common use cases and integrations.
Create an AI-powered customer support chatbot in 15 minutes.
15 min readAdd voice capabilities to your AI agents with Vapi.
20 min readTrain your AI agent with your own knowledge base.
30 min readSet up real-time event notifications for your workflows.
10 min readOur team is here to help you integrate Crystol AI into your product. Schedule a call with our solutions engineers.
Talk to an expert