flyio-install-auth

Install and configure Fly.io SDK/CLI authentication. Use when setting up a new Fly.io integration, configuring API keys, or initializing Fly.io in your project. Trigger with phrases like "install flyio", "setup flyio", "flyio auth", "configure flyio API key".

claude-code
6 Tools
flyio-pack Plugin
saas packs Category

Allowed Tools

ReadWriteEditBash(npm:*)Bash(pip:*)Grep

Provided by Plugin

flyio-pack

Claude Code skill pack for Fly.io (18 skills)

saas packs v1.0.0
View Plugin

Installation

This skill is included in the flyio-pack plugin:

/plugin install flyio-pack@claude-code-plugins-plus

Click to copy

Instructions

Fly.io Install & Auth

Overview

Set up Fly.io SDK/CLI and configure authentication credentials.

Prerequisites

  • Node.js 18+ or Python 3.10+
  • Package manager (npm, pnpm, or pip)
  • Fly.io account with API access
  • API key from Fly.io dashboard

Instructions

Step 1: Install SDK


# Node.js
npm install @flyio/sdk

# Python
pip install flyio

Step 2: Configure Authentication


# Set environment variable
export FLYIO_API_KEY="your-api-key"

# Or create .env file
echo 'FLYIO_API_KEY=your-api-key' >> .env

Step 3: Verify Connection


// Test connection code here

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 Fly.io dashboard
Rate Limited Exceeded quota Check quota at https://docs.flyio.com
Network Error Firewall blocking Ensure outbound HTTPS allowed
Module Not Found Installation failed Run npm install or pip install again

Examples

TypeScript Setup


import { Fly.ioClient } from '@flyio/sdk';

const client = new Fly.ioClient({
  apiKey: process.env.FLYIO_API_KEY,
});

Python Setup


from flyio import Fly.ioClient

client = Fly.ioClient(
    api_key=os.environ.get('FLYIO_API_KEY')
)

Resources

Next Steps

After successful auth, proceed to flyio-hello-world for your first API call.

Ready to use flyio-pack?