Overview
ChatAside is an embeddable AI chat widget for blogs and content sites. You install it with a single script tag, authenticate it with a widget key, and manage behavior server-side from the dashboard.Embed Snippet
Add this script tag to your site:chataside.com/widget.js and reads the data-key value on page load.
Widget Keys
ChatAside uses widget keys that start withcwk_.
cwk_keys authenticate the ChatAside widgetcak_keys authenticate ChatAds API requests
Getting Your Widget Key
- Log into app.getchatads.com
- Switch to the ChatAside product
- Open Set-Up
- Generate your widget key
- Copy the embed snippet and add it to your site
Allowed Domains
You can restrict which domains are allowed to embed your widget.- Leave the list empty to allow the widget on any site
- Add one or more domains such as
example.comto prevent unauthorized use - Domain checks happen on widget requests to
init,config,chat, andclick
Page Rules
You can control where the widget appears with include and exclude path rules.- Paths without
*are exact matches /blog/*matches/blogand all subpages*pricing*matches any pathname containingpricing- Exclude rules are evaluated after include rules
Mobile and Language Controls
ChatAside can be configured to stay hidden in a few cases:hide_on_mobile: hides the widget on smaller screensenglish_only: hides the widget when the browser language is not English- Path rules: hide the widget when the current page does not match your rules
- Team daily limit reached before the visitor opens the widget that day
Customization
You can manage core widget behavior from the dashboard without changing your embed code.Appearance
Available settings include:- Theme color
- Bubble text
- Welcome message
- Branding visibility
AI Behavior
You can also configure:- Page context on or off
- Custom system prompt
Page Context
Page context makes ChatAside article-aware. The widget extracts content from the page and sends it with each message, including:- Headings
- Paragraphs
- List items
- Table cells
- Some affiliate links already present on the page
If you turn page context off, ChatAside behaves more like a standard site chatbot and relies less on the current page.
What Happens on Load
At a high level, ChatAside works like this:- The script reads your
cwk_key - It calls
GET /v1/widget/init - The API returns whether the widget is enabled plus display rules and limits
- The bubble appears only if the current page passes those checks
- On first open, the widget calls
GET /v1/widget/configto load the site name, theme color, monetization state, and welcome message
Best Practices
Restrict domains
Add your production domains so other sites cannot reuse your widget key.
Use page rules
Limit the widget to article or product pages where it is most useful.
Customize server-side
Change theme color, text, and behavior in the dashboard without editing your embed snippet.
Rotate carefully
If you regenerate your widget key, update your site immediately to avoid downtime.