Quickstart
Get from zero to your first AI response in 5 minutes.
1. Create an account
Sign up at the AICP dashboard. During signup you create your organisation, and all projects and API keys live under it.
2. Pick a model
Models come from two places: providers your admin has connected platform-wide, and any provider you connect yourself with your own API key (BYOK). Your own key always takes priority for that provider. Go to the dashboard's Model Catalog / Providers tabs to connect a key and see which models are currently available to you. See Pricing and Providers & Models for the full catalog, or the BYOK guide for how to connect a key.
3. Create an API key
Go to Settings → API Keys, click Create key. Copy the key: it starts with aicp- and is shown only once.
4. Make your first request
- curl
- JavaScript
- Python
curl https://your-gateway/v1/chat/completions \
-H "Authorization: Bearer aicp-..." \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [{ "role": "user", "content": "Hello!" }]
}'
npm install @aicp/sdk
import { AICPClient } from '@aicp/sdk';
const client = new AICPClient({
apiKey: 'aicp-...',
baseUrl: 'https://your-gateway',
});
const response = await client.chat.complete({
model: 'auto',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content);
pip install aicp
from aicp import AICPClient
client = AICPClient(
api_key="aicp-...",
base_url="https://your-gateway",
)
response = client.chat.complete(
model="auto",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response["choices"][0]["message"]["content"])
Prefer a visual workflow builder? The official n8n-nodes-aicp community node sends chat completions through AICP without writing any integration code. See the n8n connector guide.