# Marketplace Deployment

Valohai is available on the Microsoft Azure Marketplace. You can easily set up Valohai in your Azure environment through the Marketplace.

## Prerequisites

Before installing from the Marketplace, you need to:

**1. Create a Valohai account:** Go to [app.valohai.com](https://app.valohai.com) and create an account.

**2. Create an organization:** Navigate to [Organization Creation](https://app.valohai.com/organizations/).

You can access the organization view by clicking the "Hi, `<username>`!" in the top-right corner → My profile → Organizations.

**3. Generate an API key:** Go to [API Key Generation](https://app.valohai.com/auth/tokens/).

Access the API Key creation by clicking on the "Hi, `<username>`!" in the top-right corner → My profile → Authentication → Manage Tokens.

## Install from Azure Marketplace

Once you have your Valohai account, organization, and API key ready:

**1. Open Azure Portal:** Go to [portal.azure.com](https://portal.azure.com).

**2. Create a new resource:** Search for "Valohai MLOps Platform" in the Azure Marketplace.

**3. Complete the creation wizard:** Follow the wizard steps to deploy Valohai to your Azure subscription.

**4. Access your environments:** Once the installation is complete, you'll see a collection of Azure environments available in your Valohai account. You can now start running jobs.

## What Gets Deployed

The Azure Marketplace deployment creates:

* Resource group with Valohai resources
* Virtual machines for running ML jobs
* Storage accounts for artifacts and logs
* Networking components (VPC, subnets, security groups)
* Queue machine for job coordination

All resources are deployed in your Azure subscription and remain under your control.

## Next Steps

After installation:

**1. Verify the setup**

* Log in to app.valohai.com
* Check that Azure environments appear in your organization
* Create a test project

**2. Run your first execution**

* Create or import a project
* Run a simple execution to verify workers launch correctly
* Check that artifacts are saved to your Azure storage

**3. Configure additional features**

* Add existing Azure storage accounts as data stores
* Set up private Docker registries
* Configure environment splitting for dev/prod

## Getting Help

If you encounter issues during Marketplace installation:

**Valohai Support:** <support@valohai.com>

**Include in your message:**

* Azure subscription ID
* Resource group name
* Error messages from Azure deployment
* Screenshots of any errors


---

# 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://docs.valohai.com/installation-and-setup/azure/marketplace.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.
