Skip to main content

Amazon Connect Integration Setup

This article provides a step by step guide on how to setup an IAM role and policy for secure integration of Amazon Connect with Salted CX.

note

Prerequisites: To connect your Amazon Connect to Salted CX, you will need an AWS account and have administrator privileges.

  1. Configure a Kinesis Data Stream as the target for Contact Events in Amazon EventBridge. Please refer to the official AWS documentation for instructions.

  2. Open the Create new AWS IAM role page.

  3. Select the AWS account and enter the Salted CX AWS Account ID, 380525299792, in the Account ID field.

  4. Select the Require external ID checkbox and enter the External ID and click Next.

    The automatically generated External ID is associated with your account. You will receive your External ID upon request.

  5. In the Add permissions step, click Next.

  6. In the Name, review, and create step, specify the role name, for example Salted, and then click Create role at the bottom of the page.

  7. Click the Salted role you created.

  8. On the Summary page for the role, select Create inline policy.

  9. Go to the JSON tab and copy the following policy. Then, paste it into the Policy editor and click Next.

    note

    Replace Resource with a list of Amazon Kinesis Data Stream ARNs that you would like to integrate with Salted CX. To achieve full integration with Salted, allow Contact events, Contact records, and Agent event streams.

    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "kinesis:GetRecords",
    "kinesis:GetShardIterator",
    "kinesis:DescribeStream",
    "kinesis:ListShards"
    ],
    "Resource": "<replace with list of Amazon Kinesis Data Stream ARNs>"
    }
    ]
    }

  10. In the Review and created step, specify the policy name, for example salted-kinesis, and then click Create policy at the bottom of the page.

  11. Congratulations! You have completed all the configuration steps to integrate your Amazon Kinesis Data Stream with Salted CX. Please provide your Amazon Kinesis Data Stream ARN and IAM role ARN to the Salted CX team. Thank you.

    Kinesis Data Stream ARN

    AWS Role ARN:

    Kinesis Role ARN

Transcript in Customer Journey

There are two ways how to enable access to

Enable Transcripts in Customer Journey

You need to enable access for Salted CX to AWS S3. In this process, you will need to collect information that is necessary. When you encounter this information, store this information and share it securely with Salted CX.

Salted CX needs the following information to connect to your Amazon Connect S3 bucket:

  • [Problem Internal Link]
  • [Problem Internal Link]
  • [Problem Internal Link]

Chat Transcripts S3 URI

  1. Navigate to AWS ConsoleAmazon Connect
  2. Click on the Instance that you integrate with Salted CX
  3. Select Data storageChat TranscriptsEdit

  1. Click Enable chat transcripts and select S3 bucket where you wish to save your transcripts

  1. After saving the settings navigate back to Data storage and provide S3 URI where you transcripts are stored

Access to S3 Bucket

Salted CX needs permissions to read chat transcripts from S3. You configured S3 folder for chat transcripts in [Problem Internal Link].

Follow AWS documentation to provide S3 permissions with Salted CX account.

Amazon Connect Access URL

  1. Navigate to AWS ConsoleAccess URL
  2. Provide Access URL of the instance that you integrate with Salted CX

Voice & Chat Transcripts

Requirements

Salted CX retrieves data to be able to analyze them. You need to enable access of Salted CX to AWS S3. During this process, you will need to collect information that is necessary. When you encounter this information, store this information securely and share it with Salted CX.

Salted CX needs the following information to connect to Amazon Connect S3 bucket:

  • [Problem Internal Link]
  • [Problem Internal Link]
  • [Problem Internal Link]
  • [Problem Internal Link]
  • [Problem Internal Link]

Enable Chat Transcripts

  1. Navigate to AWS ConsoleAmazon Connect
  2. Click on the Instance that you integrate with Salted CX
  3. Select Data storageChat transcriptsEdit

  1. Check Enable chat transcripts

Enable Voice Recordings

  1. Navigate to AWS ConsoleAmazon Connect
  2. Click on the Instance that you integrate with Salted CX
  3. Select Data storageCall recordingsEdit

  1. Click Enable call recording

Configure Flow with Enabled Recordings and Analytics

There can be multiple flows where the following widget / functionality needs to be configured depending on your IVR / Flow settings. The main idea is to enable the recording and follow-up analysis before the call or chat is assigned to the representative.

In this example we have just one flow for both channels (chat & voice). We configure the widget at the start of the flow to cover everything in one setup:

  1. Click Routing menu item (three way fork icon) in the left hand navigation
  2. Click Flows in the Routing menu

  1. Select flow in which you want to enable recording
  2. Add the Set recording and analytics behavior into your flow

  1. In Call recording section enable recording by clicking On radio button
  2. Make sure Agent and customer option is selected

  1. In Analytics section enable analytics by clicking On radio button
  2. Make sure Enable speech analytics is checked
  3. Choose Post-call analytics option for the best transcription quality
  4. Make sure Enable chat analytics is checked

  1. (Optional) You can setup sensitive information redaction based on your company policy

  1. Click Save
  2. Click Publish to star using the flow

You should be able to see a new folder called Analysis in the same S3 bucket as your Chats / Voice Recordings are stored after a conversation occurs.

Access to S3 Bucket

Salted CX needs permissions to read the Analysis files from S3.

Follow AWS documentation to provide S3 folder permissions with Salted CX account.

Amazon Connect Access URL

  1. Navigate to AWS ConsoleAccess URL
  2. Provide Salted CX Access URL of the instance that you integrate with Salted CX

Known Issues

  • Amazon Connect can sometimes report agent in error agent status. The time the agent is in this error status is not reported in Salted CX and it can manifest itself as a gap in agent activity.