Hosting several organizations on one Decidim installation

Learn when one Decidim installation can serve many organizations, how the System panel, hosts and per-organization settings fit together, and what shared upgrades demand.

On this page

When one Decidim installation can host several organizations

If you run a regional body, a city group or a federation that needs several participation sites, Decidim can serve them from one installation. Its multi-tenancy lets you create separate organizations inside a single codebase and database, and the System panel is where a platform administrator creates them, assigns each one its own hosts and manages settings that apply across the install. The Decidim System documentation describes this model and notes that the Barcelona and Girona Provincial Governments use it to offer installations to many small cities, and that the City of Barcelona uses it for associations, federations and cooperatives. Those are the documented patterns to compare your own situation against. Read the Decidim System documentation before you design the setup, because it defines which settings are global and which belong to each organization.

Shared hosting fits when the organizations are closely related, share a platform team, accept a common release calendar and can live with one shared set of installed components and modules. It is a weaker fit when an organization needs its own upgrade timing, custom code, a separate legal or data residency boundary, or an isolated identity and authorization setup that another tenant must not see. Ask each prospective organization which of those constraints apply, and write the answers down before you choose. Every organization on the install also rides the same upgrade cycle, so one tenant that needs a freeze delays all the others. Confirm with the Decidim documentation for your target version which per-organization settings you can change independently, such as SMTP and authorizations, and which require platform-level access.

Ask your platform team and any implementation partner to price the work from a written scope rather than from a general estimate. Cost depends on how many organizations you host, how many different configurations they need, who administers each one, and how much custom code or modules you carry. Setup is largely one-time, while upgrades, monitoring and support recur for the whole install. Confirm before committing: who holds System panel access, how each organization's hosts and email are isolated, what happens to shared storage and backups when one tenant leaves, and how a single upgrade is tested against every organization's configuration before release.

Which models of shared hosting fit which operators

Provincial governments that run one installation for many small municipalities are the model Decidim's own System documentation describes, since the Barcelona and Girona provincial governments offer installations to many small cities. The provincial team operates the shared platform and creates each municipality as an organization in the System panel, so its work centers on reliability, access control and a single upgrade cycle that affects every municipality at once.

  • Shared: the codebase, the database, background job infrastructure, hosting, TLS and the upgrade schedule.
  • Municipality controls: its own organization settings, content, participatory spaces, moderators and administrators.
  • Operator governs: who may create organizations, default SMTP and authorization settings, and which municipal staff hold platform-level access.
  • Operator governs: upgrade timing, because one minor version change lands on every municipality in the same window.
  • Operator governs: support hours and escalation paths for small municipal teams that may have limited technical staff.

Check how the System panel documentation separates platform administrators from organization administrators, and confirm with Decidim which settings can be set per organization in your version.

How hosts, organizations and the System panel fit together

The diagram starts with the operator using the System panel to create each organization, which is stored in one shared Decidim application and PostgreSQL database. Each organization is reached through its primary or secondary host, and the request is resolved to that organization's own settings. Per-organization SMTP and authorization settings branch off from the organization record, so they stay separate from the others. Check that every organization has its own hosts, mail settings and verification rules, and that the operator's admin access stays inside the System panel boundary.

Shared installation, per-organization hosts, mail and verification, with trust boundaries marked.

How to create and configure organizations in the System panel

