/* eslint-disable max-len */
/** ************************************************************************************************
*   Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.                             *
*   SPDX-License-Identifier: Apache-2.0                                                            *
 ************************************************************************************************ */

module.exports = [
    {
        title: 'Connecting QnABot on AWS to Genesys Cloud CX',
        text: `
        <br/><h3>Important Note:</h3><br/>
        While QnABot on AWS provides integration with Genesys Cloud CX, you are responsible for integration testing and ensuring QnABot connectivity to Genesys Cloud works as expected. Please work with a specialist if you have further questions.<br/><br/>

        For high level steps on how to integrate, please refer to the <a href="https://catalog.us-east-1.prod.workshops.aws/workshops/20c56f9e-9c0a-4174-a661-9f40d9f063ac/en-US/genesys/voice" target="_blank">QnABot Workshop</a> and/or blog post: <a href="https://aws.amazon.com/blogs/machine-learning/build-an-ai-powered-virtual-agent-for-genesys-cloud-using-qnabot-and-amazon-lex/" target="_blank">Build an AI-powered virtual agent for Genesys Cloud using QnABot and Amazon Lex</a>.
        `,
    },
    {
        title: 'Configure Genesys Cloud CX Integration',
        text: `
<br/><h3>Configure LexV2 and Genesys Cloud CX with AppFoundry</h3><br/>
Do step 2 through 4 in the <a href="https://help.mypurecloud.com/articles/amazon-lex-v2-quick-start-guide/" target="_blank">Lex V2 quick start guide.</a> 
<br/><b>Note:</b> Step 1 is already complete, as QnABot is a Lex bot.
<br/> <br/>
&#8291;Step 1. <b>SKIP STEP 1</b>, QnABot deploys the LexV2 bot<br />
&#8291;Step 2. <b>Grant Genesys Cloud CX the permissions to call the Amazon Lex V2 bot</b><br />
&#8291;Step 3. <b>Obtain the Amazon Lex V2 integration from Genesys AppFoundry</b><br />
&#8291;Step 4. <b>Configure and activate the Lex V2 integration in Genesys Cloud CX</b><br /> 
`,
        image: '../images/genesys-1.png',
    }, {
        title: 'Install  Archy',
        text: `
<br/><h3>Install and Configure Archy</h3><br/><br/>
Download, install and configure the Genesys Cloud Architect YAML (Archy) processor. All the instructions are on the Genesys Archy developer website, 
found here:<a href="https://developer.genesys.cloud/devapps/archy/install" target="_blank">https://developer.genesys.cloud/devapps/archy/install</a></b>
<br/><br/><h4>High level steps:</h4><br/>
&#8291;1. Download the version of Archy for your operating system<br/>
&#8291;2. Extract or install Archy<br/>
&#8291;3. Run <code>archy setup</code> and configure authentication credentials 
<br/>
    `,
        image: '../images/genesys-2.png',
    },
    {
        title: 'Download Call Flow',
        text: `
<br/><h3>Download Genesys Cloud CX Inbound Call Flow</h3></br><br/>
To begin this step, choose <b>DOWNLOAD INBOUND CALL FLOW</b> below. It will download a YAML inbound call flow file for QnABot.<br/>
    `,
        buttons: [{
            text: 'DOWNLOAD INBOUND CALL FLOW',
            id: 'DownloadInboundCallFlow',
            loading: false,
        }],
    },
    {
        title: 'Import Call Flow',
        text: `
<br/><h3>Import Call Flow with Archy</h3><br/><br/>
In the terminal, run <code>archy publish --file QnABotFlow.yaml</code>.  This will create and publish the call flow, which will then appear in Genesys Architect.<br/>
    `,
        image: '../images/genesys-3.png',
    },
    {
        title: 'Configure Call Routing',
        image: '../images/genesys-4.png',
        text: `
<br/><h3>Configure Call Routing in Genesys Pure Cloud Admin</h3><br/><br/>
In Genesys Pure Cloud Admin, configure a call route to route to the newly published QnABot inbound call flow.
`,
    },
];
