# 1. Log in to Online or Mobile Banking
source: https://developer.mastercard.com/donations/documentation/use-cases/enroll-donor/login_mobile_banking/index.md

## Overview {#overview}

To enroll as a donor, the cardholder must log in to your website or mobile and authenticate their identity using their credentials.

If they have not yet enrolled in your donations program, we recommend you to design your donation solution to retrieve and pre-fill automatically the cardholder's profile and card details in the enrollment forms.

This eliminates the need for cardholders to enter their payment card details, billing address, and profile information. Faster navigation to the next screen encourages quicker participation, allowing the cardholder to swiftly complete the donor registration process after reading and accepting your terms and conditions.

## Sequence Diagram {#sequence-diagram}

The following outlines the sequence of events:

Diagram enrolldonor

## Execution Steps {#execution-steps}

The following details the steps in the above sequence diagram:

1. The cardholder enters their login credentials in the partner online banking user interface.
2. The partner online banking user interface sends the login credentials to the partner server.
3. The partner server authenticates the cardholder.
4. The partner server checks if the cardholder is enrolled as a donor.  
5. If the `donorID` does not exist, the partner server requests the cardholder data from the partner core banking system.
6. The partner core banking system returns the cardholder data including their *email address* , *payment cards* , and *billing address*.
7. The partner server sends the card enrollment form to the user interface.
8. The partner user interface displays the card enrollment form to the cardholder.
9. If the associated `donorID` exists, the partner server requests to redirect the donor to the dashboard to view the donations.
10. The partner user interface displays the donor dashboard to view donations.

## Next Step {#next-step}

Proceed to the step, [Add Donor](https://developer.mastercard.com/donations/documentation/use-cases/enroll-donor/add_donor/index.md), to know how to register a cardholder as a donor.
