# Multi-company instance

**URL:** <https://forum.mautic.org/t/multi-company-instance/16452>\
**Category:** General Discussion\
**Created:** [October 5, 2020, 7:16pm UTC](https://forum.mautic.org/t/multi-company-instance/16452 "2020-10-05T19:16:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcink](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/marcink/32/2157_2.png) [@marcink](https://forum.mautic.org/u/marcink)\
**Post date:** [October 5, 2020, 7:16pm UTC](https://forum.mautic.org/t/multi-company-instance/16452/1 "2020-10-05T19:16:31Z")

</div>

Hello,  
I was wondering if it’s possible to perform one installation of mautic and use it for different clients. I have some companies that have need of this kind of service. Should I create a separate installations for clientA in domainA, clientB in domainB, etc… or can I make an installation in my domain ie [marcindomain.com](http://marcindomain.com) and share the installation to gater the contacts for the three clients companies, so they can manage their own contacts, LP, mailings etc, and I could manage their accounts?

---

<div class="post-metadata">

**Author:** ![devsrealm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/devsrealm/32/3669_2.png) [@devsrealm](https://forum.mautic.org/u/devsrealm)\
**Post date:** [October 5, 2020, 8:38pm UTC](https://forum.mautic.org/t/multi-company-instance/16452/2 "2020-10-05T20:38:25Z")

</div>

I am not sure if this is possible as I haven’t tried, but I can see where things could get mangled in your database if done that way, the best way to do this kind of stuff is running separate instances of mautic, that would make things more manageable and secure.

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [October 5, 2020, 8:54pm UTC](https://forum.mautic.org/t/multi-company-instance/16452/3 "2020-10-05T20:54:38Z")

</div>

@Yosu_Cadilla among others are versed in this.

While we wait:

> [@Manage multiple Mautic installations (Agency/SAAS)](https://forum.mautic.org/t/manage-multiple-mautic-installations-agency-saas/4292/7):
>
> When are you planning to offer this? Do you have a beta version? This would be a great addition to my current business, and I am definitely interested.

> [@How can I use Mautic for Multiple Agency](https://forum.mautic.org/t/how-can-i-use-mautic-for-multiple-agency/2202/15):
>
> What we do is: (1) use a shared hosted provided database (in the case we use the MySQL database provided by Google Cloud SQL) - each Mautic instance will have its own database inside the shared MySQL instance (2) use one VM instance with multiple /var/www folders (works like “apache folders”) - we need very few resources in terms of RAM and CPU to run each Mautic instance (and let us not forget that the database is outside this VM) (3) finally whenever we want to share things between projects…

> [@Single Mautic Fileset with Multiple Instances SaaS](https://forum.mautic.org/t/single-mautic-fileset-with-multiple-instances-saas/7172):
>
> 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 essen…

Thanks to @joeyk for this link in a previous post.

[![](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&t=458)

---

<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:19am UTC](https://forum.mautic.org/t/multi-company-instance/16452/4 "2020-10-06T06:19:18Z")

</div>

Hi @marcink and thank you @EJL

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 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…

The post is a bit old but still perfectly valid. I’ve been wanting to write a new piece for some time, so if you have questions or ideas on this topic, please ask here or on the blog and I’ll do my best to include the reply in my next post about the topic.

I’ve been researching all the options for 3 years and building this kind of setups for almost 2 years now, so it is a pretty well tested and successful way to tackle this down, with dozens of agencies using it around the world.

---

<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:07am UTC](https://forum.mautic.org/t/multi-company-instance/16452/5 "2021-06-11T02:07:20Z")

</div>

Hello guys, I made a presentation about this topic in the last Mauticon, here’s the recording:

[![](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)
