Multiple Privacy Centers
Multiple privacy centers allows you to configure different privacy centers for different paths on the same domain or for different domains entirely. This feature requires API-based configuration.
Multiple Privacy Centers on Different Paths
The paths property allows you to set different paths for each of your properties on the same domain.
Example configuration:
- Property 1:
paths: ["/"](root path) - Property 2:
paths: ["/some-brand"] - Property 3:
paths: ["/my-other-brand"]
When users access:
privacy.mydomain.com/→ Privacy center from Property 1 (ifFIDES_PRIVACY_CENTER__USE_API_CONFIG=true)privacy.mydomain.com/some-brand→ Privacy center from Property 2privacy.mydomain.com/my-other-brand→ Privacy center from Property 3
By default, when accessing the root path (privacy.mydomain.com/) the privacy center will read from the File-based configuration. To change this behavior and fetch the configuration from the API instead:
- Fides Cloud: Contact support to enable
FIDES_PRIVACY_CENTER__USE_API_CONFIG=true - Self-hosted: Set
FIDES_PRIVACY_CENTER__USE_API_CONFIG=truein your deployment configuration
Multiple Privacy Centers on Different Domains
To set up multiple privacy centers on different domains:
- Fides Cloud: Please contact your Account Manager to discuss enabling multi-domain setup for your privacy centers.
- Self-hosted:
- Deploy a separate privacy center container for each domain you want to use
- Set a unique path for each property in your configuration
- Configure each container's
.envfile with the matchingFIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATH
Example setup for two domains:
-
Configure Properties
- Property 1 (brand1.com): Set
paths: ["/brand1"] - Property 2 (brand2.com): Set
paths: ["/brand2"]
- Property 1 (brand1.com): Set
-
Configure Privacy Center Containers
- Container 1 (brand1.com): Set
FIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATH="/brand1" - Container 2 (brand2.com): Set
FIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATH="/brand2"
- Container 1 (brand1.com): Set
Each privacy center container will now serve the configuration for its specific property.