Skip to content
All guides

Getting started

5-Minute Quickstart

Go from selecting a Model ID and structuring a prompt to sending your first OpenAI-compatible request.

Updated 2026-11-26 · 3 min read

Overview and Onboarding Flow

The Blue Ocean Pilot AI Portal provides a unified capability directory, task-based selection guidance, and standardized integration patterns. Browsing requires no login; when connecting to your backend gateway, all core endpoints follow the industry-standard OpenAI-compatible API specification.

StepActionOutcome
1. Pick a modelFilter by category and capability in ModelsObtain an exact Model ID such as deepseek-v3.2 or qwen4-max
2. Draft a promptAdapt a detail-page example with clear system instructionsPrepare a sanitized, repeatable test input
3. Set credentialsStore API_BASE_URL and API_KEY in server environment variablesKeep credentials out of client bundles and Git history
4. Send a requestCall /chat/completions via cURL or the official openai SDKVerify HTTP 200 status, output quality, and token usage

Step 1: Locate the Exact Model Identifier

Every card in Models and every model detail page displays a canonical Model Identifier underneath the title—for example, DeepSeek R1 maps to deepseek-r1, and Qwen3 Coder Plus maps to qwen3-coder-plus.

Tip: Always pass the exact lowercase identifier in the API model field rather than the display title. If you are unsure which model fits your workload, start with the Model Selection Guide.

Step 2: Configure Environment Variables

Retrieve your gateway base URL and API key from the service console, then export them in your server or local terminal session:

export API_BASE_URL="https://your-platform-gateway.example.com/v1"
export API_KEY="sk-your-server-side-key"

Follow two baseline safety rules from your very first test:

  • Sanitize test data: Never paste production passwords, personal customer records, or confidential secrets into initial test prompts.
  • Keep keys server-side: Never embed API_KEY in browser JavaScript, mobile binaries, or committed source files.

Step 3: Send Your First Chat Completion Request

Use the official openai Python SDK or plain curl to verify connectivity:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["API_KEY"],
    base_url=os.environ["API_BASE_URL"],
)

response = client.chat.completions.create(
    model="deepseek-v3.2",
    messages=[
        {"role": "system", "content": "You are a concise enterprise architecture advisor."},
        {"role": "user", "content": "List three core responsibilities of an API gateway."},
    ],
    temperature=0.3,
)

print(response.choices[0].message.content)
print("Token usage:", response.usage)

Or verify directly from your shell with curl:

curl --fail-with-body --request POST "${API_BASE_URL}/chat/completions"   --header "Authorization: Bearer ${API_KEY}"   --header "Content-Type: application/json"   --data '{
    "model": "deepseek-v3.2",
    "messages": [
      {"role": "user", "content": "Summarize what an AI model gateway does in one sentence."}
    ],
    "stream": false
  }'

Expected Output and Next Steps

A successful call returns HTTP 200 with generated text in choices[0].message.content and token accounting in usage. Continue based on what you are building next: