Getting started
Connect your project, choose a model API and make your first request through the A*STAR AI Control Plane.
Connect your project, choose a model API and make your first request through the A*STAR AI Control Plane.
Your application calls the gateway, which routes the request to the configured model provider. Supported APIs can offer a consistent request format across providers.
Authentication, access policies and configured guardrails can be applied to gateway traffic. Check which controls are enabled for your endpoint.
Kong provides usage, token, latency and cost observability. Confirm your project’s reporting access and spend limit with the platform team.
Kong supports these capabilities; the controls and models available to your application depend on your project’s configuration. Learn more about Kong AI Gateway.
Use the A*STAR service request form. Have your project name, use case, project owner and expected usage ready. Confirm required access and approvals with the platform team.
Get accessOpen the API catalogue and select a service suitable for your use case. Read its endpoint URL, model selector, supported request format and authentication requirements.
Explore APIsFollow the access instructions for your project. If application registration is enabled for the API, register your application and complete any required approval before generating credentials.
Use a harmless test prompt and the exact values from your API documentation. Verify the response and check that usage is attributed to the intended project.
View the request templateKeep the application credential secure. Use the credential issued for your application when calling the gateway.
This template is for an API that accepts OpenAI-compatible chat requests with a model field. Replace the endpoint, model selector and authentication details with the values in your API documentation. For other formats or routing schemes, use the API’s own example.
# Template for an OpenAI-compatible chat API using a model field.
# Copy the exact values from your published API documentation.
AI_CHAT_URL='YOUR_APPROVED_CHAT_ENDPOINT_URL'
AI_AUTH_HEADER='YOUR_AUTH_HEADER_NAME'
# Load the application credential securely into AI_AUTH_VALUE.
# For bearer authentication, its value includes the Bearer prefix.
: "${AI_AUTH_VALUE:?Load your credential securely into AI_AUTH_VALUE first}"
curl --request POST "$AI_CHAT_URL" \
--header 'Content-Type: application/json' \
--header "${AI_AUTH_HEADER}: ${AI_AUTH_VALUE}" \
--data '{
"model": "YOUR_APPROVED_MODEL_SELECTOR",
"messages": [
{"role": "user", "content": "Reply with: connection successful."}
]
}'
A successful test confirms connectivity. Production use also requires the checks below.
Confirm the spend limit assigned to your project or credential, the reset period and what happens when it is reached. Confirm how users and project teams can view usage and costs. Start with a small test and watch usage before scaling.
Use only data permitted for your application. Confirm the guardrails and logging policy applied to your endpoint. Keep credentials in an approved secret store. Add timeouts, bounded retries and handling for blocked or failed requests.
These are common HTTP error categories. The API’s documented error response is authoritative.
401 or 403 — authentication or access
400 or 404 — request or route
429 — a limit was reached
Timeouts or 5xx — service or upstream failure
Understand model connectivity, policy enforcement and observability.
Learn how portal access, application registration and credentials work.
Read how configured routes handle model requests and provider formats.
Kong’s documentation covers multiple gateway versions and configurations. Use the documentation matching your deployed API; platform administration tutorials are intended for gateway operators.
Email the A*CC management team with your project name, API name, error code and request ID where available.
Get support