Configuring Cosmos with magento on Linode Server

I am looking to configure Cosmos with my magento based website which is hosted on the managed instance of Linode server. So, please guide me the proper way to configure Consmos on my website.
However, if you are looking for more indepth knowledge about my server then the server I have opted for is managed by Cloudways.