--- title: "Register a Client" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/push-notifications/register-client/ description: "This page describes the method to register a client for push notifications using the Catalyst JavaScript SDK." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Push Notifications Help Documentation" url: /en/cloud-scale/help/push-notifications/introduction/ - name: "Java SDK Documentation" url: /en/sdk/java/v1/cloud-scale/push-notifications/send-notifications/ - name: "Python SDK Documentation" url: /en/sdk/python/v1/cloud-scale/push-notifications/get-component-instance/ - name: "REST API Documentation" url: /en/api/code-reference/cloud-scale/push-notifications/web/send-web-push-notifications/#SendWebPushNotifications repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Register a Client > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/push-notifications/overview/#prerequisites) to use this SDK method. You can register a client device or browser to receive push notifications using the `enableNotification()` SDK method. Once the client is registered, you can define a `messageHandler` on the component instance to handle incoming push notification messages. The `pushNotification` instance used here is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/push-notifications/get-instance/). ```javascript // Register the client const response = await pushNotification.enableNotification(); // Create a handler for the message when received pushNotification.messageHandler = (msg) => { // Action to be performed when the message is received }; ```