> ## Documentation Index
> Fetch the complete documentation index at: https://help.formsdeck.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use as a chat widget

> How to use your form as a chat widget on a website

## Share Section

You can click on the Share button inside the WhatsApp form to go to the Share section

<img src="https://mintcdn.com/formsdeck/yo3esWrp833ttRsT/images/sharing-guide/share-section.png?fit=max&auto=format&n=yo3esWrp833ttRsT&q=85&s=f4c95e4c725715f228e918743372bed4" alt="Share Section" width="1366" height="651" data-path="images/sharing-guide/share-section.png" />

## Copy Script Code

Under Share > Website, you can see the option use as a widget. Copy the code snippet and past it to your website's HTML, right before the closing `</body>` tag.

<img src="https://mintcdn.com/formsdeck/yo3esWrp833ttRsT/images/sharing-guide/use-as-a-chat-widget.png?fit=max&auto=format&n=yo3esWrp833ttRsT&q=85&s=7c1e78e4a92f05a7dc60084777b18a81" alt="Chat Widget" width="1366" height="716" data-path="images/sharing-guide/use-as-a-chat-widget.png" />

If you have a WordPress website, you can install [this WordPress plugin](https://wordpress.org/plugins/formsdeck/) on your site to easily add a chat widget.

<img src="https://mintcdn.com/formsdeck/yo3esWrp833ttRsT/images/sharing-guide/fd-wp-plugin.png?fit=max&auto=format&n=yo3esWrp833ttRsT&q=85&s=435c58b17fd3505cc11cfb778ebeafc5" alt="Chat Widget" width="1600" height="1100" data-path="images/sharing-guide/fd-wp-plugin.png" />
