Skip to main content
1

Create an API key

Create an API key from a workspace in the OuterProduct dashboard, then add it to your environment:
2

Install the Python API from PyPI

3

Create an OuterProduct client

Import the Python API and initialize an authenticated client. op.init() reads your API key from the OUTERPRODUCT_API_KEY environment variable. To use a specific deployment, pass its URL as base_url or set OUTERPRODUCT_BASE_URL.
4

Run your first function

Create a file named quickstart.py:
OuterProduct imports quickstart.py to find add, so the code that submits it goes under if __name__ == "__main__":.Run it locally:
OuterProduct executes add in the cloud and returns:
You can also ask a coding agent to create an example for you: