v4.1.0Home

Quickstart

From a blank account to a working agent in about five minutes. We'll send a chat completion via the gateway and then run the same prompt as an agent in Ember OS.

5 minBeginner
Before you start
  • A Foxora account (free plan works)
  • A terminal with curl, or Node 18+ / Python 3.10+

Walkthrough

  1. Sign in and grab an API key

    Sign up at foxora.ai/signup or sign in if you already have an account. Open the dashboard at foxora.ai/dashboard, head to Settings, and create a new API key.

    Settings · API keys
    Dashboard → Settings → API keys → Create new key

    Treat the key like a password

    API keys grant access to your plan’s usage and spend. Store them in a secret manager — never commit them to git.

  2. Send your first request

    The Foxora gateway speaks the same shape as OpenAI’s chat completions endpoint, so most existing SDKs work out of the box. Pick your favourite client:

    curl https://api.foxora.ai/v1/chat/completions \
      -H "Authorization: Bearer $FOXORA_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "gpt-4o-mini",
        "messages": [
          { "role": "user", "content": "Say hello in one sentence." }
        ]
      }'
    200 OK
    A successful response from /v1/chat/completions
  3. Install the SDK locally (optional)

    Pick the package manager you prefer:

    npm install openai
    Installed
    The official OpenAI SDK works against Foxora — just swap baseURL.
  4. Run it as a desktop agent

    Now do the same thing inside Ember OS:

    1. Open Ember OS (the desktop app).
    2. Click + New agent in the dock.
    3. Pick a model, paste your system prompt, and click Run.
    4. Chat with the agent in its own window. It can call tools, edit files in its workspace, and stay running in the background.
    Ember OS · Agent window
    Your first agent running in its own dock window.

    Why both?

    The gateway is for embedding Foxora in your own product. Ember OS is for using Foxora directly on your machine. Same models, same account, same billing.

Continue in Getting Started

Where to next