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

### 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&#x26;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&#x26;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&#x26;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&#x26;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**. |