This sequence takes a Decidim installation from a single domain to several organizations, each reachable on its own host with its own email and authorization settings. Each step ends with a check so the team knows the organization is ready before the next one is added.

  1. Prepare the primary domain and DNS

    The platform team decides the primary domain and the hostnames each organization will use, such as one subdomain per municipality, and creates the DNS records that point them at the same load balancer or ingress. Confirm with your certificate process that TLS certificates can cover every hostname you plan to use before you add them. The step is complete when each planned hostname resolves to the installation and returns a valid certificate.

  2. Create the first organization in the System panel

    A system administrator signs in to the System panel and creates the first organization, entering its name, primary host, default locale and available languages. Confirm the exact menu paths and field names against the Decidim System panel documentation for your version, since they can change between releases. The step is complete when the organization appears in the list, its admin login works on the primary host, and the public site loads on that host.

  3. Add secondary hosts for each organization

    For each organization that needs its own address, the administrator adds one or more secondary hosts in the organization settings and confirms that the hostname is recognized by the application. Requests to a secondary host should resolve to the same organization content without redirecting users to another tenant. The step is complete when each secondary hostname loads the correct organization in a private browser session, with no mixed branding or content from another tenant.

  4. Create the remaining organizations

    The administrator repeats the creation step for every additional organization, giving each one a distinct name, host and default locale. Keep a register of organization names, hostnames, owners and admin accounts so that later changes, such as retiring an organization, can be traced. The step is complete when each organization appears separately in the System panel and each host returns its own site.

  5. Set per-organization email options

    For each organization, the administrator enters its sender address and SMTP settings where the organization-level options allow it, and checks that the global default does not send messages under another tenant's name. Confirm with your mail provider how sender domains and authentication records must be set up for each domain. The step is complete when a test registration or password reset sent from each organization arrives with the expected sender and link host.

  6. Configure per-organization authorization options

    The administrator enables only the authorization methods each organization has agreed to use, such as verification handlers or custom census checks, and leaves others off. Confirm which methods are available in your Decidim version and which need external services or data files, and record who approves each choice. The step is complete when a test account in one organization can complete the enabled authorization, and a test account cannot use authorizations that belong to a different organization.

  7. Test each organization in isolation

    Run a short test pass for each organization in turn: sign in as an administrator and a regular participant, create a test space, confirm that users, content, uploads and emails stay within that organization, and then remove the test content. Repeat the checks after any change to hosts, SMTP or authorizations. The step is complete when every organization passes the same written checklist and the results are kept with the change record.

Configuration choices for each organization and when each fits

This table compares the settings you can scope to one organization on a shared Decidim install against settings that apply to the whole installation. Read each row for when the choice fits and what it touches during upgrades and support. The main takeaway is that anything set per organization multiplies your support surface, so scope it only where the owning organization needs it.

SettingWhen it fitsTrade-off during upgrades and support
Primary hostThe main domain for the installation's shared platform entry point and the default organizationChanging it later affects links, cookies and login redirects for every organization, so confirm the final domain before onboarding anyone
Secondary hostsA municipality or partner organization that needs its own domain while sharing the same codebase and databaseEach host needs its own DNS, TLS certificate and reverse proxy routing, and every new host adds a renewal and redirect check to your upgrade test
Global SMTPOrganizations that accept one sender domain and one mail relay managed by the platform teamOne mail setting covers all tenants, so a relay outage or sender policy change affects every organization at once
Per-organization SMTPOrganizations that must send from their own domain or keep mail under their own provider contractEach organization's credentials, SPF, DKIM and bounce handling need separate testing, and rotated passwords must be updated per tenant
Global social login providersShared sign-in options that all organizations are willing to offer under the same app registrationsClient secrets and redirect URIs are maintained once, but a provider change affects every tenant's sign-in flow
Per-organization social login providersAn organization that needs its own identity provider app or a provider that others must not seeEach registration must be created and rotated per organization, and redirect URIs must match each organization's host after any domain change. See the documented social provider configuration for the settings required; confirm defaults against your Decidim version
Global authorization handlersVerification methods, such as a shared census or identity service, that every organization applies the same wayHandler code and secrets are tested once per upgrade, but a change to the rule affects every organization's voting or signing eligibility
Per-organization authorization handlersAn organization that verifies participants against its own census, registry or SMS providerEach handler needs its own test data, data protection review and support runbook, and failures are harder to attribute to one tenant without clear logging

Isolation and access risks to plan for in shared hosting

When several organizations share one Decidim installation, the same codebase, database, mail service and operator accounts serve every tenant. The risks below connect because a weakness in one of them can expose or affect all tenants at once, so each needs a named control and an owner before go-live.

Cross-organization data separation

Participants, proposals, documents and private spaces from different organizations sit in one PostgreSQL database and one file store. Confirm that each organization's private spaces, restricted components and uploaded files are only reachable from that organization's hosts. Ask the team to run a scripted test that signs in as a user of one organization and tries to open known object URLs belonging to another. Record the result for each release.

Operator administrator roles

Whoever runs the System panel can create organizations, change their settings and reach their administrators. Limit the number of System-level accounts, use named accounts instead of shared logins, and enable multi-factor authentication where your environment supports it. Review who holds System access each quarter and remove access when a staff member changes role.

System panel docs

Shared secrets across tenants

A single secret_key_base and a single set of database and storage credentials protect every organization. A leak of one of these values affects all tenants, so store them in a secrets manager, restrict read access, and plan rotation with a maintenance window. Do not place per-organization API keys in shared configuration files that other tenants' administrators can read through the admin interface.

Mail sender reputation

