Console

Make your first request

Connect a Provider, publish your configuration, and verify your first model request.

Before you begin

The assistant uses short-lived system credentials issued from your login session; a business key is not required. Applications still need a business key created on the Gateway API key page before using the examples below. Never substitute a Provider key for a Gateway key.

Complete Quick Setup

  1. Enter the Provider API key and custom API URL, then continue to load models. No resources are saved yet.
  2. Select a model from the list or enter its ID manually. Go back to edit connection details if needed.
  3. Enable the assistant to validate text and tool calling and detect usage reporting first. Failure keeps the form editable without saving resources. Success saves the connection, publishes pending Workspace changes and enables the assistant. Review the publishing scope; validation may incur model charges.
  4. Wait up to 30 seconds for Gateway readiness after publication, without another model verification call. Open the assistant or copy Skill installation instructions for Workbench, Codex or Claude Code.
  5. Opening the assistant focuses its sidebar input and preserves the draft without sending it. Failures after saving can reuse saved resources on retry.

Set environment variables

The domain and model ID are placeholders. Use the Base URL shown in your console; keep the Gateway API key out of browser code, Git, and logs. Install the openai package for Python or Node.js before running the corresponding example.

export SHIELDON_GATEWAY_BASE_URL="https://your-shieldon.example/v1"
# Inject SHIELDON_GATEWAY_API_KEY from your secret manager.
# Local Gateway development: http://localhost:8080/v1

Request example

After setup and publishing, set SHIELDON_GATEWAY_BASE_URL (including /v1) and SHIELDON_GATEWAY_API_KEY in your server environment. Replace the example model with an ID returned by GET /v1/models. cURL examples use Bash syntax.

curl "$SHIELDON_GATEWAY_BASE_URL/chat/completions" \
  -H "Authorization: Bearer $SHIELDON_GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "@your-integration/your-model",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'

Verify the request

Call GET /v1/models to verify which models the key can access, then send a Chat request. The console request and usage views should show it. For failures, retain the request ID, time, status code, and model name for diagnosis.

curl "$SHIELDON_GATEWAY_BASE_URL/models" \
  -H "Authorization: Bearer $SHIELDON_GATEWAY_API_KEY"

Next steps