Add InstantBot to Your Website

Pick your website platform below and follow the simple steps. Takes about 2 minutes.

πŸ”΅ WordPress

Use the free Insert Headers and Footers or WPCode plugin β€” both work great and take under a minute to set up.

1

Log in to your WordPress admin

Go to yourwebsite.com/wp-admin and log in with your username and password.

2

Install the "Insert Headers and Footers" plugin

In the left menu, click Plugins β†’ Add New. In the search box at the top right, type Insert Headers and Footers. Click the Install Now button next to the plugin by WPBeginner, then click Activate.

Alternatively, search for WPCode β€” it's the same idea and works just as well.

3

Open the plugin settings

In the left menu, click Settings β†’ Insert Headers and Footers. (If you installed WPCode instead, click Code Snippets β†’ Headers & Footers.)

4

Copy your InstantBot code

Copy the code below β€” this is your personal InstantBot snippet.


              
            

This is your unique code. Don't share it with anyone else.

5

Paste the code into the "Scripts in Footer" box

On the plugin settings page, find the box labelled "Scripts in Footer" (the bottom section). Click inside that box and paste your code (press Ctrl+V on Windows or Cmd+V on Mac).

6

Click Save

Scroll down and click the Save button. That's it!

Now visit your website in a new browser tab β€” you should see the InstantBot chat button in the corner of your page.

Not seeing the chat button? Try clearing your browser cache (Ctrl+Shift+R / Cmd+Shift+R) or opening your website in an Incognito/Private window.
🟒 Shopify

You'll add the code directly to your Shopify theme. This sounds technical but Shopify makes it straightforward β€” just follow these steps exactly.

1

Log in to your Shopify store admin

Go to yourstore.myshopify.com/admin and log in.

2

Go to Online Store β†’ Themes

In the left sidebar, click Online Store. A submenu will appear β€” click Themes.

3

Click "Edit code" on your current theme

You'll see your active theme at the top. Click the three-dot menu (β‹―) or the dropdown arrow next to the Customize button, then click Edit code.

4

Open the theme.liquid file

On the left side of the code editor, you'll see a list of files. Look for a folder called Layout and click on theme.liquid inside it.

5

Copy your InstantBot code


              
            
6

Find </body> and paste just before it

In the code editor, press Ctrl+F (Windows) or Cmd+F (Mac) to open the search box. Type </body> and press Enter. This will highlight the closing body tag near the bottom of the file.

Click just before the </body> text, then paste your InstantBot code (Ctrl+V / Cmd+V).

7

Click Save

Click the Save button in the top-right corner of the code editor. Visit your store β€” you should see the InstantBot button!

Don't see the button? Make sure you saved, then try a hard refresh: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac).
⬛ Wix

Wix has a built-in "Custom Code" feature in the site settings that lets you add code to every page on your website without any technical knowledge.

1

Log in to your Wix account

Go to wix.com, click Log In, and enter your credentials. Then click Edit Site on your website.

2

Open Settings

Once inside the Wix Editor, look for the top menu bar. Click on the Settings option (it may appear as a gear icon or in the left panel).

3

Go to Advanced β†’ Custom Code

In the Settings panel, scroll down to find Advanced. Click on it, then click Custom Code.

4

Click "Add Custom Code"

On the Custom Code page, click the + Add Custom Code button.

5

Copy your InstantBot code


              
            
6

Configure and paste the code

A panel will slide in. Paste your code in the large text box. Then:

  • Give it a name like InstantBot
  • Set "Add Code to Pages" to All Pages
  • Set "Place Code in" to Body - end
7

Click Apply, then Publish your site

Click the Apply button to save the code, then click the big Publish button to make it live on your website.

Important: In Wix, you must click Publish after making any changes for visitors to see them.
⬜ Squarespace

Squarespace has a "Code Injection" feature that lets you add code to every page of your site at once. It's available on Business and Commerce plans.

1

Log in to your Squarespace account

Go to squarespace.com and log in. Click on your website to open the editor.

2

Go to Settings

In the left sidebar menu, click Settings (the gear icon).

3

Click Advanced, then Code Injection

In the Settings menu, scroll down and click Advanced. Then click Code Injection.

4

Copy your InstantBot code


              
            
5

Paste into the Footer box

You'll see two boxes β€” one for the Header and one for the Footer. Click inside the Footer box and paste your InstantBot code there.

6

Click Save

Click the Save button at the top of the page. Your InstantBot will now appear on every page of your Squarespace site!

On a Personal plan? Code Injection requires a Business or Commerce plan. You can upgrade in your Squarespace account settings, or email us for help finding alternatives.
πŸ”· Webflow

In Webflow, you add custom code through the Project Settings. This adds InstantBot to every page of your site automatically.

1

Open your Webflow project

Log in at webflow.com and open your project in the Designer.

2

Go to Project Settings

Click the Webflow logo (the "W" icon) in the top-left corner of the Designer. Then click Project Settings.

3

Click the "Custom Code" tab

In Project Settings, click the Custom Code tab at the top of the settings panel.

4

