Add-on | AI agents - Advanced |
Requirements
- Admin access to the AI agent in the AI agents - Advanced Dashboard
- Zendesk subscription
- Zendesk Agent Workspace
- A Sunshine Conversations license
Step 1: Create an API Key
In the Zendesk Admin Center, go to Apps and integrations > APIs > Conversations API
If you do not see this, contact Zendesk to add this to your configuration, or you may have access to the smooch dashboard, in which case follow the instructions here.
- Create a new API key for the AI agent
- Give your API key a name
- A page will be displayed with and copy the App ID, Key ID, and Secret - save these
Step 2: Configure Group Integration Parameters in the AI agents - Advanced Dashboard
You'll need to add Sunshine Conversations as the CRM integration first before configuring integration parameters for authorization.
Note: We have added Sunshine Group routing. It's a new feature that allows routing to different AI agents in our Dashboard in order to accommodate different customer inquiries in different channels.
Therefore we recommend using this for all our customers using Zendesk Messaging and Sunshine Conversations even if you have only one AI agent at the moment.
To add Sunshine Conversations as the CRM integration:- Go to Settings > CRM Integration
- Click Add CRM Integration
- Select Sunshine Group > Create Group
- For the field Transfer group, enter the group ID of the agent group in Zendesk. Click here to find out how to locate the group ID.
- Avatar URL is an image that can be used as a profile image for your avatar within the chat area. The Sunshine Conversations API behind the feature is the postMessage endpoint. As stated by the documentation, the avatarUrl must be in either JPG, PNG, or GIF format.
Note - this is only visible on Sunshine conversations currently and is not shown in Zendesk.
To configure group integration parameters:
- In Settings > CRM Integration
- Click Group Integration Parameters. A new page will open.
- Obtain the information on this page from the app created in Step 1 in Sunshine Conversations. The information here is needed to authorize the connection between AI agents - Advanced and Sunshine.
To obtain group integration parameters from Sunshine Conversations:
-
Click the app created in Step 1 and go to Settings
-
Copy the following app parameters to enter in the AI agents - Advanced Dashboard:
- App ID
-
Key ID
-
Secret Key
-
Note - Click Create new API key if you don't see any
-
- Click Save.
Step 3: Authorize connection between AI agents - Advanced and Sunshine
This step is only needed if you use Sunshine Conversations with Zendesk. If you use other platforms other than Zendesk, skip this step and contact us.
- Keep the AI agents - Advanced Dashboard as is
- Open and log in to Sunshine Conversations in a different tab
-
In the AI agents - Advanced Dashboard, under Authorization, click Authorize Sunshine Conversations
-
A new page will open
-
If prompted, enter your Zendesk subdomain and sign in with your Zendesk account.
-
If authorizing via the smooch dashboard select the app created in Step 1
-
-
This is complete when you see the button in the AI agents - Advanced Dashboard changes to Unauthorize Sunshine Conversations
-
This only has to be done once if you have more than one AI agent.
Step 4: Test your AI agent
Time to open up your Sunshine widget, talk to the AI agent, and see if all is working well!
Not sure where the widget is? Here's the documentation from Sunshine on how to add it to your webpage. We strongly suggest speaking to your website developer or manager and sharing the document with them.
If you have other channels, such as WhatsApp, Facebook Messenger, or Instagram, have a look at Sunshine Conversations' documentation on how to integrate with different channels. Once there, you can get the details on each of the channels via the side menu.
Note - If you want to customize the AI agent's avatar image, please provide an image meeting the following requirements to your CSM - we can then set this up for you.
- png, jpg or gif
- at least 128x128 in size
- equal dimensions height and width (or Sunshine Conversations will stretch it to fit)
FAQ
How to Edit Integration Parameters post-setup
You may notice that when you try to edit an activated integration it is not possible to save the changes. This is a safety feature to ensure live integrations don't get changed by accident.
It is possible to make changes though, but first, you need to turn off the automation toggle.
Once this is turned off, the unauthorized Sunshine Conversations button will be clickable and this can then be deactivated. From here edits can be made and you repeat the process described above.
Connecting via the Smooch Dashboard
Step 1: Create a new app in Sunshine Conversations
Login to Sunshine Conversations via https://app.smooch.io/login and create a new app.
- If you already have an app in Sunshine Conversations connected to your Zendesk instance, continue to Step 4.
- If you use Zendesk but don't have an app in Sunshine Conversations already, continue to Step 2.
- If you use other platforms other than Zendesk, skip Step 4 or contact us.
Step 2: Connect the Sunshine app to your Zendesk instance
This step is crucial for AI agents - Advanced to work and can only be done by Sunshine Conversations or Zendesk.
Ask your account manager at Sunshine Conversations or Zendesk to add your Zendesk account to the app created in Step 1 in Sunshine Conversations. If this is completed, you will see Zendesk listed as a connected integration once you clicked into the app in Sunshine Conversations.
After these steps continue from step 3 as mentioned above
0 comments