# WhatsApp Contact in Frontend

Once you have properly configured the extension, you can see WhatsApp Contact button enabled in frontend.

<figure><img src="/files/9WcoLcuhQaO0HEOzBXNj" alt=""><figcaption></figcaption></figure>

On click of WhatsApp Contact button, users get redirected to WhatsApp Web with default message if opened from desktop.

<figure><img src="/files/pgZh461HJg6DBWopizJV" alt=""><figcaption></figcaption></figure>

If users have clicked the contact button from mobile, they get redirected to WhatsApp mobile app with the default set message.

<figure><img src="/files/hLyG7lxHbkRj2x6BvG8v" 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://docs.magecomp.com/magento-2-whatsapp-contact-extension/whatsapp-contact-in-frontend.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.
