This article shows you, as a developer, how to embed Fusion Live Assist within your SalesForce application using VisualForce pages.
Firstly you'll need to signup for a free SalesForce Developer Account here:
https://developer.salesforce.com/signup
Once you've signed up, you'll need to confirm your account via email before you can login. To login visit the link in the confirmation email or go here:
Once you're logged in, you need to create your VidualForce page by navigating to:
Setup > Build > Develop > Visualforce Pages
You'll then need to create a view for your app, click the "Create New View" link and enter your app name in the required fields and click save.
After you've set up your view, you then need to add a page by clicking the new button "New" (next to the "Developer Console" button).
Next, you'll be presented with a code editor and a prompt to add a name and label for your app.
Within the code editor you can write the html / javascript for your app. To embed the Live AssistTM functionality you only need to add the following two lines of code"
```
<script src="https://rmorgan-latest.cafex.com:8443/assistserver/sdk/web/consumer/assist.js"></script> <div id="assist"><a id="assistlink" title="Assist" onclick="AssistSDK.startSupport({destination : 'agent1'})">Assist</a></div>
```
Be sure to change the IP in the line to import the JS librabry to point at the IP / FQDN of your CafeX server.
When you're happy with your app, click the "save" button and then the "preview" button to show your app and test the functionality.
Comments
0 comments
Please sign in to leave a comment.