# Zoho Mail authentication

> To create a connection, you need the following credentials:

## Prerequisites

To create a connection, you need the following credentials:

* OAuth 2.0 Authorization code: Environment, Scope, ZohoMail email address and password.
* Bring your own OAuth 2.0 app: Client ID, Client secret, Environment, Scope.

To learn how to create an OAuth application and retrieve the necessary credentials, refer to the [OAuth 2.0 User Guide](https://www.zoho.com/mail/help/api/using-oauth-2.html) in the Zoho API documentation.

:::note
When registering your OAuth application in Zoho Mail, make sure to set the [callback URL](connections#callback-url) to the value displayed on the connection creation page, for example `https://cloud.uipath.com/provisioning_/callback` for Automation Cloud.
:::

## Add the Zoho Mail connection

1. Select Orchestrator from the product launcher.
2. Select a folder, and then navigate to the **Connections** tab.
3. Select **Add connection**.
4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
5. Enter the required credentials and select **Connect**.

   For any secret-type field, you can select the menu next to the field and choose **Use credential asset** to reference an Orchestrator credential asset linked to an external vault instead of entering the value directly. For more information, see [Use credential assets for connections](credential-store-connections.md).
6. Enter your one-time password, if two-factor authentication is enabled for your account.
7. Select **Log in**.
