> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK App Registration

<Badge icon="arrow-left" color="gray">[Back to Web SDK Overview](/ai-for-service/sdk/web-sdk)</Badge>

Register your app on the Platform to obtain credentials required for secure communication between your application and the bot.

When registering, choose a JWT signing algorithm:

| Algorithm         | Credentials generated                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------ |
| **HS256 / HS512** | Client ID and Client Secret (used to generate the JWT on your server)                      |
| **RS256 / RS512** | Upload your public key to the Platform; use your private key on the server to sign the JWT |

***

## Register an App

1. Open the bot you are working with.

2. Go to **App Settings > Dev Tools > Web/Mobile SDK**.

3. In the **JWT App** dropdown, select an existing app or click **Add** to create a new one.

   <img src="https://mintcdn.com/koreai/FcokfuZEKoJtxBg1/ai-for-service/sdk/images/sdkhome.png?fit=max&auto=format&n=FcokfuZEKoJtxBg1&q=85&s=f166e1b8b778d710d563681faf56112d" alt="SDK Home" width="1560" height="745" data-path="ai-for-service/sdk/images/sdkhome.png" />

4. Fill in the app details:

   <img src="https://mintcdn.com/koreai/FcokfuZEKoJtxBg1/ai-for-service/sdk/images/jwtapp.png?fit=max&auto=format&n=FcokfuZEKoJtxBg1&q=85&s=740ebd66b5b6dd726df0348178dd71ca" alt="Create a new app" width="936" height="826" data-path="ai-for-service/sdk/images/jwtapp.png" />

   * **JWT App** — Enter a name for the app, for example, `weather app`.
   * **JWT Signing Algorithm** — Select one:
     * **RS256/RS512** — The Platform provides the public key for decryption; you supply the private key for encryption. Both keys are required for token generation.
     * **HS256/HS512** — The Platform generates a **Client ID** and **Secret Key**. Use the Client ID for app initialization and the Secret Key for authentication.
   * **Enforce JTI Claim** — Enable to prevent replay attacks.
   * **Enforce JWE Encryption** — Enable to encrypt the JWT payload.

5. Click **Next**. On success, the Client ID and Secret are displayed. Click **Done**.

   <img src="https://mintcdn.com/koreai/FcokfuZEKoJtxBg1/ai-for-service/sdk/images/newappsuccess.png?fit=max&auto=format&n=FcokfuZEKoJtxBg1&q=85&s=572604e22ac0a591848594ce7edb3510" alt="App creation successful" width="835" height="823" data-path="ai-for-service/sdk/images/newappsuccess.png" />

***