If organizations send through one domain or one SMTP account, a spam complaint or blocklisting caused by one tenant can stop registration and notification mail for all of them. Ask each organization for its own sender address and SMTP settings where the platform supports per-organization delivery. Monitor bounce and complaint rates per sender and confirm SPF, DKIM and DMARC records for each domain.

Security report handling

Decidim's SECURITY.md sets out how vulnerabilities are reported and disclosed, and it gives implementers time to apply patches before details are published. Your operator must know who receives reports from tenants, how they are triaged, and who applies the patch to the shared installation for every organization. Agree these responsibilities in writing and name the on-call contact for security matters.

Standard patch window
2 months
Critical patch window
4 months
Decidim SECURITY.md

Shared upgrade cycles

One upgrade applies to every organization, so a regression or failed migration affects all tenants at the same time. Schedule upgrades one minor version at a time, back up the database first, and test the upgrade on a staging copy with each organization's configuration. Agree a change window with every tenant before the upgrade starts.

Supported branch
0.32.x

Why one upgrade cycle changes every organization at once

On a shared installation, there is one codebase and one database, so an upgrade is never a per-organization decision. Every tenant moves to the new Decidim version on the same day, and the rules that apply to a single install apply to all of them together. Decidim's update guide asks you to upgrade one minor version at a time (for example, 0.29 to 0.30 before 0.31), to follow each release's upgrade instructions because some change database structures, and to back up the database first. In a multi-tenant setup, a failed migration or a broken custom module does not stay inside one city's space. It affects every organization's processes, assemblies and participant accounts at once, so the backup you take is a backup of everyone's data.

Plan the cycle around the supported window. Decidim provides security updates only for the last two minor versions until version 1.0, which means 0.32.x and 0.31.x at the time of writing. Versions 0.30.x and earlier no longer receive security fixes, so an installation that falls behind this window carries known risk for every tenant. Confirm the current window on the project's security policy before you set your schedule, and check the release notes for each step. Decidim's grace period for applying patches to vulnerabilities is also relevant here, because it gives you a bounded time to deploy fixes, and a shared install leaves no room to delay for one organization.

Because every organization shares the same release date, each one needs advance notice of downtime, changed admin screens, new login behavior and any custom branding or module changes that depend on the version. Agree the notice period and the escalation contact in writing with each organization before the window opens. Run the full upgrade first on a staging copy with production-like data, including an organization that uses custom authorizations and one with its own SMTP settings, and confirm that emails, verifications and scheduled tasks still work. A staging run is the only place you can find a tenant-specific break before real participants see it.

Limits to confirm before you commit to shared hosting

A shared Decidim installation puts several organizations behind one database, one codebase and one upgrade schedule. Each item below is a question to settle in your own environment before you agree on a hosting design, because the answer changes who can share an install and how much work the install demands.

Regulatory fit for co-hosting

Ask whether each organization's governing rules allow its participant data to sit in the same installation, database and storage as other organizations. Public-sector rules often set requirements on data location, access by other administrators and audit evidence, and a shared install can change how those requirements are met. Confirm this with each organization's legal and compliance owners before they are placed on the same platform, and record the decision per tenant.

Capacity of the chosen design

Confirm how many organizations, participatory spaces and concurrent visitors the hosting design must handle at peak, such as during a consultation close or a vote. The number of tenants is only one input; traffic spikes, background job volume and upload sizes often matter more. Ask the platform team to test the planned count against realistic load before you commit, rather than assuming the first design will scale.

Custom module compatibility

Check every custom module, theme override and community module against each organization's needs and against the shared core version. A module that works for one tenant can break another if it changes shared models or assumes a single set of settings. List which tenants depend on which custom code, and confirm that a module update can be tested for all of them before it reaches production.

Per-tenant backup and restore

Confirm whether you can restore one organization's data without rolling back the others. A single PostgreSQL database and one file store make that harder than it sounds, so ask your team how a restore request for one municipality would be scoped, tested and approved. Also confirm how long each organization's data must be kept and how deletion requests are honored when backups still hold copies.

Shared upgrade windows

Confirm that every organization can accept the same release schedule. Decidim asks implementers to move one minor version at a time and to follow each release's upgrade instructions, so one tenant that cannot test on time can hold back the whole platform. Agree on a test owner per organization, a sign-off date and a rollback path before the first shared upgrade. Keep an eye on the release notes for each planned step.

Questions teams ask before hosting several organizations on Decidim

What drives the cost of running several organizations on one Decidim installation?