Copy your InstantBot code


              
            
5

Paste into "Footer Code"

Scroll down to find the Footer Code section (below the Head Code section). Click inside the box and paste your InstantBot code.

6

Save and publish

Click Save Changes. Then go back to the Designer and click the Publish button to push the changes live to your website.

Note: Custom code in Webflow requires a Site plan (not the free tier). If you're on the free plan, you'll need to upgrade to use this feature.
🌐 Other / HTML

If your website is built with plain HTML, or you're using a platform not listed above, you can add InstantBot by pasting one line of code into your HTML file. If you have a web developer, just send them this page.

1

Open your website's HTML file

Open your main HTML file (usually called index.html) in a text editor. You can use Notepad (Windows), TextEdit (Mac), or any code editor like VS Code.

2

Copy your InstantBot code


              
            
3

Find </body> in your file

Use your text editor's Find feature (Ctrl+F or Cmd+F) and search for </body>. This tag is usually near the very bottom of the file.

4

Paste the code just before </body>

Click just before the </body> tag and paste your InstantBot code. It should look something like this:


              
            
5

Save the file and upload it

Save the file (Ctrl+S / Cmd+S). Then upload the updated file to your web server using FTP or your hosting control panel (like cPanel or Plesk).

Using a CMS or page builder not listed here? Most platforms have a way to add "custom code" or "scripts". Look for those options in your settings, or email us and we'll walk you through it.

πŸš€

Don't want to do it yourself?

Our team sets up InstantBot on your website for you β€” completely done for you. No technical knowledge needed.

Get the Komplett-Service β†’

Send to your web developer

Have someone who manages your website? Send them these instructions.

`; if (params.get('bot')) { document.getElementById('botIdNotice').style.display = 'block'; } // Populate code snippets β€” or show DFY CTA if no bot ID const noBotCta = `

Lassen Sie uns das fΓΌr Sie einrichten

Unser Team ΓΌbernimmt die Installation kostenlos β€” Sie mΓΌssen nichts tun.

Kostenlose Installation anfragen β†’
`; const snippetIds = ['wp-code','shopify-code','wix-code','squarespace-code','webflow-code','html-code']; snippetIds.forEach(id => { const el = document.getElementById(id); if (!el) return; if (params.get('bot')) { el.textContent = embedCode; } else { // Replace snippet-wrap with CTA const wrap = el.closest('.snippet-wrap'); if (wrap) wrap.outerHTML = noBotCta; } }); if (document.getElementById('html-example-code')) { if (params.get('bot')) { document.getElementById('html-example-code').textContent = exampleCode; } else { const wrap = document.getElementById('html-example-code').closest('.snippet-wrap'); if (wrap) wrap.outerHTML = noBotCta; } } // ── Tab switching ──────────────────────────────────────────────────── function switchTab(platform) { // Hide all panels document.querySelectorAll('.platform-panel').forEach(p => p.classList.remove('active')); document.querySelectorAll('.tab-btn').forEach(b => { b.classList.remove('active'); b.setAttribute('aria-selected', 'false'); }); // Show selected document.getElementById('panel-' + platform).classList.add('active'); const btn = document.querySelector('[data-tab="' + platform + '"]'); if (btn) { btn.classList.add('active'); btn.setAttribute('aria-selected', 'true'); } // Smooth scroll to top of tabs on mobile if (window.innerWidth < 640) { document.querySelector('.platform-tabs').scrollIntoView({ behavior: 'smooth', block: 'nearest' }); } } // ── Copy code ──────────────────────────────────────────────────────── function copyCode(elementId, btn) { const text = document.getElementById(elementId).textContent; navigator.clipboard.writeText(text).then(() => { const original = btn.textContent; btn.textContent = 'Copied!'; btn.classList.add('copied'); setTimeout(() => { btn.textContent = original; btn.classList.remove('copied'); }, 2000); }).catch(() => { // Fallback for older browsers const ta = document.createElement('textarea'); ta.value = text; ta.style.position = 'fixed'; ta.style.opacity = '0'; document.body.appendChild(ta); ta.select(); document.execCommand('copy'); document.body.removeChild(ta); btn.textContent = 'Copied!'; btn.classList.add('copied'); setTimeout(() => { btn.textContent = 'Copy'; btn.classList.remove('copied'); }, 2000); }); } // ── Send to developer ──────────────────────────────────────────────── function sendToDev() { const subject = encodeURIComponent('Please install InstantBot on my website'); const body = encodeURIComponent( `Hi, Could you please add a small code snippet to our website? It's a chat assistant called InstantBot. Here is the installation guide: https://instantbot.app/install.html?bot=${botId} The code you need to add is: ${embedCode} tag on every page of the site. Platform-specific instructions are on the guide page above. Thank you!` ); window.location.href = `mailto:?subject=${subject}&body=${body}`; } // ── Allow tab nav from URL hash ─────────────────────────────────────── const hash = window.location.hash.replace('#',''); const validTabs = ['wordpress','shopify','wix','squarespace','webflow','html']; if (validTabs.includes(hash)) switchTab(hash);