Connecting to AI Gateway
To connect to AI Gateway, go to the AI Gateway tab in the AI Agents section.
Creating an API Key Copy link
AI Gateway uses separate keys that aren't linked to your account level API keys.
To create a key:
- Go to AI Agents → AI Gateway.
- Click Create key.
- Enter a name for the key and select the validity period.
- (Optional) Add a description that will show in the dashboard.
- (Optional) Select the project.
- Click Create.

- Copy the generated key and store it locally.
Deleting an API Key Copy link
To delete an API key:
- Go to AI Agents → AI Gateway.
- Open the API Keys tab.
- Click the three dot menu next to the key you want to remove.
- Click Delete.
- Confirm the action.

Getting Connection Details Copy link
You can find the connection details in the Connection tab.
- Go to AI Agents → AI Gateway.
- Open the Connection tab.
- Select a model and a programming language. The interface will show the input and output token pricing for the selected model.
- Copy the code sample for connecting and the command for installing the OpenAI library.
