# Install the chat widget

Add one script tag to your site. Covers WordPress, Shopify, Wix, Squarespace, Webflow and plain HTML.

## Copy your script tag

Open your assistant, go to Install and click Copy. Paste the tag just before the closing </body> tag on every page, or into your site builder's footer or custom-code setting.

## Platform guides

Step-by-step instructions are on the Integrations pages for WordPress, Shopify, Wix, Squarespace, Webflow and plain HTML.

## Options

Add attributes to the script tag to change behaviour on a page: data-open="true" opens the chat on load, data-position="left" moves it, data-color="#0ea5e9" changes the colour, data-theme="dark" forces dark mode and data-lang="fr" sets the interface language.

Control the widget from your own code with window.uchats.open(), window.uchats.close(), window.uchats.toggle() and window.uchats.send("Hello").

## Allowed domains

By default your widget only runs on your website's domain. Add more domains under Settings → Allowed domains, or clear the list to allow any site.
