# Messaggera Chat Widget

This script allows you to easily integrate a chat widget into your website. It dynamically loads the necessary resources and initializes the chat widget for your website.
## Installation

* Download or Clone the Package: Get the script from the repository.

* Install the Package: Add the script to your project.


**Usage:**

    import init from 'messaggera';

    init("your-website-id", {
        id: "unique-user-id",
        email: "user@example.com",
        name: "Your name", // Optional
        age: 30           // Optional
    });


websiteId: (Required) A string representing your website's unique ID. Ensure it is alphanumeric and may contain - or _.

userData: (Optional) An object containing user information. The following fields are expected:

id (Required): A unique user ID.

email (Required): A valid email address.

Any other optional fields you wish to pass.


## Learn More:

For more details and support, visit messaggera.com.

Messaggera provides a cloud-based helpdesk platform designed for small to mid-sized businesses. It offers tools like live chat, AI-assisted bots, and public status pages to enhance communication and customer support.


