# Integration as a Nextcloud app

**URL:** <https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304>\
**Category:** Troubleshooting\
**Created:** [August 19, 2020, 7:40am UTC](https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304 "2020-08-19T07:40:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dietrich](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dietrich](https://forum.mattermost.com/u/dietrich)\
**Post date:** [August 19, 2020, 7:40am UTC](https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304/1 "2020-08-19T07:40:31Z")

</div>

Greetings!

Since Mattermost is a great solution for well structured communication but misses well structured files, calendar and task management and Nextcloud is a great solution for collaborative work with files, calendar and tasks but misses means for well structured communication, I’d like to integrate Mattermost as a Nextcloud app as can be seen in the screenshot below and I’m looking for developers to join me.

![Nextcloud integration](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/2/26c78f55c34796149b7d8c81104c3b0d607be21c.png)

These two together could probably make the bestest free intranet/collaboration software evor!

Mattermost should be embedded in an iframe and Nextcloud should automatically synchronize its users and groups to Mattermost, such that every group corresponds to one Mattermost team. Which group should be synchronized could be specified via the “Limit to groups” app setting in Nextcloud. Users should automatically become signed in to Mattermost when opening the app.

Tighter integration of calendar events, deck cards and file sharing into Mattermost could be added later.

I already wrote an initial [Mattermost plugin](https://github.com/Salatfreak/mattermost-plugin-nextcloud) and a [Nextcloud app](https://github.com/Salatfreak/nextcloud-app-mattermost) that allow embedding Mattermost into Nextcloud and automatically signing in users to Mattermost. They are untested and should be considered insecure for now though. The synchronization and session management will take a lot of work still.

I’d be happy if someone joined the project 🙂

---

<div class="post-metadata">

**Author:** ![dietrich](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dietrich](https://forum.mattermost.com/u/dietrich)\
**Post date:** [August 19, 2020, 7:41am UTC](https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304/2 "2020-08-19T07:41:09Z")

</div>

See this post about [allowing Mattermost to be embedded into iframes](https://forum.mattermost.com/t/recipe-embedding-mattermost-in-web-applications-using-an-iframe-unsupported-recipe/10233/2).

---

<div class="post-metadata">

**Author:** ![dietrich](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dietrich](https://forum.mattermost.com/u/dietrich)\
**Post date:** [August 19, 2020, 7:41am UTC](https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304/3 "2020-08-19T07:41:49Z")

</div>

Here is [some discussion on the community server](https://community.mattermost.com/core/pl/snwbrng7jtb6pgk8g99tfi84ce) and [my post on the Nextcloud forum](https://help.nextcloud.com/t/integrate-mattermost-as-a-nextcloud-app/89796).

---

<div class="post-metadata">

**Author:** ![dietrich](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dietrich](https://forum.mattermost.com/u/dietrich)\
**Post date:** [August 19, 2020, 7:43am UTC](https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304/4 "2020-08-19T07:43:16Z")

</div>

[This GitHub issue](https://github.com/nextcloud/server/issues/3202#issuecomment-674507143) is related.

---

<div class="post-metadata">

**Author:** ![dietrich](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dietrich](https://forum.mattermost.com/u/dietrich)\
**Post date:** [August 19, 2020, 7:45am UTC](https://forum.mattermost.com/t/integration-as-a-nextcloud-app/10304/5 "2020-08-19T07:45:33Z")

</div>

If you are interested in contributing, see the development documentation for [Mattermost](https://developers.mattermost.com/) and [Nextcloud](https://docs.nextcloud.com/server/latest/developer_manual/app_development/index.html).
