## App Integrations ### Amplitude Analytics service used to collect data to help the dYdX Product team make informed product decisions. To use with dydxprotocol/v4-web: 1. Amplitude account with API key. 2. Add API key in Github > Secrets and Variables > Actions as `AMPLITUDE_API_KEY` 3. In your deploy scripts add `pnpm run build:inject-amplitude` after your pnpm build / vite build command. ### Bugsnag Error handling service used to collect handled/unhandled errors within the app. The information collected is used to help debug and alert the engineering team of crashes/unhandled errors within the app to improve stability. To use with dydxprotocol/v4-web: 1. Bugsnag account with API key. 2. Add API key in Github > Secrets and Variables > Actions as `BUGSNAG_API_KEY` 3. In your deploy scripts add `pnpm run build:inject-bugsnag` after your pnpm build / vite build command. 4. If you are using with the Amplitude deployment scripts, your build command may look like the following: `pnpm build && pnpm run build:inject-amplitude && pnpm run build:inject-bugsnag` ### StatusPage Service used to inform users of any status updates to our platform. These status updates are manually set and updated by the On Call engineers. To use with dydxprotocol/v4-web: 1. StatusPage account and script URI 2. Add API key in Github > Secrets and Variables > Actions as `STATUS_PAGE_SCRIPT_URI` 3. In your deploy scripts add `pnpm run build:inject-statuspage` after your pnpm build / vite build command. 4. If you are using with the Amplitude deployment scripts, your build command may look like the following: `pnpm build && pnpm run build:inject-amplitude && pnpm run build:inject-statuspage` ### Intercom Service used for live customer support (chat/inbox) as well as home for Help Articles. To use with dydxprotocol/v4-web: 1. Create Intercom account 2. In Intercom UI Getting started > Set up Messenger > will give you your API Key on Step 2 Customize Intercom Messenger by adding logo and brand colors 3. Add API key in Github > Secrets and Variables > Actions as `INTERCOM_APP_ID` 4. In your deploy scripts add `pnpm run build:inject-intercom` after your pnpm build / vite build command. 5. If you are using with the Amplitude deployment scripts, your build command may look like the following: `pnpm build && pnpm run build:inject-amplitude && pnpm run build:inject-intercom`