Skip to main content
Keep your API keys secure. Never share them publicly or commit them to version control. The key value is displayed only once at creation — if lost, revoke and mint a new one.

Generate an API Key

Generate a new API key from the console. Each key starts with the gsk_ prefix. A free Groq account is enough and needs no credit card.

1

Open the API keys page

Sign in to the Groq console and open API Keys.

  • Click Create API Key.
2

Configure and Copy the Key

1. Give the key a descriptive name (e.g. “StackOne Integration”).
2. Click “Submit”.

  • The full key value (gsk_...) is shown ONCE — copy it immediately.
  • Store it in a secure password manager.
  • If lost, revoke the key and mint a new one.

API Key Best Practices

Follow these security practices to protect your Groq API key.

1

Security Recommendations

Implement these measures to protect your API key.

  • Never expose the key in client-side code or public repositories.
  • Use environment variables in deployment (e.g. GROQ_API_KEY).
  • Create separate keys for separate environments (dev, staging, prod).
  • Rotate keys regularly and revoke compromised keys immediately.
2

Rate limits and usage

Be aware of Groq’s per-organization rate limits and monitor your usage.

  • Free tier limits are listed on the rate limits page.
  • Rate limits are enforced at the organization level — all keys under one org share the same budget.
  • Both Requests Per Minute (RPM) and Tokens Per Minute (TPM) ceilings trigger 429.
  • Respect the retry-after header on 429 responses.
  • Upgrade to the Developer tier (card required, no minimum spend) for ~10x higher limits.

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Groq API Key
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account on your Accounts page.