1
1. Get Your API Key
Go to the Routeway Dashboard and log in.
- Open the API Keys section.
- Click Create API Key.
- Copy your key and keep it secure.
2
2. Configure Your Environment Variable
Store your API key as an environment variable to authenticate SDKs and client libraries automatically.
- Linux/macOS
- Windows (CMD)
- Windows (PowerShell)
3
3. Make Your First Request
Since Routeway is fully compatible with the OpenAI API, you can use the official OpenAI SDKs or raw HTTP requests.
- Python
- Node.js
- cURL
Install the official OpenAI Python library:Create a new file and run the following script: