To get an API key you need to register with either Anthropic or OpenAI’s API services. These are different from their chat interfaces. You can follow the instructions here: