---
title: Install API Publish service
description: You can install API Publish service as a root user or as a non-root user. The example installation path assumes that you are root user. The installation works in a similar way for a non-root user.
component: pingintelligence
version: 5.1
page_id: pingintelligence:pingintelligence_production_deployment:pingintelligence_install_api_publish_service
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/pingintelligence_production_deployment/pingintelligence_install_api_publish_service.html
revdate: April 3, 2024
section_ids:
  prerequisites-and-installation-steps: Prerequisites and installation steps
---

# Install API Publish service

You can install API Publish service as a root user or as a non-root user. The example installation path 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.On clicking the link, it will download the consolidated build.On extracting the tar, under the `pingidentity` folder there will be two folders:- `abs`

- `apipublish` |

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

2. Click on **Select** under PingIntelligence API Publish service.

3. Choose the build and click **Download**.

Copy the build file to the `/opt` directory if you are installing the product as a root user. Choose any other location if you want to install the service as a non-root user.

## Prerequisites and installation steps

Before installing 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.

To install API Publish service, complete the following steps:

1. Change working directory to `/opt` if you are installing the product as a root user. Choose any other location if you want to install API Publish service as a non-root user.

2. At the command prompt, type: `# tar –zxvf <file_name>`

   For example, `# tar –zxvf pi-api-abs-5.1.tar.gz`
