Can't publish chat bot to our iOS SDK | The place for Zendesk users to come together and share
Skip to main content
Question

Can't publish chat bot to our iOS SDK

  • March 20, 2024
  • 0 replies
  • 1 view

Dave30

We are successfully using the Chat feature inside our apps.
We recently added a chat bot that helps to automatically answers common issues. It works well on the web, but we can't see its effect on the mobile channels, although it's all live and published.

In the docs it says to use the Channel key, but there is no way to use it in the Chat SDK.

What do we need to do in order to see the chat bot in our app??

Here is our init code:
static func setup() {
Zendesk.initialize(appId: "XXXXXXXX", clientId: "YYYYYYYY", zendeskUrl: "https://ZZZZZZZ.zendesk.com")
Support.initialize(withZendesk: Zendesk.instance)
AnswerBot.initialize(withZendesk: Zendesk.instance, support: Support.instance!) Chat.initialize(accountKey: "AAAAAAAAAAA", appId: "XXXXXXXXXX") Chat.instance?.clearCache() 
}