Installation

Get started with InstaFlow in a few simple steps.

Install the latest stable version from PyPI:

pip install instaflow

Configuration

Create a .env file in your project root with your Instagram credentials:

# Instagram Credentials
INSTAGRAM_USERNAME=your_username
INSTAGRAM_PASSWORD=your_password

# Security
COOKIE_ENCRYPTION_KEY=generate_a_random_32_byte_key_and_put_it_here

# Optional configuration
CONFIG_HEADLESS=false
CONFIG_LOG_LEVEL=INFO

Verify Installation

Run the following command to verify that InstaFlow is installed correctly:

python -c "from instaflow import InstagramBot; print('InstaFlow is installed!')"

Next Steps

Basic Usage

Learn how to use InstaFlow’s Python API for basic automation tasks.

View Guide

CLI Commands

Explore the command-line interface for quick automation setup.

View Commands