Deploy Your Chatbot
Learn how to deploy your ChatMaven chatbot across different platforms and integrate it with your existing systems.
Website Integration
JavaScript Snippet
- Go to "Deploy" in your dashboard
- Copy the JavaScript snippet:
<script>
window.chatmavenConfig = {
botId: 'YOUR_BOT_ID',
apiKey: 'YOUR_PUBLIC_API_KEY'
};
</script>
<script src="https://cdn.chatmaven.ai/widget.js" async></script> - Paste the code just before the closing
</body>tag of your website
WordPress Plugin
- Install the ChatMaven WordPress plugin
- Go to WordPress Admin → ChatMaven Settings
- Enter your Bot ID and API Key
- Configure display settings
- Save and publish
Platform Integrations
Slack Integration
- Go to "Integrations" → "Slack"
- Click "Add to Slack"
- Authorize the ChatMaven app
- Select channels where the bot should be active
- Configure response settings
Discord Integration
- Go to "Integrations" → "Discord"
- Click "Add to Discord"
- Select your server
- Configure permissions
- Set up command prefix and settings
Mobile App Integration
React Native
import { ChatMavenWidget } from '@chatmaven/react-native';
<ChatMavenWidget
botId="YOUR_BOT_ID"
apiKey="YOUR_PUBLIC_API_KEY"
/>
iOS/Android SDK
- Install the ChatMaven mobile SDK
- Initialize the SDK in your app
- Configure appearance and behavior
- Test on different devices
API Integration
REST API
- Get your API credentials from Settings
- Use the REST API to:
- Send messages
- Retrieve conversation history
- Manage bot settings
- Review the API documentation
Webhooks
- Go to "Settings" → "Webhooks"
- Add webhook endpoints for:
- New messages
- Conversation events
- Error notifications
- Configure retry settings and security
Testing Your Deployment
- Test the chatbot on all platforms
- Verify:
- Loading time
- Response accuracy
- User interface
- Mobile responsiveness
- Monitor analytics for:
- Usage patterns
- Error rates
- Response times
Next Steps
Congratulations! Your chatbot is now deployed and ready to use. To learn more about advanced features and optimizations, check out our User Guides.
FAQ and troubleshooting
The snippet is on the page but the widget never loads.
Check for CSP, ad blockers, and console errors. Ensure the script URL is reachable and the agent ID is valid.
Shopify / WordPress-specific issues?
Use the platform guides under Integrations in the docs; placement in theme app embeds or wp_footer is the usual fix.
HTTPS vs HTTP?
Always load ChatMaven over HTTPS on production sites; mixed content will be blocked in modern browsers.