Authentication ======================== .. sidebar:: Authentication SpaceSense's API requires you to authenticate with an API key given when you sign up for a trial or subscription. The API key must be set as an environment variable called ``SS_API_KEY``. The following code snippet can be run in your terminal/environment to set this environment variable. .. code:: python import os from getpass import getpass if "SS_API_KEY" not in os.environ: from getpass import getpass api_key = getpass('Enter your api key : ') os.environ["SS_API_KEY"] = api_key If you have any questions or need help with your authentication, please contact us at support@spacesense.ai.