The main cost drivers are how many organizations you host, how different their configurations are, and how much of each one's setup you want handled by a partner. Each organization adds its own hosts, SMTP settings, authorization methods, identity providers, branding and content, so setup work grows with the number of distinct configurations rather than the number of sites. Shared costs include the single hosting stack, the database, background jobs, backups and the upgrade cycle, which are paid once. When requesting a quote, ask which items are one-time setup, which recur (monthly operations, testing of each upgrade, support), and how new organizations after launch are priced.

How long does onboarding a new organization onto a shared Decidim install take?

Onboarding time depends on the organization's requirements more than on the platform itself. Creating the organization in the System panel is a short administrative step, but the work around it includes domain and TLS setup, per-organization email delivery, the authorization methods the organization needs, identity provider connections, legal texts and content. Organizations that need custom census data or external identity sources take longer because those depend on data owners outside your team. Ask any partner for a timeline in the written scope, broken into these steps, and for the assumptions behind each one.

What must the operator provide before a new organization goes live?

The operator typically provides the items that only the hosting side can control:

  • Domains or subdomains for each organization, with DNS records and TLS certificates
  • An SMTP account or sending service for each organization's sender addresses
  • Identity sources such as social login credentials, SSO configuration or census files for verification
  • Map and geocoding keys, storage locations and the legal and privacy texts each organization approves

Confirm early who owns each credential and how it is rotated, because a missing provider often blocks launch more than the Decidim configuration does.

Can an internal team set up multi-tenant Decidim without outside help?

Yes, an internal team with Ruby on Rails and PostgreSQL experience can run Decidim and configure multiple organizations, since Decidim is free and open source and its installation and System panel are documented. The harder parts are sustained: keeping per-organization SMTP and authorizations correct, testing each upgrade against every organization's customizations, and running scheduled tasks and backups reliably. Assess whether your team has the on-call capacity and the time to review each minor version upgrade. A partner can take on some or all of this under a written, fixed scope or a retainer.

How do shared upgrades affect scheduling for all organizations?

A shared installation means one upgrade affects every organization at once, so the schedule has to satisfy the most demanding one. Decidim's update guide says to move one minor version at a time, follow each release's upgrade instructions because some change the database structure, and back up the database first. Plan a staging rehearsal with a copy of production data, agree a maintenance window with each organization, and check custom modules and per-organization settings before the change. Also confirm which Decidim branches receive security updates at the time you plan, since older branches stop receiving them.

How do Decidim security support windows affect a multi-tenant plan?

Decidim supports only the last two minor versions with security updates until version 1.0, so a shared install must be moved forward on a regular basis to stay supported. The project gives implementers a grace period of 2 months for standard vulnerabilities and 4 months for critical ones before details are disclosed. Because one installation serves every organization, a delayed upgrade leaves all of them exposed at once. Ask your partner or internal team to state the patch window they commit to and how emergency patches would be scheduled across tenants.

Which compliance questions should a multi-tenant Decidim host answer before launch?

Start with where the platform is hosted and which data each organization holds, because that determines the framework that applies. Public-sector deployments may need to meet accessibility requirements such as WCAG 2.1 Level A and AA under the ADA Title II rule, with dates that depend on the size of the public entity. Hosting in your own infrastructure also means you must document access control, audit logging and retention for each tenant. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue any reports or certifications.

How public-sector rules shape a shared participation platform

One shared Decidim installation can bring several organizations under the same public-sector rules at once, so the first question is which rules apply to each tenant, not only to the operator. Accessibility is the clearest example. The ADA Title II rule in 28 CFR 35.200 requires state and local government web content and mobile apps, including those provided through contracts or licenses, to meet WCAG 2.1 Level A and AA. The supplied deadlines are 26 April 2027 for entities serving 50,000 or more people and 26 April 2028 for smaller entities and special districts. If a host runs sites for many small municipalities, each municipality may have its own deadline and its own exposure. Ask counsel whether the rule reaches your tenants, and whether the platform's pages, forms and mobile behavior fall within what each organization must certify or document.

NIS2 is a different question. The directive covers central government entities regardless of size, and Member States may extend it to local public administration, so whether a municipality on your installation is in scope depends on national transposition. It also excludes entities working in national security, public security, defense or law enforcement. If you host for a regional authority or a national ministry, confirm with the relevant competent authority whether that tenant is covered and whether your hosting role makes you a supplier that must meet its obligations. The same logic applies to FedRAMP. Its scope in M-24-15 covers cloud products that handle federal information on behalf of an agency, and systems used only for one agency's operations and not offered as a shared service are out of scope. A multi-organization platform offered to many agencies is the kind of shared service that needs an explicit answer, so confirm the position with the agency's authorizing official.

