Connecting to Temporal Cloud

Connect your Temporal Cloud accounts to CloudZero to bring your Temporal Cloud cost data into a unified view of all your cloud and AI spend. CloudZero organizes your Temporal Cloud costs, along with your other costs, into categories (called Dimensions) that matter most to your business. For example: business unit, team, product, feature, environment, customer, or virtually anything else. Once connected and organized, you can quickly answer questions about your spend that matter to your stakeholders.

This guide covers creating a Temporal Cloud API key and configuring the connection in CloudZero. CloudZero ingests the hourly billing reports for your Temporal Cloud account and attributes costs to the namespaces that generated them. The connection is read-only.

ℹ️

The Temporal Cloud connection is in preview. To get access, contact your account manager.

What you need

  • CloudZero user with data configuration permissions
  • A Temporal Cloud user with the Finance Admin account role, which is required to read billing reports

Step 1: Create a Temporal Cloud API key

CloudZero connects with a Temporal Cloud API key. The key acts with the permissions of the user who creates it, so create it while signed in as a user with the Finance Admin role. For full details, see Temporal's API keys documentation.

  1. Sign in to Temporal Cloud as a user with the Finance Admin role.
  2. Create an API key with an expiration that matches your security policy.
  3. Copy the key and store it securely.

Step 2: Configure the connection in CloudZero

  1. In CloudZero, go to Settings > Connections.
  2. Select Create Connection + and select the Temporal Cloud tile.
  3. Enter the connection details:
FieldValue
Connection NameA name for this connection in CloudZero (up to 50 letters, numbers, spaces, underscores, plus signs, or hyphens)
API KeyThe key from Step 1
  1. Select Test to confirm CloudZero can reach your Temporal Cloud account.
  2. Select Create Connection.

What to expect

After you connect, CloudZero backfills your Temporal Cloud costs for the current month and the previous month, which are the billing months Temporal Cloud keeps available. From then on, CloudZero keeps every month it ingests. Temporal Cloud reports usage about 24 hours after it happens, and CloudZero picks up new data once a day. Once data is available, you can view costs across the platform broken down by namespace and by Temporal Cloud service category (Actions, Active Storage, Retained Storage, and Other, which includes your plan fee).

From there, your Temporal Cloud costs work like any other cost data in CloudZero. For example, you can organize them by team or product using Dimensions, track trends in Dashboards, set Budgets, or ask questions in the AI Hub.

Each connection covers one Temporal Cloud account. To bring in costs from more than one account, create a connection for each.

If Test reports "Temporal Cloud API access denied," confirm the API key is copied in full and has not expired or been deleted.

Test confirms that the key can reach your Temporal Cloud account, not that it can read billing reports. If the connection is created but no costs appear, check its status in Connection Health and confirm the user who created the key has the Finance Admin role. If you need help, contact your account manager.

Maintenance and configuration

Update credentials

You can replace the API key without creating a new connection, for example before the key expires.

  1. In CloudZero, go to Settings > Connections and select your Temporal Cloud connection.
  2. Select Edit.
  3. Enter the new key in API Key. Leave the field empty to keep the current key.
  4. Select Save Changes.

CloudZero saves the new key without running Test. If costs stop appearing after you change the key, check the connection in Connection Health and confirm the key's user has the Finance Admin role.

Connection details

Tags

CloudZero ingests the tags Temporal Cloud reports for each cost line, including the project tag, and makes them available for use in Dimensions. Temporal Cloud adds a $ prefix to its own tag keys. CloudZero removes the prefix, so $tmprl_project appears as tmprl_project. When a tag has more than one value, CloudZero joins the values with commas.

The connection also provides the following tags:

TagDescription
billing_account_idID of the Temporal Cloud account that was billed
sku_idID of the Temporal Cloud SKU for the charge
charge_tierPricing tier of the charge, when Temporal Cloud bills it by tier

Temporal Cloud reports tags as they are when CloudZero ingests data, not as they were when the usage happened. When CloudZero refreshes a month, tag changes you have made since apply to the whole month.

Cloud Provider Dimensions

CloudZero maps your Temporal Cloud billing data to the following categories (called Cloud Provider Dimensions), which you can group and filter by across the platform:

DimensionExample values
AccountYour Temporal Cloud account name
ServiceThe Temporal Cloud service category: Actions, Active Storage, Retained Storage, or Other (which includes your plan fee)
Regionglobal for all costs
ResourceThe namespace, in the form <namespace>.<account ID>, or plan-fee/<account ID> for your plan fee

Usage data

Temporal Cloud reports billed usage by hour, so each cost line covers one hour. Costs are in US dollars.

Usage included in your plan appears with its usage amount and a cost of $0, so you can see how much of your included usage each namespace consumes.

ℹ️

Have questions or feedback? Reach out to your account manager.


Did this page help you?