# Add a NATS Consumer

1\.      Go to **Listener > NATS Consumer** then click the **Add (+)** button located in the upper right corner.&#x20;

<figure><img src="https://3741708824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbhbshAPk7P4wdrLxisUn%2Fuploads%2FuQItIKe979u0Y4LeKAs7%2Fimage.png?alt=media&#x26;token=67f2477f-f5ac-45e7-a3cd-99495ca17526" alt=""><figcaption></figcaption></figure>

2\.      You will get the fields as follows.

<div align="left"><figure><img src="https://3741708824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbhbshAPk7P4wdrLxisUn%2Fuploads%2FTSbULjLo4rqkBBOYV2xM%2Fimage.png?alt=media&#x26;token=42ca9cf5-1fad-4809-9ee2-7906b44cbe20" alt="" width="375"><figcaption></figcaption></figure></div>

*Refer to the following table to understand the fields in the above screen.*&#x20;

<table><thead><tr><th width="199">Fields</th><th>Description</th></tr></thead><tbody><tr><td>Name </td><td><p>This field only appears when enabled Advanced Settings is active.</p><p>A label or name that is assigned to a listener. </p></td></tr><tr><td>Trigger</td><td><p>This field only appears when enabled Advanced Settings is active.</p><p>You may want to assign the servers to a custom Trigger if target server is in an Isolated network or if you want to setup a scalable infrastructure. You will only see available Triggers in this field.</p></td></tr><tr><td>IP Address </td><td>The numerical label assigned to each device connected to a computer network is called an "IP address." An IP address is typically represented in the format XXX.XXX.XXX.XX, where each "XXX" is a number ranging from 0 to 255, and the "XX" is a similar two-digit number. IP addresses are used to uniquely identify and locate devices on a network. </td></tr><tr><td>Port Number </td><td> A specific endpoint for data exchange between two devices or applications within a network. </td></tr><tr><td>Credential Type</td><td><p>Select a proper credential type and credential.</p><p>·       <strong>None</strong></p><p>·       <strong>Basic:</strong> Selecting this option provides you with another Field called <strong>Credential</strong> from where you can select an appropriate option.</p></td></tr><tr><td>Username</td><td>Username for login redis </td></tr><tr><td>Stream</td><td>Extension of the NATS messaging system that provides a durable, append-only log for storing and replaying messages, enabling persistence and replayability in event streaming architectures.</td></tr><tr><td>Consumer</td><td>Refers to a client application or subscription that receives and processes messages published to specific subjects or channels within the NATS system.</td></tr><tr><td>Subject</td><td>Subject is a hierarchical string used for message routing, enabling publishers to categorize messages and subscribers to express interest in receiving messages from specific subjects or patterns.</td></tr><tr><td>Log Interval</td><td><p>The interval for fetching data.</p><p>·       Realtime</p><p>·       1 Minute</p><p>·       3 Minutes</p><p>·       5 Minutes</p></td></tr><tr><td>Status </td><td><p>To choose a server status such as: </p><p>·       <strong>Active:</strong> Enables monitoring for server</p><p>·       <strong>Maintenance:</strong> Enables maintenance mode for server and disables all notifications</p><p>·       <strong>Reconnect:</strong> Restarts all collectors for server</p><p>·       <strong>Disabled:</strong> Disables monitoring for server</p></td></tr><tr><td>Debug </td><td><p>To choose debug such as:</p><p>·       <strong>Off</strong></p><p>·       <strong>On:</strong> Collects debug logs for Inventory and Monitoring Collector</p></td></tr></tbody></table>

3\.      After entering all the required info, click the button **SUBMIT**.
