Set up your public chatbot
The public chatbot is an embeddable chat widget that you can integrate into your website. This guide walks you through the complete setup process.Step 1: Enable public access
Before embedding your chatbot, configure your agent’s public settings.1
Open agent settings
Navigate to your agent and access the Settings section.

2
Enable public access
In the settings panel, locate and toggle on the Public Access option to make your agent available for embedding.

3
Add your domain
Enter the domain where you’ll be embedding the chatbot. This should be your website’s URL (for example, 
docs.yourcompany.com). This ensures the chatbot only loads on authorized domains. You can use http://localhost:port for testing purposes.
4
Save and copy your Agent Key
Press Save URL to confirm your settings. You’ll see your Agent Key displayed, copy this key — you’ll need it in the next step to embed the chatbot on your website.
Step 2: Embed the widget
Add the Artaios chatbot to your website using the following code.Add the container element
Add this container to your HTMLLoad and initialize the script
Add this script after the container element:YOUR_AGENT_KEY with the Agent Key you copied from the agent settings.
When the page loads, you see the chatbot launcher button and you can open a conversation.
Widget types
Artaios supports three display modes:Floating Button
A collapsible chat widget that appears as a button in the bottom corner of your page (position configurable). Users click to expand the chat interface.

In-Place
The chat interface is rendered directly in the page, always visible and expanded. Ideal for dedicated support pages or embedded chat sections.

Modal
A centered overlay dialog that opens from a launcher button. The chat appears over a semi-transparent backdrop (clicking the backdrop closes it). On mobile screens (<600px), the modal goes full-screen.
type property in your configuration (see Technical configuration below).
Step 3: Configure your chatbot (optional)
You can customize the chatbot’s appearance and behavior by passing additional parameters towindow.artaios.initialize().
Configuration reference
Theinitialize function accepts an ArtaiosOptions object organized into the following categories:
Technical
Core technical configuration for the chatbot widget:Content
Content and messaging configuration:Images
Theimages object allows you to customize branding:
Styling / Theming
Visual appearance and styling configuration:Theme
Thetheme object allows you to customize colors and appearance:
Audio
Audio features are only available if you have subscribed to the appropriate tier and saved an ElevenLabs API key in the platform settings.
Voice configuration
ThevoiceConfig object configures audio output voice settings (requires enableAudio: true):
User identification
Pass auserToken (a JWT with a sub claim) to enable chat history persistence across sessions. Without a token, each page load starts a fresh conversation.
You can update the token after initialization — for example, after a user logs in:
Configuration examples
Minimal setup
Just the essentials:Customer support bot
With hint questions and feedback:Fully customized with theming
Complete customization with branding and theme:Modal dialog
Open the chat as a centered overlay:With audio capabilities
Enable voice interaction:Troubleshooting
- Launcher does not appear: Confirm you added the container element and that
elementIdmatches the containerid. - Loads locally but not in production: Verify your production domain is allowlisted in agent settings.
- Console shows a script error: Confirm the
scriptElement.srcURL is reachable from your site. - Agent Key error: Ensure you copied the full Agent Key without extra spaces or characters.
Next steps
- Monitor performance: Review agent analytics to see how visitors use the chatbot.
- Test thoroughly: Verify the widget works across devices and browsers.
- Iterate on configuration: Tune welcome text, theme, and launcher placement based on user feedback.
- Collect user feedback: Use the feedback feature to continuously improve responses.