An iframe (inline frame) is an HTML element that allows you to embed another web page within your own web page. This can be used to display content from other websites, such as a chat room, without having to leave your own website.
Rocket.Chat’s iframe integration allows you to embed a chat room from your Rocket.Chat workspace in an iframe on your own website. This can be a great way to provide your users with a seamless chat experience, without having to leave your website. Rocket.Chat offers a multitude of customization and embedding options to integrate its functionalities into your existing digital ecosystem seamlessly. You can authenticate users through your login page, eliminating the need for Rocket.Chat login. This ensures a smooth user journey, boosting satisfaction and engagement.
Some key features of Rocket.Chat iframe include the following:
Iframe user authentication: To authenticate users via iframe integration, go to Administration > Workspace > Settings > Accounts > Iframe. Select the Enabled option and proceed with configuring the iframe auth. It allows you to set up user authentication through your own login page.
Embedding Rocket.Chat: Depending on your needs, you can embed Rocket.Chat in your application using an iframe. This provides a seamless integration of Rocket.Chat's features into your application's interface.
Event listening: While embedding Rocket.Chat in your app, you can listen to events. To do this, navigate to Administration > Settings > General > Iframe Integration. You can enable send (events) or receive (commands) depending on your needs. This feature allows your application to interact with Rocket.Chat, providing a dynamic and interactive user experience.
In this section, you will find more information about these features. By leveraging them, you can significantly enhance the communication capabilities of your application, driving user engagement and a satisfactory experience.