You can deploy the Dynatrace operator by following the official guide or by using the sample deployment script provided here.
Export the required environment variables, then run the deploy script:
export CLUSTER_NAME=<your-cluster-name> # name shown in the Dynatrace tenant
export CLUSTER_API_URL=https://<your-tenant-id>.live.dynatrace.com/api
export OPERATOR_TOKEN=<your-operator-token> # Kubernetes: Dynatrace Operator template
export DATA_INGEST_TOKEN=<your-ingest-token> # Kubernetes: Data Ingest template
./deployThe CLUSTER_API_URL should include the /api path as shown above.
Tokens can be created in your Dynatrace tenant under Access Tokens, using the respective template for each.