How to call Apex from Einstein Chat Bot?

Sample Apex Class: Apex Class action setup in Einstein Bot: Permission Set sfdc.chatbot.service.permset: Make sure the Apex Class is added to the Permission Set sfdc.chatbot.service.permset.