Install P4 Search for P4 DAM

The following information only applies to manual P4 DAM deployment. Do not follow these steps if you are using the automated deployment.

P4 DAM uses P4 Search to search and automatically tag assets.

You must install P4 Search before deploying P4 DAM manually on-premises or in the cloud.

Step 1: Install P4 Search and its services

Follow all the steps in Order of deployment in the P4 Search Documentation.

Installing Elasticsearch

Make sure to install the P4Plugin Filter during the installation of Elasticsearch.

P4 DAM will not work without the P4Plugin Filter.

Installing P4 Search

Make note of the following information during the installation. You will need it when you configure P4 DAM:

  • P4 Search server location
  • User and ticket

Connecting external services (optional)

Connect an auto-tagging image model to enable image tagging for P4 DAM assets. See Connect an image tagging model the in the P4 Search Documentation.

Configuring P4 Search

Make sure to set the following index configuration:

com.perforce.p4search.index.thumbnail=true

Indexing P4 Server for the first time

Indexing the entire P4 database can take a long time to complete. When performing the initial index, you should limit indexing based on depot path, user, or changelist number range.

If you not sure how best to perform an initial index, contact Perforce Support for help.

Step 2: Connect P4 DAM to P4 Search

Configure P4 DAM to use data indexed by P4 Search into Elasticsearch. You must have a running Elasticsearch instance, and P4 Search must be configured to connect to it.

Use the TeamHub admin UI to configure P4 DAM.
  1. Log in to the Perforce TeamHub administrator UI. See Logging in to the TeamHub admin UI.

  2. Click P4 DAM.

    The Configure P4 DAM page opens.

  3. In the P4 Search section, verify that P4 Search is configured correctly. The URL should be displayed.

    Click Status to view the connection status for the various components required for P4 Search.

  4. In the P4 DAM configuration for Elasticsearch in P4 Search section, click Configure.

    P4 DAM retrieves the values it needs from P4 Search and they are displayed. Green checkmarks indicate the values match in P4 DAM and P4 Search. The values are also automatically written to the hth.json configuration file. See Perforce TeamHub configuration. Click Status to refresh the values.

Keep in mind that if the P4 Search configuration changes, you need to repeat these steps to update the values in P4 DAM.