Before you start
- Your business's website or documents and, for step 6, access to your website's admin panel.
#1. Create the agent
-
Open the creation window
Go into the workspace and press Create element in the top bar. In the “What do you want to create?” window, on the Textual Agent card, press Create agent: a second window opens, “New Chat Agent”.
-
Give it a name and a scope
In Agent name, type a name that helps you recognize it, for example “Garage Assistant”. In Business scope and industry, describe your business in a few words, for example “Auto repair shop in Milan: servicing, vehicle inspections and tires”. The scope goes into the instructions and tells the agent who it works for.
-
Create it and start with training
At the bottom of the “New Chat Agent” window, press Create Agent: this is the button in the second window, not the one from step 1. In the window that opens, on the Train the knowledge card, press Train.
All the details, including the agent's starting values: Creating and managing the agent.
#2. Teach it about your business
The agent answers with what you teach it: this is training. Start with your website.
-
Choose your website as the source
In Chat agentTraining, press New training, then Select Website.
-
Tell it where to read
Choose Whole Site, paste your website address, for example
https://www.esempio.it, and press Scan source. -
Remove the pages you don't need
In the “Extracted sources” column, use the X to remove the pages you don't need, such as the cart, the login area or empty pages.
-
Train
Press Train Agent and wait for the website row to show “Completed”. The list updates by itself.
With the same New training button you add documents, FAQs with the exact answers to the most frequent questions, and texts with information that isn't on your website. Sources, statuses, limits and automatic website sync are in Training: how it works.
#3. Check the instructions in the Playground
The instructions, or prompt, tell the agent who it is and how to behave. The agent starts with default instructions that are already good enough to begin with.
-
Open the instructions
Go to Chat agentPlayground and press the AGENT node, the first box on the canvas. The “Instructions and AI model” panel opens on the right.
-
Choose a starting prompt
Open Starting prompt and choose the one closest to your business, for example “Customer support” or “Sales agent”. If you want, edit the text in Instructions for the AI (prompt) and reread the Business scope.
-
Save and publish
Press Save changes, then Publish and, in the “Publish Agent” window, Confirm and Publish. The bar shows “Published”.
Until you publish, customers talk to the previous version: see Testing and publishing. How to write effective instructions, and what to leave to the knowledge base: Writing good instructions. All the controls: Playground: instructions and flows.
#4. Give the chat its look
-
Open the interface settings
Go to Chat agentAgent profileInterface. On the right, the “Chat Preview” changes as you type.
-
Write the texts and choose the colors
In Chat name, enter the name your customers will read, for example “Officina Rossi”. Write the Welcome Message and, if you want, a few Suggested Questions. Then set the Primary color and the button icon.
-
Save
Press Save changes at the bottom of the page.
All the options: Agent profile: Interface.
#5. Test it like a customer
With Test Chat, the Playground's test chat, you try the agent inside the console, even before you put the widget on your website. Tests are real: they use up your plan's messages and trigger the workspace's active automations.
-
Open the test chat
Press Test Chat in the agent's top bar. At the top of the panel you can see whether you are testing the saved draft or the published version.
-
Ask real questions
Ask what your customers ask: opening hours, services, how to book. Try an off-topic question too. The full list to use before launch is in The test with 20 real questions.
-
Fix
Where to fix a wrong answer, case by case: When an answer is wrong.
Want to try it from your phone? In Agent profileShare, “Link and Direct Sharing” panel, press Copy and open the link on your phone. The link opens the published version: chats started this way are real conversations.
#6. Put the chat on your website
-
Copy the widget code
In Agent profileShare, in the “Chat button” panel, press Copy. The code is different for every agent: always copy it from your own console.
-
Paste it into your website
Paste the code into the
<head>section of your website's code, just before</head>, in the template shared by all pages. On WordPress or Shopify you don't need to edit code by hand: follow WordPress or Shopify. For other websites: HTML and other sites. -
If you want, enter your website's domain
This is optional. In Agent profileGeneral, enter your website's domain in Publishing Domain (Optional), in lowercase, without
https://and withoutwww, for exampleesempio.it, and save. From then on, the button appears only on that domain, with or withoutwww: on another domain, or on a subdomain such asshop.esempio.it, it does not appear. See The publishing domain. -
Check
Open your website and reload the page: the widget appears at the bottom right, or at the bottom left if you chose that.
Everything about installation: Installing the widget.
Result
You have an agent that answers 24/7 on your website with your business's information. Conversations arrive in Conversations.
Before you announce the chat to your customers, run the checks in Before going live.
#If something goes wrong
Start from the troubleshooting pages Website widget or Chat agent and knowledge.
#Frequently asked questions
Can I stop the agent for a while?
Yes: press “Active” at the top right and choose “Paused”. Nothing is deleted, and you can turn it back on whenever you want. What happens while it's paused: Active and Paused.
Can it answer on WhatsApp too?
Yes. Connect WhatsApp to the workspace (WhatsApp: connecting your number), then in Agent profileIntegrations press Connect on the channel's row.
Can a teammate take over the chat from the agent?
Yes, with live chat (the Operator Chat tab), available on the plans that include it: see Agent profile: Operator Chat and Plans, quotas and usage.