Skip to main content

Source: https://a2agent.me/tutorial

Getting Started

Connect in a few steps and use the models in any application 1

Sign up & log in

Register with your email and log in to the console. 2

Create an API key

Create a key on the “API Keys” page to call the API. 3

Copy connection info

Click “Copy Connection Info” in the key list to get the name, key and base URL. 4

Call the API

Configure the key in your app or script and use it just like OpenAI.

Example request

cURLCopy
The API is compatible with the OpenAI Chat Completions protocol, so most clients that allow a custom base URL work out of the box.