Quick Start
Get your first chatbot running in under 5 minutes.
1. Access the Dashboard
After installation, open the admin dashboard:
http://localhost:3000
Create an account or log in with the default credentials:
- Email:
admin@demo.com - Password:
admin123
2. Create a Channel
Navigate to Channels and click Add Channel.
For testing, the easiest option is WebChat:
- Click WebChat
- Enter a name: "My Website Chat"
- Configure colors and appearance
- Click Create Channel
Copy the embed code to add the widget to your website.
3. Create a Bot
Navigate to Bots and click Create Bot:
- Enter a name: "Support Bot"
- Select an AI provider (OpenAI, Anthropic, or Ollama)
- Configure the system prompt:
You are a helpful customer support assistant for Acme Corp.
You help customers with product questions, orders, and general inquiries.
Be friendly, professional, and concise.
- Set temperature: 0.7
- Link the bot to your WebChat channel
- Click Create Bot
4. Test the Bot
Open the embedded WebChat widget and send a message:
Hi, I need help with my order
The bot will respond using AI!
5. Create a Flow (Optional)
For more control, create a conversation flow:
- Navigate to Flows → Create Flow
- Drag a Message node to send a greeting
- Add a Question node to collect information
- Add Condition nodes for branching logic
- Connect the nodes
- Click Save and Activate
Using the API
You can also interact programmatically:
# Get an API key from Settings → API Keys
# Send a message
curl -X POST http://localhost:8081/api/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel_id": "your-channel-id",
"to": "user@example.com",
"content": "Hello from the API!"
}'
Using an SDK
Or use one of our SDKs:
import { Linktor } from '@linktor/sdk'
const client = new Linktor({
apiKey: process.env.LINKTOR_API_KEY
})
// Send a message
await client.messages.send({
channelId: 'your-channel-id',
to: '+1234567890',
content: 'Hello from TypeScript!'
})