# Getting Started

Before you start integrating with sgID, you will need to [register a client](/introduction/getting-started/register-your-application.md) with sgID. After registration, you will receive sgID client credentials, which include OAuth 2.0 client credentials and a private key that identifies your client. These credentials are important for your application to:

1. Authenticate with sgID
2. Enforce end-to-end encryption of the end user's data

We highly recommend integrating with sgID using one of our SDKs to simplify the [integration process](/introduction/getting-started/integrating-with-sgid.md).

If you do not wish to integrate with sgID using our SDKs, feel free to refer to our [custom integration guide](/integrations-with-sgid/custom-integration.md). The guide discusses how to [decrypt the sgID user payload](/integrations-with-sgid/custom-integration.md#step-5-decrypt-the-user-info-payload) which is useful if you are using your own OpenID Connect client.


---

# 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.id.gov.sg/introduction/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.
