You need to specify:

  1. Your API Key
  2. Your Sama Project ID

Requirements:
Your project manager will provide you with the correct Project ID(s) and they will have configured all the necessary Sama Project inputs and outputs.

# Set your Sama API KEY
API_KEY: str = ""
# Set your project ID
PROJECT_ID: str = ""

if not(API_KEY):
  raise ValueError("API_KEY not set")
if not(PROJECT_ID):
  raise ValueError("PROJECT_ID not set")

client = Client(API_KEY)
client.get_project_information(PROJECT_ID) # Verify config by calling Get Project Information endpoint. Throws exception if PROJECT_ID or API_KEY not valid.