Configuration Guide: Brightcove Video Connect for Sitecore

This topic covers the configuration process for the Brightcove Video Connect module on the Sitecore CMS.

Introduction

After installation of the Brightcove Video Connect for Sitecore, you must create and configure the Brightcove Tenant in Data Exchange Framework that will allow the synchronization of data between your Sitecore environment and the Brightcove Video Cloud. The sections below will walk you through the various parts of the configuration.

Create Brightcove Tenant

  1. Link your Brightcove Video Cloud account to the Sitecore environment as described in the Linking Video Cloud Accounts section below.
  2. In the Sitecore Launchpad, open the Content Editor.
  3. Go to /sitecore/system/Data Exchange and right-click on Data Exchange.
  4. In the Insert menu, click Brightcove Tenant.
  5. Go to /sitecore/system/Data Exchange/<tenant name></tenant>. On the Content tab, in the Administration section, click Enabled.
  6. Save the item.

Configure a Brightcove Endpoint

To configure an endpoint for the tenant:

  1. In the Content Editor, go to /sitecore/system/Data Exchange /Brightcove Tenant/Endpoints/Providers/Brightcove/Web API Endpoint.
  2. In the Settings section, under Account, select the linked Brightcove Video Cloud account from the dropdown control.
  3. Save the item.

Run Sync Pipeline Batch to Sync with Video Cloud

After creating and configuring the Brightcove Tenant, you are ready to sync your Sitecore 10.1 environment with the Brightcove Video Cloud to populate Sitecore with your media assets – videos and playlists – from your Brightcove account. To do so, follow the steps below.

  1. In the Content Editor, go to /sitecore/system/Data Exchange /Brightcove Tenant/Pipeline Batches.
  2. Select the Sync Pipeline Batch.
  3. On the Data Exchange tab, click Run Pipeline Batch.
  4. Confirm the sync by going to /sitecore/Media Library/Brightcove/<name of account>.
  5. Right-click the <name of account> and click the Refresh menu item.
  6. Confirm that the Videos and Playlists folders are now populated. You can also confirm a successful sync by searching for videos and playlists and confirming that you get positive search results.

Release Page Events from Workflow

The Brightcove Video Connector for Sitecore includes a number of page events that must be released from workflow and published before they can be used.

Page Events to Release
Page Events to Release
  1. Open the Sitecore Workbox.
  2. Select the Analytics Workflow.
  3. Deploy the following page events:
    • Playback Changed
    • Playback Completed
    • Playback Error
    • Playback Started
  4. Publish the page events.

Configure Reporting Database

For the Sitecore reports to work, a new fact table must be added to the Experience Database (xDB) reporting database. A script that will create this new table is available on SDN. You must run this script on your xDB reporting database. This step should be completed by your database administrator.

Linking Video Cloud Accounts

The following sections walk you through how to create an account in Sitecore that corresponds with a Brightcove Video Cloud account.

Get Account Credentials from Brightcove

For Sitecore Data Exchange Framework (DEF) to connect to Brightcove Video Cloud, the account credentials from Brightcove must be added to Sitecore. This section describes how to locate the account credentials in Brightcove. The following steps describe how to add those credentials to Sitecore.

  1. Log into Brightcove Video Cloud. Note the Account ID value. You will need to enter this into Sitecore in the following section.
    Account ID
    Account ID
  2. Select API Authentication under Admin.
    Go to API Authentication
    Go to API Authentication
  3. Click Register New Application
    Register New Application
    Register New Application
  4. In the dialog that opens, enter a Name, select the Account, select the APIs as shown below, and then click Save.
    Registar Application Dialog
    Registar Application Dialog
  5. A new dialog will appear with your Client ID and Client Secret. Be sure to copy and save these - there is no way to retrieve the client secret again once this dialog is closed.
    Client Credentials
    Client Credentials

Add Brightcove Account to Sitecore

Now you will add the Brightcove credentials to Sitecore to enable the connection between them.

  1. Log into the Sitecore Desktop.
  2. Open Media Library.
  3. Navigate to Media Library > Brightcove.
  4. Add a new Brightcove Account item.
  5. Enter the following values obtained from Brightcove in the earlier steps:
    • Account ID
    • Client ID
    • Client Secret

Next steps

The configuration of the Brightcove-Sitecore connection is now complete. You can proceed to the User Guide.