# Getting Started

## Gather Your Credentials

All API calls require some basic authentication. Here's how to find your community ID and API key.

{% content-ref url="/pages/-M4pT5x6nE7Vl8raWJFM" %}
[Retrieving Your Credentials](/cad/api-integration/getting-started/retrieving-your-credentials.md)
{% endcontent-ref %}

### Map In-Game Users to CAD Users

Before you can update units, send calls, or read player data, your integration needs a way to resolve an in-game player to a Sonoran CAD account.

{% content-ref url="/pages/-M4pVBkmw1Dy\_9dJqP7y" %}
[Map Players to CAD Users](/cad/api-integration/getting-started/setting-your-api-id.md)
{% endcontent-ref %}

### Start Building

Use the official SDK libraries for package-managed helpers, or work directly with the v2 API documentation.

{% content-ref url="/pages/sLVKmvKCaN5W9LL1URgj" %}
[Libraries](/cad/api-integration/api-endpoints-v2/libraries.md)
{% endcontent-ref %}

{% content-ref url="/pages/fCGn9u1XGqiHwYJQM2bW" %}
[v2 API Endpoints](/cad/api-integration/api-endpoints-v2.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonoransoftware.com/cad/api-integration/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
