> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-whatsapp-login-extension/configuration.md).

# Configuration

Once you have successfully installed the extension, go to **Stores -> Configuration** to configure the extension for use.

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

* **WhatsApp Login** – Enable or Disable WhatsApp Login Extension from here.
* **Sign In Request Text** – Enter your custom text for sending login request message in WhatsApp.
* **Link Expiry Time** – Set the time after which the login link will be expired.

<figure><img src="/files/4lotInFXlnb94QSXEtj1" alt=""><figcaption></figcaption></figure>

**Note:** To use Twilio, you need to run the below command

**composer require twilio/sdk**

* **Twilio Account SID** – Enter the account SID number provided by Twilio.
* **Twilio Auth Token** – Enter the authentication token provided by Twilio.
* **Twilio Mobile Number** – Enter your Twilio phone number.
* **Admin Template** – Enter the message that will be sent to customers when they request for WhatsApp login.

**Note:** For Multiple Websites, you need to have more than one Twilio account because Twilio does not support multiple webhook URLs.

<figure><img src="/files/2mANs3ZhB9oUL1feyXib" alt=""><figcaption></figcaption></figure>

* **Bitly Short URLs** – Enable short URL from here.
* **Bitly API Key** – Enter the Bitly API key.
* **Bitly Domain** – Enter your Bitly domain here.
* **Bitly Group** – Enter the Bitly group here.

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

* **Country Flag** – Enable it to show the country flag on the WhatsApp number field in the frontend.
* **Default Country** – Set the default country to show its flag in the frontend WhatsApp number field.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.magecomp.com/magento-2-whatsapp-login-extension/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
