Put the chat on your website
Choose how the chat appears, copy the embed code and paste it into your website.
To show the chat on your website, you paste a small piece of code into your site once. After that, changes you make in Staffify show up on your site automatically.
Choose how the chat appears
Go to AI AgentsWidgets, click the edit button of the chat agent and go to the step Embed.
- Floating Bubble: a chat button in the corner of every page where the code is. A click opens the chat window. This reaches the most visitors.
- Inline Widget: the chat sits in a fixed spot inside a page, for example on your contact page. You set the Width and Height.
Under Domain Whitelist you can enter the websites where the chat may appear, for example example.com. Leave it empty to allow every website. Save the agent.
example.com also covers www.example.com. Using the chat on another website as well? Add that domain too.Copy the code and paste it
- On the card of the chat agent, click Get embed code.
- In the window Embed Code, click Copy Code.
- Floating Bubble: paste the code on your website just before the closing
</body>tag, on every page where the chat should be. Most website builders have a field for custom code in the footer that applies to all pages. - Inline Widget: first place
<div id="staffify-widget"></div>where the chat should appear, then paste the code right after it. - Save or publish your website and open it in a browser.
A chat button appears in the corner, or the chat appears in the spot you chose. The chat works on computers and phones.
Not sure where to paste code in your website builder? Ask the person who manages your website, or see the technical guide on docs.staffifyai.com/widgets.
Frequently asked questions
Does the chat slow down my website?
Can I use more than one chat agent on my website?
Related articles
Create a chat agent for your website
Set up the AI agent that answers visitors in the chat on your website.
Change the look of the chat
Match the colours, icon, position and size of the chat to your website.
The chat does not show or says it is unavailable
The chat does not appear on your website, or visitors see "This chat is currently unavailable". Check these causes.
Was this page helpful?