gamma-install-auth
Install and configure Gamma API authentication.Use when setting up a new Gamma integration, configuring API keys,or initializing Gamma in your project.Trigger with phrases like "install gamma", "setup gamma","gamma auth", "configure gamma API key".
When & Why to Use This Skill
This Claude skill automates the installation and configuration of the Gamma API, enabling developers to quickly set up AI-powered presentation generation. It streamlines the setup process by handling SDK installation for both Node.js and Python, managing API key authentication via environment variables, and providing instant connection verification to ensure a seamless integration workflow.
Use Cases
- Project Initialization: Rapidly install the @gamma/sdk or gamma-sdk and configure the necessary environment variables for a new AI presentation project.
- Secure Credential Management: Automate the creation of .env files to securely store Gamma API keys, following security best practices to avoid hardcoding credentials.
- Cross-Platform Setup: Standardize the Gamma integration process across different development environments using either npm or pip depending on the project stack.
- Connectivity Debugging: Use the built-in verification steps to troubleshoot authentication errors, rate limits, or network issues during the initial API handshake.
| name | gamma-install-auth |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Gamma Install & Auth
Overview
Set up Gamma API and configure authentication credentials for AI-powered presentation generation.
Prerequisites
- Node.js 18+ or Python 3.10+
- Package manager (npm, pnpm, or pip)
- Gamma account with API access
- API key from Gamma dashboard
Instructions
Step 1: Install SDK
# Node.js
npm install @gamma/sdk
# Python
pip install gamma-sdk
Step 2: Configure Authentication
# Set environment variable
export GAMMA_API_KEY="your-api-key"
# Or create .env file
echo 'GAMMA_API_KEY=your-api-key' >> .env
Step 3: Verify Connection
import { GammaClient } from '@gamma/sdk';
const gamma = new GammaClient({ apiKey: process.env.GAMMA_API_KEY });
const status = await gamma.ping();
console.log(status.ok ? 'Connected!' : 'Failed');
Output
- Installed SDK package in node_modules or site-packages
- Environment variable or .env file with API key
- Successful connection verification output
Error Handling
| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in Gamma dashboard |
| Rate Limited | Exceeded quota | Check quota at https://gamma.app/docs |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
Examples
TypeScript Setup
import { GammaClient } from '@gamma/sdk';
const gamma = new GammaClient({
apiKey: process.env.GAMMA_API_KEY,
});
Python Setup
from gamma import GammaClient
client = GammaClient(
api_key=os.environ.get('GAMMA_API_KEY')
)
Resources
Next Steps
After successful auth, proceed to gamma-hello-world for your first presentation generation.