# Registration

You need to first register your client with sgID before any integration steps can begin.&#x20;

## Required information

sgID requires the following information from you to register your client:

<table><thead><tr><th width="184.40112994350278">Item</th><th>Description</th></tr></thead><tbody><tr><td>Display name</td><td>Maximum 25 character string representing your client to display to the end user</td></tr><tr><td>Allowed scopes</td><td>The set of scopes that your app is requesting authorization for to access. Refer to the <a href="/pages/mpSapcahgEAGnY3jZQUo">Data Catalog</a> for a full list of available scopes.</td></tr><tr><td>Callback URL</td><td>The URL that sgID will redirect after the end user authenticates with Singpass. We assume that you have access to the underlying codebase and service for this URL.</td></tr></tbody></table>

## Relying party credentials

Upon registration, sgID will generate credentials for your client and send them to you.

| Item          | Description                                                                  |
| ------------- | ---------------------------------------------------------------------------- |
| Client ID     | Unique string that identifies your client                                    |
| Client secret | A 32-character string used for exchanging the authorization code for a token |
| Public Key    | RSA-2048 Public Key used by sgID to encrypt data to be sent to you           |
| Private Key   | RSA-2048 Private Key that you will use to decrypt data sent to you           |


---

# 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/1/onboarding-guide/registration.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.
