> ## Documentation Index
> Fetch the complete documentation index at: https://docs.a2agent.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Tutorial

# Source: [https://a2agent.me/tutorial](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

```
curl https://api.a2agent.me/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

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