> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Clore.AI Installation

> Install and run a Quai Network GPU miner using Clore.AI cloud GPUs.

## Introduction

Here, we'll be running an instance of [quai-gpu-miner](https://github.com/dominant-strategies/quai-gpu-miner), the implementation of a Quai Network ProgPOW miner, on [Clore.AI](https://clore.ai/).

Clore.AI is a cloud compute marketplace that provides access to a distributed network of GPU computining nodes from anywhere in the world.

### Requirements

In order to run the quai-gpu-miner on Clore.AI and mine valid blocks, you'll need the following:

<CardGroup cols={3}>
  <Card title="Synced go-quai node" href="/guides/client/node" icon="computer" />

  <Card title="Configured Stratum proxy" href="/guides/client/stratum" icon="router" />

  <Card title="Clore.AI Rental" href="https://clore.ai/" icon="disc-drive" />
</CardGroup>

## Environment Setup

### Clore Account

Start by [creating](https://clore.ai/register) or [logging into](https://clore.ai/login) your Clore account.

<Frame>
  <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/Clore/CloreLogin.png?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=a9b9d0b2f27e34510c9b8eb17affb290" width="1401" height="1020" data-path="images/Clore/CloreLogin.png" />
</Frame>

After logging into your account, head to the `Marketplace` tab. Here, you'll be able to see all of the available compute options available for rental.

<Frame>
  <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/Clore/CloreMarketplace.png?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=7f4532ec5d52e510f4d1d3529e9fe9bb" width="1553" height="884" data-path="images/Clore/CloreMarketplace.png" />
</Frame>

Select a compute option and click on `Rental`. You'll be taken to a configuration page where you'll be able to configure your compute with quai-gpu-miner.

### Configure Clore Instance

On the configuration page, head to the `Select Image` section and fill in the `Custom Image` section with the following:

```bash theme={null}
quainetwork/quai-gpu-miner-run
```

<Frame>
  <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/Clore/CloreSelectImage.png?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=703f6007520c83169296d4350c6dbf17" width="1513" height="652" data-path="images/Clore/CloreSelectImage.png" />
</Frame>

Scroll down to the `Configure Order` section. We'll be filling in the environment variables for the `quai-gpu-miner-run` image. You'll need to add the following variables:

* `PLATFORM`
  * For NVIDIA cards, set this value to `U`.
  * For AMD cards, set this value to `G`.
* `STRATUM_IP` The IP address of your Stratum proxy.
* `STRATUM_PORT` The port of your Stratum proxy. The default stratum port is `3333`.

<Frame>
  <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/Clore/CloreEnvironmentVariables.png?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=496f95721c0c81f9f00c83e401a76f06" width="1506" height="710" data-path="images/Clore/CloreEnvironmentVariables.png" />
</Frame>

<Note>You will need to port forward the stratum port `3333` if you are not also running a stratum proxy on the same machine.</Note>

After filling out the environment variables section, you can click the `Create` button to create your Clore instance of quai-gpu-miner. This will start the mining process and charge your account for compute.

### Managing Your Instance

Once your miner is running, you can use the [My orders](https://clore.ai/marketplace) tab to manage your Clore instance.

You can verify that your instance is running by checking the miner logs through Clore or via your [stratum logs](/guides/client/stratum#run).
