> For the complete documentation index, see [llms.txt](https://docs.swish.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swish.app/how-to-require-login-to-view-or-use-the-wishlist.md).

# How to require login to view or use the wishlist?

Swish gives you flexible access control for your wishlist. You can decide whether users can view or interact with the wishlist with or without being logged in.

### How to Set Login Requirements

#### To require a login for viewing or using the wishlist:

1. Locate Swish's App Settings app embed in the theme editor.

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2F4SGYY2n2FcIeTJdhZ8zr%2Fimage.png?alt=media&amp;token=42041e94-aecb-47c9-899a-16c0201899e6" alt=""><figcaption></figcaption></figure>

2. Within the App Settings app embed, scroll down to the Preferences section.

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FPsWAHeAqtE1eTbtxUgCp%2Fimage.png?alt=media&amp;token=29f5d614-c023-48fd-a493-f42ea4f641ff" alt=""><figcaption></figcaption></figure>

3. In the Access mode dropdown select the preferred access level.

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FXp67Od7yrj5d1V4COIeQ%2Fimage.png?alt=media&amp;token=f624d4cf-70b3-4426-bf62-aa4a58a627e2" alt=""><figcaption></figcaption></figure>

4. Save the changes.

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FOdw50Kz3wqXwns8l0AbS%2Fimage.png?alt=media&amp;token=7786c1ea-3271-4111-a640-c974dbe5572f" alt=""><figcaption></figcaption></figure>

### Access Mode Options Explained

| Option                                    | Description                                                                                   |
| ----------------------------------------- | --------------------------------------------------------------------------------------------- |
| ✅ **Unrestricted access**                 | Anyone can view or use the wishlist without logging in.                                       |
| 🔒 **Require login before use**           | Users must log in **before they can add items** to their wishlist.                            |
| 🔒 **Require login to view list**         | Users must log in to **view their wishlist**.                                                 |
| 🙈 **Hide wishlist without login**        | Hides wishlist UI unless the user is logged in.                                               |
| 🧑‍💼 **Hide wishlist without B2B login** | Hides wishlist UI for non-B2B users. Customers must be logged into a **Shopify B2B account**. |
