Deploying CDP Web App

This section provides detailed instructions on how to deploy HCL CDP Web App using the Devtron in the AWS.

Prerequisites:

Make sure to create UI secret with required data in the AWS Secrets Manager before deploying CDP Web App.

{
  "NEXT_PUBLIC_RECAPTCHA_KEY": "",
  "NEXT_PUBLIC_CLIENT_ID": "",
  "NEXT_PUBLIC_CLIENT_SECRET": "",
  "NEXT_PUBLIC_GOOGLE_CLIENT_ID": "",
  "NEXT_PUBLIC_GOOGLE_CLIENT_SECRET": "",
  "NEXT_PUBLIC_FROALA_SECRET": "",
  "REACT_APP_CLIENT_ID": "",
  "host": "",
  "user": "",
  "password": "",
  "sesEmail": "",
  "sesPassword": "",
  "REACT_APP_S3_ACCESS_KEY_ID": "",
  "REACT_APP_S3_SECRET_KEY": "",
  "AKAMAI_KEY": "",
  "AKAMAI_KEY_NAME": "",
  "AKAMAI_HOST": "",
  "AKAMAI_PATH": "",
  "AKAMAI_PURGE_AUTH_KEY": "",
  "usEndpoint": "",
  "muEndpoint": "",
  "muAuthKey": "",
  "auAuthKey": "",
  "auEndpoint": "",
  "usAuthKey": "",
  "API_KEY_1": "",
  "API_SECRET_1": "",
  "API_KEY_2": "",
  "API_SECRET_2": "",
  "API_KEY_3": "",
  "API_SECRET_3": "",
  "API_KEY_4": "",
  "API_SECRET_4": "",
  "API_KEY_5": "",
  "API_SECRET_5": "",
  "API_KEY_6": "",
  "API_SECRET_6": "",
  "smtpUser": "",
  "smtpPassword": "",
  "smtpHost": "",
  "smtpPort": "",
  "smtpFrom": "",
  "AUTH_TOKEN": ""
}

Deploying CDP Web App

To deploy the CDP Web App, follow the steps below:

  1. Navigate to the Devtron Chart Store, and select the cdp-web-app chart to deploy.

  2. Now, configure and deploy the CDP Web App charts.

  3. In the YAML section, update the ConfigMap using below details and deploy the charts.
    NEXT_PUBLIC_CORE_API_BASE_URL: "https://coreapi.<domain>.cloud"
    NEXT_PUBLIC_DASH_BACKEND_BASE_URL: "https://dashbackend.<domain>.cloud"
    NEXT_PUBLIC_LIVE_EVENTS_URL: "https://ls.<domain>.cloud/"
    NEXT_PUBLIC_THINK_DESIGN_URL: "https://dash-iframe.<domain>.cloud"
    NEXT_PUBLIC_NODE_ENV: "prod"
    NEXT_PUBLIC_CDN_PATH: "https://d2hy05unh5d9ka.cloudfront.net/coreapi/uploads/ssp/"
    NEXT_PUBLIC_COOKIE_DOMAIN: ".<domain>.cloud"
    NEXT_PUBLIC_HOME_ROUTE: /app/cdpDashboard
    
    NEXT_PUBLIC_SENTRY_DSN: "''"
    SENTRY_PROJECT: "us-tkd"
    
    NEXT_PUBLIC_MIXPANEL_KEY: "<secret_key>"
    
    FROM_EMAIL_ID: user@domain.com
    ALERT_TO_EMAIL_ID: user@domain.com
    
    NEXT_PUBLIC_DOCS_VERSION: 25.1.0
    
    NEXT_PUBLIC_COV_CAMPAIGNS: 6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6552,6553
    
    ORIGIN: http://*.dev.<domain>.cloud:* https://*.dev.<domain>.cloud:* http://*.dev.<domain>.cloud:* https://*.dev.<domain>.cloud:* https://cdn.<static>.io:* https://icons.<cdn>.io:* https://cdn.jsdelivr.net:* wss://*.dev.<domain>.cloud:* blob:http://*.dev.<domain>.cloud:* blob:https://*.dev.<domain>.cloud:* unsafe-eval
    
    APP_URL: "https://cdp.<domain>.cloud"
    SERVER_NAME: "cdp.<domain>.cloud"
    
    NEXT_PUBLIC_SEGMENT_EXPORT_BUCKET_NAME: hclsw-hxcd-hss-prd-s3-cdp-app
    NEXT_PUBLIC_CDP_ENV: HXCD
    
    NEXT_PUBLIC_EXPORT_DASHBOARD: "[]"
    NEXT_PUBLIC_EXPORT_CAMPAIGN_LIST: "[]"
    
    NEXT_PUBLIC_BLOWFFISHKEY: "<secret_key>"
    
    NEXT_PUBLIC_LINK_LOGIN_USERNAME: "admin"
    NEXT_PUBLIC_LINK_BASE_URL: "https://link-demo.<domain>.cloud"
    NEXT_PUBLIC_LINK_LOGIN_PASSWORD: "<secret_password>"
    NEXT_PUBLIC_LINK_PROJECT_NAME: "_app_cdp"
    
    NEXT_PUBLIC_EXPORT_CONTACT_DATE_BASED_LIST: "[6543]"
    NEXT_PUBLIC_COV_ACTIVITY_TAB_TENANT_IDS: "[6543]"
    

  4. On successful deployment, validate the deployment as shown below.