1. Home
  2. Kore.ai Conversational Platform
  3. Advanced Topics
  4. Bot SDKs
  5. SDK App Registration

SDK App Registration

This topic describes how to register your application and generate credentials for you clients that are required to exchange messages between your application and the Kore.ai Bots Platform.

When you register your app, you will need to select a security algorithm:

  • HS256 – Bot Builder generates and displays the Client ID and Client Secret necessary to generate the JWT token from your server.
  • RS256 – You upload your public key to the platform and use the private key to generate the signature from your server.

To register an app

  1. Open the bot to which you want to add the Web/Mobile Client channel.
  2. On the bots menu, click Channel > Web/Mobile Client.
  3. In the Select App drop-down list, select your existing app registration or click Create App to create a new app.
  4. In the Name field, enter the name for the app registration used in Bot Builder, for example, My App Registration.
  5. Select one of these scopes for the app:
    • Allow anonymous users to chat with the bot: enables anonymous users to interact with the bot.
    • Auto register new users on Kore.ai Bots Platform: Select to control the auto-user registration in Kore.ai if the user assertion is unknown.
  6. In the JWT Signing Algorithms Used For Client App Authentication drop-down list, select one of the following security algorithms:
    • RS256: Select to enable the Public Key field. The Public Key is used by the Kore.ai Bots Platform to authenticate the client application.
    • HS256: Select to generate a Secret Key and a Client ID. The Client ID is required for SDK initialization, and the Secret Key used by the Kore.ai Bots Platform to authenticate the client application.
  7. Optionally, In the Push Notifications section, click Enable and then specify a URL to send the notifications to.
  8. Click Create. The app registration details appear.

  9. To copy the app registration details to the clipboard for your application, you can click Copy for Bot Name, Bot ID, and Client ID. For Client Secret, click View, and then click Copy.
  10. In the Allow Alert Task Setup section, Select Yes to enable your application users to set up their own alert tasks using the web client. By default, this setting is disabled for web client users, but mobile client users can always setup their own alerts.
  11. In the Enable Channel section, select Yes to enable the channel immediately after saving.
  12. Click Save to save the settings and close the Web/Mobile Client Channel page.

The Channel Information updated successfully message is displayed on the top-right corner of the page.

Next Steps

You can also try out our tutorial using a Kore.ai sample bot, a test application, and configuring your localhost server for JWT generation. For more information, see the Kore.ai Web SDK Tutorial.

Was this article helpful to you? Yes 1 No