In order to embed your chat room, your chat room needs to be on your own domain name so that it is served from your website (for example, https://your_domain.com/chatroom). If your forum is not on your own domain name yet, see Using your own domain name.
You can embed a Chat Room into your MATRIX LMS website by getting your chat room embed code and then following these instructions to insert the embed code into your Matrix LMS website.
You can also change the chat room's colors, or give a page of your website its own colors: see Customizing the colors of an embedded chat room.