Skip to content

Files

Latest commit

887402f · Feb 4, 2025

History

History

helloworld-apiKey

Steps to run this sample:

  1. Configure a Temporal Server (such as Temporal Cloud) with apiKey.

  2. Run the following command to start the worker

go run ./helloworld-apiKey/worker \
    -target-host my.namespace.tmprl.cloud:7233 \
    -namespace my.namespace \
    -api-key CLIENT_API_KEY
  1. Run the following command to start the example
go run ./helloworld-apiKey/starter \
    -target-host my.namespace.tmprl.cloud:7233 \
    -namespace my.namespace \
    -api-key CLIENT_API_KEY