Set Up CommunityConfigure App SettingsConfigure Chat with Pusher

Configure Chat with Pusher

This article will guide you step by step to configure Chat app.

Chat app is using Pusher (https://pusher.com/) to push messages in a realtime manner. We assume that you have registered an account on Pusher and choose the appropriate Pusher plan. Now, let’s log into your Pusher account and create a Channel app.

On the Create your Channels app form, please input the fields of Name of your app and Select Cluster

You should choose the cluster based on your target users for the best performance.

Screen Shot 2023-04-10 at 14.45.27.png

Once app is created, you can go to App detail page > App Keys to get Pusher keys.

Screen Shot 2023-04-10 at 14.45.27.png

Now, you can go to AdminCP of your MetaFox site > App Settings > Chat to configure Chat with Pusher

Screen Shot 2023-04-10 at 15.10.14.png

Lastly, to apply Chat config.

That’s it! You have completed the configuration for Chat with Pusher. 

NOTE: Please make sure that MetaFox Crons have been configured properly in order for Chat to work. Refer to the here.

Now, you can go the frontend to check how Chat work.