How to set self websockets endnode

I had followed the matic document to build up full node in my VM. Was there any document to set my websockets service? How to access my node from web3.js by websockets?

Hi @hollejacklin , it’s written on Geth so should be available by default.