Skip to main content

Deploy your app

  • How-to
  • 1 minute

Permissions

To deploy your Dynatrace app, you need the following permissions:

  • app-engine:apps:install
  • app-engine:apps:delete
  • app-engine:apps:run
  • app-settings:objects:read

Deploy from a local device

  1. Ensure your user has the required IAM permissions.
  2. Navigate to the root of your project.
  3. Run the following command in your terminal:
npm run deploy

Deploy from a CI/CD pipeline

  1. Create an OAuth client that has the required IAM permissions.
  2. In your CI/CD pipeline, set the environment variables DT_APP_OAUTH_CLIENT_ID and DT_APP_OAUTH_CLIENT_SECRET with the generated client ID and client secret.
  3. Run the following command within your pipeline:
npm run deploy
Note

Every time you deploy your app, you need to increase the version number in the app.config.json file.

Still have questions?
Find answers in the Dynatrace Community