DeployOpen can plan the platform so these questions are easier to answer: tenant boundaries, access logs, accessibility test records and configuration evidence. It does not issue audit reports, attestations or certifications, and it cannot decide whether any tenant or host is covered. Those determinations belong to counsel, the relevant authority or an independent assessor. Before you commit to a shared model, write down each organization's legal status, which rules you believe apply, and who confirmed them.

How to add a new organization to a running installation

This sequence takes a new municipality or organization from an approved request to a live, separated, handed-over host on an existing Decidim installation, with a check at each stage so nothing reaches participants unverified.

  1. Confirm the request and scope

    Before anyone touches the installation, record who is requesting the organization, which host name they will use, which languages and participatory spaces they need, who will administer it, and which authorization methods and SMTP sender they expect. The platform owner signs off the request and assigns an operator. This step is done when the request is written down and approved, and the host name is checked against the names already in use on the installation so no collision reaches the next step.

  2. Set up DNS and TLS for the new host

    Create the DNS record for the requested host and point it at the same load balancer or ingress that serves the installation. Issue or attach a certificate that covers the new name, and confirm the certificate chain is valid from outside your network. Verify with a name lookup from more than one resolver and an HTTPS request to the address, expecting a valid certificate for that exact host. Ask your hosting team to confirm that the proxy passes the new host header through to Decidim, since a missing host entry is a common cause of failed requests.

  3. Create the organization in the System panel

    A system administrator creates the organization in the System panel, entering its name, default locale and available locales, and the primary host and any secondary hosts. Confirm the organization appears in the list, the host resolves to it, and the public homepage loads without errors in the logs. Keep the initial admin account limited to the operator who will configure it, and record the creation in your change log.

  4. Configure SMTP and authorizations for the organization

    Set the per-organization mail settings (sender address, reply-to and SMTP credentials) and choose which authorization methods the organization offers for voting or signing. Send a test registration and confirm the confirmation email arrives from the expected sender and is not marked as spam by the receiving mailbox. Then complete one authorization flow with a test account and confirm the verified status is recorded only for that organization. Check that secrets are stored in your secret management, not typed into shared notes.

  5. Run data separation checks

    Before participants arrive, confirm that content and accounts created on the new host are not visible on other organizations' hosts. Log in as a user from one organization, attempt to open a private or unpublished space from another, and confirm access is refused. Check that administrator roles, newsletters, uploads and exports are scoped to the organization that created them. Also confirm that any shared login provider settings you configured apply only where you intended. Record the test accounts and results so an auditor can repeat them.

  6. Verify scheduled tasks and background jobs cover the new organization

    Confirm that the recurring tasks and background jobs your installation runs, such as phase changes and exports, process the new organization's spaces as well as the existing ones. Create a short test space with a scheduled change, let it run, and confirm the change occurred and was logged. Check the queue for errors related to the new host or its mail settings. This check is done when the test change is visible in the admin interface and the queue is clear of failures tied to the new organization.

  7. Hand over to the organization administrators

    Walk the organization's administrators through the admin panel, the moderation and role model, the process for adding participants and the contact path for incidents. Remove or disable test accounts and sample content created during checks. Give them the documented steps for their own authorization and SMTP changes, and agree who on the platform side receives their support requests. Handover is complete when the administrators have signed off in writing, the test content is removed, and the go-live date is recorded.

How DeployOpen scopes and delivers multi-organization Decidim hosting

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including multi-organization Decidim installations. We start from a written scope that defines which organizations, hosts, authorizations and upgrade rules are in place before any configuration begins.

How we scope

  • Inventory each organization to be hosted, its domain, languages, and the participatory spaces it will run
  • Agree in writing which SMTP sender, login providers and authorization methods each organization may use
  • Define who administers the System panel and how new organizations are approved and created

How we build

  • Configure the shared installation, hosts and secondary hosts, and per-organization settings in a staging environment first
  • Test isolation between organizations, including data visibility, uploads, emails and permissions for each admin team
  • Document the build so your teams can add an organization later without relying on our involvement

How we hand over

  • Deliver runbooks for creating organizations, rotating per-organization credentials and running the upgrade cycle
  • Provide a written record of configuration, test results and open items agreed with your security and compliance teams
  • Walk your operators through restores, scheduled tasks and the process for handling a single organization's data request

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, with the scope agreed in writing
  • Plan each minor-version upgrade against the release notes, with database backups taken before any change
  • Retest each organization's critical paths after upgrades, patches and changes to shared infrastructure

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.