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
- Ensure your user has the required IAM permissions.
- Navigate to the root of your project.
- Run the following command in your terminal:
npm run deploy
Deploy from a CI/CD pipeline
- Create an OAuth client that has the required IAM permissions.
- In your CI/CD pipeline, set the environment variables
DT_APP_OAUTH_CLIENT_ID
andDT_APP_OAUTH_CLIENT_SECRET
with the generated client ID and client secret. - 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