Multiple instances of Amity chat environment

Hi all.
I’m building an application where there are smaller groups within our app (<10 members each). Each group must be its own chat environment where they can start individual subschannels with each other (with one or more others in there).

I have to create these Amity instances on the fly in my React code and automatically create specific subchannels with certain users.

I can’t find how to do this and I’m wondering if someone knows how to achieve this?
Appreciate any insight!

Hi @loek ,

Please find https://docs.amity.co/chat/channels/subchannel#create-subchannel

Thank you,
Amity Support

Thanks for your quick reply, but this doesn’t answer the question unfortunately. I want to create multiple channels, where each channel can have multiple subchannels.
Each channel must be its own UI instance.
Is that possible under the same app id?

Hi @loek ,

  1. The doc does provide you’re able to create multiple channels & subchannels
  2. What do you mean by UI instance? can you please help provide an example?

Thank you,
Amity Support

Can we have separate instances of the application, like development, QA, and production? Our requirement doesn’t want users/channels to be shared within simple application

Hello, yes, you can create applications/networks for each purposes ie. development, staging or production separately on your portal: Amity Portal.