# How to Create A Chat Widget / Icon For Your WhatsApp Number ?

#### Creating a Chat Widget

**Click "Create New Widget":**

* Enter the widget name
* Select a category
* Enter the domain name
* Choose a destination (WhatsApp channel, WhatsApp number, or chat widget only)

#### Customization Options

* **Chat Button:**
  * Position
  * Color
  * Size
  * Margins
* **Chat Screen:**

  * Title
  * Subtitle
  * Brand color
  * Text color
  * Agent profile image
  * Default text

  #### Pre-Chat Forms

  * **Question Types:**
    * Text input
    * Email input
    * Date input
  * **Configuration:**

    * Data stored in custom fields

    #### Pre-Chat Session

    * Set to open by default
    * Define frequency and duration

    #### Final Steps

    * Save
    * Preview the widget
    * Add to your website

{% embed url="<https://www.youtube.com/watch?v=B68bj7LrUZI>" %}


---

# 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://helpdocumentation.gitbook.io/user/chat-widget/how-to-create-a-chat-widget-icon-for-your-whatsapp-number.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.
