Go to the official Groq Cloud Console.
Create a free account or log in with your existing Groq account credentials.
Once logged in, open the API Keys section from the dashboard menu.
Click on Generate New API Key. Give your key a name (e.g., "MyApp") and select permissions if required.
Your API key will be displayed once. Copy it and store it securely in a safe location. Do not share it publicly.