Set up the environment variables (Instructions) PANGEA_REDACT_TOKEN and PANGEA_DOMAIN with your project token configured on the Pangea User Console (token should have access to Redact service Instructions) and with your Pangea domain.
yarn install
node text.mjs