> 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FFxPbTfSMt67owZo01CNW%2Fimage.png?alt=media&amp;token=85523b55-0ba0-4c03-b8fa-3d8edfb027ba" 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FmfP8RG9qWZr3z88NFz38%2Fimage.png?alt=media&amp;token=bbff4825-2727-463e-a51b-0f02057ed490" 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FTzT4x7ZQGeshfMUuNDcF%2Fimage.png?alt=media&amp;token=6b244d56-8d2a-4306-8662-de354bfa76e7" 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.
