groq-install-auth

Featured

Install and configure Groq SDK authentication for TypeScript or Python. Use when setting up a new Groq integration, configuring API keys, or initializing the groq-sdk in your project. Trigger with phrases like "install groq", "setup groq", "groq auth", "configure groq API key".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Groq Install & Auth ## Overview Install the official Groq SDK and configure API key authentication. Groq provides ultra-fast LLM inference on custom LPU hardware through an OpenAI-compatible REST API at `api.groq.com/openai/v1/`. ## Prerequisites - Node.js 18+ or Python 3.8+ - Package manager (npm, pnpm, or pip) - Groq account at [console.groq.com](https://console.groq.com) - API key from GroqCloud console (Settings > API Keys) ## Instructions ### Step 1: Install the SDK ```bash set -euo pipefail # TypeScript / JavaScript npm install groq-sdk # Python pip install groq ``` ### Step 2: Get Your API Key 1. Go to [console.groq.com/keys](https://console.groq.com/keys) 2. Click "Create API Key" 3. Copy the key (starts with `gsk_`) 4. Store it securely -- you cannot view it again ### Step 3: Configure Environment ```bash # Set environment variable (recommended) export GROQ_API_KEY="gsk_your_key_here" # Or create .env file (add .env to .gitignore first) echo 'GROQ_API_KEY=gsk_your_key_here' >> .env ``` ### Step 4: Verify Connection (TypeScript) ```typescript import Groq from "groq-sdk"; const groq = new Groq({ apiKey: process.env.GROQ_API_KEY, }); async function verify() { const models = await groq.models.list(); console.log("Connected! Available models:"); for (const model of models.data) { console.log(` ${model.id} (owned by ${model.owned_by})`); } } verify().catch(console.error); ``` ### Step 5: Verify Connection (Python) ```python import os from groq...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category