# Single Mautic Fileset with Multiple Instances SaaS

**URL:** https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172
**Category:** Development
**Created:** [January 15, 2017, 6:28pm UTC](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172 "2017-01-15T18:28:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)
#### Post date: [January 15, 2017, 6:28pm UTC](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172/1 "2017-01-15T18:28:08Z")

</div>

At the moment I have multiple systems installed with one system for each client.  
  
  
  
Essentially, I’d like to have one file set but multiple databases, I’m assuming creating a new config file per logged in user would load their own settings and allow them to use the same file set with their own data, this would help maintain only one file set rather than multiple.  
  
  
  
I’d be looking to have the system setup on something like [app.domain.com](http://app.domain.com) and if I created a CMS plugin for mautic I could essentially provide a SaaS system for a CMS and integrated Mautic.  
  
  
  
Any ideas how I can achieve this?  
  
  
  
If anyone has experience in doing this I’d be happy to get you involved on a paid basis, I can then learn on the way.  
  
  
  
Thanks  
  
Derek

---

<div class="post-metadata">

### Author: ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)
#### Post date: [January 15, 2017, 6:28pm UTC](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172/2 "2017-01-15T18:28:08Z")

</div>

At the moment I have multiple systems installed with one system for each client.

Essentially, I’d like to have one file set but multiple databases, I’m assuming creating a new config file per logged in user would load their own settings and allow them to use the same file set with their own data, this would help maintain only one file set rather than multiple.

I’d be looking to have the system setup on something like [app.domain.com](http://app.domain.com) and if I created a CMS plugin for mautic I could essentially provide a SaaS system for a CMS and integrated Mautic.

Any ideas how I can achieve this?

If anyone has experience in doing this I’d be happy to get you involved on a paid basis, I can then learn on the way.

Thanks  
Derek

---

<div class="post-metadata">

### Author: ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)
#### Post date: [October 6, 2020, 6:26am UTC](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172/3 "2020-10-06T06:26:58Z")

</div>

Hi @DerekBuntin,

What you are doing, I think is the right thing to do and what every agency is doing out there:

It is possible to make Mautic a true multi-tenant application, however, not one single company, not even Acquia (to my knowledge) uses this method because it would mean rewriting a great deal of Mautic and it would become very expensive to maintain over time.

What we all do instead, is just what you are doing: Multi-instantiation (also called replication), we create an external (to Mautic) wrapper that allows launching and running multiple copies of Mautic with ease, one for each of your clients.

Here is a blog post where I explain the differences and the main 2 options you have for doing this:

> **[Which is the Best Way to Run Mautic for Agencies? | Mauteam.org](https://mauteam.org/mautic/mautic-for-the-c-suite/which-is-the-best-way-to-run-mautic-for-agencies/)**
>
> Every so often I get requests to deploy multi-tenant Mautic setups, those requests are usually from a Marketing agency that needs to run multiple Mautic instances for their customers or their internal…

And here’s an overview of the basics on how to do this:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/da322119f9abf566077d55c329cbc8d1e9e104e4.jpeg "Segmentation and Mautic Large-Scale Deployment | Mautic Meetup Lagos August 2020") ](https://www.youtube.com/watch?v=mnej39I3Wx4)

---

<div class="post-metadata">

### Author: ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)
#### Post date: [June 11, 2021, 2:45am UTC](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172/4 "2021-06-11T02:45:17Z")

</div>

Just an update on the topic with a few more information about why cloning/replication might be a better approach than multitenancy:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3d2866a57ae3a23ebe2b97f69017b1a235015b15.jpeg "MautiCon 2020 - Yosu Cadilla - Build Your Own SaaS Mautic") ](https://www.youtube.com/watch?v=Bx0rOWkEkJc)
