Skip to content
Docs

Creating a GroqCloud API key

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from Groq’s own documentation: Quickstart, Projects, Model Permissions and Security Onboarding. Retrieved 2026-10-25, through the web.archive.org captures of those pages, because console.groq.com refused the authoring network.

GroqCloud authenticates every API call with an API key sent as Authorization: Bearer <key>. There is no OAuth flow. A key belongs to one project and uses that project’s rate limits and model permissions.

  1. Sign in to the GroqCloud console at console.groq.com.
  2. Pick the project the key is for. The project selector is the Organization / Projects dropdown at the top left of the console. Keys are tied to the project selected when you create them, so separate projects for development and production keep their keys and rate limits apart. Create Project in the same dropdown adds a project.
  3. Open API Keys in the console header, or go to console.groq.com/keys, and create a key.
  4. Copy the key and store it in a secrets vault. Groq’s examples show keys beginning with gsk_. Never put it in frontend code.
  5. If the organization or project uses Model Permissions (“Only Allow” or “Only Block”), check that the models the connection will call are allowed. A request for a blocked model returns 403, even with a valid key.

Operational notes:

  • The base URL is https://api.groq.com/openai/v1 (OpenAI Compatibility).
  • To check a key, call GET https://api.groq.com/openai/v1/models with it. The call lists the active models (Supported Models).
  • If a key may be compromised, revoke it in the console and create a new one.
  • Some networks get a 403 “Access denied. Please check your network settings.” from every Groq host. That is a network block, not a rejected key.

Open Connections under Credentials, choose Groq, and pick GroqCloud API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: Groq in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.