# Register and log in

Registration for the Ripple Custody UI is a two-step process:

1. The new user creates a new profile in the UI. For more information, see [Create a profile](#create-a-profile).
2. The user administrator creates a user account based on the user name and public key from step 1. For more information, see [Create a user](/products/custody/v1.19/ui/environment/user/create#create-a-user).


## Prerequisites

Before you can register or log in, you need to download the **Ripple Custody: Auth & Sign** app from your app store and install it on your mobile device.

## Create a profile

When you create a profile, Ripple Custody:

- Pairs your mobile device with the UI.
- Generates and stores your private authentication data on your mobile device. For more information, see [Keys and token](/products/custody/v1.19/ui/authentication#keys-and-token).
- Generates your public key, that the user administrator uses to create your user account.


To create a profile:

1. On the UI login page:
  1. Click **Create a profile**.
  2. Click **Continue**.A QR code is displayed.
![UI registration QR code](/assets/register-uiqr.6b47f9122d53879d36b8e0bb7eea9ce1ec6b44d0528c7dd8918a3bb8e4dffcd1.474bc133.png)
2. In the app:
  1. Select **Get started**. The Pair your device page is displayed.
![App registration pair device](/assets/register-pair.f9471cf4d3d3e1f866d3fa0cc37ffe4e1ad8713579d83cea70ac710f13ce1f3d.474bc133.png)
  1. Select **Scan**.
  2. Scan the QR code.  The Ripple Custody server address is filled in for you.
![App registration server address](/assets/register-address.2d9241b07097095e5f8ea4f8d127f961b3729d786a84d1db7a62de02721fd947.474bc133.png)
  1. Select **Continue**.The Complete your profile page is displayed.
![App registration server address](/assets/register-email.fdf958b7ab0ef5a80ad22f03d12b9e17e4192887dbc6f7581b5d606153032846.474bc133.png)
  1. Enter your email address.
  2. Select **Continue**.Your new public key is displayed in the Share your public key page.
![App registration share key](/assets/register-share.35c4f3a673c7c74228aec7830839ec790a3182e21f6b18d49beb838120defa4b.474bc133.png)
3. Share the public key with your user administrator, using one of the following methods:
  - The on-screen QR code.
  - At the right of the **Public key** field, click the share icon and share the key with your preferred method.
4. Select **Continue** until you reach the final screen.
5. Select **Finish**.


Your user administrator will use the key to create your user account.

When your user account is ready, you can log in.

## Log in

Ripple Custody includes the following two login types:

- An internal user name and password.
- If available, one or more external single sign-on (SSO) identity providers.


To log in to Ripple Custody:

1. In the Ripple Custody UI, select one of the login options available to you:
  - To log in with your internal user name and password, select **Harmonize**.
  - To log in with SSO, select an identity provider, such as Azure AD.
![Login options](/assets/sso-login.fe2a6ab21669e7d6acb3774caca038c9224b7af3e63d1f40cf0ff00119fd3a88.474bc133.png)
The login options available depend on your configuration.
All users can log in with the internal user name and password.
Ripple Custody redirects you to a login page.
2. On the login page, enter the details for the login type:
  - To log in with SSO, enter the details requested by the identity provider.
  - To log in with your standard user name and password:
    1. Enter your email address.
![Enter email address](/assets/login-email.f5638a0aca74835fdebc46331795ea0c1890cb261aa30db2beb8378d3e2425b4.474bc133.png)
    2. Click **Login**. A QR code is displayed.
![QR code in UI](/assets/login-qr.8c23b9bf4c521cf8775f74d3bb5e341587092cf7470c64e68527116788fab629.474bc133.png)
    3. In the app:
      1. Select **Scan** and scan the QR code. The app displays a set of numbers.
![Select number in app](/assets/login-app.b4f2c2706dc7a2ac081736eb6cd33090ec0b71b5cd863e63dda6724b99b79ca7.474bc133.png)
      2. Select the number that corresponds to the number displayed in the UI. In this example, the number to select is **12**.
      3. If prompted, authenticate in your app.
Ripple Custody approves your login and redirects you to your dashboard.


After login, select a domain in the drop-down at the top left to access the entities and operations available to your user in that domain.