Skip to main content

Deploy Your Chatbot

Learn how to deploy your ChatMaven chatbot across different platforms and integrate it with your existing systems.

Website Integration

JavaScript Snippet

  1. Go to "Deploy" in your dashboard
  2. 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>
  3. Paste the code just before the closing </body> tag of your website

WordPress Plugin

  1. Install the ChatMaven WordPress plugin
  2. Go to WordPress Admin → ChatMaven Settings
  3. Enter your Bot ID and API Key
  4. Configure display settings
  5. Save and publish

Platform Integrations

Slack Integration

  1. Go to "Integrations" → "Slack"
  2. Click "Add to Slack"
  3. Authorize the ChatMaven app
  4. Select channels where the bot should be active
  5. Configure response settings

Discord Integration

  1. Go to "Integrations" → "Discord"
  2. Click "Add to Discord"
  3. Select your server
  4. Configure permissions
  5. 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

  1. Install the ChatMaven mobile SDK
  2. Initialize the SDK in your app
  3. Configure appearance and behavior
  4. Test on different devices

API Integration

REST API

  1. Get your API credentials from Settings
  2. Use the REST API to:
    • Send messages
    • Retrieve conversation history
    • Manage bot settings
  3. Review the API documentation

Webhooks

  1. Go to "Settings" → "Webhooks"
  2. Add webhook endpoints for:
    • New messages
    • Conversation events
    • Error notifications
  3. Configure retry settings and security

Testing Your Deployment

  1. Test the chatbot on all platforms
  2. Verify:
    • Loading time
    • Response accuracy
    • User interface
    • Mobile responsiveness
  3. 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.