> ## Documentation Index
> Fetch the complete documentation index at: https://v0.x-docs.novu.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscriber Preference

By default, Novu will show the subscriber preferences cog icon on the notification center component. If you want to hide it, you can use the prop `showUserPreferences` on the `PopoverNotificationCenter` component.

Users can enable/disable any active channel in the workflow using subscriber preferences

<img style={{ borderRadius: "0.5rem" }} src="https://mintcdn.com/novu-v2-docs/iBMuKOgzYB_2VB7w/images/manage-subscribers/user-preference.png?fit=max&auto=format&n=iBMuKOgzYB_2VB7w&q=85&s=39d5a7633e96686dde2f9154d3f3cc6b" width="460" height="707" data-path="images/manage-subscribers/user-preference.png" />

## Get subscriber preferences

<CodeGroup>
  ```typescript Node.JS theme={null}
  import { Novu } from "@novu/node";

  const novu = new Novu("<NOVU_API_KEY>");

  // 111 is subscriberId
  await novu.subscribers.getPreference("111");
  ```
</CodeGroup>

## Update subscriber preference for a workflow

<CodeGroup>
  ```typescript Node.JS theme={null}
  import { Novu, ChannelTypeEnum } from "@novu/node";

  const novu = new Novu("<NOVU_API_KEY>");

  // enable in_app channel
  await novu.subscribers.updatePreference("subscriberId", "workflowIdentifier", {
    enabled: true,
    channel: { type: ChannelTypeEnum.IN_APP, enabled: true },
  });

  // enable email channel
  await novu.subscribers.updatePreference("subscriberId", "workflowIdentifier", {
    enabled: true,
    channel: { type: ChannelTypeEnum.EMAIL, enabled: true },
  });
  ```
</CodeGroup>

Read more about [subscriber preference](/subscribers/preferences).
