# WordPress login

### How to add a login screen to your WordPress app?

Adding a login screen helps manage access to your app’s content and allows for a personalized experience. The login, sign-up, and forgot password screens form a key part of your user onboarding journey.

{% embed url="<https://scribehow.com/shared/WordPress_login__uUcSMI84ScqPwHQn5_0XQA>" %}

#### Step 1: Navigate to login settings

* Log in to your AppMySite account.
* Go to [**Access > Login**](https://app.appmysite.com/app/login) from your app dashboard.

#### Step 2: Enable login and registration

* Turn the "Enable user login" toggle on. If disabled, the app will switch to Catalog Mode.

{% hint style="danger" %}
Disabling the user login toggle will remove all purchase functionality from your app.. The "Add to cart" button and "Cart" icon will also be removed from the app.&#x20;
{% endhint %}

#### Step 3: Navigate to login settings

Click on the Settings button from top right of the screen. Use toggles to manage the settings of the login screen:

* Guest browsing: Allow users to browse the app without logging in. They can complete purchases without creating an account.
* Login with email: Allow users to log in using their email and password credentials.
* Login with Google: Enable Google login to let users sign up and log in using their Google accounts.
* Login with Apple: Enable Apple login for iOS users. Apple mandates this option if either Google or Facebook login is activated.
* Prompt login on app launch: Show the login screen each time the app is launched.&#x20;

{% hint style="warning" %}
If the "Prompt login on app launch" toggle is disabled, the user will see the home screen and will only be prompted to log in at checkout.
{% endhint %}

#### Step 5: Save changes

* Click the Save button to apply changes.

{% hint style="warning" %}
If you wish to enable Google and Apple login, you must configure your app builds to support social login.&#x20;
{% endhint %}

Follow these guides to configure social login in your app:

{% content-ref url="../social-login-configuration/android-build-for-social-login" %}
[android-build-for-social-login](https://docs.appmysite.com/app/access/login/social-login-configuration/android-build-for-social-login)
{% endcontent-ref %}

{% content-ref url="../social-login-configuration/ios-build-for-social-login" %}
[ios-build-for-social-login](https://docs.appmysite.com/app/access/login/social-login-configuration/ios-build-for-social-login)
{% endcontent-ref %}
