> 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-force-login-extension/configuration.md).

# Configuration

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

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

**Enable Force Login:** Enable or Disable the extension from here. Set it as enabled to use the features of the extension.

**Redirect URL:** Admin can enter the redirect URL for force login here to redirect the customers to the mentioned URL.

**Force Login Alert Message:** The admin has the option to add a force login alert message displayed to the customers when login is mandatory.

## Categories

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

**Enable Force Login For Category:** Admin can Enable or Disable Force Login for categories from here.

**Select Categories:** The categories where the admin wants force login option is to be selected here.

## CMS Pages

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

**Enable Force Login For CMS Pages:** Enable or disable this option to apply force login to CMS pages or vice versa.&#x20;

**Select CMS pages:** Admin can choose the CMS pages for which the force login option is to be applied.
