How to add an AI chat widget to your website
By Luran team · Published · 5 min read
To add an AI chat widget to your website with Luran, sign up, add your business information, copy one small piece of code from the dashboard, paste it into your website, and send a test message. The code is the same everywhere, so it works on any website that lets the owner add custom code, such as WordPress, Shopify or a custom site.
This article walks through the steps in order, says who can do each one, and lists what to check before you tell customers it is live.
What do I need before I start?
You need a Luran account and a website where you, or someone you work with, can add custom code. Signing up asks for your company name and an email address. There is no password to invent at sign-up: Luran sends one after your email is confirmed. There is a free 30-day Trial, so you can test everything before you pay.
You do not need a developer for most of this. You may need someone technical only for adding the small piece of code, if you do not manage the website yourself.
How do I get the widget on my site?
The dashboard's Overview page tracks the three things that matter most: add information, put the chat on the website, and send one test message. Follow them in that order:
- Add information for the AI to answer from. Upload documents, add website pages, or let Luran interview you and write a first draft.
- Copy the small piece of code the dashboard gives you for the chat window.
- Paste it into your website where custom code is allowed, then save or publish the site.
- Open your website, find the chat window, and send a test message.
If you would rather watch than read, Luran has an official video: "How to Set Up Luran AI | AI Configuration, API Keys & Widget Installation" on the guides page.
Will it work with my website builder or shop?
One small piece of code works on any website that lets the owner add custom code. WordPress, Shopify and custom-built sites are examples. There is no separate version for each. If your platform does not let you add custom code, ask its support team where custom code can be added, or ask whoever manages the site.
Customers do not download anything. They chat in the window on your site, or on WhatsApp if you have linked your number.
What do customers see?
A chat window on your site. The AI answers using only the information you gave it, and, if you use Offerings, customers see item cards with the photo, price and availability. If the AI cannot help, it asks a short question or offers your team, depending on how you set it up.
Customers can send up to three photos per message, and on a computer they can record a short screen recording that goes to your team. The AI reads photos; it does not watch screen recordings.
Who answers first, the AI or my team?
You choose, and the setting matters. New businesses start on Human only, which means the AI stays quiet and customers go straight to your team. When you are ready, switch to AI first, or to AI with human handoff, where the AI answers what it knows and offers your team whenever it cannot.
If you forget this step, your test message may get no AI reply. Check this setting first if the chat seems silent.
How do I test it before customers see it?
- Ask a question your information answers, and check the reply is correct.
- Ask a question it does not cover, and check that it asks or offers your team.
- Ask for a person, and check that a ticket is created and your team is alerted.
- If you use Offerings, ask for a price and compare the reply with your list.
Luran does not promise that every answer is right, so read a handful of real conversations in the first days and fix the information behind anything you do not like.
What should I do in the first week after it is live?
Treat the first week as a test with real customers. Open the dashboard each day and read the conversations. Look for questions the AI could not answer, because each one shows a fact missing from your information, and add it. Check the ratings customers give after a team member resolves a chat, and read the low ones first.
If the AI is quiet on too many questions, add more information. If it answers too much, set topics it must not discuss, or switch to AI with human handoff so that your team sees anything uncertain. Small, regular fixes work better than one large rewrite.
What about the hosted support page and WhatsApp?
The website chat is one of several places customers can reach you. Luran also hosts a support page for customers who do not use your website, and you can link your own WhatsApp number in about a minute. All of them feed the same inbox, so your team does not have to check separate tools.
Frequently asked questions
How much code do I need to add?
One small piece of code, the same on every website. You paste it where your website allows custom code.
Do I need a developer?
Not for the main steps. You may need someone technical only to add the code if you do not manage the website yourself.
Why is my test message getting no AI reply?
New businesses start on Human only. Switch to AI first or AI with human handoff in your settings when you are ready.
Do customers need to download anything?
No. They chat in the window on your site or on WhatsApp.