--- title: "Register a Client" url: https://docs.catalyst.zoho.com/en/sdk/web/v4/cloud-scale/push-notifications/register-client/ description: "This Web SDK script allows you to register a client device to receive push notifications from your Catalyst web application." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "Push Notifications" url: /en/cloud-scale/help/push-notifications/introduction - name: "Push Notification - API" url: /en/api/code-reference/cloud-scale/push-notifications/web/send-web-push-notifications/#SendWebPushNotifications --- # Register a Client for Receiving Web Push Notifications > **Note:** This SDK is currently in deprecation. Migrate to [JavaScript SDK](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/overview/) now. The `enableNotification()` method registers a client for receiving [push notifications](https://docs.catalyst.zoho.com/en/cloud-scale/help/push-notifications/introduction/) from your web application. The `notification` reference used in the code snippet below is the [component instance](https://docs.catalyst.zoho.com/en/sdk/web/v4/cloud-scale/push-notifications/get-component-instance) created earlier. The `enableNotification()` method returns a promise which is resolved to an object. After resolving the promise, you can handle the notification message through the `messagehandler`. ```javascript //Register the client var notification = catalyst.notification; notification.enableNotification().then((response) => { //Create a handler for the message when received catalyst.notification.messageHandler = (msg) => { //Action to be performed when the message is generated } }); ``` You can then send push notifications to the registered client either from the [Catalyst console](https://docs.catalyst.zoho.com/en/cloud-scale/help/push-notifications/web), or through [this API](https://docs.catalyst.zoho.com/en/api/code-reference/cloud-scale/push-notifications/web/send-web-push-notifications/#SendWebPushNotifications).