--- title: "Get Authentication Credentials" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/connections/get-credentials/ description: "This page describes the method to acquire the required authentication credentials." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "Connections Help" url: /en/cloud-scale/help/connections/introduction/ - name: "JavaScript SDK" url: /en/sdk/javascript/v1/overview/ - name: "Connections Python SDK" url: /en/sdk/python/v1/cloud-scale/connections/get-credentials/ --- # Get Authentication Credentials > **Note:** This SDK can only be accessed within Catalyst services like [Functions](https://docs.catalyst.zoho.com/en/serverless/help/functions/introduction/) and [AppSail](https://docs.catalyst.zoho.com/en/serverless/help/appsail/introduction/). It cannot be used to integrate with third-party services. This SDK method can be used obtain the authentication credentials for various Zoho services, listed as [Default Services](https://docs.catalyst.zoho.com/en/cloud-scale/help/connections/establish-default-connection/). The `connections` reference used in the below code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/connections/get-connections-instance/). **Package Imports** ```java import com.zc.component.connections.ZCConnections; import com.zc.component.connections.beans.ZCConnectionResponse; ``` ```java // create connection instance ZCConnections connections = ZCConnections.getInstance(); // retrieve the authentication credentials for the specified connection ZCConnectionResponse connectionResponse = connections.getConnectionCredentials("payrollcon"); // connection response System.out.println("Connection Response Headers: " + connectionResponse.getHeaders()); System.out.println("Connection Response Parameters: " + connectionResponse.getParameters()); ```