Quickstart (Step 1): Generating an API Key

In Step 1 of the ClimeqAI Developer Quickstart, you will generate a high-entropy sust_... API key to authenticate programmatic requests from your external applications.

1. Step-by-Step API Key Generation

1. Open the Security Center: Navigate to the Security Center (/security) from the left navigation sidebar.

2. Generate a New Key: Under the External API Keys section, click Generate New Key.

3. Name Your Key: Enter a descriptive label that identifies the target integration or environment (e.g., SAP-Production-Sync or Quickstart-Test-Key).

4. Copy Your Key Immediately: Click Copy to copy the newly generated sust_-prefixed 48-character hexadecimal key (sust_<48_hex_chars>) to your clipboard.

[!CAUTION]

Because ClimeqAI stores only an irreversible SHA-256 hash of your API key in the database, the full plain-text key is shown only once. You will not be able to view it again after closing the modal!

2. Storing the Key in an Environment Variable

Never hardcode your API key in source files (git). Store it in an environment variable (CLIMEQ_API_KEY) on your workstation or server:

# Set environment variable in macOS / Linux terminal
export CLIMEQ_API_KEY="sust_8f92a1b4c6d8e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7"

If you are using Windows PowerShell:

# Set environment variable in Windows PowerShell
$env:CLIMEQ_API_KEY="sust_8f92a1b4c6d8e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7"

3. Security Checklist

CheckpointRequirementDescription
Required RoleOwner or AdminOnly organization administrators can generate or revoke API keys.
HTTP Header NameX-Api-KeyPass the key in the X-Api-Key: sust_... header on every API call.
Rate Limit60 requests / minuteEach external API key allows up to 60 requests per minute.

[!TIP]

Your API key is ready! Proceed to Step 2: Making Your First Calculation Request to execute your first autonomous carbon calculation in seconds.

Platform Guide & Technical Documents