How does clients get his credentials to login to the dashboard?

How does the created client get his credentials to log in to the dashboard?

When a client is added me an agency the provided email address will receive an auto-generated password as well as an URL to reach the login page. The receiving email will be used as a login email for that account, along with the password that is sent to the email.