---
title: "ServiceNow shared and subscribed queues"
canonical: "https://docs.perspectium.com/space/helium/2121706/ServiceNow%20shared%20and%20subscribed%20queues"
format: markdown
---
Shared queues  exist in a sharing instance of ServiceNow and contain outbound messages for data that is dynamic shared or bulk shared out of the instance.  Subscribed   queues  exist in the subscribing instance of ServiceNow (or some other application) and contain inbound messages for data coming in from the sharing instance. Before completing any of the actions laid out on this page, you need to successfully  install and configure DataSync for ServiceNow Create a ServiceNow shared queue This is one of the first and key steps in using DataSync for ServiceNow, as it sets up your ServiceNow instance for sharing data.  Here's how: In your ServiceNow instance that you want to set up for sharing, go to  Perspectium   >   Perspectium Core   >   Shared Queues . On the resulting page, at the top, click  New . On the resulting form, use the  Queue type  dropdown to choose your desired queue type. See the table below for a breakdown of the different queue types. In the  Queue Name  field, enter a name for your queue—there should be a prefix automatically included in the field based on the table above. Add your desired name to the end of the pre-included prefix.  In the  Queue user  and  Queue user password  fields, type your Perspectium Mesh username and password. You can find these in the  General Settings module . (Optional!) You can use the  Queue Encryption Key  and  Encryption Mode  fields to choose custom encryption options for this shared queue. Otherwise, the queue will use the encryption details set at the Properties level. Customizing these fields ensures that all data flowing through this queue will be encrypted using only the key and mode you set for the queue. Find more information on encryption  here . Check the  Active  box.  (Optional!) You can check the  Load Test  box to create a  Duration  field for any bulk shares that you create for this shared queue—it will indicate around how much time will elapse before your bulk share data reaches your Perspectium Mesh.  Click  Submit .  Create a ServiceNow subscribed queue Once you have created a shared queue, you must set up a separate application as a subscriber for it to receive data from the sharing instance.  Here's how to set up a subscribed queue in order to configure ServiceNow as a subscriber: In the SharingNow instance that you want to configure as a subscriber and  go to  Perspectium   >   Perspectium Core   >  Subscrib ed Queues . On the resulting page, at the top, click  New . On the resulting form, use the  Queue type  dropdown to choose between the type of ServiceNow or Custom.  Enter a  Queue name  in the field based on the following info: In the  Queue user  and  Queue user password  fields, type your Perspectium Mesh username and password. You can find these in the  General Settings module . Check the  Active  box.  Click  Submit .  Now that you've set up the subscribed queue, you need to subscribe your instance to the specific tables (or all tables) that you want the instance to be subscribed to. To do so, go to  Perspectium   >   Perspectium Core   >  Subscrib e . In the resulting page, click  New .  Use the  Table  dropdown to choose the table from the sharing instance that you want to subscribe to data for. Check the  Active  box. Click the  Trigger Conditions  tab, and check any or all of the following boxes: Click  Submit .  Next, explore the features available for shared and subscribed queues.