Skip to content

Create Key

After registering and signing in, create a key in the HCAI platform. This Key is the credential your AI coding tools use to access HCAI, so keep it safe.

Creation Steps

  1. Sign in to the HCAI platform.
  2. Open “API Keys”.
  3. Click “Create Key”.
  4. Create the key based on the model you want to use.
  5. Create the token you need.
  6. Save and copy the key.

HCAI create key page

Tip

Leave IP restrictions, quota limits, rate limits, and key expiration empty. You do not need to configure them unless you clearly understand what they do.

Security Recommendations

Security Reminder

  • Do not share your Key with others.
  • Do not commit your Key to a code repository.
  • Do not show your Key in public.
  • Mask your Key when asking whether a configuration is correct.
  • Store your Key in environment variables or configuration files.
  • Rotate your Key regularly to improve security.

Save the Key

After creation, save your Key immediately. The full Key is usually shown only once after creation.

txt
# Example Key (replace it with your actual Key)
sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Next Steps