--- title: "Get Component Instance" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/get-component-instance/ description: "This page describes the method to perform operations in the Authentication component." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Authentication Help" url: /en/cloud-scale/help/authentication/introduction/ - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/authentication/add-new-user/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/authentication/get-component-instance/ - name: "iOS SDK" url: /en/sdk/ios/v2/cloud-scale/authentication/create-user-instance/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/authentication/create-user-instance/ - name: "Flutter SDK" url: /en/sdk/flutter/v2/cloud-scale/authentication/create-user-instance/ - name: "REST API" url: /en/api/code-reference/cloud-scale/data-store/insert-new-row/#InsertNewRow repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Get Component Instance > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/overview/#prerequisites) to use this SDK method. You can get the `userManagement` component reference as shown below. This will not fire a server-side call. You will refer to this component instance in various code snippets of working with Authentication. ```javascript const userManagement = new UserManagement(); ``` > **Note:** - Passing an initialized app instance to a component determines the authentication scope it uses. - To perform an operation with user-level permissions, initialize the SDK with User scope, or with custom credentials, and pass that instance to the component. This runs the operation in the user's scope or custom credential scope instead of the default admin scope. ```javascript const userManagement = new UserManagement(app); ``` - If your Function or AppSail application needs both custom credentials and admin authentication at the same time, give each initialization a unique app name, otherwise the custom initialization can overwrite your existing admin credentials. - In all cases, explicitly pass the matching app instance to each component so it uses the intended authentication scope; if none is provided, the SDK defaults to the admin credentials.