**consts.js**
where will keep the CometChat App Credentials. Place this file in the pages folder as well. And add the below code in the file.**CometChatNoSSR.js**
component in your root folderlocalhost:3000/chat
. Change the port to the port on which the app is running.