Navigate to the settings page from the top right menu. Then select API keys under organization settings side panel. You can click the generate button to create your patched_api_key.
This key can be used directly with our OpenAI compatible chat completions endpoint (https://patchwork.patched.codes/v1).
patched_api_key with the Patchwork CLI to run patchflows locally.