Advanced Settings
Advanced Settings
AI Chat Assist offers a range of advanced settings and configurations to fine-tune your chatbot’s behavior, security, and performance. This guide covers the advanced options available to power users and administrators.
Security Settings
Domain Restrictions
Control which websites can display your chatbot:
- Go to Settings > Security > Domains
- Add allowed domains (e.g.,
example.com,*.example.com) - Choose restriction level:
- Strict: Exact domain match required
- Moderate: Subdomains allowed
- Relaxed: Allow embedding on any domain
- Enable/disable localhost for development
- Save your domain settings
Authentication Options
Configure how users authenticate with your chatbot:
No Authentication
Email Verification
SSO Integration
Custom Auth
Default mode where any visitor can interact with the bot without identifying themselves.
Data Privacy Controls
Configure how user data is handled:
- Go to Settings > Privacy
- Set data retention periods
- Configure anonymization options
- Set up data export capabilities
- Configure consent management
- Enable/disable specific data collection
Advanced AI Settings
Language Model Configuration
Fine-tune the AI language model:
- Go to Settings > AI > Language Model
- Select model version:
- Standard: Balanced performance and cost
- Advanced: Higher accuracy, more capabilities
- Enterprise: Highest performance, custom training
- Configure response parameters:
- Temperature (creativity vs. consistency)
- Top-p sampling
- Response length limits
- Repetition penalties
- Save your model settings
Knowledge Base Tuning
Optimize how your knowledge base is used:
- Go to Settings > AI > Knowledge Base
- Configure retrieval settings:
- Relevance threshold
- Maximum sources per query
- Context window size
- Set up knowledge weighting:
- Prioritize recent documents
- Weight by source reliability
- Custom weighting rules
- Configure fallback behavior
- Enable/disable automatic knowledge updates
Conversation Memory
Configure how the bot remembers conversation context:
- Go to Settings > AI > Memory
- Set conversation memory duration
- Configure memory depth (how many turns to remember)
- Set up long-term memory features
- Configure cross-conversation memory
- Enable/disable user preference memory
Workflow & Logic Settings
Conditional Logic Rules
Create complex decision trees and logic:
- Go to Settings > Workflows > Logic Rules
- Create new rule sets
- Configure conditions using:
- User inputs
- Conversation context
- User attributes
- External data
- Set up actions for each condition
- Configure fallback actions
- Test your logic rules
Webhook Configuration
Set up webhooks to connect with external systems:
Create a Webhook
- Go to Settings > Integrations > Webhooks
- Click Add Webhook
- Enter webhook name and description
- Configure endpoint URL
- Select authentication method
Configure Triggers
- Select events that trigger the webhook:
- Message received
- Conversation started/ended
- Lead captured
- Custom event
- Configure filtering conditions
Set Up Payload
- Configure request method (GET, POST, PUT, etc.)
- Define headers
- Structure the payload format
- Include dynamic variables
- Set up retry logic
Handle Responses
- Configure response handling
- Set up success/failure actions
- Define timeout behavior
- Configure error handling
Test the Webhook
- Use the webhook testing tool
- Send test payloads
- View response data
- Debug any issues
- Enable the webhook when ready
Custom Functions
Create JavaScript functions to extend bot capabilities:
- Go to Settings > Advanced > Custom Functions
- Click Create Function
- Write your JavaScript function
- Configure inputs and outputs
- Set execution permissions
- Test your function
- Deploy to your bot
Example custom function:
// Calculate shipping cost based on weight and distance
function calculateShipping(weight, distance, expedited) {
const baseRate = 5.99;
const weightRate = weight * 0.5;
const distanceRate = distance * 0.1;
const expeditedMultiplier = expedited ? 1.5 : 1;
return (baseRate + weightRate + distanceRate) * expeditedMultiplier;
}
// Return the result
return {
shippingCost: calculateShipping(
params.weight,
params.distance,
params.expedited
)
};
System Integration
API Rate Limits
Configure API usage limits:
- Go to Settings > API > Rate Limits
- Set limits for different API endpoints
- Configure throttling behavior
- Set up notifications for limit approaches
- View usage statistics and trends
Caching Configuration
Optimize performance with caching:
- Go to Settings > Performance > Caching
- Configure cache duration for different content types
- Set up cache invalidation rules
- Enable/disable specific cache types:
- Response caching
- Knowledge base caching
- User data caching
- External API response caching
- Monitor cache performance
Logging and Monitoring
Configure detailed system logging:
- Go to Settings > System > Logging
- Select log levels (debug, info, warning, error)
- Configure log destinations:
- Internal logs
- External logging service
- Custom webhook
- Set up log retention policies
- Configure alert thresholds
- Enable/disable specific log categories
Team and Access Control
Role-Based Access Control
Configure detailed permissions:
- Go to Settings > Team > Roles
- View default roles:
- Owner: Full access
- Admin: Full access except billing
- Editor: Create and edit bots and campaigns
- Analyst: View-only access to analytics
- Agent: Handle conversations
- Create custom roles with specific permissions
- Configure role hierarchies
- Set up approval workflows
Two-Factor Authentication
Enhance account security:
- Go to Settings > Security > 2FA
- Enable two-factor authentication
- Choose authentication methods:
- SMS verification
- Authenticator app
- Email verification
- Security keys
- Configure enforcement policies
- Set up recovery options
Audit Logging
Track system changes:
- Go to Settings > Security > Audit Logs
- View all system changes
- Filter by:
- User
- Action type
- Date range
- Resource affected
- Export audit logs
- Configure retention policies
Advanced Customization
Custom JavaScript Injection
Add custom JavaScript to your chat widget:
- Go to Settings > Advanced > Custom Code
- Enable custom JavaScript
- Add your code in the editor
- Configure execution timing:
- On widget load
- Before conversation starts
- After message sent/received
- On specific events
- Test your custom code
- Enable in production
Example custom code:
// Track conversation starts in Google Analytics
window.addEventListener('aca:conversation:started', function(event) {
if (typeof gtag === 'function') {
gtag('event', 'conversation_started', {
'bot_id': event.detail.botId,
'conversation_id': event.detail.conversationId,
'page_path': window.location.pathname
});
}
});
// Add custom button to chat header
AIChatAssist.onReady(function() {
const headerElement = document.querySelector('.aca-chat-header');
const customButton = document.createElement('button');
customButton.className = 'aca-custom-button';
customButton.innerHTML = '<i class="fa fa-star"></i>';
customButton.onclick = function() {
// Custom action
AIChatAssist.sendMessage('I clicked the star button!');
};
headerElement.appendChild(customButton);
});
White Labeling
Remove AI Chat Assist branding:
- Go to Settings > White Label
- Enable white labeling (requires Enterprise plan)
- Remove “Powered by AI Chat Assist” footer
- Customize system messages
- Replace default error pages
- Configure custom domain for hosted assets
Troubleshooting Advanced Settings
Best Practices
- Test in staging: Always test advanced settings in a staging environment first
- Document changes: Keep a record of configuration changes
- Monitor impact: Watch key metrics after making changes
- Incremental updates: Make one change at a time to isolate effects
- Regular audits: Periodically review all advanced settings
- Backup configurations: Export settings before making significant changes
- Follow security principles: Apply least privilege access control
