1
1. Get Your API Key
Go to routeway.ai and log in.
- Open the API Keys section.
- Click Create API Key.
- Copy your key and keep it secure (e.g.
.env
or secrets manager).
Never share your API key. Anyone with it can use your quota and access your
account.
2
2. Set Your API Key
Store your API key as an environment variable.
- Linux/macOS
- Windows (Permanent)
- Windows (Current Shell Only)
3
3. Make Your First Request
- Python (openai SDK)
- cURL
- NodeJS (openai SDK)
Install the OpenAI SDK:Then use it: