# Installation and Setup

DRAGEN Single Cell RNA can be run on an OnPrem HPC using the DRAGEN in SW-mode and an Illumina Connected API Key. When running in this mode, the STAR aligner will be used instead of the DRAGEN RNA aligner.

### Prerequisites

1. Access to high-performance compute with an EL8 or EL9 based operating system.
2. Your own domain which has an ICA Subscription, including the free version - ICA Basic. For more information on subscription setup, refer to the [Illumina Connected Setup Guide](https://help.connected.illumina.com/account-management/rg-registration)

### Generating an Illumina Connected API Key

To generate an Illumina API key, log in through the [Illumina login](https://login.illumina.com/login) to access Connected Home. The "API Keys" page in the left navigation menu allows you to view and manage you API keys.&#x20;

To create a new API key, click the "Generate" button. Provide a name for the key, then choose to either include all workgroups or select specific workgroups that the key should have access to. Copy this generated key for inclusion in the license credential file. For more information on managing and generating API keys refer to the [Connected Home support documentation](https://help.connected.illumina.com/account-management/platform-home#api-keys).

A license credential file is used by DRAGEN in runtime to perform credential based authentication for users running DRAGEN SW-mode. DRAGEN must have access to the DRAGEN license server at runtime. To verify connectivity to the license server, you can query the health check endpoint which will return a 200 status code and a small JSON body if successful.

```
curl https://license.dragen.illumina.com/healthcheck/version --header 'Content-Type: application/json'
{"version":"<server version>"}
```

Use the generated API key to create the license credential file with the following format:

```
credentials-1=IlluminaPlatform
credentials-2=<user api key>
```

Pass the License Credential file to DRAGEN at runtime using the `--lic-credentials` parameter as specified below.

### Installing DRAGEN

1. Download one of the following DRAGEN SW-Mode installers using your MyIllumina account:
   1. [Red Hat Enterprise Linux 8](https://dashboard.my.illumina.com/softwaredownload?assetKey=61f90c1c-5be1-4f49-be33-5dad51f5828c\&assetDetails=DRAGENscRNASoftwareModev4.5.4InstallersEL8-4.5.4-dragen-softwaremode-4.5.4.el8.x86_64.bin)
   2. [Red Hat Enterprise Linux 9](https://dashboard.my.illumina.com/softwaredownload?assetKey=0eb76081-e0da-44e9-878c-c0befe17c6b2\&assetDetails=DRAGENscRNASoftwareModev4.5.4InstallersEL9-4.5.4-dragen-softwaremode-4.5.4.el9.x86_64.bin)
2. Execute the .bin installer in a EL8 or EL9 based operating systems to install DRAGEN SW-mode.
3. Run DRAGEN SW-mode with the following options:
   1. \--lic-credentials pointing to the license credentials file containing the Illumina Connected API key
   2. STAR aligner specific options as specified in DRAGEN documentation: [STAR Aligner](/dragen/product-guides/dragen-v4.5/dragen-single-cell-pipeline/dragen-scrna-illumina.md#star-aligner)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.connected.illumina.com/dragen-single-cell-rna/running-dragen-on-hpc/installation-and-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
