Manage Kinesis Data Streams

Required permissions: Data Streams

This page leads you through the processes of setting up a Kinesis data stream. CXone Mpower provides IVRClosed Interactive Voice Response. Automated phone menu contacts use via voice or key inputs to obtain information, route an inbound voice call, or both. logs as a stream, so you must set up a method of consuming the data at a destination that you control. A full setup includes configuration steps in CXone Mpower and also setting up the service or system that will subscribe to and consume the stream.

You can subscribe to the data stream in any language, such as Python, .NET, Java, and so forth. When configuring the stream in CXone Mpower, you can choose to consume the data in the following schema formats:

  • PROTO
  • JSON
  • AVRO
  • JSON with Line Feed
  • JSON AVRO with Line Feed

Set Up a Kinesis Data Stream

After you have a destination, you can enter the details into CXone Mpower, and the data will start flowing to the destination. After you add the Kinesis destination details into CXone Mpower, the back end takes 24 hours to update. After the update, then the data begins streaming.

Set Up a Kinesis Destination

You must create a destination in your infrastructure for the data stream and give it the permissions required to let CXone Mpower Data Streams publish data to it. This is where CXone Mpower can access and consume the data.

  1. Create the Kinesis stream in AWS Management console Opens in a new window. You can learn more about this process in the Amazon documentation. Be sure to record your Kinesis stream ARN, which you must include in the permissions policy.
  2. Create an IAM role in the AWS Management console . Make sure to configure the following:
    • Permissions
      • "kinesis:DescribeStream"

      • "kinesis:DescribeStreamSummary"

      • "kinesis:DescribeStreamConsumer"

      • "kinesis:SubscribeToShard"

      • "kinesis:RegisterStreamConsumer"

      • "kinesis:PutRecords"

      • "kinesis:PutRecord"

      • "kinesis:ListShards"

      Make sure to include "Resource": "<YOUR_KINESIS_STREAM_ARN>" in the permissions policy.

    • Trust Relationships

      Include a trust policy in the trust relationships of the IAM role, such as the one shown in the following image. As shown in the image, you must replace NICE_AWS_ACCOUNT_ID and EXTERNAL_ID with your own valid values.

      The following are valid CXone Mpower AWS account ID values:

      CXone Mpower AWS ACCOUNT ID

      VALUE

      Production AWS Account ID

      737494165703

      FedRamp AWS Account ID751344753113
      FedRamp High AWS Account ID420587085960

      Note: FedRAMP IDs are specifically for government organizations. Ask your Account Representative for more information.

  3. Create an external ID Opens in a new window to associate with the role. It can be any random string, for example: 70ffec909539cdb4f01fb0aa3d249713cad411c2e652707a92fb51d0f5449ea.

Create a Kinesis Data Stream in CXone Mpower

Updates to Kinesis data streams can take up to 24 hours to be implemented. An updated data stream shows as pending until the changes take effect.

  1. Click the app selector icon of app selector and select Admin.
  2. Go to Account SettingsEvent Data Stream.
  3. Click Create New Data Stream.

  4. Enter the data stream's Name, Description, Event Type, and other details.

  5. Click Create.
  6. If you want to update the data format, select the new data format and click Save.