When your customers start a new conversation, the Quiq system will create a new Salesforce Case or Lead for the conversation, depending upon your configuration. You may create a System Administrator account for a Quiq employee to complete this setup, or you can proceed with these steps on your own.

Consoles are used to provide visibility of Quiq components in addition to existing items. Customers with complex consoles in place may wish to first implement in a staging or Sandbox system. Quiq is happy to make a test site available as well, to match with a Salesforce Sandbox site. Whether your Salesforce admin or Quiq accomplishes the configuration, your admin should be available and work with Quiq through the process.

NOTE: YOUR_QUIQ_TENANT is a placeholder for the name of your tenant in the Quiq system. It is often your organization name and is the first part of the URL to your Quiq site. Confirm this with Quiq support before you continue.

Connected App

Quiq connects to Salesforce via a Connected App.

  1. Create a new Connected App from the Salesforce setup pages under Build->Create->Apps.
  2. Click on the “New” button next to Connected Apps.
  3. Under Name type Quiq Backend Integration
  4. For Contact Email input salesforceapp+YOUR_QUIQ_TENANT@quiq.com
  5. Check the Enable OAuth Settings box.
  6. For Callback URL put in two values separated by a new line.
    1. https://YOUR_QUIQ_TENANT.goquiq.com/idp/callback/salesforce
      • Replace the YOUR_QUIQ_TENANT above with your Quiq tenant name.
    2. https://inbound-aor1.goquiq.com/idp/callback/salesforce
  7. For Selected OAuth Scopes choose Full Access (full)
  8. Share your Consumer Key and Consumer Secret with Quiq.
  9. Manage the new Connected App and set IP restrictions to Relaxed.
  10. Change the Self Authorized selection to Admin Authorized, then grant access to the specified profiles.

Integration Account

Salesforce requires API calls to go through a Connected App as well as through an account. So we must create an account for Quiq to use to create Cases or Leads. It is important that this account’s login info never expires, so we start the process by creating a profile without password expiration.

  1. In the Salesforce Settings area Under Administer->Manager Users->Profiles create a new profile
  2. Clone this profile from the “System Administrators” profile.
  3. Name this profile “Quiq Integration”
  4. Click edit in the “Password Policies” section.
  5. Update the password policies so that user passwords never expire
  6. Create a new user with the “Quiq Integration” profile. For email/username use “salesforceapp+YOUR_QUIQ_TENANT@quiq.com”.
  7. Quiq will receive an email and proceed with setup.

Quiq Messaging Visualforce Page

  1. In Setup, search for Visualforce Pages
  2. Select Visualforce Pages under Build->Develop->Visualforce Pages
  3. Select New
  4. Label Quiq Messaging
  5. Name Quiq_Messaging
  6. Paste in the following code
     <apex:page showHeader="false" sidebar="false" standardStylesheets="false" applyBodyTag="false" applyHtmlTag="false">
         <body style="margin: 0;">
           <script src="https://YOUR_QUIQ_TENANT.goquiq.com/app/salesforce/index.js"></script>
  7. Click Save

Custom Sidebar Components

  1. In Setup, search for User Interface
  2. Select Build->Customize->User Interface
  3. Click Show Custom Sidebar Components on All Pages so it is enabled
  4. Click Save

Quiq Conversation Widget in Layouts

This applies to Cases or Leads depending upon your configuration.

  1. In Setup search for “Page Layout”
  2. Copy your existing Case/Lead Layout into a new layout called Quiq Case/Lead
  3. Edit the Quiq Case/Lead layout
  4. At the top right of the editor, select Custom Console Components
  5. Under Primary Tab Components->Left Sidebar, set Width to 800
  6. Under Type, select Visualforce Page
  7. Click the magnifying glass under Component
  8. Click Quiq Conversation
  9. Leave Label blank
  10. Set Height to 100
  11. Click Save

New Record Type

  1. Goto the Case/Lead Record Types section
  2. Add a new Quiq Case/Lead Record type (copy one of the other case record types - if there is none create a Default Case record type for current items)
  3. Associate the Quiq Case/Lead Record type with the Quiq Case/Lead Page Layout you created above
  4. Once you’ve created this record type obtain the ID from the url (Should look like …?id=01241000001ILK5).
  5. Send that ID to Quiq, indicating it as a Lead or Case record type ID.
  6. Assign the Page Layout to the Profiles for specified record types using Page Layout Assignment.

Quiq Messaging Widget

  1. In Setup, search for Custom Console Components
  2. Select Custom Console Components under Build->Customize->Console
  3. Click New
  4. Name: Quiq_Messaging
  5. Button Name: Quiq Messaging
  6. Button Icon Url https://static.quiq-cdn.com/quiq/favicon/favicon-32x32.png
  7. Under Component Window Settings->Component click the Magnifying Glass
  8. Select Quiq_Messaging
  9. Width: 400, Height: 500
  10. Fixed Width: enabled
  11. Fixed Height: enabled
  12. Disable Popouts: enabled
  13. Click Save

Add Quiq to Console

For Leads, users must have the Sales Console license applied to access consoles. Cases require a Service Cloud license. You may either create a new Service/Sales Console for Quiq, or edit an existing console.

  1. In Setup, search for Apps
  2. Click Apps under Build->Create
  3. Open the Console you are adding Quiq to.
  4. In the Choose Console Components section, move Quiq_Messaging to Selected Items.
  5. Ensure that Case/Lead records open as a primary subtab.
  6. On the Assign to Profiles page, Click the checkbox next to Visible, then the checkbox next to Default, so all checkboxes are checked.
  7. Save