Infin8t Documentation
DashboardIntroduction
Welcome to Infin8t, an advanced AI-powered chatbot platform designed for seamless integration into websites and applications. Our solution offers customizable chatbots trained on your specific content, providing personalized and efficient customer support.
Key Features
- Easy integration with a single line of code
- Customizable chatbot appearance and behavior
- AI-powered responses based on your website content
- Multi-language support
- Real-time analytics and performance insights
- Seamless integration with popular e-commerce platforms
Authentication
Infin8t uses API keys for authentication. Include your API key in the script tag when integrating the chatbot:
<script src="https://infin8t.tech/chatbot.js?api_key=YOUR_API_KEY"></script>
Generating an API Key
- Log in to your Infin8t dashboard
- Navigate to the "API Keys" section
- Click on "Generate New API Key"
- Enter a name for your API key (e.g., "Website Integration")
- Click "Generate" and copy your new API key
Remember to keep your API key secure and never share it publicly.
Integration
Basic HTML Integration
<script src="https://infin8t.tech/chatbot.js?api_key=YOUR_API_KEY"></script>
React Integration
import React from 'react';
import Infin8t from 'infin8t';
const App = () => {
return (
<div>
<h1>My React App</h1>
<Infin8t apiKey="YOUR_API_KEY" />
</div>
);
};
export default App;
Node.js (Express) Integration
const express = require('express');
const Infin8t = require('infin8t');
const app = express();
const chatbot = new Infin8t('YOUR_API_KEY');
app.get('/', (req, res) => {
const scriptTag = chatbot.getScriptTag();
res.send(`
<html>
<body>
<h1>My Node.js App</h1>
${scriptTag}
</body>
</html>
`);
});
app.listen(3000, () => console.log('Server running on port 3000'));
Python Integration
from infin8t import Infin8t
# Initialize the chatbot
chatbot = Infin8t(api_key='YOUR_API_KEY')
# Send a message to the chatbot
response = chatbot.send_message('Hello, how can I help you today?')
print(response)
# Get the script tag for web integration
script_tag = chatbot.get_script_tag()
print(script_tag)
# Use the chatbot in a Flask app
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def home():
script_tag = chatbot.get_script_tag()
return render_template('home.html', script_tag=script_tag)
if __name__ == '__main__':
app.run(debug=True)
Dashboard Tutorials
Changing Chatbot Design
- Go to the "Chatbot Settings" section in your dashboard
- Click on "Appearance"
- Choose from predefined themes or customize colors, fonts, and layout
- Click "Save Changes" to apply the new design
Testing Your API
- Navigate to the "API Testing" section
- Enter a test message in the provided input field
- Click "Send" to see how your chatbot responds
- Review the response and adjust your chatbot's training if necessary
Adding Website Information
- Go to the "Website Info" section
- Enter your website's name, URL, and a brief description
- Add key features or products of your website
- Click "Save" to update your chatbot's knowledge base
Managing FAQs
- Navigate to the "FAQ Management" section
- Click "Add New FAQ" to create a new question-answer pair
- Enter the question and its corresponding answer
- Use the drag-and-drop interface to reorder FAQs
- Click "Save Changes" to update your chatbot's FAQ knowledge
Fine-tuning Your Chatbot
- Go to the "Training" section in your dashboard
- Upload a CSV file with example conversations or use the web interface to add training data
- Click "Start Fine-tuning" to begin the process
- Monitor the progress and wait for the completion notification
- Test your newly fine-tuned model in the "API Testing" section
Using Team Features
- Navigate to the "Team Management" section
- Click "Invite Team Member" to add a new member
- Enter the email address and select the appropriate role (Admin, Editor, Viewer)
- Set permissions for each team member
- Use the activity log to track changes made by team members
Customization
Infin8t offers various customization options:
- Appearance: Customize colors, fonts, and layout through the dashboard
- Behavior: Set up custom greetings, fallback messages, and conversation flow
- Training: Upload custom data to train your chatbot on specific information
Analytics
Infin8t provides comprehensive analytics to help you understand your chatbot's performance:
- User engagement metrics
- Conversation analytics
- Popular topics and queries
- Chatbot performance over time
Access these analytics through your Infin8t dashboard.
API Reference
For advanced integrations, Infin8t offers a RESTful API:
POST /api/v1/chat
- Send a message to the chatbotGET /api/v1/conversations
- Retrieve conversation historyPOST /api/v1/train
- Upload training data for your chatbot
For full API documentation, visit our API Documentation page.
Troubleshooting
- Ensure you're using a valid API key
- Check that the script is loading correctly (inspect your browser's network tab)
- Verify that there are no JavaScript errors in the console
- For styling issues, make sure there are no CSS conflicts with your website
If you continue to experience issues, please contact our support team.
Support
For additional support:
- Visit our FAQ page
- Join our community forum
- Contact our support team at support@infin8t.tech