Follow these simple steps to install your chatbot on a site built with Custom HTML / PHP / Laravel.
How to Get Your FastBots Chatbot Code
Before installing your chatbot on any platform, you’ll need your widget code.
Log in to FastBots.
Select the chatbot you want to install.
Click Deploy in the left-hand menu.
Scroll to Add to a Website.
Copy the script code using the copy icon.
You’ll paste this code into your website builder so the chatbot appears across all pages.

<head>To install your FastBots chatbot on a custom-coded website, simply add the script to the global header of your site.
index.html).</head> tag:
<script defer src="https://app.fastbots.ai/embed.js" data-bot-id="YOUR-BOT-ID"></script>
Save the file and upload it to your server.
If you're using PHP:
Open your header file (often header.php or part of your theme layout).
Paste your FastBots script code before the closing </head> tag.
Save and upload the updated file.
If you're using Laravel:
Open your main Blade layout file (commonly resources/views/layouts/app.blade.php).
Paste your FastBots script code inside the <head> section, just before </head>.
Save your file — Laravel updates instantly on reload.
Step 2 — Confirm installation
Visit your website and refresh the page — the FastBots chatbot should now appear across all pages of your custom site.