Install the messenger on your website
Last updated October 17, 2026What this is for: Integrations
Your snippet
Your snippet is in Settings > Channels > your website > Install in Corner, with your assistant's key already filled in. It looks like this. Paste the same line on every page where you want the messenger, usually once in a shared footer.
Not the one who edits your website? The Install tab has an Email it to your developer button that sends the snippet, the steps and the security lines below in one message.
<script src="https://api.getcorner.ai/widget.js" data-bot="YOUR_ASSISTANT_KEY" async></script>Any website
Paste the snippet just before the closing </body> tag in your HTML, or once in the shared footer template, then publish.
WordPress
- Install the free WPCode plugin (Plugins > Add New, search WPCode).
- Open Code Snippets > Header & Footer.
- Paste the snippet into the Footer box and select Save Changes.
- If you use a caching plugin, clear its cache so visitors get the new page.
More, with what Corner reads on WordPress: Add an AI chatbot to your WordPress site.
Shopify
- Go to Online Store > Themes, open the menu (three dots) next to your theme and choose Edit code.
- Open
layout/theme.liquid. - Paste the snippet just before
</body>and select Save.
More, with what Corner reads on Shopify: Add an AI chatbot to your Shopify store.
Wix
- Go to Settings > Custom code and select Add Custom Code.
- Paste the snippet.
- Choose All pages and Load code once, set the place to Body end, then select Apply.
Wix asks that your site is published and has a connected domain before custom code runs. Connecting your own domain needs a paid Wix plan.
More, with what Corner reads on Wix: Add an AI chatbot to your Wix site.
Squarespace
- Go to Settings > Developer tools > Code injection.
- Paste the snippet into Footer and save.
Code injection is part of the Core, Plus and Advanced plans, and some older plans.
More, with what Corner reads on Squarespace: Add an AI chatbot to your Squarespace site.
Webflow
- Open Site settings > Custom code.
- Paste the snippet into Footer code and save.
- Publish the site.
Site-wide custom code needs an active Site plan, or a site in a Core, Growth, Agency or Freelancer Workspace.
More, with what Corner reads on Webflow: Add an AI chatbot to your Webflow site.
Next.js
In app/layout.tsx, import Script from next/script and place the tag inside <body>:
import Script from "next/script"
// In app/layout.tsx, inside <body>:
<Script src="https://api.getcorner.ai/widget.js" data-bot="YOUR_ASSISTANT_KEY" strategy="lazyOnload" />React and Vue
Paste the snippet into index.html just before </body>, then build and deploy as usual.
Lovable, Bolt and v0
The Install tab has a ready-made prompt for AI website builders. Copy it into your builder's chat; it adds the snippet for you. Then publish the site.
More, with what Corner reads on Lovable: Add an AI chatbot to your Lovable site.
You can also set up Corner from Claude, ChatGPT or Cursor: see Connect your AI tool.
Check it's live
Open your website once after publishing. The Install tab in Corner then changes to Live, usually within a minute. The messenger only goes live after you confirm your email address: enter the 6-digit code Corner emailed you, in the banner at the top of Corner, if you haven't yet.
The messenger loads only on your own website address, its subdomains, and any other domains you add under Allowed domains on the Install tab. That stops anyone from copying your snippet onto another site.
If it doesn't show
- Confirm your email address. Until then the assistant isn't live.
- Publish the site after pasting, and clear any caching plugin or CDN cache.
- Check the page address is your own domain or one listed under Allowed domains.
- If your site has a strict security policy, it blocks scripts it doesn't list. The Install tab checks this for you and shows the exact lines to add. See Content Security Policy.
- Check the assistant isn't paused, and that your plan's monthly conversations haven't run out (the messenger still shows, but takes details instead of answering).
- Still stuck? Write to [email protected] with your website address.