How to Connect Your OpenAI Account to Commnia

How to Generate AI Token Key

Commnia allows you to link your OpenAI account to assist with tasks such as completing RFIs, Defects, and other project records. This guide walks you through creating an OpenAI account, generating an API key, and securely using it for integration purposes.

1. Create an OpenAI account


2. Go to API Keys

3. Generate a new key


  • Click “Create new secret key” or similar.
  • A token (string of letters/numbers) will be shown — copy it now (you won’t see it again).
  • Give your key a name and click on Generate Secret Key

4. Store it securely

  • Treat it like a password — don’t share publicly or commit to code repos.


5. Use it in your code

Example (Python):

import openai
openai.api_key = "YOUR_KEY_HERE"

Or with environment variable:

export OPENAI_API_KEY="YOUR_KEY_HERE"