User Account

As a Bot construction framework, the most basic step is to integrate the user authentication function, so that the back-end API can recognize which user the current request comes from. In this way, a more complete business system can be further constructed. BotSharp can be combined with the user authentication function of ASP.NET MVC.

Create a user account

Use the Account Creation API in BotSharp to create the first platform user.

Alt text

Get access token

After the platform user is created, the user token can be obtained through the Get Token API, and this token is required in all subsequent APIs.

Alt text