# CRM plugin (widget button on your website)

1. Make sure the widget is connected. To do this, go to settings and select WhatsApp.<br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FSuYWNO8zn5gllnDWy2Xb%2Fimage.png?alt=media&#x26;token=03eb1752-451f-40e3-89a7-bebf75f80688" alt=""><figcaption></figcaption></figure>

2. In the connection settings window, assign the number to the desired funnel, select the stage, and press the 'Save' button.<br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FlIGuuu7BJWlAtWbldJeY%2Fimage.png?alt=media&#x26;token=c797307e-2244-434b-8acc-201d1d105166" alt=""><figcaption><p>"The widget button won't be placed without assigning the number to the funnel."</p></figcaption></figure>

3. Go to the Leads section, select the funnel to which the number is attached, and click the 'AUTOMATE' button.<br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FZSlC0rS39CMNonEYo6C9%2Fimage.png?alt=media&#x26;token=82730d09-b48e-4ce0-a27f-bc30c80058ca" alt=""><figcaption></figcaption></figure>

4. In the funnel settings, add a new lead source, click 'Add,' and select 'Website chat button'.<br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FVYQm821QxRJ3MbHHn0Kp%2Fimage.png?alt=media&#x26;token=77b69376-be7d-4882-a8f1-bedb997049f8" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FYPaqKX1gvVben5ftqClN%2Fimage.png?alt=media&#x26;token=1f8a64ea-27d7-446e-b9b8-4c3e7353544c" alt=""><figcaption></figcaption></figure>

5. In the CRM plugin menu, click on the WhatsApp icon, enter the website name, and press 'Save'.<br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FyGWY7Ejgfsn1sJVZRQiY%2Fimage.png?alt=media&#x26;token=fa04188b-e113-4c88-a422-ecad575c84a9" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FewPYQuoohZv8by4elOLS%2Fimage.png?alt=media&#x26;token=ba297518-ef6d-4bbe-9c28-7f30c7165cb6" alt=""><figcaption></figcaption></figure>

6. Go to the 'Installation' tab and copy the button code for your website.<br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FHFSLhc5wVyNDeo54VUcp%2Fimage.png?alt=media&#x26;token=81b8735a-91fc-40bb-accb-4e06f622bc58" alt=""><figcaption></figcaption></figure>

7. opy the code and place it on your website's page. If you're not handling this, pass it on to your developers or website administrator. After placing the code on the website, the widget button will appear. <br>

   <figure><img src="https://1360887499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb61nIKR97C88XZEX04cC%2Fuploads%2FulQEqiKie4moH2dCmcMy%2Fimage.png?alt=media&#x26;token=2c3d033a-9bfa-46b6-8fc7-f5f1a25c32ba" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://whatcrm.gitbook.io/whatcrm-docs/english/integrations-products/kommo.com/crm-plugin-widget-button-on-your-website.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
