> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v4.1/4.-admin-manual/4.6-rabbitmq-configuration.md).

# 4.6 RabbitMQ configuration

**ZTrust** uses **RabbitMQ** to establish connectivity with the **ZTrust** **Authenticator** app for Push Notifications, NFC-based login, QR code login and other authentication methods. Hence the **RabbitMQ** node should be accessible from **ZTrust SSO** and should be able to accept connections via MQTT and secured MQTT protocol.

To configure **RabbitMQ** in **ZTrust**,&#x20;

Navigate to the realm where you want to apply the **RabbitMQ** configuration. And select the **Realm settings**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe6Z6zmdjdu9CSLuYPghZcfhNzRhdrK-8fme4mgfF_J6RX38bmv8pzQlKP0Yhs87U64LI1gHongqFeZ_V49dm2vozoc7LKf43XDH5egI17lGzRPD5U-BPqLA1_oBpGRIcfbq6GiDw?key=hAb4lK_4sMe7_DkgJrcwlQ" alt=""><figcaption><p>Fig 4.5.a: Realm settings under configure</p></figcaption></figure>

Then click on the **Messaging Queue** tab

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfDB046vyCEE118IcAKmxhxijSJJMpo5_72r7ec_1uYqldDYaonZk51zH7P3lbjM1C7JHl9loV1a3R6emTWU4kfJzREl6DZFftELERt_YfbjdEzTTlqobSlyrAs_YwEjLttzf7KqQ?key=hAb4lK_4sMe7_DkgJrcwlQ" alt=""><figcaption><p>Fig 4.5.b: Messaging queue tab</p></figcaption></figure>

Fill the required fields and save

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe4a3uugBmWAKmKgF3oizXAed5zHGSRJkmGa-2YdM9m05RdHILY3HSkpST4XTVtF1X23V8Ndv6iFNderJkhfm5CTizTFBdchu6w-j4Fa-OENuT4hFsdTxHgE2qGnFDH_BRe98HMAw?key=hAb4lK_4sMe7_DkgJrcwlQ" alt=""><figcaption><p>Fig 4.5.c: Successfully saved the messaging queue details</p></figcaption></figure>

After saving the configuration, click on the **Test Connection** button. This will verify whether **RabbitMQ** has been configured correctly like below.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdoRchKc4sZg9B1rv_D61PZPmT2euPZXWIjE1msfnZsNqK_gyPTKVOQbMPeo2FvQ6Fbby0vVq5wSyrcgF0Lr3Wy__Q0QTpit78z_OJNY5qPk0cTKMzhbgmz2rEBNRGCYSwRedckYg?key=hAb4lK_4sMe7_DkgJrcwlQ" alt=""><figcaption><p>Fig 4.5.d: Connection established successfully</p></figcaption></figure>

\
After successful configuration, you are ready to use Push Login, QR Code Login, NFC Login, and the Mobile Authenticator setup.
