Skip to content

Installation

Choose your platform and follow the installation guide.

JavaScript/TypeScript

npm

npm install phlow-auth

yarn

yarn add phlow-auth

pnpm

pnpm add phlow-auth

TypeScript Support

TypeScript definitions are included. No additional @types package needed.

Python

pip

pip install phlow-auth

Poetry

poetry add phlow-auth

Requirements File

phlow-auth>=0.1.0

Python Version Support

  • Python 3.8+
  • Async/await support included
  • Type hints included

CLI Tools

The Phlow CLI helps with development tasks.

Global Installation

npm install -g phlow-cli

Project Installation

npm install --save-dev phlow-cli

Verify Installation

phlow --version

Supabase Setup

Phlow requires a Supabase project for agent registry and audit logs.

  1. Create a Supabase Project
  2. Go to supabase.com
  3. Create a new project
  4. Note your project URL and anon key

  5. Run Database Migrations

    phlow init --supabase-url YOUR_URL --supabase-key YOUR_KEY
    

  6. Verify Setup

    phlow test-connection
    

Next Steps