# Custom app login

### How to add a login screen to your Custom 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 login toggle will remove all purchase functionality from your app.. The "Add to cart" button and "Cart" icon will disappear from the app.
{% 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" %}
[social-login-configuration](https://docs.appmysite.com/app/access/login/social-login-configuration)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmysite.com/app/access/login/custom-app-login.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
