This document outlines the steps involved in deploying the orchestrator, which is built with Webpack.

Prerequisites:

1. Getting started

2. Build the project

3. Update the CSP policy (⚠️ Required)

Open the Generated index_csp.html:

Generate Hashes:

Update the hashes:

CSP hashes are different depending on the deployment environment. While the CSP policy in labs is **report-only,** let’s just focus on prod environment.

⚠️ It’s important to update the policy in both resources because Cloudfront function handles white label frontend and lambda edge handles frontend.masivapp.com access.

It’s mandatory to update the CSP policy in the following resources. Here’s the step by step:

  1. Update CSP in Cloudfront function