Question
I have an account with multiple brands and Help Centers, and I would like to present an article or request from a specific brand in the app depending on the situation. Is this possible?
Answer
The Support SDK allows for the use of a specific brand depending on how you initialize the SDK.
The Help Center and the requests are pulled according to the brand used during the initialization phase. This means that the returned articles belong to that brand's domain and all the returned requests are also requests assigned to this brand.
Navigate to Support > Channels > Mobile SDK to locate the relevant ID numbers for the suggested code snippet:
Zendesk.INSTANCE.init(context, "https://domain.zendesk.com",
"appID",
"clientID");
Support.INSTANCE.init(Zendesk.INSTANCE);
This code snippet initializes the Support SDK with your default brand and the corresponding Help Center.
If you wish to use another Help Center, replace the brand URL as needed:
Zendesk.INSTANCE.init(context, "https://hcdomain.zendesk.com","appID","clientID")
If you have a host-mapped domain, use the host-mapped URL. For example, if your subdomain is domain.zendesk.com and that domain is host-mapped to support.domain.com, the code should look like this:
Zendesk.INSTANCE.init(context, "https://support.domain.com","appID","clientID")
For more information, see this article: Embedding customer service in mobile apps with the Support SDK.
0 Comments
Please sign in to leave a comment.