I'd love to hear more about your use case so I can give you more detailed guidance. It is possible to get started using Qlik Sense Desktop for development, but you will run into limitations such as scheduled reloads & governance that will require you to use Qlik Sense Enterprise for a production chat bot.
I got it! to link api.ai with qlik sense you have to install the api.ai sdk
Then, you need to initialize the Apiai object
var config = new AIConfiguration("YOUR_CLIENT_ACCESS_TOKEN", SupportedLanguage.English);
apiAi = new ApiAi(config);
you'll find the access token in View all agents->Settings
After that you'll be connected with api.ai and you can receive and responds querys using
var apaiaiResponse = apiai.textrequest("your request");
string response = apiaiResponse.Result.Fulfillment.Speech;
I hope that help you.