---
title: Installing the API Publish Service
description: Install the API Publish Service.
component: pingintelligence
version: 5.2
page_id: pingintelligence:installing_pingintelligence_for_apis:pingintelligence_install_api_publish_service
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/installing_pingintelligence_for_apis/pingintelligence_install_api_publish_service.html
revdate: April 3, 2024
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
  example-tar-zxvf-pi-api-abs-5-1-tar-gz: Example:# tar –zxvf pi-api-abs-5.1.tar.gz
---

# Installing the API Publish Service

Install the API Publish Service.

## Before you begin

Before installing the API Publish Service:

* Install OpenJDK 11.0.2 on a 64-bit architecture machine. To verify the Java version, run the following command:

  ```
  # java -version
  ```

* Verify the supported operating systems.PingIntelligence supports RHEL 7.9 and Ubuntu 18.04 LTS.

## About this task

You can install the API Publish Service as a root user or as a non-root user. The installation path in the steps below assumes that you are root user. The installation works in a similar way for a non-root user.

|   |                                                                                                                                                                                         |
| - | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | The download site has a link to the consolidated build for ABS and API Publish. When extracting the tar in the `pingidentity` folder, there will be two folders:- `abs`

- `apipublish` |

## Steps

1. Go to the [Ping Identity Product Downloads site](https://www.pingidentity.com/en/resources/downloads.html).

2. Under PingIntelligence for APIs, click **View Now**.

3. Click **Download** under **PingIntelligence for APIs Software**.

4. Under **Download AI Engine and Tools**, click **AI Engine 5.1.0.1**.

5. After downloading:

   ### Choose from:

   * If you are installing as a root user, copy the build file to the `/opt` directory.

   * If you are installing as a non-root user, choose any other location.

6. At the command prompt, enter `# tar –zxvf <file_name>.`

   ### Example:`# tar –zxvf pi-api-abs-5.1.tar.gz`
