downloadInstallation

This guide covers installing the Amigo SDK in your Python or TypeScript/JavaScript project.

Requirements

  • Python 3.8 or higher

  • pip (Python package manager)

Install from PyPI

Install the latest version of the Python SDK using pip:

pip install amigo_sdk

Add to requirements.txt

For reproducible builds, add the SDK to your requirements.txt file:

amigo_sdk

Then install dependencies:

pip install -r requirements.txt

We recommend using a virtual environment to avoid dependency conflicts:

# Create virtual environment
python -m venv amigo-env

# Activate virtual environment
# On macOS/Linux:
source amigo-env/bin/activate
# On Windows:
amigo-env\Scripts\activate

# Install SDK
pip install amigo_sdk

Verify Installation

Verify the installation by importing the SDK:

Configuration Setup

Both SDKs support initialization with configuration parameters passed directly to the client constructor.

circle-info

Regional Endpoints Ensure you set the correct regional base URL for your organization. See Regions & Endpoints.

Environment Variables

For enhanced security, use environment variables for configuration. Create a .env file in your project root:

Install python-dotenv to load environment variables:

Then load them in your application:

Next Steps

Once you have the SDK installed, proceed to:

Last updated

Was this helpful?