Skip to content
Privacy Center

Privacy Center Overview

The Fides Privacy Center is a configurable webpage where users can request to access, update, or delete their data or update their consent preferences.

Deploy the privacy center

The following steps assume that you have Docker installed. For more information on how to install Docker, please see the Docker documentation (opens in a new tab).

The Privacy Center is provided in a standalone Docker image called ethyca/fides-privacy-center. To deploy this image, run the following command:

docker pull ethyca/fides-privacy-center

The default privacy center will look something like the sample privacy center shown below:

The default privacy center

Privacy center environment variables

There are a variety of settings for fides-privacy-center that are controlled by providing FIDES_PRIVACY_CENTER__*-prefixed environment variables to the container. In a Fides Cloud deployment, contact Ethyca Support to request changes to these.

For the purposes of /fides.js hosting, the following settings are relevant:

NameTypeDefaultDescription
Core Configuration
FIDES_PRIVACY_CENTER__FIDES_API_URLstringN/AURL for the Fides API backend
FIDES_PRIVACY_CENTER__SERVER_SIDE_FIDES_API_URLstringnullServer-side URL for Fides API (for SSR)
FIDES_PRIVACY_CENTER__CONFIG_JSON_URLstring/config.jsonURL for privacy center configuration JSON
FIDES_PRIVACY_CENTER__CONFIG_CSS_URLstring/config.cssURL for privacy center CSS configuration
FIDES_PRIVACY_CENTER__PRIVACY_CENTER_URLstringN/ABase URL for privacy center
FIDES_PRIVACY_CENTER__USE_API_CONFIGbooleanfalseUse API-based configuration instead of static files
FIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATHstringnullRoot property path for privacy center
FIDES_PRIVACY_CENTER__CUSTOM_OPTIONS_PATHstringnullPath to custom options configuration
UI/UX Settings
FIDES_PRIVACY_CENTER__IS_OVERLAY_ENABLEDbooleantrueEnable overlay mode for privacy center
FIDES_PRIVACY_CENTER__OVERLAY_PARENT_IDstringnullDOM element ID for overlay parent container
FIDES_PRIVACY_CENTER__MODAL_LINK_IDstringnullDOM element ID for modal trigger link
FIDES_PRIVACY_CENTER__SHOW_BRAND_LINKbooleanfalseShow Fides branding link in footer
FIDES_PRIVACY_CENTER__FIDES_PRIMARY_COLORstringnullPrimary color for Fides UI theming
FIDES_PRIVACY_CENTER__ALLOW_HTML_DESCRIPTIONbooleanfalseAllow HTML in privacy notice descriptions
FIDES_PRIVACY_CENTER__PREVENT_DISMISSALbooleanfalsePrevent dismissal of privacy notices
FIDES_PRIVACY_CENTER__FIDES_EMBEDbooleanfalseEnable embedded mode for Fides
Development/Debug
FIDES_PRIVACY_CENTER__LOG_LEVEL"trace" | "debug" | "info" | "warn" | "error" | "fatal""info"Sets the logging level for the Privacy Center
FIDES_PRIVACY_CENTER__DEBUGbooleanfalseEnable debug mode for privacy center
Performance
FIDES_PRIVACY_CENTER__IS_PREFETCH_ENABLEDbooleantrueEnable prefetching for better performance
FIDES_PRIVACY_CENTER__FIDES_JS_MAX_AGE_SECONDSnumber86400Cache duration for Fides JS in seconds (24 hours)
Geolocation
FIDES_PRIVACY_CENTER__IS_GEOLOCATION_ENABLEDbooleanfalseEnable geolocation features
FIDES_PRIVACY_CENTER__GEOLOCATION_API_URLstring""URL for geolocation API service
Consent Management
FIDES_PRIVACY_CENTER__FIDES_TCF_GDPR_APPLIESbooleantrueWhether GDPR applies for TCF
FIDES_PRIVACY_CENTER__IS_FORCED_TCFbooleanfalseForce TCF mode
FIDES_PRIVACY_CENTER__FIDES_STRINGstringnullCustom Fides string configuration
FIDES_PRIVACY_CENTER__FIDES_CONSENT_NON_APPLICABLE_FLAG_MODEstringnullMode for handling non-applicable consent flags
FIDES_PRIVACY_CENTER__FIDES_CONSENT_FLAG_TYPEstringnullType of consent flag to use
FIDES_PRIVACY_CENTER__BASE_64_COOKIEbooleanfalseUse Base64 encoding for cookies
FIDES_PRIVACY_CENTER__FIDES_CLEAR_COOKIEbooleanfalseClear Fides cookies on initialization
API Controls
FIDES_PRIVACY_CENTER__FIDES_DISABLE_SAVE_APIbooleanfalseDisable save API functionality
FIDES_PRIVACY_CENTER__FIDES_DISABLE_NOTICES_SERVED_APIbooleanfalseDisable notices served API
FIDES_PRIVACY_CENTER__FIDES_DISABLE_BANNERbooleanfalseDisable banner display
Advanced/Specialized
FIDES_PRIVACY_CENTER__FIDES_JS_BASE_URLstring/libBase URL for Fides JS files
FIDES_PRIVACY_CENTER__MISSING_EXPERIENCE_BEHAVIORstringnullBehavior when privacy experience is missing
FIDES_PRIVACY_CENTER__ENABLE_EXTERNAL_TASK_PORTALbooleanfalseEnable external task portal functionality

Configure the privacy center

The Fides Privacy Center can be configured through the API or by editing configuration files directly. See Configuration Methods for details.

Modifying the settings

Once configured, you can customize various aspects of your privacy center:

Basic settings

You can modify basic settings like title, description, and logo in your configuration:

{
    "title": "Take control of your data",
    "description": "When you use our services, you're trusting us with your information. We understand this is a big responsibility and work hard to protect your information and put you in control.",
    "logo_path": "/logo.svg",
    "logo_url": "https://fid.es",
    "privacy_policy_url": "https://fid.es/privacy",
    "privacy_policy_url_text": "Privacy Policy",
} 
To set a custom logo, you will have to upload the logo to somewhere publicly accessible.