# Nextcloud Rocket.Chat App

The Nextcloud Rocket.Chat App integration offers a very powerful Open Source collaboration platform with a very high level of security and ownership. The flexibility to enjoy features from both solutions combined gives you a step further to use the *ultimate open-source alternative to MS 365.*

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-b48fb5d488530c1159d662d462a18147d925259a%2Fimage%20\(365\).png?alt=media)

## Nextcloud Rocket.Chat App Setup

### Prerequisites

To use the Nextcloud Rocket.App, you are expected to have the following workspaces running:

* Rocket.Chat following our [deployment guide](https://github.com/Roxie-32/docs/blob/main/use-rocket.chat/workspace-administration/integrations/broken-reference/README.md)
* [Nextcloud](https://nextcloud.com)

{% hint style="warning" %}
Connecting Nextcloud with Rocket.Chat requires your Rocket.Chat sever to be on an SSL-protected domain. This is strictly for security reasons.
{% endhint %}

{% hint style="info" %}
You need to make the following changes to your Rocket.Chat settings

* Have two-factor Authentication disabled on your Rocket.Chat settings **Administration** > **Workspace** > **Settings** > **Accounts** > **Two Factor Authentication**
* Disable Restrict access inside any Iframe **Administration** > **Workspace** > **Settings** > **General** > **Restrict access inside any Iframe**
* Enable to send and receive data inside an iframe **Administration** > **Workspace** > **Settings** > **General** > **Iframe Integration**
  {% endhint %}

### Setup

When that is all done, follow these procedures to get setup

* Go to your Nextcloud Dashboard and navigate to the **Apps** section

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-6ef01f8eb3c0f79450babf9fbf22c760a37720df%2Fimage%20\(651\).png?alt=media)

* Navigate down to the **Social & Communication** category and locate the **Rocket.Chat App** then **Download and Enable**

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-193da4e106d124453f42d76ca86075f211f75d76%2Fimage%20\(1098\).png?alt=media)

* Head over to your **Nextcloud settings** section and you will find a **Rocket.Chat** menu, open it to proceed with linking your Rocket.Chat workspace

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-ac36a6e187e39116291e6c30b6aaefa320f01984%2Fimage%20\(1054\).png?alt=media)

* Fill in the Rocket.Chat URL, admin username, and password to authenticate, click on **Connect and Save**. This will automatically generate an access token and userId to be used

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-520e9b31a25a41417da21718e77b15e130396ebb%2Fimage%20\(492\).png?alt=media)

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-6b9749c5f1f870eef3b4e5ec6a5a07299b6614ae%2Fimage%20\(1029\).png?alt=media)

* After connecting, the Admin User ID and Admin Token will be automatically filled, and your app is ready for use

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-b9a4763a50d0f027d7293d79134c438be8cb27a0%2Fimage%20\(1036\).png?alt=media)

* Now along with other existing Nextcloud apps, you should see you now have Rocket.Chat included

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-48fa5e5a0126738c953d6aa50eb86ceee6a27d44%2Fimage%20\(249\).png?alt=media)

* Clicking on the Rocket.Chat icon will open up the chat interface like normal, all within Nextcloud.

![](https://2853711081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhHYdqf09DtGwAq3Pa3FU%2Fuploads%2Fgit-blob-5a04e81f97b0da4969400f036b4d2c0a71b2e8aa%2Fimage%20\(342\).png?alt=media)

## Features

Using this integration gives you the possibility to:

* Extend and streamline communication with external parties using Rocket.Chat’s federation and bridges into Slack and Microsoft Teams.
* Easily collaborate on projects and documents using Rocket.Chat’s chat right in Nextcloud.
* Use a single productivity platform that integrates with other tools, including Nextcloud, and keeps all communications and notifications in one place.
* Leverage more advanced user governance features, access levels, and role-based permissions
* Easily map even the most complex organizational structure into groups, teams, and discussions.
* Securely collaborate and communicate with anyone via the world’s leading social media channels such as Whatsapp, Messenger, Twitter, Instagram, Telegram, and others.
* Turn their chats into productivity tools using integrations with various HR tools, CRM solutions, ticketing systems, project management solutions, and developer tools to build powerful workflows.
* Make digital workplaces and communities more engaging and collaborative using [Rocket.Chat’s marketplace of apps](https://rocket.chat/marketplace).
* Ensure full governance of all their communications using message audits, flexible retention policies, powerful engagement analytics and dashboards, and more.
* Send advanced message formatting like code snippets, formula syntax, message threads, and more.
