Skip to main content

Steps

1

Create a Model

Go to DashboardModelsCreate Model.Choose a name and select your LLM provider (OpenAI, Anthropic, or Google).
2

Add Knowledge (Optional)

Go to DatasetsCreate Dataset → Upload documents (PDF, DOCX, TXT, MD).Then link the dataset to your model: Models → Select model → DatasetsLink.
3

Get Your Token

For frontend apps: Use JWT session tokens from your auth system (Stytch B2B).For backend/scripts: Create M2M credentials in SettingsAPI Access and exchange for an access token.
4

Make Your First Request

curl -X POST https://api.cuadra.ai/v1/chats \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "modelId": "YOUR_MODEL_ID",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

What’s Next


FAQ

How long does model creation take?

Models are ready instantly. Document processing (chunking and embedding) takes 1-2 minutes per 10MB.

Which LLM should I choose?

Start with a cost-effective model for testing, then upgrade to a higher-quality model for production. View available models in the Dashboard or via GET /v1/models.

Do I need a backend?

For production: yes. Never expose access tokens in client-side code. Route requests through your backend or use the React UI Kit with a proxy endpoint.

What file formats are supported?

PDF, DOCX, TXT, CSV, JSON, and Markdown. Max 50MB per file. See Knowledge Bases.