> For the complete documentation index, see [llms.txt](https://docs.appmysite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmysite.com/app/access/login/custom-app-login.md).

# 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="/pages/aW2SypMFRIweTjh0OS5Q" %}
[Social login configuration](/app/access/login/social-login-configuration.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
