Share clients and channels across groups
Clients and channels cannot currently be shared directly between groups. You can share their data indirectly as follows:
Step 1: Create a separate channel in the destination group. In this example, we want Group 2 to use data from Client 1 and Channel 1 in Group 1.

Create Channel 2 in Group 2.

Step 2: Create two rules:
- Rule 1 subscribes to Channel 1 and publishes to Channel 2.
- Rule 2 subscribes to Channel 2 and writes its data to the internal database.


When Client 1 publishes data to Channel 1, the rule forwards it to Channel 2 through NATS.


Group 2 can now view data originating from Client 1 through Channel 1 in Group 1.