Skip to main content
1

1. Get Your API Key

Go to the Routeway Dashboard and log in.
  1. Open the API Keys section.
  2. Click Create API Key.
  3. Copy your key and keep it secure.
New to APIs? You don’t need any code to get started — just grab a key and paste it into your chat app’s settings. See our Integrations Guide or Roleplay Platforms Guide for setup steps.
Never share your API key or commit it to version control. Anyone with your key can access your billing and use your quota.
2

2. Configure Your Environment Variable

Store your API key as an environment variable to authenticate SDKs and client libraries automatically.
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.
Install the official OpenAI Python library:
Create a new file and run the following script: