---
title: "Getting started"
description: "Request access, explore AI APIs and make your first test request through the A*STAR AI Control Plane."
url: "https://developer.aihub.a-star.edu.sg/getting-started"
image: "https://developer.aihub.a-star.edu.sg/_og/d/c_Ocean.takumi,title_~R2V0dGluZyBzdGFydGVkIHwgQSpTVEFSIEFJIENvbnRyb2wgUGxhbmU,description_~UmVxdWVzdCBhY2Nlc3MsIGV4cGxvcmUgQUkgQVBJcyBhbmQgbWFrZSB5b3VyIGZpcnN0IHRlc3QgcmVxdWVzdCB0aHJvdWdoIHRoZSBBKlNUQVIgQUkgQ29udHJvbCBQbGFuZS4,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiM4MjUwRkYifX19,p_Ii9nZXR0aW5nLXN0YXJ0ZWQi,s_p5C7PUwyX5Dgu9yz.png"
---

# Getting started

Connect your project, choose a model API and make your first request through the A\*STAR AI Control Plane.

[Get access](https://ash.a-star.edu.sg/esc?id=sc_cat_item&table=sc_cat_item&sys_id=62e53a23b0c15210637d12db2d32b886)[Explore APIs](https://developer.aihub.a-star.edu.sg/apis)

## [How the gateway helps you build](#how-the-gateway-helps-you-build)

### A shared model gateway

Your application calls the gateway, which routes the request to the configured model provider. Supported APIs can offer a consistent request format across providers.

### Controls around each request

Authentication, access policies and configured guardrails can be applied to gateway traffic. Check which controls are enabled for your endpoint.

### Visibility into usage

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](https://developer.konghq.com/ai-gateway/).

## [Get connected in four steps](#get-connected-in-four-steps)

### 1. Request project access

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 access](https://ash.a-star.edu.sg/esc?id=sc_cat_item&table=sc_cat_item&sys_id=62e53a23b0c15210637d12db2d32b886)

### 2. Choose a published API

Open 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 APIs](https://developer.aihub.a-star.edu.sg/apis)

### 3. Prepare your application credentials

Follow 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.

### 4. Send a small test request

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 template](#first-request)

### What you need

-   Approved project and API access
-   Exact endpoint URL and model selector
-   Required authentication header and credential
-   Project spend limit and reporting access

Keep the application credential secure. Use the credential issued for your application when calling the gateway.

Already have access?

Start with your chosen API’s documentation and the request template below. Access instructions take precedence over this general guide.

## [Make your first request](#make-your-first-request)

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.

```bash
# 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."}
    ]
  }'
```

### [Check the result](#check-the-result)

-   The API returns its documented success status and a usable response.
-   The request reaches the model and project you intended.
-   You can locate usage in the reporting view provided for your project.

A successful test confirms connectivity. Production use also requires the checks below.

## [Before you go to production](#before-you-go-to-production)

### Spend limits & team visibility

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.

### Data, credentials & reliability

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.

[Read usage & governance guidelines](https://developer.aihub.a-star.edu.sg/guidelines)

## [Troubleshooting](#troubleshooting)

These are common HTTP error categories. The API’s documented error response is authoritative.

401 or 403 — authentication or access

Check the exact authentication header and value format, credential validity, application approval and access to the selected API. Portal sign-in alone does not grant an application permission to call an API.

400 or 404 — request or route

Copy the full endpoint URL and model selector from the API documentation. Check required fields and supported request formats. Some routes select the model in the path or a header instead of the request body.

429 — a limit was reached

Read the error body to identify the limit. Check rate limits, token quotas and spend limits with your project’s reporting view or the platform team. Reduce concurrency and follow any documented retry guidance; repeated retries will not fix an exhausted budget.

Timeouts or 5xx — service or upstream failure

Record the time, API name, status code and request ID if available. Check the documented retry guidance and contact support if the issue persists. Share sanitised diagnostic details without credentials or restricted prompt content.

## [Learn more from Kong](#learn-more-from-kong)

### AI Gateway overview

Understand model connectivity, policy enforcement and observability.

[Read Kong documentation](https://developer.konghq.com/ai-gateway/)

### Developer API access

Learn how portal access, application registration and credentials work.

[Read Kong documentation](https://developer.konghq.com/dev-portal/self-service/)

### AI Proxy request handling

Read how configured routes handle model requests and provider formats.

[Read Kong documentation](https://developer.konghq.com/plugins/ai-proxy/)

Kong’s documentation covers multiple gateway versions and configurations. Use the documentation matching your deployed API; platform administration tutorials are intended for gateway operators.

## [Need help?](#need-help)

Email the A\*CC management team with your project name, API name, error code and request ID where available.

[Get support](mailto:acc-mgmt@a-star.edu.sg)