Setup Grimm
Add Grimm to WordPress
Grimm is one line of code — here's how to add it to any WordPress site in a couple of minutes, with no theme editing required.
Before you start
1. Allow your domain
In the Deploy tab, add the domain where Grimm will live (e.g. yoursite.com). It's required before you can add Grimm — it stops anyone else from reusing your snippet on your balance.
2. Copy your snippet
In the same Deploy tab, copy the script — it already contains your chatbot id:
<script src="https://grimmchat.com/widget.js" data-chatbot-id="YOUR_CHATBOT_ID"></script>
3. Paste it with WPCode (recommended)
WPCode is a free plugin that adds the script site-wide without touching your theme:
- In WordPress admin, go to Plugins → Add New, search WPCode, then Install and Activate.
- Go to Code Snippets → + Add Snippet → Add Your Custom Code (Blank Snippet).
- Set Code Type to HTML Snippet and paste your Grimm snippet.
- Under Insertion, choose Auto Insert, location Site Wide Footer (this places it before </body>).
- Toggle the snippet Active and Save.
Alternative: your theme or page builder
Many themes and builders (Elementor, Divi, or a block theme) have a custom code / footer scripts field in their settings — paste the same snippet there. Any "Insert Headers and Footers" plugin works too.
Alternative: functions.php (advanced)
If you're comfortable editing your (child) theme, add this to functions.php:
add_action('wp_footer', function () { ?>
<script src="https://grimmchat.com/widget.js" data-chatbot-id="YOUR_CHATBOT_ID"></script>
<?php });4. Check it and choose where it shows
Open your site — Grimm appears as a small bubble in the corner. To show it only on some pages, or hide it from a few, use the Appearance tab in your dashboard.
Troubleshooting
- The bubble doesn't appear — confirm the snippet loads on every page (site-wide, before </body>) and the chatbot id is correct.
- "Domain not allowed" — add your site's domain in the Deploy tab.
- Just changed something and don't see it? Your browser may cache the widget — try a private window.
Other platforms: Any site · general setup.