Account Setup

Prerequisites

Mira flows requires Python >=3.9, <=3.13
# Check your Python version
python3 --version
Need to update? Visit python.org/downloads

Installation Steps

  1. Install the SDK using pip:
pip install mira-sdk
  1. Initialize the client:
from mira_sdk import MiraClient
client = MiraClient(config={"API_KEY": "YOUR_API_KEY"})
Install python-dotenv
pip install python-dotenv
Create a .env file in your project root and add:
MIRA_API_KEY=your_api_key_here
Then initialize the client using the environment variable:
from dotenv import load_dotenv
from mira_sdk import MiraClient
import os

load_dotenv()
client = MiraClient(config={"API_KEY": os.getenv("MIRA_API_KEY")})

Next Steps